Support a2a openapi.
This commit is contained in:
@@ -41,6 +41,8 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/CreateConsumerGroupResult.h
|
||||
include/alibabacloud/dts/model/CreateDtsInstanceRequest.h
|
||||
include/alibabacloud/dts/model/CreateDtsInstanceResult.h
|
||||
include/alibabacloud/dts/model/CreateJobMonitorRuleRequest.h
|
||||
include/alibabacloud/dts/model/CreateJobMonitorRuleResult.h
|
||||
include/alibabacloud/dts/model/CreateMigrationJobRequest.h
|
||||
include/alibabacloud/dts/model/CreateMigrationJobResult.h
|
||||
include/alibabacloud/dts/model/CreateSubscriptionInstanceRequest.h
|
||||
@@ -57,20 +59,30 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/DeleteSubscriptionInstanceResult.h
|
||||
include/alibabacloud/dts/model/DeleteSynchronizationJobRequest.h
|
||||
include/alibabacloud/dts/model/DeleteSynchronizationJobResult.h
|
||||
include/alibabacloud/dts/model/DescribeCenVpcRequest.h
|
||||
include/alibabacloud/dts/model/DescribeCenVpcResult.h
|
||||
include/alibabacloud/dts/model/DescribeConnectionStatusRequest.h
|
||||
include/alibabacloud/dts/model/DescribeConnectionStatusResult.h
|
||||
include/alibabacloud/dts/model/DescribeConsumerGroupRequest.h
|
||||
include/alibabacloud/dts/model/DescribeConsumerGroupResult.h
|
||||
include/alibabacloud/dts/model/DescribeDTSIPRequest.h
|
||||
include/alibabacloud/dts/model/DescribeDTSIPResult.h
|
||||
include/alibabacloud/dts/model/DescribeDgDatabasesRequest.h
|
||||
include/alibabacloud/dts/model/DescribeDgDatabasesResult.h
|
||||
include/alibabacloud/dts/model/DescribeDtsJobDetailRequest.h
|
||||
include/alibabacloud/dts/model/DescribeDtsJobDetailResult.h
|
||||
include/alibabacloud/dts/model/DescribeDtsJobLogsRequest.h
|
||||
include/alibabacloud/dts/model/DescribeDtsJobLogsResult.h
|
||||
include/alibabacloud/dts/model/DescribeDtsJobsRequest.h
|
||||
include/alibabacloud/dts/model/DescribeDtsJobsResult.h
|
||||
include/alibabacloud/dts/model/DescribeEndpointSwitchStatusRequest.h
|
||||
include/alibabacloud/dts/model/DescribeEndpointSwitchStatusResult.h
|
||||
include/alibabacloud/dts/model/DescribeInitializationStatusRequest.h
|
||||
include/alibabacloud/dts/model/DescribeInitializationStatusResult.h
|
||||
include/alibabacloud/dts/model/DescribeJobDiffStatusRequest.h
|
||||
include/alibabacloud/dts/model/DescribeJobDiffStatusResult.h
|
||||
include/alibabacloud/dts/model/DescribeJobMonitorRuleRequest.h
|
||||
include/alibabacloud/dts/model/DescribeJobMonitorRuleResult.h
|
||||
include/alibabacloud/dts/model/DescribeMigrationJobAlertRequest.h
|
||||
include/alibabacloud/dts/model/DescribeMigrationJobAlertResult.h
|
||||
include/alibabacloud/dts/model/DescribeMigrationJobDetailRequest.h
|
||||
@@ -115,6 +127,10 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/ModifySubscriptionObjectResult.h
|
||||
include/alibabacloud/dts/model/ModifySynchronizationObjectRequest.h
|
||||
include/alibabacloud/dts/model/ModifySynchronizationObjectResult.h
|
||||
include/alibabacloud/dts/model/PreviewSqlRequest.h
|
||||
include/alibabacloud/dts/model/PreviewSqlResult.h
|
||||
include/alibabacloud/dts/model/ReplaceInstanceRequest.h
|
||||
include/alibabacloud/dts/model/ReplaceInstanceResult.h
|
||||
include/alibabacloud/dts/model/ResetDtsJobRequest.h
|
||||
include/alibabacloud/dts/model/ResetDtsJobResult.h
|
||||
include/alibabacloud/dts/model/ResetSynchronizationJobRequest.h
|
||||
@@ -145,8 +161,14 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/SwitchSynchronizationEndpointResult.h
|
||||
include/alibabacloud/dts/model/TagResourcesRequest.h
|
||||
include/alibabacloud/dts/model/TagResourcesResult.h
|
||||
include/alibabacloud/dts/model/TransferPayTypeRequest.h
|
||||
include/alibabacloud/dts/model/TransferPayTypeResult.h
|
||||
include/alibabacloud/dts/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/dts/model/UntagResourcesResult.h )
|
||||
include/alibabacloud/dts/model/UntagResourcesResult.h
|
||||
include/alibabacloud/dts/model/UpgradeTwoWayRequest.h
|
||||
include/alibabacloud/dts/model/UpgradeTwoWayResult.h
|
||||
include/alibabacloud/dts/model/WhiteIpListRequest.h
|
||||
include/alibabacloud/dts/model/WhiteIpListResult.h )
|
||||
|
||||
set(dts_src
|
||||
src/DtsClient.cc
|
||||
@@ -170,6 +192,8 @@ set(dts_src
|
||||
src/model/CreateConsumerGroupResult.cc
|
||||
src/model/CreateDtsInstanceRequest.cc
|
||||
src/model/CreateDtsInstanceResult.cc
|
||||
src/model/CreateJobMonitorRuleRequest.cc
|
||||
src/model/CreateJobMonitorRuleResult.cc
|
||||
src/model/CreateMigrationJobRequest.cc
|
||||
src/model/CreateMigrationJobResult.cc
|
||||
src/model/CreateSubscriptionInstanceRequest.cc
|
||||
@@ -186,20 +210,30 @@ set(dts_src
|
||||
src/model/DeleteSubscriptionInstanceResult.cc
|
||||
src/model/DeleteSynchronizationJobRequest.cc
|
||||
src/model/DeleteSynchronizationJobResult.cc
|
||||
src/model/DescribeCenVpcRequest.cc
|
||||
src/model/DescribeCenVpcResult.cc
|
||||
src/model/DescribeConnectionStatusRequest.cc
|
||||
src/model/DescribeConnectionStatusResult.cc
|
||||
src/model/DescribeConsumerGroupRequest.cc
|
||||
src/model/DescribeConsumerGroupResult.cc
|
||||
src/model/DescribeDTSIPRequest.cc
|
||||
src/model/DescribeDTSIPResult.cc
|
||||
src/model/DescribeDgDatabasesRequest.cc
|
||||
src/model/DescribeDgDatabasesResult.cc
|
||||
src/model/DescribeDtsJobDetailRequest.cc
|
||||
src/model/DescribeDtsJobDetailResult.cc
|
||||
src/model/DescribeDtsJobLogsRequest.cc
|
||||
src/model/DescribeDtsJobLogsResult.cc
|
||||
src/model/DescribeDtsJobsRequest.cc
|
||||
src/model/DescribeDtsJobsResult.cc
|
||||
src/model/DescribeEndpointSwitchStatusRequest.cc
|
||||
src/model/DescribeEndpointSwitchStatusResult.cc
|
||||
src/model/DescribeInitializationStatusRequest.cc
|
||||
src/model/DescribeInitializationStatusResult.cc
|
||||
src/model/DescribeJobDiffStatusRequest.cc
|
||||
src/model/DescribeJobDiffStatusResult.cc
|
||||
src/model/DescribeJobMonitorRuleRequest.cc
|
||||
src/model/DescribeJobMonitorRuleResult.cc
|
||||
src/model/DescribeMigrationJobAlertRequest.cc
|
||||
src/model/DescribeMigrationJobAlertResult.cc
|
||||
src/model/DescribeMigrationJobDetailRequest.cc
|
||||
@@ -244,6 +278,10 @@ set(dts_src
|
||||
src/model/ModifySubscriptionObjectResult.cc
|
||||
src/model/ModifySynchronizationObjectRequest.cc
|
||||
src/model/ModifySynchronizationObjectResult.cc
|
||||
src/model/PreviewSqlRequest.cc
|
||||
src/model/PreviewSqlResult.cc
|
||||
src/model/ReplaceInstanceRequest.cc
|
||||
src/model/ReplaceInstanceResult.cc
|
||||
src/model/ResetDtsJobRequest.cc
|
||||
src/model/ResetDtsJobResult.cc
|
||||
src/model/ResetSynchronizationJobRequest.cc
|
||||
@@ -274,8 +312,14 @@ set(dts_src
|
||||
src/model/SwitchSynchronizationEndpointResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/TransferPayTypeRequest.cc
|
||||
src/model/TransferPayTypeResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc )
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/UpgradeTwoWayRequest.cc
|
||||
src/model/UpgradeTwoWayResult.cc
|
||||
src/model/WhiteIpListRequest.cc
|
||||
src/model/WhiteIpListResult.cc )
|
||||
|
||||
add_library(dts ${LIB_TYPE}
|
||||
${dts_public_header}
|
||||
|
||||
@@ -42,6 +42,8 @@
|
||||
#include "model/CreateConsumerGroupResult.h"
|
||||
#include "model/CreateDtsInstanceRequest.h"
|
||||
#include "model/CreateDtsInstanceResult.h"
|
||||
#include "model/CreateJobMonitorRuleRequest.h"
|
||||
#include "model/CreateJobMonitorRuleResult.h"
|
||||
#include "model/CreateMigrationJobRequest.h"
|
||||
#include "model/CreateMigrationJobResult.h"
|
||||
#include "model/CreateSubscriptionInstanceRequest.h"
|
||||
@@ -58,20 +60,30 @@
|
||||
#include "model/DeleteSubscriptionInstanceResult.h"
|
||||
#include "model/DeleteSynchronizationJobRequest.h"
|
||||
#include "model/DeleteSynchronizationJobResult.h"
|
||||
#include "model/DescribeCenVpcRequest.h"
|
||||
#include "model/DescribeCenVpcResult.h"
|
||||
#include "model/DescribeConnectionStatusRequest.h"
|
||||
#include "model/DescribeConnectionStatusResult.h"
|
||||
#include "model/DescribeConsumerGroupRequest.h"
|
||||
#include "model/DescribeConsumerGroupResult.h"
|
||||
#include "model/DescribeDTSIPRequest.h"
|
||||
#include "model/DescribeDTSIPResult.h"
|
||||
#include "model/DescribeDgDatabasesRequest.h"
|
||||
#include "model/DescribeDgDatabasesResult.h"
|
||||
#include "model/DescribeDtsJobDetailRequest.h"
|
||||
#include "model/DescribeDtsJobDetailResult.h"
|
||||
#include "model/DescribeDtsJobLogsRequest.h"
|
||||
#include "model/DescribeDtsJobLogsResult.h"
|
||||
#include "model/DescribeDtsJobsRequest.h"
|
||||
#include "model/DescribeDtsJobsResult.h"
|
||||
#include "model/DescribeEndpointSwitchStatusRequest.h"
|
||||
#include "model/DescribeEndpointSwitchStatusResult.h"
|
||||
#include "model/DescribeInitializationStatusRequest.h"
|
||||
#include "model/DescribeInitializationStatusResult.h"
|
||||
#include "model/DescribeJobDiffStatusRequest.h"
|
||||
#include "model/DescribeJobDiffStatusResult.h"
|
||||
#include "model/DescribeJobMonitorRuleRequest.h"
|
||||
#include "model/DescribeJobMonitorRuleResult.h"
|
||||
#include "model/DescribeMigrationJobAlertRequest.h"
|
||||
#include "model/DescribeMigrationJobAlertResult.h"
|
||||
#include "model/DescribeMigrationJobDetailRequest.h"
|
||||
@@ -116,6 +128,10 @@
|
||||
#include "model/ModifySubscriptionObjectResult.h"
|
||||
#include "model/ModifySynchronizationObjectRequest.h"
|
||||
#include "model/ModifySynchronizationObjectResult.h"
|
||||
#include "model/PreviewSqlRequest.h"
|
||||
#include "model/PreviewSqlResult.h"
|
||||
#include "model/ReplaceInstanceRequest.h"
|
||||
#include "model/ReplaceInstanceResult.h"
|
||||
#include "model/ResetDtsJobRequest.h"
|
||||
#include "model/ResetDtsJobResult.h"
|
||||
#include "model/ResetSynchronizationJobRequest.h"
|
||||
@@ -146,8 +162,14 @@
|
||||
#include "model/SwitchSynchronizationEndpointResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/TransferPayTypeRequest.h"
|
||||
#include "model/TransferPayTypeResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/UpgradeTwoWayRequest.h"
|
||||
#include "model/UpgradeTwoWayResult.h"
|
||||
#include "model/WhiteIpListRequest.h"
|
||||
#include "model/WhiteIpListResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -187,6 +209,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateDtsInstanceResult> CreateDtsInstanceOutcome;
|
||||
typedef std::future<CreateDtsInstanceOutcome> CreateDtsInstanceOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::CreateDtsInstanceRequest&, const CreateDtsInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDtsInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateJobMonitorRuleResult> CreateJobMonitorRuleOutcome;
|
||||
typedef std::future<CreateJobMonitorRuleOutcome> CreateJobMonitorRuleOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::CreateJobMonitorRuleRequest&, const CreateJobMonitorRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateJobMonitorRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMigrationJobResult> CreateMigrationJobOutcome;
|
||||
typedef std::future<CreateMigrationJobOutcome> CreateMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::CreateMigrationJobRequest&, const CreateMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMigrationJobAsyncHandler;
|
||||
@@ -211,6 +236,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteSynchronizationJobResult> DeleteSynchronizationJobOutcome;
|
||||
typedef std::future<DeleteSynchronizationJobOutcome> DeleteSynchronizationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DeleteSynchronizationJobRequest&, const DeleteSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSynchronizationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCenVpcResult> DescribeCenVpcOutcome;
|
||||
typedef std::future<DescribeCenVpcOutcome> DescribeCenVpcOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeCenVpcRequest&, const DescribeCenVpcOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCenVpcAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeConnectionStatusResult> DescribeConnectionStatusOutcome;
|
||||
typedef std::future<DescribeConnectionStatusOutcome> DescribeConnectionStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeConnectionStatusRequest&, const DescribeConnectionStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConnectionStatusAsyncHandler;
|
||||
@@ -220,9 +248,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDTSIPResult> DescribeDTSIPOutcome;
|
||||
typedef std::future<DescribeDTSIPOutcome> DescribeDTSIPOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeDTSIPRequest&, const DescribeDTSIPOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDTSIPAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDgDatabasesResult> DescribeDgDatabasesOutcome;
|
||||
typedef std::future<DescribeDgDatabasesOutcome> DescribeDgDatabasesOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeDgDatabasesRequest&, const DescribeDgDatabasesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDgDatabasesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDtsJobDetailResult> DescribeDtsJobDetailOutcome;
|
||||
typedef std::future<DescribeDtsJobDetailOutcome> DescribeDtsJobDetailOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeDtsJobDetailRequest&, const DescribeDtsJobDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDtsJobDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDtsJobLogsResult> DescribeDtsJobLogsOutcome;
|
||||
typedef std::future<DescribeDtsJobLogsOutcome> DescribeDtsJobLogsOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeDtsJobLogsRequest&, const DescribeDtsJobLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDtsJobLogsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDtsJobsResult> DescribeDtsJobsOutcome;
|
||||
typedef std::future<DescribeDtsJobsOutcome> DescribeDtsJobsOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeDtsJobsRequest&, const DescribeDtsJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDtsJobsAsyncHandler;
|
||||
@@ -232,6 +266,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeInitializationStatusResult> DescribeInitializationStatusOutcome;
|
||||
typedef std::future<DescribeInitializationStatusOutcome> DescribeInitializationStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeInitializationStatusRequest&, const DescribeInitializationStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInitializationStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeJobDiffStatusResult> DescribeJobDiffStatusOutcome;
|
||||
typedef std::future<DescribeJobDiffStatusOutcome> DescribeJobDiffStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeJobDiffStatusRequest&, const DescribeJobDiffStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeJobDiffStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeJobMonitorRuleResult> DescribeJobMonitorRuleOutcome;
|
||||
typedef std::future<DescribeJobMonitorRuleOutcome> DescribeJobMonitorRuleOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeJobMonitorRuleRequest&, const DescribeJobMonitorRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeJobMonitorRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMigrationJobAlertResult> DescribeMigrationJobAlertOutcome;
|
||||
typedef std::future<DescribeMigrationJobAlertOutcome> DescribeMigrationJobAlertOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeMigrationJobAlertRequest&, const DescribeMigrationJobAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobAlertAsyncHandler;
|
||||
@@ -298,6 +338,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifySynchronizationObjectResult> ModifySynchronizationObjectOutcome;
|
||||
typedef std::future<ModifySynchronizationObjectOutcome> ModifySynchronizationObjectOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifySynchronizationObjectRequest&, const ModifySynchronizationObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySynchronizationObjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::PreviewSqlResult> PreviewSqlOutcome;
|
||||
typedef std::future<PreviewSqlOutcome> PreviewSqlOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::PreviewSqlRequest&, const PreviewSqlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreviewSqlAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReplaceInstanceResult> ReplaceInstanceOutcome;
|
||||
typedef std::future<ReplaceInstanceOutcome> ReplaceInstanceOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ReplaceInstanceRequest&, const ReplaceInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReplaceInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResetDtsJobResult> ResetDtsJobOutcome;
|
||||
typedef std::future<ResetDtsJobOutcome> ResetDtsJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ResetDtsJobRequest&, const ResetDtsJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetDtsJobAsyncHandler;
|
||||
@@ -343,9 +389,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::TransferPayTypeResult> TransferPayTypeOutcome;
|
||||
typedef std::future<TransferPayTypeOutcome> TransferPayTypeOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::TransferPayTypeRequest&, const TransferPayTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransferPayTypeAsyncHandler;
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeTwoWayResult> UpgradeTwoWayOutcome;
|
||||
typedef std::future<UpgradeTwoWayOutcome> UpgradeTwoWayOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::UpgradeTwoWayRequest&, const UpgradeTwoWayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeTwoWayAsyncHandler;
|
||||
typedef Outcome<Error, Model::WhiteIpListResult> WhiteIpListOutcome;
|
||||
typedef std::future<WhiteIpListOutcome> WhiteIpListOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::WhiteIpListRequest&, const WhiteIpListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WhiteIpListAsyncHandler;
|
||||
|
||||
DtsClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
DtsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -381,6 +436,9 @@ namespace AlibabaCloud
|
||||
CreateDtsInstanceOutcome createDtsInstance(const Model::CreateDtsInstanceRequest &request)const;
|
||||
void createDtsInstanceAsync(const Model::CreateDtsInstanceRequest& request, const CreateDtsInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDtsInstanceOutcomeCallable createDtsInstanceCallable(const Model::CreateDtsInstanceRequest& request) const;
|
||||
CreateJobMonitorRuleOutcome createJobMonitorRule(const Model::CreateJobMonitorRuleRequest &request)const;
|
||||
void createJobMonitorRuleAsync(const Model::CreateJobMonitorRuleRequest& request, const CreateJobMonitorRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateJobMonitorRuleOutcomeCallable createJobMonitorRuleCallable(const Model::CreateJobMonitorRuleRequest& request) const;
|
||||
CreateMigrationJobOutcome createMigrationJob(const Model::CreateMigrationJobRequest &request)const;
|
||||
void createMigrationJobAsync(const Model::CreateMigrationJobRequest& request, const CreateMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMigrationJobOutcomeCallable createMigrationJobCallable(const Model::CreateMigrationJobRequest& request) const;
|
||||
@@ -405,6 +463,9 @@ namespace AlibabaCloud
|
||||
DeleteSynchronizationJobOutcome deleteSynchronizationJob(const Model::DeleteSynchronizationJobRequest &request)const;
|
||||
void deleteSynchronizationJobAsync(const Model::DeleteSynchronizationJobRequest& request, const DeleteSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSynchronizationJobOutcomeCallable deleteSynchronizationJobCallable(const Model::DeleteSynchronizationJobRequest& request) const;
|
||||
DescribeCenVpcOutcome describeCenVpc(const Model::DescribeCenVpcRequest &request)const;
|
||||
void describeCenVpcAsync(const Model::DescribeCenVpcRequest& request, const DescribeCenVpcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCenVpcOutcomeCallable describeCenVpcCallable(const Model::DescribeCenVpcRequest& request) const;
|
||||
DescribeConnectionStatusOutcome describeConnectionStatus(const Model::DescribeConnectionStatusRequest &request)const;
|
||||
void describeConnectionStatusAsync(const Model::DescribeConnectionStatusRequest& request, const DescribeConnectionStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeConnectionStatusOutcomeCallable describeConnectionStatusCallable(const Model::DescribeConnectionStatusRequest& request) const;
|
||||
@@ -414,9 +475,15 @@ namespace AlibabaCloud
|
||||
DescribeDTSIPOutcome describeDTSIP(const Model::DescribeDTSIPRequest &request)const;
|
||||
void describeDTSIPAsync(const Model::DescribeDTSIPRequest& request, const DescribeDTSIPAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDTSIPOutcomeCallable describeDTSIPCallable(const Model::DescribeDTSIPRequest& request) const;
|
||||
DescribeDgDatabasesOutcome describeDgDatabases(const Model::DescribeDgDatabasesRequest &request)const;
|
||||
void describeDgDatabasesAsync(const Model::DescribeDgDatabasesRequest& request, const DescribeDgDatabasesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDgDatabasesOutcomeCallable describeDgDatabasesCallable(const Model::DescribeDgDatabasesRequest& request) const;
|
||||
DescribeDtsJobDetailOutcome describeDtsJobDetail(const Model::DescribeDtsJobDetailRequest &request)const;
|
||||
void describeDtsJobDetailAsync(const Model::DescribeDtsJobDetailRequest& request, const DescribeDtsJobDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDtsJobDetailOutcomeCallable describeDtsJobDetailCallable(const Model::DescribeDtsJobDetailRequest& request) const;
|
||||
DescribeDtsJobLogsOutcome describeDtsJobLogs(const Model::DescribeDtsJobLogsRequest &request)const;
|
||||
void describeDtsJobLogsAsync(const Model::DescribeDtsJobLogsRequest& request, const DescribeDtsJobLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDtsJobLogsOutcomeCallable describeDtsJobLogsCallable(const Model::DescribeDtsJobLogsRequest& request) const;
|
||||
DescribeDtsJobsOutcome describeDtsJobs(const Model::DescribeDtsJobsRequest &request)const;
|
||||
void describeDtsJobsAsync(const Model::DescribeDtsJobsRequest& request, const DescribeDtsJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDtsJobsOutcomeCallable describeDtsJobsCallable(const Model::DescribeDtsJobsRequest& request) const;
|
||||
@@ -426,6 +493,12 @@ namespace AlibabaCloud
|
||||
DescribeInitializationStatusOutcome describeInitializationStatus(const Model::DescribeInitializationStatusRequest &request)const;
|
||||
void describeInitializationStatusAsync(const Model::DescribeInitializationStatusRequest& request, const DescribeInitializationStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInitializationStatusOutcomeCallable describeInitializationStatusCallable(const Model::DescribeInitializationStatusRequest& request) const;
|
||||
DescribeJobDiffStatusOutcome describeJobDiffStatus(const Model::DescribeJobDiffStatusRequest &request)const;
|
||||
void describeJobDiffStatusAsync(const Model::DescribeJobDiffStatusRequest& request, const DescribeJobDiffStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeJobDiffStatusOutcomeCallable describeJobDiffStatusCallable(const Model::DescribeJobDiffStatusRequest& request) const;
|
||||
DescribeJobMonitorRuleOutcome describeJobMonitorRule(const Model::DescribeJobMonitorRuleRequest &request)const;
|
||||
void describeJobMonitorRuleAsync(const Model::DescribeJobMonitorRuleRequest& request, const DescribeJobMonitorRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeJobMonitorRuleOutcomeCallable describeJobMonitorRuleCallable(const Model::DescribeJobMonitorRuleRequest& request) const;
|
||||
DescribeMigrationJobAlertOutcome describeMigrationJobAlert(const Model::DescribeMigrationJobAlertRequest &request)const;
|
||||
void describeMigrationJobAlertAsync(const Model::DescribeMigrationJobAlertRequest& request, const DescribeMigrationJobAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMigrationJobAlertOutcomeCallable describeMigrationJobAlertCallable(const Model::DescribeMigrationJobAlertRequest& request) const;
|
||||
@@ -492,6 +565,12 @@ namespace AlibabaCloud
|
||||
ModifySynchronizationObjectOutcome modifySynchronizationObject(const Model::ModifySynchronizationObjectRequest &request)const;
|
||||
void modifySynchronizationObjectAsync(const Model::ModifySynchronizationObjectRequest& request, const ModifySynchronizationObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySynchronizationObjectOutcomeCallable modifySynchronizationObjectCallable(const Model::ModifySynchronizationObjectRequest& request) const;
|
||||
PreviewSqlOutcome previewSql(const Model::PreviewSqlRequest &request)const;
|
||||
void previewSqlAsync(const Model::PreviewSqlRequest& request, const PreviewSqlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PreviewSqlOutcomeCallable previewSqlCallable(const Model::PreviewSqlRequest& request) const;
|
||||
ReplaceInstanceOutcome replaceInstance(const Model::ReplaceInstanceRequest &request)const;
|
||||
void replaceInstanceAsync(const Model::ReplaceInstanceRequest& request, const ReplaceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReplaceInstanceOutcomeCallable replaceInstanceCallable(const Model::ReplaceInstanceRequest& request) const;
|
||||
ResetDtsJobOutcome resetDtsJob(const Model::ResetDtsJobRequest &request)const;
|
||||
void resetDtsJobAsync(const Model::ResetDtsJobRequest& request, const ResetDtsJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetDtsJobOutcomeCallable resetDtsJobCallable(const Model::ResetDtsJobRequest& request) const;
|
||||
@@ -537,9 +616,18 @@ namespace AlibabaCloud
|
||||
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
TransferPayTypeOutcome transferPayType(const Model::TransferPayTypeRequest &request)const;
|
||||
void transferPayTypeAsync(const Model::TransferPayTypeRequest& request, const TransferPayTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TransferPayTypeOutcomeCallable transferPayTypeCallable(const Model::TransferPayTypeRequest& request) const;
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
UpgradeTwoWayOutcome upgradeTwoWay(const Model::UpgradeTwoWayRequest &request)const;
|
||||
void upgradeTwoWayAsync(const Model::UpgradeTwoWayRequest& request, const UpgradeTwoWayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeTwoWayOutcomeCallable upgradeTwoWayCallable(const Model::UpgradeTwoWayRequest& request) const;
|
||||
WhiteIpListOutcome whiteIpList(const Model::WhiteIpListRequest &request)const;
|
||||
void whiteIpListAsync(const Model::WhiteIpListRequest& request, const WhiteIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
WhiteIpListOutcomeCallable whiteIpListCallable(const Model::WhiteIpListRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -91,6 +91,8 @@ namespace AlibabaCloud
|
||||
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
|
||||
std::string getDestinationEndpointRegion()const;
|
||||
void setDestinationEndpointRegion(const std::string& destinationEndpointRegion);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getReserve()const;
|
||||
void setReserve(const std::string& reserve);
|
||||
bool getDataSynchronization()const;
|
||||
@@ -143,6 +145,7 @@ namespace AlibabaCloud
|
||||
std::string sourceEndpointOwnerID_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
std::string destinationEndpointRegion_;
|
||||
std::string regionId_;
|
||||
std::string reserve_;
|
||||
bool dataSynchronization_;
|
||||
std::string destinationEndpointEngineName_;
|
||||
|
||||
@@ -49,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getErrorAlertPhone()const;
|
||||
void setErrorAlertPhone(const std::string& errorAlertPhone);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDelayAlertPhone()const;
|
||||
void setDelayAlertPhone(const std::string& delayAlertPhone);
|
||||
std::string getErrorAlertStatus()const;
|
||||
@@ -62,6 +64,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string errorAlertPhone_;
|
||||
std::string regionId_;
|
||||
std::string delayAlertPhone_;
|
||||
std::string errorAlertStatus_;
|
||||
|
||||
|
||||
@@ -67,6 +67,8 @@ namespace AlibabaCloud
|
||||
void setMigrationModeStructureIntialization(bool migrationModeStructureIntialization);
|
||||
bool getMigrationModeDataSynchronization()const;
|
||||
void setMigrationModeDataSynchronization(bool migrationModeDataSynchronization);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDestinationEndpointRegion()const;
|
||||
void setDestinationEndpointRegion(const std::string& destinationEndpointRegion);
|
||||
std::string getSourceEndpointUserName()const;
|
||||
@@ -119,6 +121,7 @@ namespace AlibabaCloud
|
||||
std::string accountId_;
|
||||
bool migrationModeStructureIntialization_;
|
||||
bool migrationModeDataSynchronization_;
|
||||
std::string regionId_;
|
||||
std::string destinationEndpointRegion_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
|
||||
@@ -49,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getErrorAlertPhone()const;
|
||||
void setErrorAlertPhone(const std::string& errorAlertPhone);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDelayAlertPhone()const;
|
||||
void setDelayAlertPhone(const std::string& delayAlertPhone);
|
||||
std::string getErrorAlertStatus()const;
|
||||
@@ -62,6 +64,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string errorAlertPhone_;
|
||||
std::string regionId_;
|
||||
std::string delayAlertPhone_;
|
||||
std::string errorAlertStatus_;
|
||||
|
||||
|
||||
@@ -49,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSubscriptionObject()const;
|
||||
void setSubscriptionObject(const std::string& subscriptionObject);
|
||||
std::string getSubscriptionInstanceVSwitchId()const;
|
||||
@@ -86,6 +88,7 @@ namespace AlibabaCloud
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string subscriptionObject_;
|
||||
std::string subscriptionInstanceVSwitchId_;
|
||||
std::string sourceEndpointUserName_;
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobId(const std::string& synchronizationJobId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDelayAlertPhone()const;
|
||||
void setDelayAlertPhone(const std::string& delayAlertPhone);
|
||||
std::string getDelayOverSeconds()const;
|
||||
@@ -60,6 +62,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string delayAlertPhone_;
|
||||
std::string delayOverSeconds_;
|
||||
std::string delayAlertStatus_;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobId(const std::string& synchronizationJobId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getSynchronizationReplicatorCompareEnable()const;
|
||||
void setSynchronizationReplicatorCompareEnable(bool synchronizationReplicatorCompareEnable);
|
||||
std::string getSynchronizationDirection()const;
|
||||
@@ -56,6 +58,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
bool synchronizationReplicatorCompareEnable_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
|
||||
@@ -65,6 +65,8 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobName(const std::string& synchronizationJobName);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSourceEndpointUserName()const;
|
||||
void setSourceEndpointUserName(const std::string& sourceEndpointUserName);
|
||||
std::string getSourceEndpointDatabaseName()const;
|
||||
@@ -116,6 +118,7 @@ namespace AlibabaCloud
|
||||
std::string synchronizationJobId_;
|
||||
std::string synchronizationJobName_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
bool partitionKeyModifyTime_Month_;
|
||||
|
||||
@@ -49,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getConsumerGroupUserName()const;
|
||||
void setConsumerGroupUserName(const std::string& consumerGroupUserName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string consumerGroupName_;
|
||||
@@ -58,6 +60,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string consumerGroupUserName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,6 +45,10 @@ namespace AlibabaCloud
|
||||
void setDatabaseCount(int databaseCount);
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getComputeUnit()const;
|
||||
void setComputeUnit(int computeUnit);
|
||||
std::string getDestinationRegion()const;
|
||||
void setDestinationRegion(const std::string& destinationRegion);
|
||||
std::string getPeriod()const;
|
||||
@@ -72,6 +76,8 @@ namespace AlibabaCloud
|
||||
std::string instanceClass_;
|
||||
int databaseCount_;
|
||||
std::string jobId_;
|
||||
std::string regionId_;
|
||||
int computeUnit_;
|
||||
std::string destinationRegion_;
|
||||
std::string period_;
|
||||
std::string destinationEndpointEngineName_;
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CREATEJOBMONITORRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CREATEJOBMONITORRULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT CreateJobMonitorRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateJobMonitorRuleRequest();
|
||||
~CreateJobMonitorRuleRequest();
|
||||
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
long getDelayRuleTime()const;
|
||||
void setDelayRuleTime(long delayRuleTime);
|
||||
std::string getPhone()const;
|
||||
void setPhone(const std::string& phone);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getState()const;
|
||||
void setState(const std::string& state);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
long delayRuleTime_;
|
||||
std::string phone_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string state_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CREATEJOBMONITORRULEREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CREATEJOBMONITORRULERESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CREATEJOBMONITORRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT CreateJobMonitorRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateJobMonitorRuleResult();
|
||||
explicit CreateJobMonitorRuleResult(const std::string &payload);
|
||||
~CreateJobMonitorRuleResult();
|
||||
std::string getDtsJobId()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dtsJobId_;
|
||||
int httpStatusCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CREATEJOBMONITORRULERESULT_H_
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
std::string getMigrationJobClass()const;
|
||||
@@ -53,6 +55,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string region_;
|
||||
std::string migrationJobClass_;
|
||||
|
||||
|
||||
@@ -49,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
std::string getPayType()const;
|
||||
@@ -62,6 +64,7 @@ namespace AlibabaCloud
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string region_;
|
||||
std::string payType_;
|
||||
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSynchronizationJobClass()const;
|
||||
void setSynchronizationJobClass(const std::string& synchronizationJobClass);
|
||||
std::string getPeriod()const;
|
||||
@@ -72,6 +74,7 @@ namespace AlibabaCloud
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string synchronizationJobClass_;
|
||||
std::string period_;
|
||||
std::string destRegion_;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string consumerGroupID_;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DeleteDtsJobRequest();
|
||||
~DeleteDtsJobRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
@@ -43,12 +43,15 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string migrationJobId_;
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,12 +43,15 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string subscriptionInstanceId_;
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,12 +43,15 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobId(const std::string& synchronizationJobId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
78
dts/include/alibabacloud/dts/model/DescribeCenVpcRequest.h
Normal file
78
dts/include/alibabacloud/dts/model/DescribeCenVpcRequest.h
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBECENVPCREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBECENVPCREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeCenVpcRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCenVpcRequest();
|
||||
~DescribeCenVpcRequest();
|
||||
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getPageNumber()const;
|
||||
void setPageNumber(const std::string& pageNumber);
|
||||
std::string getEngine()const;
|
||||
void setEngine(const std::string& engine);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
std::string getRoleName()const;
|
||||
void setRoleName(const std::string& roleName);
|
||||
std::string getIp()const;
|
||||
void setIp(const std::string& ip);
|
||||
std::string getAliyunId()const;
|
||||
void setAliyunId(const std::string& aliyunId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getPort()const;
|
||||
void setPort(const std::string& port);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string pageNumber_;
|
||||
std::string engine_;
|
||||
std::string regionId_;
|
||||
std::string pageSize_;
|
||||
std::string roleName_;
|
||||
std::string ip_;
|
||||
std::string aliyunId_;
|
||||
std::string instanceId_;
|
||||
std::string port_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBECENVPCREQUEST_H_
|
||||
76
dts/include/alibabacloud/dts/model/DescribeCenVpcResult.h
Normal file
76
dts/include/alibabacloud/dts/model/DescribeCenVpcResult.h
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBECENVPCRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBECENVPCRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeCenVpcResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CenVpcItem
|
||||
{
|
||||
std::string instanceName;
|
||||
std::string status;
|
||||
std::string vpcId;
|
||||
std::string instanceId;
|
||||
std::string ip;
|
||||
std::string port;
|
||||
std::string region;
|
||||
std::string vpcCloudInstanceId;
|
||||
std::string engine;
|
||||
std::string groupId;
|
||||
};
|
||||
|
||||
|
||||
DescribeCenVpcResult();
|
||||
explicit DescribeCenVpcResult(const std::string &payload);
|
||||
~DescribeCenVpcResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<CenVpcItem> getCenVpc()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::vector<CenVpcItem> cenVpc_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBECENVPCRESULT_H_
|
||||
@@ -51,6 +51,8 @@ namespace AlibabaCloud
|
||||
void setDestinationEndpointRegion(const std::string& destinationEndpointRegion);
|
||||
std::string getSourceEndpointIP()const;
|
||||
void setSourceEndpointIP(const std::string& sourceEndpointIP);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDestinationEndpointUserName()const;
|
||||
void setDestinationEndpointUserName(const std::string& destinationEndpointUserName);
|
||||
std::string getDestinationEndpointArchitecture()const;
|
||||
@@ -89,6 +91,7 @@ namespace AlibabaCloud
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
std::string destinationEndpointRegion_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string regionId_;
|
||||
std::string destinationEndpointUserName_;
|
||||
std::string destinationEndpointArchitecture_;
|
||||
std::string destinationEndpointOracleSID_;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
|
||||
@@ -39,10 +39,13 @@ namespace AlibabaCloud
|
||||
void setSourceEndpointRegion(const std::string& sourceEndpointRegion);
|
||||
std::string getDestinationEndpointRegion()const;
|
||||
void setDestinationEndpointRegion(const std::string& destinationEndpointRegion);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
std::string destinationEndpointRegion_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEDGDATABASESREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEDGDATABASESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeDgDatabasesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDgDatabasesRequest();
|
||||
~DescribeDgDatabasesRequest();
|
||||
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getPageNumber()const;
|
||||
void setPageNumber(const std::string& pageNumber);
|
||||
std::string getEngine()const;
|
||||
void setEngine(const std::string& engine);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
std::string getRoleName()const;
|
||||
void setRoleName(const std::string& roleName);
|
||||
std::string getIp()const;
|
||||
void setIp(const std::string& ip);
|
||||
std::string getAliyunId()const;
|
||||
void setAliyunId(const std::string& aliyunId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getPort()const;
|
||||
void setPort(const std::string& port);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string pageNumber_;
|
||||
std::string engine_;
|
||||
std::string regionId_;
|
||||
std::string pageSize_;
|
||||
std::string roleName_;
|
||||
std::string ip_;
|
||||
std::string aliyunId_;
|
||||
std::string instanceId_;
|
||||
std::string port_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEDGDATABASESREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEDGDATABASESRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEDGDATABASESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeDgDatabasesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DgDatabasesItem
|
||||
{
|
||||
std::string instanceName;
|
||||
std::string status;
|
||||
std::string vpcId;
|
||||
std::string instanceId;
|
||||
std::string hostPort;
|
||||
std::string region;
|
||||
std::string vpcCloudInstanceId;
|
||||
std::string connectHostPort;
|
||||
std::string engine;
|
||||
std::string groupId;
|
||||
};
|
||||
|
||||
|
||||
DescribeDgDatabasesResult();
|
||||
explicit DescribeDgDatabasesResult(const std::string &payload);
|
||||
~DescribeDgDatabasesResult();
|
||||
std::vector<DgDatabasesItem> getDgDatabases()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DgDatabasesItem> dgDatabases_;
|
||||
int httpStatusCode_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEDGDATABASESRESULT_H_
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DescribeDtsJobDetailRequest();
|
||||
~DescribeDtsJobDetailRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceID()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceID_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
@@ -64,23 +64,41 @@ namespace AlibabaCloud
|
||||
{
|
||||
bool dataInitialization;
|
||||
bool dataSynchronization;
|
||||
bool dataExtractTransformLoad;
|
||||
bool structureInitialization;
|
||||
};
|
||||
struct SubscriptionHost
|
||||
{
|
||||
std::string publicHost;
|
||||
std::string privateHost;
|
||||
std::string vpcHost;
|
||||
};
|
||||
struct SubscriptionDataType
|
||||
{
|
||||
bool dml;
|
||||
bool ddl;
|
||||
};
|
||||
|
||||
|
||||
DescribeDtsJobDetailResult();
|
||||
explicit DescribeDtsJobDetailResult(const std::string &payload);
|
||||
~DescribeDtsJobDetailResult();
|
||||
SubscriptionHost getSubscriptionHost()const;
|
||||
std::string getDtsJobName()const;
|
||||
std::string getEndTimestamp()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getDtsInstanceID()const;
|
||||
MigrationMode getMigrationMode()const;
|
||||
bool getSuccess()const;
|
||||
int getDelay()const;
|
||||
std::string getAppName()const;
|
||||
SubscriptionDataType getSubscriptionDataType()const;
|
||||
std::string getDtsJobClass()const;
|
||||
std::string getDtsJobId()const;
|
||||
std::string getFinishTime()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDestNetType()const;
|
||||
std::string getEtlCalculator()const;
|
||||
std::string getStatus()const;
|
||||
std::string getDbObject()const;
|
||||
std::string getCreateTime()const;
|
||||
@@ -88,28 +106,40 @@ namespace AlibabaCloud
|
||||
std::string getErrMessage()const;
|
||||
int getCode()const;
|
||||
std::string getErrCode()const;
|
||||
std::string getGroupId()const;
|
||||
int getCheckpoint()const;
|
||||
std::string getConsumptionCheckpoint()const;
|
||||
std::string getDtsJobDirection()const;
|
||||
int getDatabaseCount()const;
|
||||
DestinationEndpoint getDestinationEndpoint()const;
|
||||
std::string getSubscribeTopic()const;
|
||||
std::string getConsumptionClient()const;
|
||||
SourceEndpoint getSourceEndpoint()const;
|
||||
std::string getExpireTime()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getBeginTimestamp()const;
|
||||
std::string getSynchronizationDirection()const;
|
||||
std::string getReserved()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
SubscriptionHost subscriptionHost_;
|
||||
std::string dtsJobName_;
|
||||
std::string endTimestamp_;
|
||||
std::string dynamicMessage_;
|
||||
std::string dtsInstanceID_;
|
||||
MigrationMode migrationMode_;
|
||||
bool success_;
|
||||
int delay_;
|
||||
std::string appName_;
|
||||
SubscriptionDataType subscriptionDataType_;
|
||||
std::string dtsJobClass_;
|
||||
std::string dtsJobId_;
|
||||
std::string finishTime_;
|
||||
int httpStatusCode_;
|
||||
std::string destNetType_;
|
||||
std::string etlCalculator_;
|
||||
std::string status_;
|
||||
std::string dbObject_;
|
||||
std::string createTime_;
|
||||
@@ -117,12 +147,18 @@ namespace AlibabaCloud
|
||||
std::string errMessage_;
|
||||
int code_;
|
||||
std::string errCode_;
|
||||
std::string groupId_;
|
||||
int checkpoint_;
|
||||
std::string consumptionCheckpoint_;
|
||||
std::string dtsJobDirection_;
|
||||
int databaseCount_;
|
||||
DestinationEndpoint destinationEndpoint_;
|
||||
std::string subscribeTopic_;
|
||||
std::string consumptionClient_;
|
||||
SourceEndpoint sourceEndpoint_;
|
||||
std::string expireTime_;
|
||||
std::string errorMessage_;
|
||||
std::string beginTimestamp_;
|
||||
std::string synchronizationDirection_;
|
||||
std::string reserved_;
|
||||
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBLOGSREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBLOGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeDtsJobLogsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDtsJobLogsRequest();
|
||||
~DescribeDtsJobLogsRequest();
|
||||
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
std::string type_;
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string dtsJobId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBLOGSREQUEST_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBLOGSRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBLOGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeDtsJobLogsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct JobRunningLog
|
||||
{
|
||||
std::string contentKey;
|
||||
std::string status;
|
||||
long logDatetime;
|
||||
std::vector<std::string> params;
|
||||
long id;
|
||||
std::string jobId;
|
||||
};
|
||||
|
||||
|
||||
DescribeDtsJobLogsResult();
|
||||
explicit DescribeDtsJobLogsResult(const std::string &payload);
|
||||
~DescribeDtsJobLogsResult();
|
||||
long getTotalRecordCount()const;
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<JobRunningLog> getJobRunningLogs()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalRecordCount_;
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
int httpStatusCode_;
|
||||
std::vector<JobRunningLog> jobRunningLogs_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBLOGSRESULT_H_
|
||||
@@ -39,18 +39,22 @@ namespace AlibabaCloud
|
||||
void setOrderDirection(const std::string& orderDirection);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getOrderColumn()const;
|
||||
void setOrderColumn(const std::string& orderColumn);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getParams()const;
|
||||
void setParams(const std::string& params);
|
||||
std::string getJobType()const;
|
||||
void setJobType(const std::string& jobType);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
std::string getOrderColumn()const;
|
||||
void setOrderColumn(const std::string& orderColumn);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
std::string getStatus()const;
|
||||
@@ -59,12 +63,14 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string orderDirection_;
|
||||
std::string type_;
|
||||
int pageNumber_;
|
||||
std::string orderColumn_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string groupId_;
|
||||
std::string params_;
|
||||
std::string jobType_;
|
||||
int pageNumber_;
|
||||
std::string tags_;
|
||||
std::string orderColumn_;
|
||||
int pageSize_;
|
||||
std::string region_;
|
||||
std::string status_;
|
||||
|
||||
|
||||
@@ -34,18 +34,26 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct DtsJobStatus
|
||||
{
|
||||
struct SourceEndpoint
|
||||
struct DataInitializationStatus
|
||||
{
|
||||
std::string oracleSID;
|
||||
std::string userName;
|
||||
std::string instanceID;
|
||||
std::string sslSolutionEnum;
|
||||
std::string ip;
|
||||
std::string port;
|
||||
std::string databaseName;
|
||||
std::string region;
|
||||
std::string instanceType;
|
||||
std::string engineName;
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct DataSynchronizationStatus
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct DataEtlStatus
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct DestinationEndpoint
|
||||
{
|
||||
@@ -66,6 +74,11 @@ namespace AlibabaCloud
|
||||
bool dataSynchronization;
|
||||
bool structureInitialization;
|
||||
};
|
||||
struct Performance
|
||||
{
|
||||
std::string rps;
|
||||
std::string flow;
|
||||
};
|
||||
struct PrecheckStatus
|
||||
{
|
||||
struct PrecheckDetail
|
||||
@@ -81,35 +94,23 @@ namespace AlibabaCloud
|
||||
std::string errorMessage;
|
||||
std::vector<PrecheckDetail> detail;
|
||||
};
|
||||
struct StructureInitializationStatus
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct DataInitializationStatus
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct DataSynchronizationStatus
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct Performance
|
||||
{
|
||||
std::string rps;
|
||||
std::string flow;
|
||||
};
|
||||
struct ReverseJob
|
||||
{
|
||||
struct SourceEndpoint1
|
||||
struct DataInitializationStatus1
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct DataSynchronizationStatus2
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct DestinationEndpoint3
|
||||
{
|
||||
std::string oracleSID;
|
||||
std::string userName;
|
||||
@@ -122,26 +123,18 @@ namespace AlibabaCloud
|
||||
std::string instanceType;
|
||||
std::string engineName;
|
||||
};
|
||||
struct DestinationEndpoint2
|
||||
{
|
||||
std::string oracleSID;
|
||||
std::string userName;
|
||||
std::string instanceID;
|
||||
std::string sslSolutionEnum;
|
||||
std::string ip;
|
||||
std::string port;
|
||||
std::string databaseName;
|
||||
std::string region;
|
||||
std::string instanceType;
|
||||
std::string engineName;
|
||||
};
|
||||
struct MigrationMode3
|
||||
struct MigrationMode4
|
||||
{
|
||||
bool dataInitialization;
|
||||
bool dataSynchronization;
|
||||
bool structureInitialization;
|
||||
};
|
||||
struct PrecheckStatus4
|
||||
struct Performance5
|
||||
{
|
||||
std::string rps;
|
||||
std::string flow;
|
||||
};
|
||||
struct PrecheckStatus6
|
||||
{
|
||||
struct PrecheckDetail10
|
||||
{
|
||||
@@ -156,83 +149,103 @@ namespace AlibabaCloud
|
||||
std::vector<PrecheckDetail10> detail9;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct StructureInitializationStatus5
|
||||
struct SourceEndpoint7
|
||||
{
|
||||
std::string oracleSID;
|
||||
std::string userName;
|
||||
std::string instanceID;
|
||||
std::string sslSolutionEnum;
|
||||
std::string ip;
|
||||
std::string port;
|
||||
std::string databaseName;
|
||||
std::string region;
|
||||
std::string instanceType;
|
||||
std::string engineName;
|
||||
};
|
||||
struct StructureInitializationStatus8
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct DataInitializationStatus6
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct DataSynchronizationStatus7
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct Performance8
|
||||
{
|
||||
std::string rps;
|
||||
std::string flow;
|
||||
};
|
||||
std::string status;
|
||||
Performance8 performance8;
|
||||
SourceEndpoint1 sourceEndpoint1;
|
||||
SourceEndpoint7 sourceEndpoint7;
|
||||
std::string dbObject;
|
||||
std::string createTime;
|
||||
PrecheckStatus4 precheckStatus4;
|
||||
std::string dtsJobName;
|
||||
PrecheckStatus6 precheckStatus6;
|
||||
std::string payType;
|
||||
MigrationMode3 migrationMode3;
|
||||
MigrationMode4 migrationMode4;
|
||||
StructureInitializationStatus8 structureInitializationStatus8;
|
||||
std::string dtsInstanceID;
|
||||
DestinationEndpoint3 destinationEndpoint3;
|
||||
int delay;
|
||||
StructureInitializationStatus5 structureInitializationStatus5;
|
||||
DestinationEndpoint2 destinationEndpoint2;
|
||||
std::string dtsJobClass;
|
||||
Performance5 performance5;
|
||||
std::string checkpoint;
|
||||
std::string dtsJobId;
|
||||
std::string dtsJobClass;
|
||||
std::string dtsJobDirection;
|
||||
DataInitializationStatus6 dataInitializationStatus6;
|
||||
DataSynchronizationStatus7 dataSynchronizationStatus7;
|
||||
std::string expireTime;
|
||||
std::string dtsJobId;
|
||||
DataInitializationStatus1 dataInitializationStatus1;
|
||||
std::string errorMessage;
|
||||
std::string expireTime;
|
||||
DataSynchronizationStatus2 dataSynchronizationStatus2;
|
||||
std::string reserved;
|
||||
};
|
||||
struct SourceEndpoint
|
||||
{
|
||||
std::string oracleSID;
|
||||
std::string userName;
|
||||
std::string instanceID;
|
||||
std::string sslSolutionEnum;
|
||||
std::string ip;
|
||||
std::string port;
|
||||
std::string databaseName;
|
||||
std::string region;
|
||||
std::string instanceType;
|
||||
std::string engineName;
|
||||
};
|
||||
struct StructureInitializationStatus
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct DtsTag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string status;
|
||||
DataInitializationStatus dataInitializationStatus;
|
||||
std::string dbObject;
|
||||
std::string createTime;
|
||||
ReverseJob reverseJob;
|
||||
std::string dtsJobName;
|
||||
std::string payType;
|
||||
std::string endTimestamp;
|
||||
std::string dtsInstanceID;
|
||||
MigrationMode migrationMode;
|
||||
int delay;
|
||||
PrecheckStatus precheckStatus;
|
||||
std::string appName;
|
||||
std::string dtsJobClass;
|
||||
std::string checkpoint;
|
||||
std::string dtsJobId;
|
||||
std::vector<DtsJobStatus::DtsTag> tagList;
|
||||
DataSynchronizationStatus dataSynchronizationStatus;
|
||||
std::string status;
|
||||
DataEtlStatus dataEtlStatus;
|
||||
std::string dbObject;
|
||||
std::string createTime;
|
||||
ReverseJob reverseJob;
|
||||
std::string payType;
|
||||
PrecheckStatus precheckStatus;
|
||||
std::string checkpoint;
|
||||
std::string consumptionCheckpoint;
|
||||
std::string dtsJobDirection;
|
||||
DestinationEndpoint destinationEndpoint;
|
||||
std::string consumptionClient;
|
||||
SourceEndpoint sourceEndpoint;
|
||||
std::vector<DtsJobStatus::DtsTag> tagList;
|
||||
Performance performance;
|
||||
std::string expireTime;
|
||||
std::string errorMessage;
|
||||
std::string expireTime;
|
||||
std::string beginTimestamp;
|
||||
StructureInitializationStatus structureInitializationStatus;
|
||||
DataSynchronizationStatus dataSynchronizationStatus;
|
||||
std::string reserved;
|
||||
};
|
||||
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobId(const std::string& synchronizationJobId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEJOBDIFFSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEJOBDIFFSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeJobDiffStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeJobDiffStatusRequest();
|
||||
~DescribeJobDiffStatusRequest();
|
||||
|
||||
std::string getPageNumber()const;
|
||||
void setPageNumber(const std::string& pageNumber);
|
||||
std::string getTbName()const;
|
||||
void setTbName(const std::string& tbName);
|
||||
std::string getDbName()const;
|
||||
void setDbName(const std::string& dbName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
|
||||
private:
|
||||
std::string pageNumber_;
|
||||
std::string tbName_;
|
||||
std::string dbName_;
|
||||
std::string regionId_;
|
||||
std::string pageSize_;
|
||||
std::string dtsJobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEJOBDIFFSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEJOBDIFFSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEJOBDIFFSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeJobDiffStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DiffInfosItem
|
||||
{
|
||||
std::string tableName;
|
||||
std::string pkValue;
|
||||
std::string diff;
|
||||
std::string scheduleJobId;
|
||||
std::string dbName;
|
||||
std::string pkName;
|
||||
};
|
||||
|
||||
|
||||
DescribeJobDiffStatusResult();
|
||||
explicit DescribeJobDiffStatusResult(const std::string &payload);
|
||||
~DescribeJobDiffStatusResult();
|
||||
long getTotal()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::vector<DiffInfosItem> getDiffInfos()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long total_;
|
||||
int httpStatusCode_;
|
||||
std::string dynamicCode_;
|
||||
std::vector<DiffInfosItem> diffInfos_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEJOBDIFFSTATUSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEJOBMONITORRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEJOBMONITORRULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeJobMonitorRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeJobMonitorRuleRequest();
|
||||
~DescribeJobMonitorRuleRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEJOBMONITORRULEREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEJOBMONITORRULERESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEJOBMONITORRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeJobMonitorRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MonitorRule
|
||||
{
|
||||
std::string type;
|
||||
std::string phone;
|
||||
std::string state;
|
||||
long delayRuleTime;
|
||||
};
|
||||
|
||||
|
||||
DescribeJobMonitorRuleResult();
|
||||
explicit DescribeJobMonitorRuleResult(const std::string &payload);
|
||||
~DescribeJobMonitorRuleResult();
|
||||
std::string getDtsJobId()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<MonitorRule> getMonitorRules()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dtsJobId_;
|
||||
int httpStatusCode_;
|
||||
std::vector<MonitorRule> monitorRules_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEJOBMONITORRULERESULT_H_
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -49,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setAccountId(const std::string& accountId);
|
||||
bool getMigrationModeDataSynchronization()const;
|
||||
void setMigrationModeDataSynchronization(bool migrationModeDataSynchronization);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getOwnerId()const;
|
||||
@@ -64,6 +66,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
bool migrationModeDataSynchronization_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string ownerId_;
|
||||
bool migrationModeStructureInitialization_;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -51,6 +51,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getMigrationJobName()const;
|
||||
@@ -64,6 +66,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string migrationJobName_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getStructType()const;
|
||||
void setStructType(const std::string& structType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPageNo()const;
|
||||
void setPageNo(const std::string& pageNo);
|
||||
std::string getPageSize()const;
|
||||
@@ -48,6 +50,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string structType_;
|
||||
std::string regionId_;
|
||||
std::string pageNo_;
|
||||
std::string pageSize_;
|
||||
std::string jobCode_;
|
||||
|
||||
@@ -65,6 +65,49 @@ namespace AlibabaCloud
|
||||
std::string jobId;
|
||||
std::string ddlSql;
|
||||
};
|
||||
struct SubDistributedJobStatusItem
|
||||
{
|
||||
struct ProgressInfo2
|
||||
{
|
||||
struct JobLog4
|
||||
{
|
||||
std::string errData;
|
||||
std::string errMsg;
|
||||
std::string errType;
|
||||
std::string logLevel;
|
||||
};
|
||||
std::string sourceSchema;
|
||||
std::string sub;
|
||||
std::string destSchema;
|
||||
std::string errMsg;
|
||||
std::string targetNames;
|
||||
std::vector<ProgressInfo2::JobLog4> logs3;
|
||||
std::string bootTime;
|
||||
std::string names;
|
||||
std::string item;
|
||||
bool canSkip;
|
||||
std::string repairMethod;
|
||||
int delaySeconds;
|
||||
std::string finishTime;
|
||||
int orderNum;
|
||||
long diffRow;
|
||||
std::string parentObj;
|
||||
std::string ignoreFlag;
|
||||
std::string state;
|
||||
int total;
|
||||
bool skip;
|
||||
std::string errDetail;
|
||||
std::string jobId;
|
||||
std::string ddlSql;
|
||||
};
|
||||
std::vector<SubDistributedJobStatusItem::ProgressInfo2> jobProgress1;
|
||||
std::string state;
|
||||
int total;
|
||||
std::string jobName;
|
||||
int errorItem;
|
||||
std::string code;
|
||||
std::string jobId;
|
||||
};
|
||||
|
||||
|
||||
DescribePreCheckStatusResult();
|
||||
@@ -75,8 +118,10 @@ namespace AlibabaCloud
|
||||
int getHttpStatusCode()const;
|
||||
std::string getJobName()const;
|
||||
int getErrorItem()const;
|
||||
std::vector<SubDistributedJobStatusItem> getSubDistributedJobStatus()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getJobId()const;
|
||||
std::vector<ProgressInfo> getJobProgress()const;
|
||||
|
||||
protected:
|
||||
@@ -87,8 +132,10 @@ namespace AlibabaCloud
|
||||
int httpStatusCode_;
|
||||
std::string jobName_;
|
||||
int errorItem_;
|
||||
std::vector<SubDistributedJobStatusItem> subDistributedJobStatus_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string jobId_;
|
||||
std::vector<ProgressInfo> jobProgress_;
|
||||
|
||||
};
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,12 +43,15 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string subscriptionInstanceId_;
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -53,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getSubscriptionInstanceName()const;
|
||||
@@ -67,6 +69,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string subscriptionInstanceName_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobId(const std::string& synchronizationJobId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobId(const std::string& synchronizationJobId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string synchronizationJobIdListJsonStr_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobId(const std::string& synchronizationJobId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
|
||||
@@ -55,6 +55,8 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobName(const std::string& synchronizationJobName);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<Tag> getTag()const;
|
||||
@@ -68,6 +70,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobName_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -53,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getConsumerGroupUserName()const;
|
||||
void setConsumerGroupUserName(const std::string& consumerGroupUserName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string consumerGroupName_;
|
||||
@@ -64,6 +66,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string consumerGroupUserName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string subscriptionInstanceId_;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,11 +37,14 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getDtsJobName()const;
|
||||
void setDtsJobName(const std::string& dtsJobName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
|
||||
private:
|
||||
std::string dtsJobName_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setPassword(const std::string& password);
|
||||
std::string getEndpoint()const;
|
||||
void setEndpoint(const std::string& endpoint);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getUserName()const;
|
||||
@@ -47,6 +49,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string password_;
|
||||
std::string endpoint_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string userName_;
|
||||
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
@@ -53,6 +55,7 @@ namespace AlibabaCloud
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSubscriptionObject()const;
|
||||
void setSubscriptionObject(const std::string& subscriptionObject);
|
||||
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string subscriptionObject_;
|
||||
|
||||
};
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobId(const std::string& synchronizationJobId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
|
||||
51
dts/include/alibabacloud/dts/model/PreviewSqlRequest.h
Normal file
51
dts/include/alibabacloud/dts/model/PreviewSqlRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_PREVIEWSQLREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_PREVIEWSQLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT PreviewSqlRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PreviewSqlRequest();
|
||||
~PreviewSqlRequest();
|
||||
|
||||
std::string getEtlCalculator()const;
|
||||
void setEtlCalculator(const std::string& etlCalculator);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string etlCalculator_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_PREVIEWSQLREQUEST_H_
|
||||
67
dts/include/alibabacloud/dts/model/PreviewSqlResult.h
Normal file
67
dts/include/alibabacloud/dts/model/PreviewSqlResult.h
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_PREVIEWSQLRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_PREVIEWSQLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT PreviewSqlResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PreviewSqlResult();
|
||||
explicit PreviewSqlResult(const std::string &payload);
|
||||
~PreviewSqlResult();
|
||||
std::vector<std::string> getSqlList()const;
|
||||
std::string getValidationException()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getStreamGraph()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> sqlList_;
|
||||
std::string validationException_;
|
||||
int httpStatusCode_;
|
||||
std::string streamGraph_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_PREVIEWSQLRESULT_H_
|
||||
57
dts/include/alibabacloud/dts/model/ReplaceInstanceRequest.h
Normal file
57
dts/include/alibabacloud/dts/model/ReplaceInstanceRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_REPLACEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_REPLACEINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ReplaceInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ReplaceInstanceRequest();
|
||||
~ReplaceInstanceRequest();
|
||||
|
||||
std::string getNewInstanceId()const;
|
||||
void setNewInstanceId(const std::string& newInstanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getChargeType()const;
|
||||
void setChargeType(const std::string& chargeType);
|
||||
|
||||
private:
|
||||
std::string newInstanceId_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string chargeType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_REPLACEINSTANCEREQUEST_H_
|
||||
69
dts/include/alibabacloud/dts/model/ReplaceInstanceResult.h
Normal file
69
dts/include/alibabacloud/dts/model/ReplaceInstanceResult.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_REPLACEINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_REPLACEINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ReplaceInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ReplaceInstanceResult();
|
||||
explicit ReplaceInstanceResult(const std::string &payload);
|
||||
~ReplaceInstanceResult();
|
||||
std::string getDtsJobId()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getChargeType()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dtsJobId_;
|
||||
std::string endTime_;
|
||||
std::string instanceId_;
|
||||
std::string chargeType_;
|
||||
int httpStatusCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_REPLACEINSTANCERESULT_H_
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
ResetDtsJobRequest();
|
||||
~ResetDtsJobRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobId(const std::string& synchronizationJobId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,11 +37,14 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getPrecheckItems()const;
|
||||
void setPrecheckItems(const std::string& precheckItems);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
|
||||
private:
|
||||
std::string precheckItems_;
|
||||
std::string regionId_;
|
||||
std::string dtsInstanceId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -41,14 +41,20 @@ namespace AlibabaCloud
|
||||
void setSkip(bool skip);
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSkipPreCheckNames()const;
|
||||
void setSkipPreCheckNames(const std::string& skipPreCheckNames);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
|
||||
private:
|
||||
std::string skipPreCheckItems_;
|
||||
bool skip_;
|
||||
std::string jobId_;
|
||||
std::string regionId_;
|
||||
std::string skipPreCheckNames_;
|
||||
std::string dtsJobId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
StartDtsJobRequest();
|
||||
~StartDtsJobRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
@@ -43,12 +43,15 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string migrationJobId_;
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,12 +43,15 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string subscriptionInstanceId_;
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobId(const std::string& synchronizationJobId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
StopDtsJobRequest();
|
||||
~StopDtsJobRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
SuspendDtsJobRequest();
|
||||
~SuspendDtsJobRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setSynchronizationJobId(const std::string& synchronizationJobId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setEndpointType(const std::string& endpointType);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getEndpointPort()const;
|
||||
void setEndpointPort(const std::string& endpointPort);
|
||||
std::string getEndpointInstanceType()const;
|
||||
@@ -65,6 +67,7 @@ namespace AlibabaCloud
|
||||
std::string synchronizationJobId_;
|
||||
std::string endpointType_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string endpointPort_;
|
||||
std::string endpointInstanceType_;
|
||||
std::string sourceEndpointOwnerID_;
|
||||
|
||||
63
dts/include/alibabacloud/dts/model/TransferPayTypeRequest.h
Normal file
63
dts/include/alibabacloud/dts/model/TransferPayTypeRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_TRANSFERPAYTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_TRANSFERPAYTYPEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT TransferPayTypeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TransferPayTypeRequest();
|
||||
~TransferPayTypeRequest();
|
||||
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
std::string getBuyCount()const;
|
||||
void setBuyCount(const std::string& buyCount);
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getChargeType()const;
|
||||
void setChargeType(const std::string& chargeType);
|
||||
|
||||
private:
|
||||
std::string period_;
|
||||
std::string buyCount_;
|
||||
std::string instanceClass_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string chargeType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_TRANSFERPAYTYPEREQUEST_H_
|
||||
69
dts/include/alibabacloud/dts/model/TransferPayTypeResult.h
Normal file
69
dts/include/alibabacloud/dts/model/TransferPayTypeResult.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_TRANSFERPAYTYPERESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_TRANSFERPAYTYPERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT TransferPayTypeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TransferPayTypeResult();
|
||||
explicit TransferPayTypeResult(const std::string &payload);
|
||||
~TransferPayTypeResult();
|
||||
std::string getDtsJobId()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getChargeType()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dtsJobId_;
|
||||
std::string endTime_;
|
||||
std::string instanceId_;
|
||||
std::string chargeType_;
|
||||
int httpStatusCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_TRANSFERPAYTYPERESULT_H_
|
||||
54
dts/include/alibabacloud/dts/model/UpgradeTwoWayRequest.h
Normal file
54
dts/include/alibabacloud/dts/model/UpgradeTwoWayRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_UPGRADETWOWAYREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_UPGRADETWOWAYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT UpgradeTwoWayRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradeTwoWayRequest();
|
||||
~UpgradeTwoWayRequest();
|
||||
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string instanceClass_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_UPGRADETWOWAYREQUEST_H_
|
||||
61
dts/include/alibabacloud/dts/model/UpgradeTwoWayResult.h
Normal file
61
dts/include/alibabacloud/dts/model/UpgradeTwoWayResult.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_UPGRADETWOWAYRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_UPGRADETWOWAYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT UpgradeTwoWayResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpgradeTwoWayResult();
|
||||
explicit UpgradeTwoWayResult(const std::string &payload);
|
||||
~UpgradeTwoWayResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_UPGRADETWOWAYRESULT_H_
|
||||
57
dts/include/alibabacloud/dts/model/WhiteIpListRequest.h
Normal file
57
dts/include/alibabacloud/dts/model/WhiteIpListRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_WHITEIPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_WHITEIPLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT WhiteIpListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
WhiteIpListRequest();
|
||||
~WhiteIpListRequest();
|
||||
|
||||
std::string getDestinationRegion()const;
|
||||
void setDestinationRegion(const std::string& destinationRegion);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string destinationRegion_;
|
||||
std::string type_;
|
||||
std::string regionId_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_WHITEIPLISTREQUEST_H_
|
||||
63
dts/include/alibabacloud/dts/model/WhiteIpListResult.h
Normal file
63
dts/include/alibabacloud/dts/model/WhiteIpListResult.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_WHITEIPLISTRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_WHITEIPLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT WhiteIpListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
WhiteIpListResult();
|
||||
explicit WhiteIpListResult(const std::string &payload);
|
||||
~WhiteIpListResult();
|
||||
std::string getIpList()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string ipList_;
|
||||
int httpStatusCode_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_WHITEIPLISTRESULT_H_
|
||||
@@ -411,6 +411,42 @@ DtsClient::CreateDtsInstanceOutcomeCallable DtsClient::createDtsInstanceCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::CreateJobMonitorRuleOutcome DtsClient::createJobMonitorRule(const CreateJobMonitorRuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateJobMonitorRuleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateJobMonitorRuleOutcome(CreateJobMonitorRuleResult(outcome.result()));
|
||||
else
|
||||
return CreateJobMonitorRuleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::createJobMonitorRuleAsync(const CreateJobMonitorRuleRequest& request, const CreateJobMonitorRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createJobMonitorRule(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::CreateJobMonitorRuleOutcomeCallable DtsClient::createJobMonitorRuleCallable(const CreateJobMonitorRuleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateJobMonitorRuleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createJobMonitorRule(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::CreateMigrationJobOutcome DtsClient::createMigrationJob(const CreateMigrationJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -699,6 +735,42 @@ DtsClient::DeleteSynchronizationJobOutcomeCallable DtsClient::deleteSynchronizat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeCenVpcOutcome DtsClient::describeCenVpc(const DescribeCenVpcRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCenVpcOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCenVpcOutcome(DescribeCenVpcResult(outcome.result()));
|
||||
else
|
||||
return DescribeCenVpcOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::describeCenVpcAsync(const DescribeCenVpcRequest& request, const DescribeCenVpcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCenVpc(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::DescribeCenVpcOutcomeCallable DtsClient::describeCenVpcCallable(const DescribeCenVpcRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCenVpcOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCenVpc(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeConnectionStatusOutcome DtsClient::describeConnectionStatus(const DescribeConnectionStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -807,6 +879,42 @@ DtsClient::DescribeDTSIPOutcomeCallable DtsClient::describeDTSIPCallable(const D
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeDgDatabasesOutcome DtsClient::describeDgDatabases(const DescribeDgDatabasesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDgDatabasesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDgDatabasesOutcome(DescribeDgDatabasesResult(outcome.result()));
|
||||
else
|
||||
return DescribeDgDatabasesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::describeDgDatabasesAsync(const DescribeDgDatabasesRequest& request, const DescribeDgDatabasesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDgDatabases(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::DescribeDgDatabasesOutcomeCallable DtsClient::describeDgDatabasesCallable(const DescribeDgDatabasesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDgDatabasesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDgDatabases(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeDtsJobDetailOutcome DtsClient::describeDtsJobDetail(const DescribeDtsJobDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -843,6 +951,42 @@ DtsClient::DescribeDtsJobDetailOutcomeCallable DtsClient::describeDtsJobDetailCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeDtsJobLogsOutcome DtsClient::describeDtsJobLogs(const DescribeDtsJobLogsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDtsJobLogsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDtsJobLogsOutcome(DescribeDtsJobLogsResult(outcome.result()));
|
||||
else
|
||||
return DescribeDtsJobLogsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::describeDtsJobLogsAsync(const DescribeDtsJobLogsRequest& request, const DescribeDtsJobLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDtsJobLogs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::DescribeDtsJobLogsOutcomeCallable DtsClient::describeDtsJobLogsCallable(const DescribeDtsJobLogsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDtsJobLogsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDtsJobLogs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeDtsJobsOutcome DtsClient::describeDtsJobs(const DescribeDtsJobsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -951,6 +1095,78 @@ DtsClient::DescribeInitializationStatusOutcomeCallable DtsClient::describeInitia
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeJobDiffStatusOutcome DtsClient::describeJobDiffStatus(const DescribeJobDiffStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeJobDiffStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeJobDiffStatusOutcome(DescribeJobDiffStatusResult(outcome.result()));
|
||||
else
|
||||
return DescribeJobDiffStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::describeJobDiffStatusAsync(const DescribeJobDiffStatusRequest& request, const DescribeJobDiffStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeJobDiffStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::DescribeJobDiffStatusOutcomeCallable DtsClient::describeJobDiffStatusCallable(const DescribeJobDiffStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeJobDiffStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeJobDiffStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeJobMonitorRuleOutcome DtsClient::describeJobMonitorRule(const DescribeJobMonitorRuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeJobMonitorRuleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeJobMonitorRuleOutcome(DescribeJobMonitorRuleResult(outcome.result()));
|
||||
else
|
||||
return DescribeJobMonitorRuleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::describeJobMonitorRuleAsync(const DescribeJobMonitorRuleRequest& request, const DescribeJobMonitorRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeJobMonitorRule(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::DescribeJobMonitorRuleOutcomeCallable DtsClient::describeJobMonitorRuleCallable(const DescribeJobMonitorRuleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeJobMonitorRuleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeJobMonitorRule(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeMigrationJobAlertOutcome DtsClient::describeMigrationJobAlert(const DescribeMigrationJobAlertRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1743,6 +1959,78 @@ DtsClient::ModifySynchronizationObjectOutcomeCallable DtsClient::modifySynchroni
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::PreviewSqlOutcome DtsClient::previewSql(const PreviewSqlRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return PreviewSqlOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return PreviewSqlOutcome(PreviewSqlResult(outcome.result()));
|
||||
else
|
||||
return PreviewSqlOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::previewSqlAsync(const PreviewSqlRequest& request, const PreviewSqlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, previewSql(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::PreviewSqlOutcomeCallable DtsClient::previewSqlCallable(const PreviewSqlRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<PreviewSqlOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->previewSql(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::ReplaceInstanceOutcome DtsClient::replaceInstance(const ReplaceInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ReplaceInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ReplaceInstanceOutcome(ReplaceInstanceResult(outcome.result()));
|
||||
else
|
||||
return ReplaceInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::replaceInstanceAsync(const ReplaceInstanceRequest& request, const ReplaceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, replaceInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::ReplaceInstanceOutcomeCallable DtsClient::replaceInstanceCallable(const ReplaceInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ReplaceInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->replaceInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::ResetDtsJobOutcome DtsClient::resetDtsJob(const ResetDtsJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2283,6 +2571,42 @@ DtsClient::TagResourcesOutcomeCallable DtsClient::tagResourcesCallable(const Tag
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::TransferPayTypeOutcome DtsClient::transferPayType(const TransferPayTypeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TransferPayTypeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TransferPayTypeOutcome(TransferPayTypeResult(outcome.result()));
|
||||
else
|
||||
return TransferPayTypeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::transferPayTypeAsync(const TransferPayTypeRequest& request, const TransferPayTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, transferPayType(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::TransferPayTypeOutcomeCallable DtsClient::transferPayTypeCallable(const TransferPayTypeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TransferPayTypeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->transferPayType(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::UntagResourcesOutcome DtsClient::untagResources(const UntagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2319,3 +2643,75 @@ DtsClient::UntagResourcesOutcomeCallable DtsClient::untagResourcesCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::UpgradeTwoWayOutcome DtsClient::upgradeTwoWay(const UpgradeTwoWayRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpgradeTwoWayOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpgradeTwoWayOutcome(UpgradeTwoWayResult(outcome.result()));
|
||||
else
|
||||
return UpgradeTwoWayOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::upgradeTwoWayAsync(const UpgradeTwoWayRequest& request, const UpgradeTwoWayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, upgradeTwoWay(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::UpgradeTwoWayOutcomeCallable DtsClient::upgradeTwoWayCallable(const UpgradeTwoWayRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpgradeTwoWayOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->upgradeTwoWay(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::WhiteIpListOutcome DtsClient::whiteIpList(const WhiteIpListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return WhiteIpListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return WhiteIpListOutcome(WhiteIpListResult(outcome.result()));
|
||||
else
|
||||
return WhiteIpListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::whiteIpListAsync(const WhiteIpListRequest& request, const WhiteIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, whiteIpList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::WhiteIpListOutcomeCallable DtsClient::whiteIpListCallable(const WhiteIpListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<WhiteIpListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->whiteIpList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -335,6 +335,17 @@ void ConfigureDtsJobRequest::setDestinationEndpointRegion(const std::string& des
|
||||
setParameter("DestinationEndpointRegion", destinationEndpointRegion);
|
||||
}
|
||||
|
||||
std::string ConfigureDtsJobRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureDtsJobRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ConfigureDtsJobRequest::getReserve()const
|
||||
{
|
||||
return reserve_;
|
||||
|
||||
@@ -104,6 +104,17 @@ void ConfigureMigrationJobAlertRequest::setErrorAlertPhone(const std::string& er
|
||||
setParameter("ErrorAlertPhone", errorAlertPhone);
|
||||
}
|
||||
|
||||
std::string ConfigureMigrationJobAlertRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureMigrationJobAlertRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ConfigureMigrationJobAlertRequest::getDelayAlertPhone()const
|
||||
{
|
||||
return delayAlertPhone_;
|
||||
|
||||
@@ -203,6 +203,17 @@ void ConfigureMigrationJobRequest::setMigrationModeDataSynchronization(bool migr
|
||||
setParameter("MigrationModeDataSynchronization", migrationModeDataSynchronization ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureMigrationJobRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureMigrationJobRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ConfigureMigrationJobRequest::getDestinationEndpointRegion()const
|
||||
{
|
||||
return destinationEndpointRegion_;
|
||||
|
||||
@@ -104,6 +104,17 @@ void ConfigureSubscriptionInstanceAlertRequest::setErrorAlertPhone(const std::st
|
||||
setParameter("ErrorAlertPhone", errorAlertPhone);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionInstanceAlertRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionInstanceAlertRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionInstanceAlertRequest::getDelayAlertPhone()const
|
||||
{
|
||||
return delayAlertPhone_;
|
||||
|
||||
@@ -104,6 +104,17 @@ void ConfigureSubscriptionInstanceRequest::setAccountId(const std::string& accou
|
||||
setParameter("AccountId", accountId);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionInstanceRequest::getSubscriptionObject()const
|
||||
{
|
||||
return subscriptionObject_;
|
||||
|
||||
@@ -60,6 +60,17 @@ void ConfigureSynchronizationJobAlertRequest::setAccountId(const std::string& ac
|
||||
setParameter("AccountId", accountId);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobAlertRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobAlertRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobAlertRequest::getDelayAlertPhone()const
|
||||
{
|
||||
return delayAlertPhone_;
|
||||
|
||||
@@ -82,6 +82,17 @@ void ConfigureSynchronizationJobReplicatorCompareRequest::setAccountId(const std
|
||||
setParameter("AccountId", accountId);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobReplicatorCompareRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobReplicatorCompareRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool ConfigureSynchronizationJobReplicatorCompareRequest::getSynchronizationReplicatorCompareEnable()const
|
||||
{
|
||||
return synchronizationReplicatorCompareEnable_;
|
||||
|
||||
@@ -192,6 +192,17 @@ void ConfigureSynchronizationJobRequest::setAccountId(const std::string& account
|
||||
setParameter("AccountId", accountId);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getSourceEndpointUserName()const
|
||||
{
|
||||
return sourceEndpointUserName_;
|
||||
|
||||
@@ -104,3 +104,14 @@ void CreateConsumerGroupRequest::setConsumerGroupUserName(const std::string& con
|
||||
setParameter("ConsumerGroupUserName", consumerGroupUserName);
|
||||
}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -82,6 +82,28 @@ void CreateDtsInstanceRequest::setJobId(const std::string& jobId)
|
||||
setParameter("JobId", jobId);
|
||||
}
|
||||
|
||||
std::string CreateDtsInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateDtsInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int CreateDtsInstanceRequest::getComputeUnit()const
|
||||
{
|
||||
return computeUnit_;
|
||||
}
|
||||
|
||||
void CreateDtsInstanceRequest::setComputeUnit(int computeUnit)
|
||||
{
|
||||
computeUnit_ = computeUnit;
|
||||
setParameter("ComputeUnit", std::to_string(computeUnit));
|
||||
}
|
||||
|
||||
std::string CreateDtsInstanceRequest::getDestinationRegion()const
|
||||
{
|
||||
return destinationRegion_;
|
||||
|
||||
95
dts/src/model/CreateJobMonitorRuleRequest.cc
Normal file
95
dts/src/model/CreateJobMonitorRuleRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/CreateJobMonitorRuleRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::CreateJobMonitorRuleRequest;
|
||||
|
||||
CreateJobMonitorRuleRequest::CreateJobMonitorRuleRequest() :
|
||||
RpcServiceRequest("dts", "2020-01-01", "CreateJobMonitorRule")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateJobMonitorRuleRequest::~CreateJobMonitorRuleRequest()
|
||||
{}
|
||||
|
||||
std::string CreateJobMonitorRuleRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void CreateJobMonitorRuleRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
long CreateJobMonitorRuleRequest::getDelayRuleTime()const
|
||||
{
|
||||
return delayRuleTime_;
|
||||
}
|
||||
|
||||
void CreateJobMonitorRuleRequest::setDelayRuleTime(long delayRuleTime)
|
||||
{
|
||||
delayRuleTime_ = delayRuleTime;
|
||||
setParameter("DelayRuleTime", std::to_string(delayRuleTime));
|
||||
}
|
||||
|
||||
std::string CreateJobMonitorRuleRequest::getPhone()const
|
||||
{
|
||||
return phone_;
|
||||
}
|
||||
|
||||
void CreateJobMonitorRuleRequest::setPhone(const std::string& phone)
|
||||
{
|
||||
phone_ = phone;
|
||||
setParameter("Phone", phone);
|
||||
}
|
||||
|
||||
std::string CreateJobMonitorRuleRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateJobMonitorRuleRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateJobMonitorRuleRequest::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void CreateJobMonitorRuleRequest::setDtsJobId(const std::string& dtsJobId)
|
||||
{
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter("DtsJobId", dtsJobId);
|
||||
}
|
||||
|
||||
std::string CreateJobMonitorRuleRequest::getState()const
|
||||
{
|
||||
return state_;
|
||||
}
|
||||
|
||||
void CreateJobMonitorRuleRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
93
dts/src/model/CreateJobMonitorRuleResult.cc
Normal file
93
dts/src/model/CreateJobMonitorRuleResult.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/CreateJobMonitorRuleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dts;
|
||||
using namespace AlibabaCloud::Dts::Model;
|
||||
|
||||
CreateJobMonitorRuleResult::CreateJobMonitorRuleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateJobMonitorRuleResult::CreateJobMonitorRuleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateJobMonitorRuleResult::~CreateJobMonitorRuleResult()
|
||||
{}
|
||||
|
||||
void CreateJobMonitorRuleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["DynamicMessage"].isNull())
|
||||
dynamicMessage_ = value["DynamicMessage"].asString();
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["DtsJobId"].isNull())
|
||||
dtsJobId_ = value["DtsJobId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateJobMonitorRuleResult::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
int CreateJobMonitorRuleResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreateJobMonitorRuleResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string CreateJobMonitorRuleResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string CreateJobMonitorRuleResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool CreateJobMonitorRuleResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string CreateJobMonitorRuleResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user