Supported ModifyDtsJob and DeleteDtsJob.
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "DtsExport.h"
|
||||
#include "model/ConfigureDtsJobRequest.h"
|
||||
#include "model/ConfigureDtsJobResult.h"
|
||||
#include "model/ConfigureMigrationJobRequest.h"
|
||||
#include "model/ConfigureMigrationJobResult.h"
|
||||
#include "model/ConfigureMigrationJobAlertRequest.h"
|
||||
@@ -38,6 +40,8 @@
|
||||
#include "model/ConfigureSynchronizationJobReplicatorCompareResult.h"
|
||||
#include "model/CreateConsumerGroupRequest.h"
|
||||
#include "model/CreateConsumerGroupResult.h"
|
||||
#include "model/CreateDtsInstanceRequest.h"
|
||||
#include "model/CreateDtsInstanceResult.h"
|
||||
#include "model/CreateMigrationJobRequest.h"
|
||||
#include "model/CreateMigrationJobResult.h"
|
||||
#include "model/CreateSubscriptionInstanceRequest.h"
|
||||
@@ -46,6 +50,8 @@
|
||||
#include "model/CreateSynchronizationJobResult.h"
|
||||
#include "model/DeleteConsumerGroupRequest.h"
|
||||
#include "model/DeleteConsumerGroupResult.h"
|
||||
#include "model/DeleteDtsJobRequest.h"
|
||||
#include "model/DeleteDtsJobResult.h"
|
||||
#include "model/DeleteMigrationJobRequest.h"
|
||||
#include "model/DeleteMigrationJobResult.h"
|
||||
#include "model/DeleteSubscriptionInstanceRequest.h"
|
||||
@@ -58,6 +64,10 @@
|
||||
#include "model/DescribeConsumerGroupResult.h"
|
||||
#include "model/DescribeDTSIPRequest.h"
|
||||
#include "model/DescribeDTSIPResult.h"
|
||||
#include "model/DescribeDtsJobDetailRequest.h"
|
||||
#include "model/DescribeDtsJobDetailResult.h"
|
||||
#include "model/DescribeDtsJobsRequest.h"
|
||||
#include "model/DescribeDtsJobsResult.h"
|
||||
#include "model/DescribeEndpointSwitchStatusRequest.h"
|
||||
#include "model/DescribeEndpointSwitchStatusResult.h"
|
||||
#include "model/DescribeInitializationStatusRequest.h"
|
||||
@@ -70,6 +80,8 @@
|
||||
#include "model/DescribeMigrationJobStatusResult.h"
|
||||
#include "model/DescribeMigrationJobsRequest.h"
|
||||
#include "model/DescribeMigrationJobsResult.h"
|
||||
#include "model/DescribePreCheckStatusRequest.h"
|
||||
#include "model/DescribePreCheckStatusResult.h"
|
||||
#include "model/DescribeSubscriptionInstanceAlertRequest.h"
|
||||
#include "model/DescribeSubscriptionInstanceAlertResult.h"
|
||||
#include "model/DescribeSubscriptionInstanceStatusRequest.h"
|
||||
@@ -94,22 +106,38 @@
|
||||
#include "model/ModifyConsumerGroupPasswordResult.h"
|
||||
#include "model/ModifyConsumptionTimestampRequest.h"
|
||||
#include "model/ModifyConsumptionTimestampResult.h"
|
||||
#include "model/ModifyDtsJobRequest.h"
|
||||
#include "model/ModifyDtsJobResult.h"
|
||||
#include "model/ModifyDtsJobNameRequest.h"
|
||||
#include "model/ModifyDtsJobNameResult.h"
|
||||
#include "model/ModifyDtsJobPasswordRequest.h"
|
||||
#include "model/ModifyDtsJobPasswordResult.h"
|
||||
#include "model/ModifySubscriptionObjectRequest.h"
|
||||
#include "model/ModifySubscriptionObjectResult.h"
|
||||
#include "model/ModifySynchronizationObjectRequest.h"
|
||||
#include "model/ModifySynchronizationObjectResult.h"
|
||||
#include "model/ResetDtsJobRequest.h"
|
||||
#include "model/ResetDtsJobResult.h"
|
||||
#include "model/ResetSynchronizationJobRequest.h"
|
||||
#include "model/ResetSynchronizationJobResult.h"
|
||||
#include "model/ShieldPrecheckRequest.h"
|
||||
#include "model/ShieldPrecheckResult.h"
|
||||
#include "model/SkipPreCheckRequest.h"
|
||||
#include "model/SkipPreCheckResult.h"
|
||||
#include "model/StartDtsJobRequest.h"
|
||||
#include "model/StartDtsJobResult.h"
|
||||
#include "model/StartMigrationJobRequest.h"
|
||||
#include "model/StartMigrationJobResult.h"
|
||||
#include "model/StartSubscriptionInstanceRequest.h"
|
||||
#include "model/StartSubscriptionInstanceResult.h"
|
||||
#include "model/StartSynchronizationJobRequest.h"
|
||||
#include "model/StartSynchronizationJobResult.h"
|
||||
#include "model/StopDtsJobRequest.h"
|
||||
#include "model/StopDtsJobResult.h"
|
||||
#include "model/StopMigrationJobRequest.h"
|
||||
#include "model/StopMigrationJobResult.h"
|
||||
#include "model/SuspendDtsJobRequest.h"
|
||||
#include "model/SuspendDtsJobResult.h"
|
||||
#include "model/SuspendMigrationJobRequest.h"
|
||||
#include "model/SuspendMigrationJobResult.h"
|
||||
#include "model/SuspendSynchronizationJobRequest.h"
|
||||
@@ -129,6 +157,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_DTS_EXPORT DtsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ConfigureDtsJobResult> ConfigureDtsJobOutcome;
|
||||
typedef std::future<ConfigureDtsJobOutcome> ConfigureDtsJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureDtsJobRequest&, const ConfigureDtsJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureDtsJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigureMigrationJobResult> ConfigureMigrationJobOutcome;
|
||||
typedef std::future<ConfigureMigrationJobOutcome> ConfigureMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureMigrationJobRequest&, const ConfigureMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureMigrationJobAsyncHandler;
|
||||
@@ -153,6 +184,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateConsumerGroupResult> CreateConsumerGroupOutcome;
|
||||
typedef std::future<CreateConsumerGroupOutcome> CreateConsumerGroupOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::CreateConsumerGroupRequest&, const CreateConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConsumerGroupAsyncHandler;
|
||||
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::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;
|
||||
@@ -165,6 +199,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteConsumerGroupResult> DeleteConsumerGroupOutcome;
|
||||
typedef std::future<DeleteConsumerGroupOutcome> DeleteConsumerGroupOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DeleteConsumerGroupRequest&, const DeleteConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConsumerGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDtsJobResult> DeleteDtsJobOutcome;
|
||||
typedef std::future<DeleteDtsJobOutcome> DeleteDtsJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DeleteDtsJobRequest&, const DeleteDtsJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDtsJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMigrationJobResult> DeleteMigrationJobOutcome;
|
||||
typedef std::future<DeleteMigrationJobOutcome> DeleteMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DeleteMigrationJobRequest&, const DeleteMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMigrationJobAsyncHandler;
|
||||
@@ -183,6 +220,12 @@ 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::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::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;
|
||||
typedef Outcome<Error, Model::DescribeEndpointSwitchStatusResult> DescribeEndpointSwitchStatusOutcome;
|
||||
typedef std::future<DescribeEndpointSwitchStatusOutcome> DescribeEndpointSwitchStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeEndpointSwitchStatusRequest&, const DescribeEndpointSwitchStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEndpointSwitchStatusAsyncHandler;
|
||||
@@ -201,6 +244,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeMigrationJobsResult> DescribeMigrationJobsOutcome;
|
||||
typedef std::future<DescribeMigrationJobsOutcome> DescribeMigrationJobsOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeMigrationJobsRequest&, const DescribeMigrationJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePreCheckStatusResult> DescribePreCheckStatusOutcome;
|
||||
typedef std::future<DescribePreCheckStatusOutcome> DescribePreCheckStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribePreCheckStatusRequest&, const DescribePreCheckStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePreCheckStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSubscriptionInstanceAlertResult> DescribeSubscriptionInstanceAlertOutcome;
|
||||
typedef std::future<DescribeSubscriptionInstanceAlertOutcome> DescribeSubscriptionInstanceAlertOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeSubscriptionInstanceAlertRequest&, const DescribeSubscriptionInstanceAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubscriptionInstanceAlertAsyncHandler;
|
||||
@@ -237,18 +283,36 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyConsumptionTimestampResult> ModifyConsumptionTimestampOutcome;
|
||||
typedef std::future<ModifyConsumptionTimestampOutcome> ModifyConsumptionTimestampOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifyConsumptionTimestampRequest&, const ModifyConsumptionTimestampOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyConsumptionTimestampAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDtsJobResult> ModifyDtsJobOutcome;
|
||||
typedef std::future<ModifyDtsJobOutcome> ModifyDtsJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifyDtsJobRequest&, const ModifyDtsJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDtsJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDtsJobNameResult> ModifyDtsJobNameOutcome;
|
||||
typedef std::future<ModifyDtsJobNameOutcome> ModifyDtsJobNameOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifyDtsJobNameRequest&, const ModifyDtsJobNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDtsJobNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDtsJobPasswordResult> ModifyDtsJobPasswordOutcome;
|
||||
typedef std::future<ModifyDtsJobPasswordOutcome> ModifyDtsJobPasswordOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifyDtsJobPasswordRequest&, const ModifyDtsJobPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDtsJobPasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySubscriptionObjectResult> ModifySubscriptionObjectOutcome;
|
||||
typedef std::future<ModifySubscriptionObjectOutcome> ModifySubscriptionObjectOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifySubscriptionObjectRequest&, const ModifySubscriptionObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySubscriptionObjectAsyncHandler;
|
||||
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::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;
|
||||
typedef Outcome<Error, Model::ResetSynchronizationJobResult> ResetSynchronizationJobOutcome;
|
||||
typedef std::future<ResetSynchronizationJobOutcome> ResetSynchronizationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ResetSynchronizationJobRequest&, const ResetSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetSynchronizationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::ShieldPrecheckResult> ShieldPrecheckOutcome;
|
||||
typedef std::future<ShieldPrecheckOutcome> ShieldPrecheckOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ShieldPrecheckRequest&, const ShieldPrecheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ShieldPrecheckAsyncHandler;
|
||||
typedef Outcome<Error, Model::SkipPreCheckResult> SkipPreCheckOutcome;
|
||||
typedef std::future<SkipPreCheckOutcome> SkipPreCheckOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::SkipPreCheckRequest&, const SkipPreCheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SkipPreCheckAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartDtsJobResult> StartDtsJobOutcome;
|
||||
typedef std::future<StartDtsJobOutcome> StartDtsJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::StartDtsJobRequest&, const StartDtsJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartDtsJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartMigrationJobResult> StartMigrationJobOutcome;
|
||||
typedef std::future<StartMigrationJobOutcome> StartMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::StartMigrationJobRequest&, const StartMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartMigrationJobAsyncHandler;
|
||||
@@ -258,9 +322,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StartSynchronizationJobResult> StartSynchronizationJobOutcome;
|
||||
typedef std::future<StartSynchronizationJobOutcome> StartSynchronizationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::StartSynchronizationJobRequest&, const StartSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartSynchronizationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopDtsJobResult> StopDtsJobOutcome;
|
||||
typedef std::future<StopDtsJobOutcome> StopDtsJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::StopDtsJobRequest&, const StopDtsJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopDtsJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopMigrationJobResult> StopMigrationJobOutcome;
|
||||
typedef std::future<StopMigrationJobOutcome> StopMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::StopMigrationJobRequest&, const StopMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMigrationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::SuspendDtsJobResult> SuspendDtsJobOutcome;
|
||||
typedef std::future<SuspendDtsJobOutcome> SuspendDtsJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::SuspendDtsJobRequest&, const SuspendDtsJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendDtsJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::SuspendMigrationJobResult> SuspendMigrationJobOutcome;
|
||||
typedef std::future<SuspendMigrationJobOutcome> SuspendMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::SuspendMigrationJobRequest&, const SuspendMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendMigrationJobAsyncHandler;
|
||||
@@ -281,6 +351,9 @@ namespace AlibabaCloud
|
||||
DtsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
DtsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~DtsClient();
|
||||
ConfigureDtsJobOutcome configureDtsJob(const Model::ConfigureDtsJobRequest &request)const;
|
||||
void configureDtsJobAsync(const Model::ConfigureDtsJobRequest& request, const ConfigureDtsJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureDtsJobOutcomeCallable configureDtsJobCallable(const Model::ConfigureDtsJobRequest& request) const;
|
||||
ConfigureMigrationJobOutcome configureMigrationJob(const Model::ConfigureMigrationJobRequest &request)const;
|
||||
void configureMigrationJobAsync(const Model::ConfigureMigrationJobRequest& request, const ConfigureMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureMigrationJobOutcomeCallable configureMigrationJobCallable(const Model::ConfigureMigrationJobRequest& request) const;
|
||||
@@ -305,6 +378,9 @@ namespace AlibabaCloud
|
||||
CreateConsumerGroupOutcome createConsumerGroup(const Model::CreateConsumerGroupRequest &request)const;
|
||||
void createConsumerGroupAsync(const Model::CreateConsumerGroupRequest& request, const CreateConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConsumerGroupOutcomeCallable createConsumerGroupCallable(const Model::CreateConsumerGroupRequest& request) const;
|
||||
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;
|
||||
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;
|
||||
@@ -317,6 +393,9 @@ namespace AlibabaCloud
|
||||
DeleteConsumerGroupOutcome deleteConsumerGroup(const Model::DeleteConsumerGroupRequest &request)const;
|
||||
void deleteConsumerGroupAsync(const Model::DeleteConsumerGroupRequest& request, const DeleteConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConsumerGroupOutcomeCallable deleteConsumerGroupCallable(const Model::DeleteConsumerGroupRequest& request) const;
|
||||
DeleteDtsJobOutcome deleteDtsJob(const Model::DeleteDtsJobRequest &request)const;
|
||||
void deleteDtsJobAsync(const Model::DeleteDtsJobRequest& request, const DeleteDtsJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDtsJobOutcomeCallable deleteDtsJobCallable(const Model::DeleteDtsJobRequest& request) const;
|
||||
DeleteMigrationJobOutcome deleteMigrationJob(const Model::DeleteMigrationJobRequest &request)const;
|
||||
void deleteMigrationJobAsync(const Model::DeleteMigrationJobRequest& request, const DeleteMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMigrationJobOutcomeCallable deleteMigrationJobCallable(const Model::DeleteMigrationJobRequest& request) const;
|
||||
@@ -335,6 +414,12 @@ 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;
|
||||
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;
|
||||
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;
|
||||
DescribeEndpointSwitchStatusOutcome describeEndpointSwitchStatus(const Model::DescribeEndpointSwitchStatusRequest &request)const;
|
||||
void describeEndpointSwitchStatusAsync(const Model::DescribeEndpointSwitchStatusRequest& request, const DescribeEndpointSwitchStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEndpointSwitchStatusOutcomeCallable describeEndpointSwitchStatusCallable(const Model::DescribeEndpointSwitchStatusRequest& request) const;
|
||||
@@ -353,6 +438,9 @@ namespace AlibabaCloud
|
||||
DescribeMigrationJobsOutcome describeMigrationJobs(const Model::DescribeMigrationJobsRequest &request)const;
|
||||
void describeMigrationJobsAsync(const Model::DescribeMigrationJobsRequest& request, const DescribeMigrationJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMigrationJobsOutcomeCallable describeMigrationJobsCallable(const Model::DescribeMigrationJobsRequest& request) const;
|
||||
DescribePreCheckStatusOutcome describePreCheckStatus(const Model::DescribePreCheckStatusRequest &request)const;
|
||||
void describePreCheckStatusAsync(const Model::DescribePreCheckStatusRequest& request, const DescribePreCheckStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePreCheckStatusOutcomeCallable describePreCheckStatusCallable(const Model::DescribePreCheckStatusRequest& request) const;
|
||||
DescribeSubscriptionInstanceAlertOutcome describeSubscriptionInstanceAlert(const Model::DescribeSubscriptionInstanceAlertRequest &request)const;
|
||||
void describeSubscriptionInstanceAlertAsync(const Model::DescribeSubscriptionInstanceAlertRequest& request, const DescribeSubscriptionInstanceAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSubscriptionInstanceAlertOutcomeCallable describeSubscriptionInstanceAlertCallable(const Model::DescribeSubscriptionInstanceAlertRequest& request) const;
|
||||
@@ -389,18 +477,36 @@ namespace AlibabaCloud
|
||||
ModifyConsumptionTimestampOutcome modifyConsumptionTimestamp(const Model::ModifyConsumptionTimestampRequest &request)const;
|
||||
void modifyConsumptionTimestampAsync(const Model::ModifyConsumptionTimestampRequest& request, const ModifyConsumptionTimestampAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyConsumptionTimestampOutcomeCallable modifyConsumptionTimestampCallable(const Model::ModifyConsumptionTimestampRequest& request) const;
|
||||
ModifyDtsJobOutcome modifyDtsJob(const Model::ModifyDtsJobRequest &request)const;
|
||||
void modifyDtsJobAsync(const Model::ModifyDtsJobRequest& request, const ModifyDtsJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDtsJobOutcomeCallable modifyDtsJobCallable(const Model::ModifyDtsJobRequest& request) const;
|
||||
ModifyDtsJobNameOutcome modifyDtsJobName(const Model::ModifyDtsJobNameRequest &request)const;
|
||||
void modifyDtsJobNameAsync(const Model::ModifyDtsJobNameRequest& request, const ModifyDtsJobNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDtsJobNameOutcomeCallable modifyDtsJobNameCallable(const Model::ModifyDtsJobNameRequest& request) const;
|
||||
ModifyDtsJobPasswordOutcome modifyDtsJobPassword(const Model::ModifyDtsJobPasswordRequest &request)const;
|
||||
void modifyDtsJobPasswordAsync(const Model::ModifyDtsJobPasswordRequest& request, const ModifyDtsJobPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDtsJobPasswordOutcomeCallable modifyDtsJobPasswordCallable(const Model::ModifyDtsJobPasswordRequest& request) const;
|
||||
ModifySubscriptionObjectOutcome modifySubscriptionObject(const Model::ModifySubscriptionObjectRequest &request)const;
|
||||
void modifySubscriptionObjectAsync(const Model::ModifySubscriptionObjectRequest& request, const ModifySubscriptionObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySubscriptionObjectOutcomeCallable modifySubscriptionObjectCallable(const Model::ModifySubscriptionObjectRequest& request) const;
|
||||
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;
|
||||
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;
|
||||
ResetSynchronizationJobOutcome resetSynchronizationJob(const Model::ResetSynchronizationJobRequest &request)const;
|
||||
void resetSynchronizationJobAsync(const Model::ResetSynchronizationJobRequest& request, const ResetSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetSynchronizationJobOutcomeCallable resetSynchronizationJobCallable(const Model::ResetSynchronizationJobRequest& request) const;
|
||||
ShieldPrecheckOutcome shieldPrecheck(const Model::ShieldPrecheckRequest &request)const;
|
||||
void shieldPrecheckAsync(const Model::ShieldPrecheckRequest& request, const ShieldPrecheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ShieldPrecheckOutcomeCallable shieldPrecheckCallable(const Model::ShieldPrecheckRequest& request) const;
|
||||
SkipPreCheckOutcome skipPreCheck(const Model::SkipPreCheckRequest &request)const;
|
||||
void skipPreCheckAsync(const Model::SkipPreCheckRequest& request, const SkipPreCheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SkipPreCheckOutcomeCallable skipPreCheckCallable(const Model::SkipPreCheckRequest& request) const;
|
||||
StartDtsJobOutcome startDtsJob(const Model::StartDtsJobRequest &request)const;
|
||||
void startDtsJobAsync(const Model::StartDtsJobRequest& request, const StartDtsJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartDtsJobOutcomeCallable startDtsJobCallable(const Model::StartDtsJobRequest& request) const;
|
||||
StartMigrationJobOutcome startMigrationJob(const Model::StartMigrationJobRequest &request)const;
|
||||
void startMigrationJobAsync(const Model::StartMigrationJobRequest& request, const StartMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartMigrationJobOutcomeCallable startMigrationJobCallable(const Model::StartMigrationJobRequest& request) const;
|
||||
@@ -410,9 +516,15 @@ namespace AlibabaCloud
|
||||
StartSynchronizationJobOutcome startSynchronizationJob(const Model::StartSynchronizationJobRequest &request)const;
|
||||
void startSynchronizationJobAsync(const Model::StartSynchronizationJobRequest& request, const StartSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartSynchronizationJobOutcomeCallable startSynchronizationJobCallable(const Model::StartSynchronizationJobRequest& request) const;
|
||||
StopDtsJobOutcome stopDtsJob(const Model::StopDtsJobRequest &request)const;
|
||||
void stopDtsJobAsync(const Model::StopDtsJobRequest& request, const StopDtsJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopDtsJobOutcomeCallable stopDtsJobCallable(const Model::StopDtsJobRequest& request) const;
|
||||
StopMigrationJobOutcome stopMigrationJob(const Model::StopMigrationJobRequest &request)const;
|
||||
void stopMigrationJobAsync(const Model::StopMigrationJobRequest& request, const StopMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopMigrationJobOutcomeCallable stopMigrationJobCallable(const Model::StopMigrationJobRequest& request) const;
|
||||
SuspendDtsJobOutcome suspendDtsJob(const Model::SuspendDtsJobRequest &request)const;
|
||||
void suspendDtsJobAsync(const Model::SuspendDtsJobRequest& request, const SuspendDtsJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SuspendDtsJobOutcomeCallable suspendDtsJobCallable(const Model::SuspendDtsJobRequest& request) const;
|
||||
SuspendMigrationJobOutcome suspendMigrationJob(const Model::SuspendMigrationJobRequest &request)const;
|
||||
void suspendMigrationJobAsync(const Model::SuspendMigrationJobRequest& request, const SuspendMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SuspendMigrationJobOutcomeCallable suspendMigrationJobCallable(const Model::SuspendMigrationJobRequest& request) const;
|
||||
|
||||
54
dts/include/alibabacloud/dts/model/DeleteDtsJobRequest.h
Normal file
54
dts/include/alibabacloud/dts/model/DeleteDtsJobRequest.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_DELETEDTSJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DELETEDTSJOBREQUEST_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 DeleteDtsJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDtsJobRequest();
|
||||
~DeleteDtsJobRequest();
|
||||
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DELETEDTSJOBREQUEST_H_
|
||||
61
dts/include/alibabacloud/dts/model/DeleteDtsJobResult.h
Normal file
61
dts/include/alibabacloud/dts/model/DeleteDtsJobResult.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_DELETEDTSJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DELETEDTSJOBRESULT_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 DeleteDtsJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDtsJobResult();
|
||||
explicit DeleteDtsJobResult(const std::string &payload);
|
||||
~DeleteDtsJobResult();
|
||||
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_DELETEDTSJOBRESULT_H_
|
||||
@@ -53,10 +53,10 @@ namespace AlibabaCloud
|
||||
void setSourceEndpointIP(const std::string& sourceEndpointIP);
|
||||
std::string getDestinationEndpointUserName()const;
|
||||
void setDestinationEndpointUserName(const std::string& destinationEndpointUserName);
|
||||
bool getDestinationEndpointArchitecture()const;
|
||||
void setDestinationEndpointArchitecture(bool destinationEndpointArchitecture);
|
||||
bool getDestinationEndpointOracleSID()const;
|
||||
void setDestinationEndpointOracleSID(bool destinationEndpointOracleSID);
|
||||
std::string getDestinationEndpointArchitecture()const;
|
||||
void setDestinationEndpointArchitecture(const std::string& destinationEndpointArchitecture);
|
||||
std::string getDestinationEndpointOracleSID()const;
|
||||
void setDestinationEndpointOracleSID(const std::string& destinationEndpointOracleSID);
|
||||
std::string getDestinationEndpointEngineName()const;
|
||||
void setDestinationEndpointEngineName(const std::string& destinationEndpointEngineName);
|
||||
std::string getDestinationEndpointInstanceID()const;
|
||||
@@ -90,8 +90,8 @@ namespace AlibabaCloud
|
||||
std::string destinationEndpointRegion_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string destinationEndpointUserName_;
|
||||
bool destinationEndpointArchitecture_;
|
||||
bool destinationEndpointOracleSID_;
|
||||
std::string destinationEndpointArchitecture_;
|
||||
std::string destinationEndpointOracleSID_;
|
||||
std::string destinationEndpointEngineName_;
|
||||
std::string destinationEndpointInstanceID_;
|
||||
std::string destinationEndpointPort_;
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* 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_DESCRIBEDTSJOBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBDETAILREQUEST_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 DescribeDtsJobDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDtsJobDetailRequest();
|
||||
~DescribeDtsJobDetailRequest();
|
||||
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
|
||||
private:
|
||||
std::string dtsJobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBDETAILREQUEST_H_
|
||||
131
dts/include/alibabacloud/dts/model/DescribeDtsJobDetailResult.h
Normal file
131
dts/include/alibabacloud/dts/model/DescribeDtsJobDetailResult.h
Normal file
@@ -0,0 +1,131 @@
|
||||
/*
|
||||
* 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_DESCRIBEDTSJOBDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBDETAILRESULT_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 DescribeDtsJobDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SourceEndpoint
|
||||
{
|
||||
std::string oracleSID;
|
||||
std::string roleName;
|
||||
std::string userName;
|
||||
std::string instanceID;
|
||||
std::string sslSolutionEnum;
|
||||
std::string ip;
|
||||
std::string port;
|
||||
std::string aliyunUid;
|
||||
std::string databaseName;
|
||||
std::string region;
|
||||
std::string instanceType;
|
||||
std::string engineName;
|
||||
};
|
||||
struct DestinationEndpoint
|
||||
{
|
||||
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 MigrationMode
|
||||
{
|
||||
bool dataInitialization;
|
||||
bool dataSynchronization;
|
||||
bool structureInitialization;
|
||||
};
|
||||
|
||||
|
||||
DescribeDtsJobDetailResult();
|
||||
explicit DescribeDtsJobDetailResult(const std::string &payload);
|
||||
~DescribeDtsJobDetailResult();
|
||||
std::string getStatus()const;
|
||||
std::string getDbObject()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getDtsJobName()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getPayType()const;
|
||||
std::string getErrMessage()const;
|
||||
int getCode()const;
|
||||
std::string getDtsInstanceID()const;
|
||||
MigrationMode getMigrationMode()const;
|
||||
bool getSuccess()const;
|
||||
int getDelay()const;
|
||||
std::string getErrCode()const;
|
||||
std::string getDtsJobClass()const;
|
||||
int getCheckpoint()const;
|
||||
std::string getDtsJobId()const;
|
||||
std::string getDtsJobDirection()const;
|
||||
std::string getFinishTime()const;
|
||||
DestinationEndpoint getDestinationEndpoint()const;
|
||||
SourceEndpoint getSourceEndpoint()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getExpireTime()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getReserved()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string dbObject_;
|
||||
std::string createTime_;
|
||||
std::string dtsJobName_;
|
||||
std::string dynamicMessage_;
|
||||
std::string payType_;
|
||||
std::string errMessage_;
|
||||
int code_;
|
||||
std::string dtsInstanceID_;
|
||||
MigrationMode migrationMode_;
|
||||
bool success_;
|
||||
int delay_;
|
||||
std::string errCode_;
|
||||
std::string dtsJobClass_;
|
||||
int checkpoint_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsJobDirection_;
|
||||
std::string finishTime_;
|
||||
DestinationEndpoint destinationEndpoint_;
|
||||
SourceEndpoint sourceEndpoint_;
|
||||
int httpStatusCode_;
|
||||
std::string expireTime_;
|
||||
std::string errorMessage_;
|
||||
std::string reserved_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBDETAILRESULT_H_
|
||||
75
dts/include/alibabacloud/dts/model/DescribeDtsJobsRequest.h
Normal file
75
dts/include/alibabacloud/dts/model/DescribeDtsJobsRequest.h
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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_DESCRIBEDTSJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBSREQUEST_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 DescribeDtsJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDtsJobsRequest();
|
||||
~DescribeDtsJobsRequest();
|
||||
|
||||
std::string getOrderDirection()const;
|
||||
void setOrderDirection(const std::string& orderDirection);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
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;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string orderDirection_;
|
||||
std::string type_;
|
||||
std::string params_;
|
||||
std::string jobType_;
|
||||
int pageNumber_;
|
||||
std::string tags_;
|
||||
std::string orderColumn_;
|
||||
int pageSize_;
|
||||
std::string region_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBSREQUEST_H_
|
||||
272
dts/include/alibabacloud/dts/model/DescribeDtsJobsResult.h
Normal file
272
dts/include/alibabacloud/dts/model/DescribeDtsJobsResult.h
Normal file
@@ -0,0 +1,272 @@
|
||||
/*
|
||||
* 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_DESCRIBEDTSJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBSRESULT_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 DescribeDtsJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DtsJobStatus
|
||||
{
|
||||
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 DestinationEndpoint
|
||||
{
|
||||
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 MigrationMode
|
||||
{
|
||||
bool dataInitialization;
|
||||
bool dataSynchronization;
|
||||
bool structureInitialization;
|
||||
};
|
||||
struct PrecheckStatus
|
||||
{
|
||||
struct PrecheckDetail
|
||||
{
|
||||
std::string repairMethod;
|
||||
std::string checkItem;
|
||||
std::string checkResult;
|
||||
std::string failedReason;
|
||||
std::string checkItemDescription;
|
||||
};
|
||||
std::string status;
|
||||
std::string percent;
|
||||
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
|
||||
{
|
||||
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 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
|
||||
{
|
||||
bool dataInitialization;
|
||||
bool dataSynchronization;
|
||||
bool structureInitialization;
|
||||
};
|
||||
struct PrecheckStatus4
|
||||
{
|
||||
struct PrecheckDetail10
|
||||
{
|
||||
std::string repairMethod;
|
||||
std::string checkItem;
|
||||
std::string checkResult;
|
||||
std::string failedReason;
|
||||
std::string checkItemDescription;
|
||||
};
|
||||
std::string status;
|
||||
std::string percent;
|
||||
std::vector<PrecheckDetail10> detail9;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct StructureInitializationStatus5
|
||||
{
|
||||
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;
|
||||
std::string dbObject;
|
||||
std::string createTime;
|
||||
PrecheckStatus4 precheckStatus4;
|
||||
std::string dtsJobName;
|
||||
std::string payType;
|
||||
MigrationMode3 migrationMode3;
|
||||
std::string dtsInstanceID;
|
||||
int delay;
|
||||
StructureInitializationStatus5 structureInitializationStatus5;
|
||||
DestinationEndpoint2 destinationEndpoint2;
|
||||
std::string dtsJobClass;
|
||||
std::string checkpoint;
|
||||
std::string dtsJobId;
|
||||
std::string dtsJobDirection;
|
||||
DataInitializationStatus6 dataInitializationStatus6;
|
||||
DataSynchronizationStatus7 dataSynchronizationStatus7;
|
||||
std::string expireTime;
|
||||
std::string errorMessage;
|
||||
std::string reserved;
|
||||
};
|
||||
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 dtsInstanceID;
|
||||
MigrationMode migrationMode;
|
||||
int delay;
|
||||
PrecheckStatus precheckStatus;
|
||||
std::string dtsJobClass;
|
||||
std::string checkpoint;
|
||||
std::string dtsJobId;
|
||||
std::string dtsJobDirection;
|
||||
DestinationEndpoint destinationEndpoint;
|
||||
SourceEndpoint sourceEndpoint;
|
||||
std::vector<DtsJobStatus::DtsTag> tagList;
|
||||
Performance performance;
|
||||
std::string expireTime;
|
||||
std::string errorMessage;
|
||||
StructureInitializationStatus structureInitializationStatus;
|
||||
DataSynchronizationStatus dataSynchronizationStatus;
|
||||
std::string reserved;
|
||||
};
|
||||
|
||||
|
||||
DescribeDtsJobsResult();
|
||||
explicit DescribeDtsJobsResult(const std::string &payload);
|
||||
~DescribeDtsJobsResult();
|
||||
int getTotalRecordCount()const;
|
||||
std::vector<DtsJobStatus> getDtsJobList()const;
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()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:
|
||||
int totalRecordCount_;
|
||||
std::vector<DtsJobStatus> dtsJobList_;
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
int httpStatusCode_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBSRESULT_H_
|
||||
@@ -101,6 +101,7 @@ namespace AlibabaCloud
|
||||
explicit DescribeMigrationJobStatusResult(const std::string &payload);
|
||||
~DescribeMigrationJobStatusResult();
|
||||
DataInitializationStatus getDataInitializationStatus()const;
|
||||
std::string getTaskId()const;
|
||||
std::string getMigrationJobName()const;
|
||||
std::string getPayType()const;
|
||||
std::string getErrMessage()const;
|
||||
@@ -121,6 +122,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DataInitializationStatus dataInitializationStatus_;
|
||||
std::string taskId_;
|
||||
std::string migrationJobName_;
|
||||
std::string payType_;
|
||||
std::string errMessage_;
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
DescribeMigrationJobsRequest();
|
||||
~DescribeMigrationJobsRequest();
|
||||
|
||||
std::string getInstFilterRegion()const;
|
||||
void setInstFilterRegion(const std::string& instFilterRegion);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId()const;
|
||||
@@ -57,6 +59,7 @@ namespace AlibabaCloud
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
|
||||
private:
|
||||
std::string instFilterRegion_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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_DESCRIBEPRECHECKSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEPRECHECKSTATUSREQUEST_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 DescribePreCheckStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePreCheckStatusRequest();
|
||||
~DescribePreCheckStatusRequest();
|
||||
|
||||
std::string getStructType()const;
|
||||
void setStructType(const std::string& structType);
|
||||
std::string getPageNo()const;
|
||||
void setPageNo(const std::string& pageNo);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
std::string getJobCode()const;
|
||||
void setJobCode(const std::string& jobCode);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
|
||||
private:
|
||||
std::string structType_;
|
||||
std::string pageNo_;
|
||||
std::string pageSize_;
|
||||
std::string jobCode_;
|
||||
std::string dtsJobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEPRECHECKSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* 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_DESCRIBEPRECHECKSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEPRECHECKSTATUSRESULT_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 DescribePreCheckStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ProgressInfo
|
||||
{
|
||||
struct JobLog
|
||||
{
|
||||
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;
|
||||
long bootTime;
|
||||
std::vector<ProgressInfo::JobLog> logs;
|
||||
std::string names;
|
||||
std::string item;
|
||||
bool canSkip;
|
||||
std::string repairMethod;
|
||||
int delaySeconds;
|
||||
long 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;
|
||||
};
|
||||
|
||||
|
||||
DescribePreCheckStatusResult();
|
||||
explicit DescribePreCheckStatusResult(const std::string &payload);
|
||||
~DescribePreCheckStatusResult();
|
||||
std::string getState()const;
|
||||
int getTotal()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getJobName()const;
|
||||
int getErrorItem()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::vector<ProgressInfo> getJobProgress()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string state_;
|
||||
int total_;
|
||||
int httpStatusCode_;
|
||||
std::string jobName_;
|
||||
int errorItem_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::vector<ProgressInfo> jobProgress_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEPRECHECKSTATUSRESULT_H_
|
||||
@@ -60,6 +60,7 @@ namespace AlibabaCloud
|
||||
explicit DescribeSubscriptionInstanceStatusResult(const std::string &payload);
|
||||
~DescribeSubscriptionInstanceStatusResult();
|
||||
std::string getStatus()const;
|
||||
std::string getTaskId()const;
|
||||
SubscriptionHost getSubscriptionHost()const;
|
||||
std::string getEndTimestamp()const;
|
||||
std::string getPayType()const;
|
||||
@@ -82,6 +83,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string taskId_;
|
||||
SubscriptionHost subscriptionHost_;
|
||||
std::string endTimestamp_;
|
||||
std::string payType_;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getInstFilterRegion()const;
|
||||
void setInstFilterRegion(const std::string& instFilterRegion);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId()const;
|
||||
@@ -60,6 +62,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string instFilterRegion_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
@@ -111,57 +111,59 @@ namespace AlibabaCloud
|
||||
DescribeSynchronizationJobStatusResult();
|
||||
explicit DescribeSynchronizationJobStatusResult(const std::string &payload);
|
||||
~DescribeSynchronizationJobStatusResult();
|
||||
std::string getStatus()const;
|
||||
DataInitializationStatus getDataInitializationStatus()const;
|
||||
std::vector<SynchronizationObject> getSynchronizationObjects()const;
|
||||
std::string getTaskId()const;
|
||||
std::string getDelay()const;
|
||||
std::string getSuccess()const;
|
||||
long getDelayMillis()const;
|
||||
std::string getDataInitialization()const;
|
||||
std::string getSynchronizationJobClass()const;
|
||||
DataSynchronizationStatus getDataSynchronizationStatus()const;
|
||||
std::string getStatus()const;
|
||||
std::string getSynchronizationJobName()const;
|
||||
std::string getPayType()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getDelay()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
PrecheckStatus getPrecheckStatus()const;
|
||||
std::string getCheckpoint()const;
|
||||
long getDelayMillis()const;
|
||||
std::string getSynchronizationJobId()const;
|
||||
std::string getDataInitialization()const;
|
||||
DestinationEndpoint getDestinationEndpoint()const;
|
||||
SourceEndpoint getSourceEndpoint()const;
|
||||
std::string getStructureInitialization()const;
|
||||
Performance getPerformance()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getExpireTime()const;
|
||||
std::string getSynchronizationJobClass()const;
|
||||
std::string getSynchronizationDirection()const;
|
||||
DataSynchronizationStatus getDataSynchronizationStatus()const;
|
||||
StructureInitializationStatus getStructureInitializationStatus()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
DataInitializationStatus dataInitializationStatus_;
|
||||
std::vector<SynchronizationObject> synchronizationObjects_;
|
||||
std::string taskId_;
|
||||
std::string delay_;
|
||||
std::string success_;
|
||||
long delayMillis_;
|
||||
std::string dataInitialization_;
|
||||
std::string synchronizationJobClass_;
|
||||
DataSynchronizationStatus dataSynchronizationStatus_;
|
||||
std::string status_;
|
||||
std::string synchronizationJobName_;
|
||||
std::string payType_;
|
||||
std::string errMessage_;
|
||||
std::string delay_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
PrecheckStatus precheckStatus_;
|
||||
std::string checkpoint_;
|
||||
long delayMillis_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string dataInitialization_;
|
||||
DestinationEndpoint destinationEndpoint_;
|
||||
SourceEndpoint sourceEndpoint_;
|
||||
std::string structureInitialization_;
|
||||
Performance performance_;
|
||||
std::string errorMessage_;
|
||||
std::string expireTime_;
|
||||
std::string synchronizationJobClass_;
|
||||
std::string synchronizationDirection_;
|
||||
DataSynchronizationStatus dataSynchronizationStatus_;
|
||||
StructureInitializationStatus structureInitializationStatus_;
|
||||
|
||||
};
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getInstFilterRegion()const;
|
||||
void setInstFilterRegion(const std::string& instFilterRegion);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId()const;
|
||||
@@ -60,6 +62,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string instFilterRegion_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
51
dts/include/alibabacloud/dts/model/ModifyDtsJobNameRequest.h
Normal file
51
dts/include/alibabacloud/dts/model/ModifyDtsJobNameRequest.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_MODIFYDTSJOBNAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_MODIFYDTSJOBNAMEREQUEST_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 ModifyDtsJobNameRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDtsJobNameRequest();
|
||||
~ModifyDtsJobNameRequest();
|
||||
|
||||
std::string getDtsJobName()const;
|
||||
void setDtsJobName(const std::string& dtsJobName);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
|
||||
private:
|
||||
std::string dtsJobName_;
|
||||
std::string dtsJobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYDTSJOBNAMEREQUEST_H_
|
||||
61
dts/include/alibabacloud/dts/model/ModifyDtsJobNameResult.h
Normal file
61
dts/include/alibabacloud/dts/model/ModifyDtsJobNameResult.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_MODIFYDTSJOBNAMERESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_MODIFYDTSJOBNAMERESULT_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 ModifyDtsJobNameResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDtsJobNameResult();
|
||||
explicit ModifyDtsJobNameResult(const std::string &payload);
|
||||
~ModifyDtsJobNameResult();
|
||||
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:
|
||||
int httpStatusCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYDTSJOBNAMERESULT_H_
|
||||
@@ -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_MODIFYDTSJOBPASSWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_MODIFYDTSJOBPASSWORDREQUEST_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 ModifyDtsJobPasswordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDtsJobPasswordRequest();
|
||||
~ModifyDtsJobPasswordRequest();
|
||||
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getEndpoint()const;
|
||||
void setEndpoint(const std::string& endpoint);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string password_;
|
||||
std::string endpoint_;
|
||||
std::string dtsJobId_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYDTSJOBPASSWORDREQUEST_H_
|
||||
@@ -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_MODIFYDTSJOBPASSWORDRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_MODIFYDTSJOBPASSWORDRESULT_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 ModifyDtsJobPasswordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDtsJobPasswordResult();
|
||||
explicit ModifyDtsJobPasswordResult(const std::string &payload);
|
||||
~ModifyDtsJobPasswordResult();
|
||||
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:
|
||||
int httpStatusCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYDTSJOBPASSWORDRESULT_H_
|
||||
63
dts/include/alibabacloud/dts/model/ModifyDtsJobRequest.h
Normal file
63
dts/include/alibabacloud/dts/model/ModifyDtsJobRequest.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_MODIFYDTSJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_MODIFYDTSJOBREQUEST_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 ModifyDtsJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDtsJobRequest();
|
||||
~ModifyDtsJobRequest();
|
||||
|
||||
std::string getDbList()const;
|
||||
void setDbList(const std::string& dbList);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string dbList_;
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYDTSJOBREQUEST_H_
|
||||
59
dts/include/alibabacloud/dts/model/ModifyDtsJobResult.h
Normal file
59
dts/include/alibabacloud/dts/model/ModifyDtsJobResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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_MODIFYDTSJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_MODIFYDTSJOBRESULT_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 ModifyDtsJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDtsJobResult();
|
||||
explicit ModifyDtsJobResult(const std::string &payload);
|
||||
~ModifyDtsJobResult();
|
||||
std::string getStatus()const;
|
||||
std::string getDtsJobId()const;
|
||||
bool getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string dtsJobId_;
|
||||
bool errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYDTSJOBRESULT_H_
|
||||
54
dts/include/alibabacloud/dts/model/ResetDtsJobRequest.h
Normal file
54
dts/include/alibabacloud/dts/model/ResetDtsJobRequest.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_RESETDTSJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_RESETDTSJOBREQUEST_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 ResetDtsJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ResetDtsJobRequest();
|
||||
~ResetDtsJobRequest();
|
||||
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_RESETDTSJOBREQUEST_H_
|
||||
61
dts/include/alibabacloud/dts/model/ResetDtsJobResult.h
Normal file
61
dts/include/alibabacloud/dts/model/ResetDtsJobResult.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_RESETDTSJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_RESETDTSJOBRESULT_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 ResetDtsJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResetDtsJobResult();
|
||||
explicit ResetDtsJobResult(const std::string &payload);
|
||||
~ResetDtsJobResult();
|
||||
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_RESETDTSJOBRESULT_H_
|
||||
57
dts/include/alibabacloud/dts/model/SkipPreCheckRequest.h
Normal file
57
dts/include/alibabacloud/dts/model/SkipPreCheckRequest.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_SKIPPRECHECKREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_SKIPPRECHECKREQUEST_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 SkipPreCheckRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SkipPreCheckRequest();
|
||||
~SkipPreCheckRequest();
|
||||
|
||||
std::string getSkipPreCheckItems()const;
|
||||
void setSkipPreCheckItems(const std::string& skipPreCheckItems);
|
||||
bool getSkip()const;
|
||||
void setSkip(bool skip);
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
std::string getSkipPreCheckNames()const;
|
||||
void setSkipPreCheckNames(const std::string& skipPreCheckNames);
|
||||
|
||||
private:
|
||||
std::string skipPreCheckItems_;
|
||||
bool skip_;
|
||||
std::string jobId_;
|
||||
std::string skipPreCheckNames_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_SKIPPRECHECKREQUEST_H_
|
||||
69
dts/include/alibabacloud/dts/model/SkipPreCheckResult.h
Normal file
69
dts/include/alibabacloud/dts/model/SkipPreCheckResult.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_SKIPPRECHECKRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_SKIPPRECHECKRESULT_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 SkipPreCheckResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SkipPreCheckResult();
|
||||
explicit SkipPreCheckResult(const std::string &payload);
|
||||
~SkipPreCheckResult();
|
||||
std::string getSkipItems()const;
|
||||
std::string getScheduleJobId()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getSkipNames()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
std::string getMigrationJobId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string skipItems_;
|
||||
std::string scheduleJobId_;
|
||||
int httpStatusCode_;
|
||||
std::string skipNames_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
std::string migrationJobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_SKIPPRECHECKRESULT_H_
|
||||
54
dts/include/alibabacloud/dts/model/StopDtsJobRequest.h
Normal file
54
dts/include/alibabacloud/dts/model/StopDtsJobRequest.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_STOPDTSJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_STOPDTSJOBREQUEST_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 StopDtsJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopDtsJobRequest();
|
||||
~StopDtsJobRequest();
|
||||
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_STOPDTSJOBREQUEST_H_
|
||||
61
dts/include/alibabacloud/dts/model/StopDtsJobResult.h
Normal file
61
dts/include/alibabacloud/dts/model/StopDtsJobResult.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_STOPDTSJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_STOPDTSJOBRESULT_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 StopDtsJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StopDtsJobResult();
|
||||
explicit StopDtsJobResult(const std::string &payload);
|
||||
~StopDtsJobResult();
|
||||
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_STOPDTSJOBRESULT_H_
|
||||
54
dts/include/alibabacloud/dts/model/SuspendDtsJobRequest.h
Normal file
54
dts/include/alibabacloud/dts/model/SuspendDtsJobRequest.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_SUSPENDDTSJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_SUSPENDDTSJOBREQUEST_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 SuspendDtsJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SuspendDtsJobRequest();
|
||||
~SuspendDtsJobRequest();
|
||||
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_SUSPENDDTSJOBREQUEST_H_
|
||||
61
dts/include/alibabacloud/dts/model/SuspendDtsJobResult.h
Normal file
61
dts/include/alibabacloud/dts/model/SuspendDtsJobResult.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_SUSPENDDTSJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_SUSPENDDTSJOBRESULT_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 SuspendDtsJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SuspendDtsJobResult();
|
||||
explicit SuspendDtsJobResult(const std::string &payload);
|
||||
~SuspendDtsJobResult();
|
||||
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_SUSPENDDTSJOBRESULT_H_
|
||||
Reference in New Issue
Block a user