Update SDK version.

This commit is contained in:
sdk-team
2023-07-28 01:54:20 +00:00
parent 66256a0ae2
commit 1dddf4ace0
110 changed files with 37 additions and 7555 deletions

View File

@@ -22,68 +22,26 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "DtsExport.h"
#include "model/ConfigurationSynchronizationJobRequest.h"
#include "model/ConfigurationSynchronizationJobResult.h"
#include "model/ConfigureMigrationJobRequest.h"
#include "model/ConfigureMigrationJobResult.h"
#include "model/ConfigureSubscriptionInstanceRequest.h"
#include "model/ConfigureSubscriptionInstanceResult.h"
#include "model/ConfigureSynchronizationJobRequest.h"
#include "model/ConfigureSynchronizationJobResult.h"
#include "model/CreateMigrationJobRequest.h"
#include "model/CreateMigrationJobResult.h"
#include "model/CreateSubscriptionInstanceRequest.h"
#include "model/CreateSubscriptionInstanceResult.h"
#include "model/CreateSynchronizationJobRequest.h"
#include "model/CreateSynchronizationJobResult.h"
#include "model/DeleteMigrationJobRequest.h"
#include "model/DeleteMigrationJobResult.h"
#include "model/DeleteSubscriptionInstanceRequest.h"
#include "model/DeleteSubscriptionInstanceResult.h"
#include "model/DeleteSynchronizationJobRequest.h"
#include "model/DeleteSynchronizationJobResult.h"
#include "model/DescirbeMigrationJobsRequest.h"
#include "model/DescirbeMigrationJobsResult.h"
#include "model/DescribeInitializationStatusRequest.h"
#include "model/DescribeInitializationStatusResult.h"
#include "model/DescribeMigrationJobDetailRequest.h"
#include "model/DescribeMigrationJobDetailResult.h"
#include "model/DescribeMigrationJobStatusRequest.h"
#include "model/DescribeMigrationJobStatusResult.h"
#include "model/DescribeMigrationJobsRequest.h"
#include "model/DescribeMigrationJobsResult.h"
#include "model/DescribeSubscriptionInstanceStatusRequest.h"
#include "model/DescribeSubscriptionInstanceStatusResult.h"
#include "model/DescribeSubscriptionInstancesRequest.h"
#include "model/DescribeSubscriptionInstancesResult.h"
#include "model/DescribeSubscriptionObjectModifyStatusRequest.h"
#include "model/DescribeSubscriptionObjectModifyStatusResult.h"
#include "model/DescribeSynchronizationJobStatusRequest.h"
#include "model/DescribeSynchronizationJobStatusResult.h"
#include "model/DescribeSynchronizationJobsRequest.h"
#include "model/DescribeSynchronizationJobsResult.h"
#include "model/DescribeSynchronizationObjectModifyStatusRequest.h"
#include "model/DescribeSynchronizationObjectModifyStatusResult.h"
#include "model/ModifyConsumptionTimestampRequest.h"
#include "model/ModifyConsumptionTimestampResult.h"
#include "model/ModifyMigrationObjectRequest.h"
#include "model/ModifyMigrationObjectResult.h"
#include "model/ModifySubscriptionObjectRequest.h"
#include "model/ModifySubscriptionObjectResult.h"
#include "model/ModifySynchronizationObjectRequest.h"
#include "model/ModifySynchronizationObjectResult.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/StopMigrationJobRequest.h"
#include "model/StopMigrationJobResult.h"
#include "model/SuspendMigrationJobRequest.h"
#include "model/SuspendMigrationJobResult.h"
#include "model/SuspendSynchronizationJobRequest.h"
#include "model/SuspendSynchronizationJobResult.h"
namespace AlibabaCloud
@@ -93,197 +51,71 @@ namespace AlibabaCloud
class ALIBABACLOUD_DTS_EXPORT DtsClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::ConfigurationSynchronizationJobResult> ConfigurationSynchronizationJobOutcome;
typedef std::future<ConfigurationSynchronizationJobOutcome> ConfigurationSynchronizationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ConfigurationSynchronizationJobRequest&, const ConfigurationSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigurationSynchronizationJobAsyncHandler;
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;
typedef Outcome<Error, Model::ConfigureSubscriptionInstanceResult> ConfigureSubscriptionInstanceOutcome;
typedef std::future<ConfigureSubscriptionInstanceOutcome> ConfigureSubscriptionInstanceOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ConfigureSubscriptionInstanceRequest&, const ConfigureSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSubscriptionInstanceAsyncHandler;
typedef Outcome<Error, Model::ConfigureSynchronizationJobResult> ConfigureSynchronizationJobOutcome;
typedef std::future<ConfigureSynchronizationJobOutcome> ConfigureSynchronizationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ConfigureSynchronizationJobRequest&, const ConfigureSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSynchronizationJobAsyncHandler;
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;
typedef Outcome<Error, Model::CreateSubscriptionInstanceResult> CreateSubscriptionInstanceOutcome;
typedef std::future<CreateSubscriptionInstanceOutcome> CreateSubscriptionInstanceOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::CreateSubscriptionInstanceRequest&, const CreateSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSubscriptionInstanceAsyncHandler;
typedef Outcome<Error, Model::CreateSynchronizationJobResult> CreateSynchronizationJobOutcome;
typedef std::future<CreateSynchronizationJobOutcome> CreateSynchronizationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::CreateSynchronizationJobRequest&, const CreateSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSynchronizationJobAsyncHandler;
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;
typedef Outcome<Error, Model::DeleteSubscriptionInstanceResult> DeleteSubscriptionInstanceOutcome;
typedef std::future<DeleteSubscriptionInstanceOutcome> DeleteSubscriptionInstanceOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DeleteSubscriptionInstanceRequest&, const DeleteSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSubscriptionInstanceAsyncHandler;
typedef Outcome<Error, Model::DeleteSynchronizationJobResult> DeleteSynchronizationJobOutcome;
typedef std::future<DeleteSynchronizationJobOutcome> DeleteSynchronizationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DeleteSynchronizationJobRequest&, const DeleteSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSynchronizationJobAsyncHandler;
typedef Outcome<Error, Model::DescirbeMigrationJobsResult> DescirbeMigrationJobsOutcome;
typedef std::future<DescirbeMigrationJobsOutcome> DescirbeMigrationJobsOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescirbeMigrationJobsRequest&, const DescirbeMigrationJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescirbeMigrationJobsAsyncHandler;
typedef Outcome<Error, Model::DescribeInitializationStatusResult> DescribeInitializationStatusOutcome;
typedef std::future<DescribeInitializationStatusOutcome> DescribeInitializationStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeInitializationStatusRequest&, const DescribeInitializationStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInitializationStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeMigrationJobDetailResult> DescribeMigrationJobDetailOutcome;
typedef std::future<DescribeMigrationJobDetailOutcome> DescribeMigrationJobDetailOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeMigrationJobDetailRequest&, const DescribeMigrationJobDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeMigrationJobStatusResult> DescribeMigrationJobStatusOutcome;
typedef std::future<DescribeMigrationJobStatusOutcome> DescribeMigrationJobStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeMigrationJobStatusRequest&, const DescribeMigrationJobStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobStatusAsyncHandler;
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::DescribeSubscriptionInstanceStatusResult> DescribeSubscriptionInstanceStatusOutcome;
typedef std::future<DescribeSubscriptionInstanceStatusOutcome> DescribeSubscriptionInstanceStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSubscriptionInstanceStatusRequest&, const DescribeSubscriptionInstanceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubscriptionInstanceStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeSubscriptionInstancesResult> DescribeSubscriptionInstancesOutcome;
typedef std::future<DescribeSubscriptionInstancesOutcome> DescribeSubscriptionInstancesOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSubscriptionInstancesRequest&, const DescribeSubscriptionInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubscriptionInstancesAsyncHandler;
typedef Outcome<Error, Model::DescribeSubscriptionObjectModifyStatusResult> DescribeSubscriptionObjectModifyStatusOutcome;
typedef std::future<DescribeSubscriptionObjectModifyStatusOutcome> DescribeSubscriptionObjectModifyStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSubscriptionObjectModifyStatusRequest&, const DescribeSubscriptionObjectModifyStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubscriptionObjectModifyStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeSynchronizationJobStatusResult> DescribeSynchronizationJobStatusOutcome;
typedef std::future<DescribeSynchronizationJobStatusOutcome> DescribeSynchronizationJobStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationJobStatusRequest&, const DescribeSynchronizationJobStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationJobStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeSynchronizationJobsResult> DescribeSynchronizationJobsOutcome;
typedef std::future<DescribeSynchronizationJobsOutcome> DescribeSynchronizationJobsOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationJobsRequest&, const DescribeSynchronizationJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationJobsAsyncHandler;
typedef Outcome<Error, Model::DescribeSynchronizationObjectModifyStatusResult> DescribeSynchronizationObjectModifyStatusOutcome;
typedef std::future<DescribeSynchronizationObjectModifyStatusOutcome> DescribeSynchronizationObjectModifyStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationObjectModifyStatusRequest&, const DescribeSynchronizationObjectModifyStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationObjectModifyStatusAsyncHandler;
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::ModifyMigrationObjectResult> ModifyMigrationObjectOutcome;
typedef std::future<ModifyMigrationObjectOutcome> ModifyMigrationObjectOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ModifyMigrationObjectRequest&, const ModifyMigrationObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMigrationObjectAsyncHandler;
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::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;
typedef Outcome<Error, Model::StartSubscriptionInstanceResult> StartSubscriptionInstanceOutcome;
typedef std::future<StartSubscriptionInstanceOutcome> StartSubscriptionInstanceOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::StartSubscriptionInstanceRequest&, const StartSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartSubscriptionInstanceAsyncHandler;
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::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::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;
typedef Outcome<Error, Model::SuspendSynchronizationJobResult> SuspendSynchronizationJobOutcome;
typedef std::future<SuspendSynchronizationJobOutcome> SuspendSynchronizationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::SuspendSynchronizationJobRequest&, const SuspendSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendSynchronizationJobAsyncHandler;
DtsClient(const Credentials &credentials, const ClientConfiguration &configuration);
DtsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
DtsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~DtsClient();
ConfigurationSynchronizationJobOutcome configurationSynchronizationJob(const Model::ConfigurationSynchronizationJobRequest &request)const;
void configurationSynchronizationJobAsync(const Model::ConfigurationSynchronizationJobRequest& request, const ConfigurationSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigurationSynchronizationJobOutcomeCallable configurationSynchronizationJobCallable(const Model::ConfigurationSynchronizationJobRequest& 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;
ConfigureSubscriptionInstanceOutcome configureSubscriptionInstance(const Model::ConfigureSubscriptionInstanceRequest &request)const;
void configureSubscriptionInstanceAsync(const Model::ConfigureSubscriptionInstanceRequest& request, const ConfigureSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureSubscriptionInstanceOutcomeCallable configureSubscriptionInstanceCallable(const Model::ConfigureSubscriptionInstanceRequest& request) const;
ConfigureSynchronizationJobOutcome configureSynchronizationJob(const Model::ConfigureSynchronizationJobRequest &request)const;
void configureSynchronizationJobAsync(const Model::ConfigureSynchronizationJobRequest& request, const ConfigureSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureSynchronizationJobOutcomeCallable configureSynchronizationJobCallable(const Model::ConfigureSynchronizationJobRequest& 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;
CreateSubscriptionInstanceOutcome createSubscriptionInstance(const Model::CreateSubscriptionInstanceRequest &request)const;
void createSubscriptionInstanceAsync(const Model::CreateSubscriptionInstanceRequest& request, const CreateSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSubscriptionInstanceOutcomeCallable createSubscriptionInstanceCallable(const Model::CreateSubscriptionInstanceRequest& request) const;
CreateSynchronizationJobOutcome createSynchronizationJob(const Model::CreateSynchronizationJobRequest &request)const;
void createSynchronizationJobAsync(const Model::CreateSynchronizationJobRequest& request, const CreateSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSynchronizationJobOutcomeCallable createSynchronizationJobCallable(const Model::CreateSynchronizationJobRequest& 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;
DeleteSubscriptionInstanceOutcome deleteSubscriptionInstance(const Model::DeleteSubscriptionInstanceRequest &request)const;
void deleteSubscriptionInstanceAsync(const Model::DeleteSubscriptionInstanceRequest& request, const DeleteSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSubscriptionInstanceOutcomeCallable deleteSubscriptionInstanceCallable(const Model::DeleteSubscriptionInstanceRequest& request) const;
DeleteSynchronizationJobOutcome deleteSynchronizationJob(const Model::DeleteSynchronizationJobRequest &request)const;
void deleteSynchronizationJobAsync(const Model::DeleteSynchronizationJobRequest& request, const DeleteSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSynchronizationJobOutcomeCallable deleteSynchronizationJobCallable(const Model::DeleteSynchronizationJobRequest& request) const;
DescirbeMigrationJobsOutcome descirbeMigrationJobs(const Model::DescirbeMigrationJobsRequest &request)const;
void descirbeMigrationJobsAsync(const Model::DescirbeMigrationJobsRequest& request, const DescirbeMigrationJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescirbeMigrationJobsOutcomeCallable descirbeMigrationJobsCallable(const Model::DescirbeMigrationJobsRequest& request) const;
DescribeInitializationStatusOutcome describeInitializationStatus(const Model::DescribeInitializationStatusRequest &request)const;
void describeInitializationStatusAsync(const Model::DescribeInitializationStatusRequest& request, const DescribeInitializationStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInitializationStatusOutcomeCallable describeInitializationStatusCallable(const Model::DescribeInitializationStatusRequest& request) const;
DescribeMigrationJobDetailOutcome describeMigrationJobDetail(const Model::DescribeMigrationJobDetailRequest &request)const;
void describeMigrationJobDetailAsync(const Model::DescribeMigrationJobDetailRequest& request, const DescribeMigrationJobDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMigrationJobDetailOutcomeCallable describeMigrationJobDetailCallable(const Model::DescribeMigrationJobDetailRequest& request) const;
DescribeMigrationJobStatusOutcome describeMigrationJobStatus(const Model::DescribeMigrationJobStatusRequest &request)const;
void describeMigrationJobStatusAsync(const Model::DescribeMigrationJobStatusRequest& request, const DescribeMigrationJobStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMigrationJobStatusOutcomeCallable describeMigrationJobStatusCallable(const Model::DescribeMigrationJobStatusRequest& request) const;
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;
DescribeSubscriptionInstanceStatusOutcome describeSubscriptionInstanceStatus(const Model::DescribeSubscriptionInstanceStatusRequest &request)const;
void describeSubscriptionInstanceStatusAsync(const Model::DescribeSubscriptionInstanceStatusRequest& request, const DescribeSubscriptionInstanceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSubscriptionInstanceStatusOutcomeCallable describeSubscriptionInstanceStatusCallable(const Model::DescribeSubscriptionInstanceStatusRequest& request) const;
DescribeSubscriptionInstancesOutcome describeSubscriptionInstances(const Model::DescribeSubscriptionInstancesRequest &request)const;
void describeSubscriptionInstancesAsync(const Model::DescribeSubscriptionInstancesRequest& request, const DescribeSubscriptionInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSubscriptionInstancesOutcomeCallable describeSubscriptionInstancesCallable(const Model::DescribeSubscriptionInstancesRequest& request) const;
DescribeSubscriptionObjectModifyStatusOutcome describeSubscriptionObjectModifyStatus(const Model::DescribeSubscriptionObjectModifyStatusRequest &request)const;
void describeSubscriptionObjectModifyStatusAsync(const Model::DescribeSubscriptionObjectModifyStatusRequest& request, const DescribeSubscriptionObjectModifyStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSubscriptionObjectModifyStatusOutcomeCallable describeSubscriptionObjectModifyStatusCallable(const Model::DescribeSubscriptionObjectModifyStatusRequest& request) const;
DescribeSynchronizationJobStatusOutcome describeSynchronizationJobStatus(const Model::DescribeSynchronizationJobStatusRequest &request)const;
void describeSynchronizationJobStatusAsync(const Model::DescribeSynchronizationJobStatusRequest& request, const DescribeSynchronizationJobStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSynchronizationJobStatusOutcomeCallable describeSynchronizationJobStatusCallable(const Model::DescribeSynchronizationJobStatusRequest& request) const;
DescribeSynchronizationJobsOutcome describeSynchronizationJobs(const Model::DescribeSynchronizationJobsRequest &request)const;
void describeSynchronizationJobsAsync(const Model::DescribeSynchronizationJobsRequest& request, const DescribeSynchronizationJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSynchronizationJobsOutcomeCallable describeSynchronizationJobsCallable(const Model::DescribeSynchronizationJobsRequest& request) const;
DescribeSynchronizationObjectModifyStatusOutcome describeSynchronizationObjectModifyStatus(const Model::DescribeSynchronizationObjectModifyStatusRequest &request)const;
void describeSynchronizationObjectModifyStatusAsync(const Model::DescribeSynchronizationObjectModifyStatusRequest& request, const DescribeSynchronizationObjectModifyStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSynchronizationObjectModifyStatusOutcomeCallable describeSynchronizationObjectModifyStatusCallable(const Model::DescribeSynchronizationObjectModifyStatusRequest& request) const;
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;
ModifyMigrationObjectOutcome modifyMigrationObject(const Model::ModifyMigrationObjectRequest &request)const;
void modifyMigrationObjectAsync(const Model::ModifyMigrationObjectRequest& request, const ModifyMigrationObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyMigrationObjectOutcomeCallable modifyMigrationObjectCallable(const Model::ModifyMigrationObjectRequest& 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;
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;
StartSubscriptionInstanceOutcome startSubscriptionInstance(const Model::StartSubscriptionInstanceRequest &request)const;
void startSubscriptionInstanceAsync(const Model::StartSubscriptionInstanceRequest& request, const StartSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartSubscriptionInstanceOutcomeCallable startSubscriptionInstanceCallable(const Model::StartSubscriptionInstanceRequest& request) const;
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;
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;
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;
SuspendSynchronizationJobOutcome suspendSynchronizationJob(const Model::SuspendSynchronizationJobRequest &request)const;
void suspendSynchronizationJobAsync(const Model::SuspendSynchronizationJobRequest& request, const SuspendSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SuspendSynchronizationJobOutcomeCallable suspendSynchronizationJobCallable(const Model::SuspendSynchronizationJobRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -1,69 +0,0 @@
/*
* 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_CONFIGURATIONSYNCHRONIZATIONJOBREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURATIONSYNCHRONIZATIONJOBREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT ConfigurationSynchronizationJobRequest : public RpcServiceRequest {
public:
ConfigurationSynchronizationJobRequest();
~ConfigurationSynchronizationJobRequest();
std::string getSourceEndpointInstanceID() const;
void setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID);
std::string getDestinationEndpointInstanceID() const;
void setDestinationEndpointInstanceID(const std::string &destinationEndpointInstanceID);
bool getInitializationStructureLoad() const;
void setInitializationStructureLoad(bool initializationStructureLoad);
std::string getSynchronizationObject() const;
void setSynchronizationObject(const std::string &synchronizationObject);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
std::string getSourceEndpointInstanceType() const;
void setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType);
std::string getSynchronizationJobId() const;
void setSynchronizationJobId(const std::string &synchronizationJobId);
std::string getSynchronizationJobName() const;
void setSynchronizationJobName(const std::string &synchronizationJobName);
bool getInitializationDataLoad() const;
void setInitializationDataLoad(bool initializationDataLoad);
std::string getDestinationEndpointInstanceType() const;
void setDestinationEndpointInstanceType(const std::string &destinationEndpointInstanceType);
private:
std::string sourceEndpointInstanceID_;
std::string destinationEndpointInstanceID_;
bool initializationStructureLoad_;
std::string synchronizationObject_;
std::string ownerId_;
std::string sourceEndpointInstanceType_;
std::string synchronizationJobId_;
std::string synchronizationJobName_;
bool initializationDataLoad_;
std::string destinationEndpointInstanceType_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURATIONSYNCHRONIZATIONJOBREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_CONFIGURATIONSYNCHRONIZATIONJOBRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURATIONSYNCHRONIZATIONJOBRESULT_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 ConfigurationSynchronizationJobResult : public ServiceResult
{
public:
ConfigurationSynchronizationJobResult();
explicit ConfigurationSynchronizationJobResult(const std::string &payload);
~ConfigurationSynchronizationJobResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURATIONSYNCHRONIZATIONJOBRESULT_H_

View File

@@ -32,8 +32,6 @@ public:
~ConfigureMigrationJobRequest();
std::string getSourceEndpointInstanceID() const;
void setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID);
std::string getCheckpoint() const;
void setCheckpoint(const std::string &checkpoint);
std::string getSourceEndpointEngineName() const;
void setSourceEndpointEngineName(const std::string &sourceEndpointEngineName);
std::string getSourceEndpointOracleSID() const;
@@ -76,8 +74,6 @@ public:
void setSourceEndpointRegion(const std::string &sourceEndpointRegion);
std::string getSourceEndpointRole() const;
void setSourceEndpointRole(const std::string &sourceEndpointRole);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
std::string getDestinationEndpointDataBaseName() const;
void setDestinationEndpointDataBaseName(const std::string &destinationEndpointDataBaseName);
std::string getSourceEndpointPassword() const;
@@ -93,7 +89,6 @@ public:
private:
std::string sourceEndpointInstanceID_;
std::string checkpoint_;
std::string sourceEndpointEngineName_;
std::string sourceEndpointOracleSID_;
std::string destinationEndpointInstanceID_;
@@ -115,7 +110,6 @@ private:
std::string destinationEndpointPort_;
std::string sourceEndpointRegion_;
std::string sourceEndpointRole_;
std::string ownerId_;
std::string destinationEndpointDataBaseName_;
std::string sourceEndpointPassword_;
std::string migrationReserved_;

View File

@@ -1,69 +0,0 @@
/*
* 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_CONFIGURESUBSCRIPTIONINSTANCEREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT ConfigureSubscriptionInstanceRequest : public RpcServiceRequest {
public:
ConfigureSubscriptionInstanceRequest();
~ConfigureSubscriptionInstanceRequest();
std::string getSourceEndpointInstanceID() const;
void setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID);
std::string getSourceEndpointOwnerID() const;
void setSourceEndpointOwnerID(const std::string &sourceEndpointOwnerID);
bool getSubscriptionDataTypeDML() const;
void setSubscriptionDataTypeDML(bool subscriptionDataTypeDML);
std::string getSubscriptionInstanceId() const;
void setSubscriptionInstanceId(const std::string &subscriptionInstanceId);
std::string getSourceEndpointRole() const;
void setSourceEndpointRole(const std::string &sourceEndpointRole);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
std::string getSourceEndpointInstanceType() const;
void setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType);
bool getSubscriptionDataTypeDDL() const;
void setSubscriptionDataTypeDDL(bool subscriptionDataTypeDDL);
std::string getSubscriptionObject() const;
void setSubscriptionObject(const std::string &subscriptionObject);
std::string getSubscriptionInstanceName() const;
void setSubscriptionInstanceName(const std::string &subscriptionInstanceName);
private:
std::string sourceEndpointInstanceID_;
std::string sourceEndpointOwnerID_;
bool subscriptionDataTypeDML_;
std::string subscriptionInstanceId_;
std::string sourceEndpointRole_;
std::string ownerId_;
std::string sourceEndpointInstanceType_;
bool subscriptionDataTypeDDL_;
std::string subscriptionObject_;
std::string subscriptionInstanceName_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_CONFIGURESUBSCRIPTIONINSTANCERESULT_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCERESULT_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 ConfigureSubscriptionInstanceResult : public ServiceResult
{
public:
ConfigureSubscriptionInstanceResult();
explicit ConfigureSubscriptionInstanceResult(const std::string &payload);
~ConfigureSubscriptionInstanceResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCERESULT_H_

View File

@@ -1,120 +0,0 @@
/*
* 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_CONFIGURESYNCHRONIZATIONJOBREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT ConfigureSynchronizationJobRequest : public RpcServiceRequest {
public:
ConfigureSynchronizationJobRequest();
~ConfigureSynchronizationJobRequest();
std::string getSourceEndpointInstanceId() const;
void setSourceEndpointInstanceId(const std::string &sourceEndpointInstanceId);
std::string getCheckpoint() const;
void setCheckpoint(const std::string &checkpoint);
std::string getDestinationEndpointInstanceId() const;
void setDestinationEndpointInstanceId(const std::string &destinationEndpointInstanceId);
std::string getSourceEndpointIP() const;
void setSourceEndpointIP(const std::string &sourceEndpointIP);
std::string getSynchronizationObjects() const;
void setSynchronizationObjects(const std::string &synchronizationObjects);
std::string getDestinationEndpointPassword() const;
void setDestinationEndpointPassword(const std::string &destinationEndpointPassword);
bool getDataInitialization() const;
void setDataInitialization(bool dataInitialization);
bool getStructureInitialization() const;
void setStructureInitialization(bool structureInitialization);
bool getPartitionKeyModifyTime_Minute() const;
void setPartitionKeyModifyTime_Minute(bool partitionKeyModifyTime_Minute);
bool getPartitionKeyModifyTime_Day() const;
void setPartitionKeyModifyTime_Day(bool partitionKeyModifyTime_Day);
std::string getSourceEndpointInstanceType() const;
void setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType);
std::string getSynchronizationJobId() const;
void setSynchronizationJobId(const std::string &synchronizationJobId);
std::string getSynchronizationJobName() const;
void setSynchronizationJobName(const std::string &synchronizationJobName);
std::string getSourceEndpointUserName() const;
void setSourceEndpointUserName(const std::string &sourceEndpointUserName);
bool getPartitionKeyModifyTime_Month() const;
void setPartitionKeyModifyTime_Month(bool partitionKeyModifyTime_Month);
std::string getSourceEndpointPort() const;
void setSourceEndpointPort(const std::string &sourceEndpointPort);
std::string getSourceEndpointOwnerID() const;
void setSourceEndpointOwnerID(const std::string &sourceEndpointOwnerID);
std::string getDestinationEndpointUserName() const;
void setDestinationEndpointUserName(const std::string &destinationEndpointUserName);
std::string getDestinationEndpointPort() const;
void setDestinationEndpointPort(const std::string &destinationEndpointPort);
bool getPartitionKeyModifyTime_Year() const;
void setPartitionKeyModifyTime_Year(bool partitionKeyModifyTime_Year);
std::string getSourceEndpointRole() const;
void setSourceEndpointRole(const std::string &sourceEndpointRole);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
bool getPartitionKeyModifyTime_Hour() const;
void setPartitionKeyModifyTime_Hour(bool partitionKeyModifyTime_Hour);
std::string getSourceEndpointPassword() const;
void setSourceEndpointPassword(const std::string &sourceEndpointPassword);
std::string getMigrationReserved() const;
void setMigrationReserved(const std::string &migrationReserved);
std::string getDestinationEndpointIP() const;
void setDestinationEndpointIP(const std::string &destinationEndpointIP);
std::string getDestinationEndpointInstanceType() const;
void setDestinationEndpointInstanceType(const std::string &destinationEndpointInstanceType);
private:
std::string sourceEndpointInstanceId_;
std::string checkpoint_;
std::string destinationEndpointInstanceId_;
std::string sourceEndpointIP_;
std::string synchronizationObjects_;
std::string destinationEndpointPassword_;
bool dataInitialization_;
bool structureInitialization_;
bool partitionKeyModifyTime_Minute_;
bool partitionKeyModifyTime_Day_;
std::string sourceEndpointInstanceType_;
std::string synchronizationJobId_;
std::string synchronizationJobName_;
std::string sourceEndpointUserName_;
bool partitionKeyModifyTime_Month_;
std::string sourceEndpointPort_;
std::string sourceEndpointOwnerID_;
std::string destinationEndpointUserName_;
std::string destinationEndpointPort_;
bool partitionKeyModifyTime_Year_;
std::string sourceEndpointRole_;
std::string ownerId_;
bool partitionKeyModifyTime_Hour_;
std::string sourceEndpointPassword_;
std::string migrationReserved_;
std::string destinationEndpointIP_;
std::string destinationEndpointInstanceType_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_CONFIGURESYNCHRONIZATIONJOBRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBRESULT_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 ConfigureSynchronizationJobResult : public ServiceResult
{
public:
ConfigureSynchronizationJobResult();
explicit ConfigureSynchronizationJobResult(const std::string &payload);
~ConfigureSynchronizationJobResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBRESULT_H_

View File

@@ -32,18 +32,18 @@ public:
~CreateMigrationJobRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
std::string getRegion() const;
void setRegion(const std::string &region);
std::string getMigrationJobClass() const;
void setMigrationJobClass(const std::string &migrationJobClass);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string clientToken_;
std::string ownerId_;
std::string region_;
std::string migrationJobClass_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts

View File

@@ -1,57 +0,0 @@
/*
* 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_CREATESUBSCRIPTIONINSTANCEREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CREATESUBSCRIPTIONINSTANCEREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT CreateSubscriptionInstanceRequest : public RpcServiceRequest {
public:
CreateSubscriptionInstanceRequest();
~CreateSubscriptionInstanceRequest();
std::string getPeriod() const;
void setPeriod(const std::string &period);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
int getUsedTime() const;
void setUsedTime(int usedTime);
std::string getRegion() const;
void setRegion(const std::string &region);
std::string getPayType() const;
void setPayType(const std::string &payType);
private:
std::string period_;
std::string clientToken_;
std::string ownerId_;
int usedTime_;
std::string region_;
std::string payType_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_CREATESUBSCRIPTIONINSTANCEREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_CREATESUBSCRIPTIONINSTANCERESULT_H_
#define ALIBABACLOUD_DTS_MODEL_CREATESUBSCRIPTIONINSTANCERESULT_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 CreateSubscriptionInstanceResult : public ServiceResult
{
public:
CreateSubscriptionInstanceResult();
explicit CreateSubscriptionInstanceResult(const std::string &payload);
~CreateSubscriptionInstanceResult();
std::string getSubscriptionInstanceId()const;
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string subscriptionInstanceId_;
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CREATESUBSCRIPTIONINSTANCERESULT_H_

View File

@@ -1,72 +0,0 @@
/*
* 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_CREATESYNCHRONIZATIONJOBREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CREATESYNCHRONIZATIONJOBREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT CreateSynchronizationJobRequest : public RpcServiceRequest {
public:
CreateSynchronizationJobRequest();
~CreateSynchronizationJobRequest();
std::string getPeriod() const;
void setPeriod(const std::string &period);
std::string getDestRegion() const;
void setDestRegion(const std::string &destRegion);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getNetworkType() const;
void setNetworkType(const std::string &networkType);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
int getUsedTime() const;
void setUsedTime(int usedTime);
std::string getSourceEndpointInstanceType() const;
void setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType);
std::string getSynchronizationJobClass() const;
void setSynchronizationJobClass(const std::string &synchronizationJobClass);
std::string getSourceRegion() const;
void setSourceRegion(const std::string &sourceRegion);
std::string getPayType() const;
void setPayType(const std::string &payType);
std::string getDestinationEndpointInstanceType() const;
void setDestinationEndpointInstanceType(const std::string &destinationEndpointInstanceType);
private:
std::string period_;
std::string destRegion_;
std::string clientToken_;
std::string networkType_;
std::string ownerId_;
int usedTime_;
std::string sourceEndpointInstanceType_;
std::string synchronizationJobClass_;
std::string sourceRegion_;
std::string payType_;
std::string destinationEndpointInstanceType_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_CREATESYNCHRONIZATIONJOBREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_CREATESYNCHRONIZATIONJOBRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_CREATESYNCHRONIZATIONJOBRESULT_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 CreateSynchronizationJobResult : public ServiceResult
{
public:
CreateSynchronizationJobResult();
explicit CreateSynchronizationJobResult(const std::string &payload);
~CreateSynchronizationJobResult();
std::string getSynchronizationJobId()const;
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string synchronizationJobId_;
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CREATESYNCHRONIZATIONJOBRESULT_H_

View File

@@ -32,12 +32,9 @@ public:
~DeleteMigrationJobRequest();
std::string getMigrationJobId() const;
void setMigrationJobId(const std::string &migrationJobId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string migrationJobId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts

View File

@@ -1,45 +0,0 @@
/*
* 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_DELETESUBSCRIPTIONINSTANCEREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DELETESUBSCRIPTIONINSTANCEREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT DeleteSubscriptionInstanceRequest : public RpcServiceRequest {
public:
DeleteSubscriptionInstanceRequest();
~DeleteSubscriptionInstanceRequest();
std::string getSubscriptionInstanceId() const;
void setSubscriptionInstanceId(const std::string &subscriptionInstanceId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string subscriptionInstanceId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_DELETESUBSCRIPTIONINSTANCEREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_DELETESUBSCRIPTIONINSTANCERESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DELETESUBSCRIPTIONINSTANCERESULT_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 DeleteSubscriptionInstanceResult : public ServiceResult
{
public:
DeleteSubscriptionInstanceResult();
explicit DeleteSubscriptionInstanceResult(const std::string &payload);
~DeleteSubscriptionInstanceResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DELETESUBSCRIPTIONINSTANCERESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* 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_DELETESYNCHRONIZATIONJOBREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DELETESYNCHRONIZATIONJOBREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT DeleteSynchronizationJobRequest : public RpcServiceRequest {
public:
DeleteSynchronizationJobRequest();
~DeleteSynchronizationJobRequest();
std::string getSynchronizationJobId() const;
void setSynchronizationJobId(const std::string &synchronizationJobId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string synchronizationJobId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_DELETESYNCHRONIZATIONJOBREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_DELETESYNCHRONIZATIONJOBRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DELETESYNCHRONIZATIONJOBRESULT_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 DeleteSynchronizationJobResult : public ServiceResult
{
public:
DeleteSynchronizationJobResult();
explicit DeleteSynchronizationJobResult(const std::string &payload);
~DeleteSynchronizationJobResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DELETESYNCHRONIZATIONJOBRESULT_H_

View File

@@ -30,20 +30,17 @@ class ALIBABACLOUD_DTS_EXPORT DescirbeMigrationJobsRequest : public RpcServiceRe
public:
DescirbeMigrationJobsRequest();
~DescirbeMigrationJobsRequest();
int getPageNum() const;
void setPageNum(int pageNum);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getMigrationJobName() const;
void setMigrationJobName(const std::string &migrationJobName);
int getPageNum() const;
void setPageNum(int pageNum);
private:
int pageNum_;
std::string ownerId_;
int pageSize_;
std::string migrationJobName_;
int pageNum_;
};
} // namespace Model
} // namespace Dts

View File

@@ -1,51 +0,0 @@
/*
* 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_DESCRIBEINITIALIZATIONSTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEINITIALIZATIONSTATUSREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT DescribeInitializationStatusRequest : public RpcServiceRequest {
public:
DescribeInitializationStatusRequest();
~DescribeInitializationStatusRequest();
int getPageNum() const;
void setPageNum(int pageNum);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
std::string getSynchronizationJobId() const;
void setSynchronizationJobId(const std::string &synchronizationJobId);
int getPageSize() const;
void setPageSize(int pageSize);
private:
int pageNum_;
std::string ownerId_;
std::string synchronizationJobId_;
int pageSize_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEINITIALIZATIONSTATUSREQUEST_H_

View File

@@ -1,95 +0,0 @@
/*
* 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_DESCRIBEINITIALIZATIONSTATUSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEINITIALIZATIONSTATUSRESULT_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 DescribeInitializationStatusResult : public ServiceResult
{
public:
struct StructureInitializationDetail
{
struct StructureInitializationDetail1
{
std::string status;
std::string objectType;
std::string sourceOwnerDBName;
std::string objectDefinition;
std::string errorMessage;
std::string destinationOwnerDBName;
std::string objectName;
};
std::string status;
std::string objectType;
std::vector<StructureInitializationDetail::StructureInitializationDetail1> constraints;
std::string sourceOwnerDBName;
std::string objectDefinition;
std::string errorMessage;
std::string destinationOwnerDBName;
std::string objectName;
};
struct DataInitializationDetail
{
std::string status;
std::string tableName;
std::string usedTime;
std::string totalRowNum;
std::string sourceOwnerDBName;
std::string errorMessage;
std::string destinationOwnerDBName;
std::string finishRowNum;
};
struct DataSynchronizationDetail
{
std::string status;
std::string tableName;
std::string sourceOwnerDBName;
std::string errorMessage;
std::string destinationOwnerDBName;
};
DescribeInitializationStatusResult();
explicit DescribeInitializationStatusResult(const std::string &payload);
~DescribeInitializationStatusResult();
std::vector<StructureInitializationDetail> getStructureInitializationDetails()const;
std::vector<DataInitializationDetail> getDataInitializationDetails()const;
std::vector<DataSynchronizationDetail> getDataSynchronizationDetails()const;
protected:
void parse(const std::string &payload);
private:
std::vector<StructureInitializationDetail> structureInitializationDetails_;
std::vector<DataInitializationDetail> dataInitializationDetails_;
std::vector<DataSynchronizationDetail> dataSynchronizationDetails_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEINITIALIZATIONSTATUSRESULT_H_

View File

@@ -38,8 +38,6 @@ public:
void setMigrationJobId(const std::string &migrationJobId);
int getPageNum() const;
void setPageNum(int pageNum);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
bool getMigrationModeStructureInitialization() const;
void setMigrationModeStructureInitialization(bool migrationModeStructureInitialization);
bool getMigrationModeDataSynchronization() const;
@@ -52,7 +50,6 @@ private:
bool migrationModeDataInitialization_;
std::string migrationJobId_;
int pageNum_;
std::string ownerId_;
bool migrationModeStructureInitialization_;
bool migrationModeDataSynchronization_;
int pageSize_;

View File

@@ -34,13 +34,10 @@ public:
void setClientToken(const std::string &clientToken);
std::string getMigrationJobId() const;
void setMigrationJobId(const std::string &migrationJobId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string clientToken_;
std::string migrationJobId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts

View File

@@ -90,7 +90,6 @@ namespace AlibabaCloud
struct DataSynchronizationStatus
{
std::string status;
std::string checkpoint;
std::string percent;
std::string errorMessage;
std::string delay;

View File

@@ -1,51 +0,0 @@
/*
* 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_DESCRIBEMIGRATIONJOBSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT DescribeMigrationJobsRequest : public RpcServiceRequest {
public:
DescribeMigrationJobsRequest();
~DescribeMigrationJobsRequest();
int getPageNum() const;
void setPageNum(int pageNum);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getMigrationJobName() const;
void setMigrationJobName(const std::string &migrationJobName);
private:
int pageNum_;
std::string ownerId_;
int pageSize_;
std::string migrationJobName_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSREQUEST_H_

View File

@@ -1,133 +0,0 @@
/*
* 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_DESCRIBEMIGRATIONJOBSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSRESULT_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 DescribeMigrationJobsResult : public ServiceResult
{
public:
struct MigrationJob
{
struct SourceEndpoint
{
std::string oracleSID;
std::string userName;
std::string instanceID;
std::string iP;
std::string port;
std::string databaseName;
std::string instanceType;
std::string engineName;
};
struct DestinationEndpoint
{
std::string oracleSID;
std::string userName;
std::string instanceID;
std::string iP;
std::string port;
std::string databaseName;
std::string instanceType;
std::string engineName;
};
struct MigrationMode
{
bool dataInitialization;
bool dataSynchronization;
bool structureInitialization;
};
struct Precheck
{
std::string status;
std::string percent;
};
struct StructureInitialization
{
std::string status;
std::string progress;
std::string percent;
std::string errorMessage;
};
struct DataInitialization
{
std::string status;
std::string progress;
std::string percent;
std::string errorMessage;
};
struct DataSynchronization
{
std::string status;
std::string percent;
std::string errorMessage;
std::string delay;
};
struct SynchronousObject
{
std::string databaseName;
std::string wholeDatabase;
std::vector<std::string> tableList;
};
Precheck precheck;
DataSynchronization dataSynchronization;
std::string migrationJobName;
std::string payType;
MigrationMode migrationMode;
std::string migrationJobStatus;
std::string migrationJobID;
std::vector<MigrationJob::SynchronousObject> migrationObject;
DataInitialization dataInitialization;
DestinationEndpoint destinationEndpoint;
SourceEndpoint sourceEndpoint;
std::string migrationJobClass;
StructureInitialization structureInitialization;
};
DescribeMigrationJobsResult();
explicit DescribeMigrationJobsResult(const std::string &payload);
~DescribeMigrationJobsResult();
long getTotalRecordCount()const;
int getPageRecordCount()const;
int getPageNumber()const;
std::vector<MigrationJob> getMigrationJobs()const;
protected:
void parse(const std::string &payload);
private:
long totalRecordCount_;
int pageRecordCount_;
int pageNumber_;
std::vector<MigrationJob> migrationJobs_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSRESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* 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_DESCRIBESUBSCRIPTIONINSTANCESTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESTATUSREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT DescribeSubscriptionInstanceStatusRequest : public RpcServiceRequest {
public:
DescribeSubscriptionInstanceStatusRequest();
~DescribeSubscriptionInstanceStatusRequest();
std::string getSubscriptionInstanceId() const;
void setSubscriptionInstanceId(const std::string &subscriptionInstanceId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string subscriptionInstanceId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESTATUSREQUEST_H_

View File

@@ -1,89 +0,0 @@
/*
* 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_DESCRIBESUBSCRIPTIONINSTANCESTATUSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESTATUSRESULT_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 DescribeSubscriptionInstanceStatusResult : public ServiceResult
{
public:
struct SourceEndpoint
{
std::string instanceID;
std::string instanceType;
};
struct SubscriptionDataType
{
bool dML;
bool dDL;
};
struct SynchronousObject
{
std::string databaseName;
std::string wholeDatabase;
std::vector<std::string> tableList;
};
DescribeSubscriptionInstanceStatusResult();
explicit DescribeSubscriptionInstanceStatusResult(const std::string &payload);
~DescribeSubscriptionInstanceStatusResult();
std::string getStatus()const;
SubscriptionDataType getSubscriptionDataType()const;
std::vector<SynchronousObject> getSubscriptionObject()const;
std::string getSubscriptionInstanceName()const;
std::string getConsumptionCheckpoint()const;
std::string getConsumptionClient()const;
SourceEndpoint getSourceEndpoint()const;
std::string getEndTimestamp()const;
std::string getPayType()const;
std::string getErrorMessage()const;
std::string getSubscriptionInstanceID()const;
std::string getBeginTimestamp()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
SubscriptionDataType subscriptionDataType_;
std::vector<SynchronousObject> subscriptionObject_;
std::string subscriptionInstanceName_;
std::string consumptionCheckpoint_;
std::string consumptionClient_;
SourceEndpoint sourceEndpoint_;
std::string endTimestamp_;
std::string payType_;
std::string errorMessage_;
std::string subscriptionInstanceID_;
std::string beginTimestamp_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESTATUSRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_DESCRIBESUBSCRIPTIONINSTANCESREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT DescribeSubscriptionInstancesRequest : public RpcServiceRequest {
public:
DescribeSubscriptionInstancesRequest();
~DescribeSubscriptionInstancesRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
int getPageNum() const;
void setPageNum(int pageNum);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getSubscriptionInstanceName() const;
void setSubscriptionInstanceName(const std::string &subscriptionInstanceName);
private:
std::string clientToken_;
int pageNum_;
std::string ownerId_;
int pageSize_;
std::string subscriptionInstanceName_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESREQUEST_H_

View File

@@ -1,88 +0,0 @@
/*
* 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_DESCRIBESUBSCRIPTIONINSTANCESRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESRESULT_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 DescribeSubscriptionInstancesResult : public ServiceResult
{
public:
struct SubscriptionInstance
{
struct SourceEndpoint
{
std::string instanceID;
std::string instanceType;
};
struct SubscriptionDataType
{
bool dML;
bool dDL;
};
struct SynchronousObject
{
std::string databaseName;
std::string wholeDatabase;
std::vector<std::string> tableList;
};
std::string status;
SubscriptionDataType subscriptionDataType;
std::vector<SubscriptionInstance::SynchronousObject> subscriptionObject;
std::string subscriptionInstanceName;
std::string consumptionCheckpoint;
std::string consumptionClient;
SourceEndpoint sourceEndpoint;
std::string endTimestamp;
std::string payType;
std::string errorMessage;
std::string subscriptionInstanceID;
std::string beginTimestamp;
};
DescribeSubscriptionInstancesResult();
explicit DescribeSubscriptionInstancesResult(const std::string &payload);
~DescribeSubscriptionInstancesResult();
long getTotalRecordCount()const;
int getPageRecordCount()const;
int getPageNumber()const;
std::vector<SubscriptionInstance> getSubscriptionInstances()const;
protected:
void parse(const std::string &payload);
private:
long totalRecordCount_;
int pageRecordCount_;
int pageNumber_;
std::vector<SubscriptionInstance> subscriptionInstances_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESRESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* 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_DESCRIBESUBSCRIPTIONOBJECTMODIFYSTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONOBJECTMODIFYSTATUSREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT DescribeSubscriptionObjectModifyStatusRequest : public RpcServiceRequest {
public:
DescribeSubscriptionObjectModifyStatusRequest();
~DescribeSubscriptionObjectModifyStatusRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getSubscriptionInstanceId() const;
void setSubscriptionInstanceId(const std::string &subscriptionInstanceId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string clientToken_;
std::string subscriptionInstanceId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONOBJECTMODIFYSTATUSREQUEST_H_

View File

@@ -1,62 +0,0 @@
/*
* 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_DESCRIBESUBSCRIPTIONOBJECTMODIFYSTATUSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONOBJECTMODIFYSTATUSRESULT_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 DescribeSubscriptionObjectModifyStatusResult : public ServiceResult
{
public:
struct CheckItem
{
std::string repairMethod;
std::string checkStatus;
std::string itemName;
std::string errorMessage;
};
DescribeSubscriptionObjectModifyStatusResult();
explicit DescribeSubscriptionObjectModifyStatusResult(const std::string &payload);
~DescribeSubscriptionObjectModifyStatusResult();
std::string getStatus()const;
std::string getPercent()const;
std::vector<CheckItem> getDetail()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string percent_;
std::vector<CheckItem> detail_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONOBJECTMODIFYSTATUSRESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* 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_DESCRIBESYNCHRONIZATIONJOBSTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT DescribeSynchronizationJobStatusRequest : public RpcServiceRequest {
public:
DescribeSynchronizationJobStatusRequest();
~DescribeSynchronizationJobStatusRequest();
std::string getSynchronizationJobId() const;
void setSynchronizationJobId(const std::string &synchronizationJobId);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string synchronizationJobId_;
std::string clientToken_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSREQUEST_H_

View File

@@ -1,152 +0,0 @@
/*
* 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_DESCRIBESYNCHRONIZATIONJOBSTATUSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSRESULT_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 DescribeSynchronizationJobStatusResult : public ServiceResult
{
public:
struct SourceEndpoint
{
std::string instanceId;
std::string instanceType;
};
struct DestinationEndpoint
{
std::string instanceId;
std::string instanceType;
};
struct PrecheckStatus
{
struct CheckItem
{
std::string repairMethod;
std::string checkStatus;
std::string itemName;
std::string errorMessage;
};
std::string status;
std::string percent;
std::vector<CheckItem> 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 checkpoint;
std::string percent;
std::string errorMessage;
std::string delay;
};
struct Performance
{
std::string rPS;
std::string fLOW;
};
struct SynchronizationObject
{
struct TableInclude
{
std::string tableName;
};
struct TableExclude
{
std::string tableName;
};
std::vector<SynchronizationObject::TableInclude> tableIncludes;
std::vector<SynchronizationObject::TableExclude> tableExcludes;
std::string schemaName;
std::string newSchemaName;
};
DescribeSynchronizationJobStatusResult();
explicit DescribeSynchronizationJobStatusResult(const std::string &payload);
~DescribeSynchronizationJobStatusResult();
std::string getStatus()const;
DataInitializationStatus getDataInitializationStatus()const;
std::vector<SynchronizationObject> getSynchronizationObjects()const;
std::string getSynchronizationJobName()const;
std::string getPayType()const;
std::string getDelay()const;
PrecheckStatus getPrecheckStatus()const;
std::string getSynchronizationJobId()const;
std::string getCheckpoint()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;
StructureInitializationStatus getStructureInitializationStatus()const;
DataSynchronizationStatus getDataSynchronizationStatus()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
DataInitializationStatus dataInitializationStatus_;
std::vector<SynchronizationObject> synchronizationObjects_;
std::string synchronizationJobName_;
std::string payType_;
std::string delay_;
PrecheckStatus precheckStatus_;
std::string synchronizationJobId_;
std::string checkpoint_;
std::string dataInitialization_;
DestinationEndpoint destinationEndpoint_;
SourceEndpoint sourceEndpoint_;
std::string structureInitialization_;
Performance performance_;
std::string errorMessage_;
std::string expireTime_;
std::string synchronizationJobClass_;
StructureInitializationStatus structureInitializationStatus_;
DataSynchronizationStatus dataSynchronizationStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_DESCRIBESYNCHRONIZATIONJOBSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT DescribeSynchronizationJobsRequest : public RpcServiceRequest {
public:
DescribeSynchronizationJobsRequest();
~DescribeSynchronizationJobsRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
int getPageNum() const;
void setPageNum(int pageNum);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
std::string getSynchronizationJobName() const;
void setSynchronizationJobName(const std::string &synchronizationJobName);
int getPageSize() const;
void setPageSize(int pageSize);
private:
std::string clientToken_;
int pageNum_;
std::string ownerId_;
std::string synchronizationJobName_;
int pageSize_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSREQUEST_H_

View File

@@ -1,142 +0,0 @@
/*
* 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_DESCRIBESYNCHRONIZATIONJOBSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSRESULT_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 DescribeSynchronizationJobsResult : public ServiceResult
{
public:
struct SynchronizationInstance
{
struct SourceEndpoint
{
std::string instanceId;
std::string instanceType;
};
struct DestinationEndpoint
{
std::string instanceId;
std::string instanceType;
};
struct PrecheckStatus
{
struct CheckItem
{
std::string repairMethod;
std::string checkStatus;
std::string itemName;
std::string errorMessage;
};
std::string status;
std::string percent;
std::vector<CheckItem> 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 percent;
std::string errorMessage;
std::string delay;
};
struct Performance
{
std::string rPS;
std::string fLOW;
};
struct SynchronizationObject
{
struct TableInclude
{
std::string tableName;
};
struct TableExclude
{
std::string tableName;
};
std::vector<SynchronizationObject::TableInclude> tableIncludes;
std::vector<SynchronizationObject::TableExclude> tableExcludes;
std::string schemaName;
std::string newSchemaName;
};
std::string status;
DataInitializationStatus dataInitializationStatus;
std::vector<SynchronizationInstance::SynchronizationObject> synchronizationObjects;
std::string synchronizationJobName;
std::string payType;
std::string delay;
PrecheckStatus precheckStatus;
std::string synchronizationJobId;
std::string dataInitialization;
DestinationEndpoint destinationEndpoint;
SourceEndpoint sourceEndpoint;
std::string structureInitialization;
Performance performance;
std::string errorMessage;
std::string expireTime;
std::string synchronizationJobClass;
StructureInitializationStatus structureInitializationStatus;
DataSynchronizationStatus dataSynchronizationStatus;
};
DescribeSynchronizationJobsResult();
explicit DescribeSynchronizationJobsResult(const std::string &payload);
~DescribeSynchronizationJobsResult();
long getTotalRecordCount()const;
std::vector<SynchronizationInstance> getSynchronizationInstances()const;
int getPageRecordCount()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
long totalRecordCount_;
std::vector<SynchronizationInstance> synchronizationInstances_;
int pageRecordCount_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSRESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* 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_DESCRIBESYNCHRONIZATIONOBJECTMODIFYSTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONOBJECTMODIFYSTATUSREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT DescribeSynchronizationObjectModifyStatusRequest : public RpcServiceRequest {
public:
DescribeSynchronizationObjectModifyStatusRequest();
~DescribeSynchronizationObjectModifyStatusRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
std::string getTaskId() const;
void setTaskId(const std::string &taskId);
private:
std::string clientToken_;
std::string ownerId_;
std::string taskId_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONOBJECTMODIFYSTATUSREQUEST_H_

View File

@@ -1,95 +0,0 @@
/*
* 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_DESCRIBESYNCHRONIZATIONOBJECTMODIFYSTATUSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONOBJECTMODIFYSTATUSRESULT_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 DescribeSynchronizationObjectModifyStatusResult : public ServiceResult
{
public:
struct PrecheckStatus
{
struct CheckItem
{
std::string repairMethod;
std::string checkStatus;
std::string itemName;
std::string errorMessage;
};
std::string status;
std::string percent;
std::vector<CheckItem> 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 percent;
std::string errorMessage;
std::string delay;
};
DescribeSynchronizationObjectModifyStatusResult();
explicit DescribeSynchronizationObjectModifyStatusResult(const std::string &payload);
~DescribeSynchronizationObjectModifyStatusResult();
std::string getStatus()const;
PrecheckStatus getPrecheckStatus()const;
DataInitializationStatus getDataInitializationStatus()const;
std::string getErrorMessage()const;
StructureInitializationStatus getStructureInitializationStatus()const;
DataSynchronizationStatus getDataSynchronizationStatus()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
PrecheckStatus precheckStatus_;
DataInitializationStatus dataInitializationStatus_;
std::string errorMessage_;
StructureInitializationStatus structureInitializationStatus_;
DataSynchronizationStatus dataSynchronizationStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONOBJECTMODIFYSTATUSRESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* 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_MODIFYCONSUMPTIONTIMESTAMPREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_MODIFYCONSUMPTIONTIMESTAMPREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT ModifyConsumptionTimestampRequest : public RpcServiceRequest {
public:
ModifyConsumptionTimestampRequest();
~ModifyConsumptionTimestampRequest();
std::string getSubscriptionInstanceId() const;
void setSubscriptionInstanceId(const std::string &subscriptionInstanceId);
std::string getConsumptionTimestamp() const;
void setConsumptionTimestamp(const std::string &consumptionTimestamp);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string subscriptionInstanceId_;
std::string consumptionTimestamp_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYCONSUMPTIONTIMESTAMPREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_MODIFYCONSUMPTIONTIMESTAMPRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_MODIFYCONSUMPTIONTIMESTAMPRESULT_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 ModifyConsumptionTimestampResult : public ServiceResult
{
public:
ModifyConsumptionTimestampResult();
explicit ModifyConsumptionTimestampResult(const std::string &payload);
~ModifyConsumptionTimestampResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYCONSUMPTIONTIMESTAMPRESULT_H_

View File

@@ -36,14 +36,11 @@ public:
void setClientToken(const std::string &clientToken);
std::string getMigrationJobId() const;
void setMigrationJobId(const std::string &migrationJobId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string migrationObject_;
std::string clientToken_;
std::string migrationJobId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts

View File

@@ -1,48 +0,0 @@
/*
* 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_MODIFYSUBSCRIPTIONOBJECTREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_MODIFYSUBSCRIPTIONOBJECTREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT ModifySubscriptionObjectRequest : public RpcServiceRequest {
public:
ModifySubscriptionObjectRequest();
~ModifySubscriptionObjectRequest();
std::string getSubscriptionObject() const;
void setSubscriptionObject(const std::string &subscriptionObject);
std::string getSubscriptionInstanceId() const;
void setSubscriptionInstanceId(const std::string &subscriptionInstanceId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string subscriptionObject_;
std::string subscriptionInstanceId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYSUBSCRIPTIONOBJECTREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_MODIFYSUBSCRIPTIONOBJECTRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_MODIFYSUBSCRIPTIONOBJECTRESULT_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 ModifySubscriptionObjectResult : public ServiceResult
{
public:
ModifySubscriptionObjectResult();
explicit ModifySubscriptionObjectResult(const std::string &payload);
~ModifySubscriptionObjectResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYSUBSCRIPTIONOBJECTRESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* 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_MODIFYSYNCHRONIZATIONOBJECTREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_MODIFYSYNCHRONIZATIONOBJECTREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT ModifySynchronizationObjectRequest : public RpcServiceRequest {
public:
ModifySynchronizationObjectRequest();
~ModifySynchronizationObjectRequest();
std::string getSynchronizationJobId() const;
void setSynchronizationJobId(const std::string &synchronizationJobId);
std::string getSynchronizationObjects() const;
void setSynchronizationObjects(const std::string &synchronizationObjects);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string synchronizationJobId_;
std::string synchronizationObjects_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYSYNCHRONIZATIONOBJECTREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_MODIFYSYNCHRONIZATIONOBJECTRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_MODIFYSYNCHRONIZATIONOBJECTRESULT_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 ModifySynchronizationObjectResult : public ServiceResult
{
public:
ModifySynchronizationObjectResult();
explicit ModifySynchronizationObjectResult(const std::string &payload);
~ModifySynchronizationObjectResult();
std::string getTaskId()const;
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYSYNCHRONIZATIONOBJECTRESULT_H_

View File

@@ -32,12 +32,9 @@ public:
~StartMigrationJobRequest();
std::string getMigrationJobId() const;
void setMigrationJobId(const std::string &migrationJobId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string migrationJobId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts

View File

@@ -1,45 +0,0 @@
/*
* 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_STARTSUBSCRIPTIONINSTANCEREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_STARTSUBSCRIPTIONINSTANCEREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT StartSubscriptionInstanceRequest : public RpcServiceRequest {
public:
StartSubscriptionInstanceRequest();
~StartSubscriptionInstanceRequest();
std::string getSubscriptionInstanceId() const;
void setSubscriptionInstanceId(const std::string &subscriptionInstanceId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string subscriptionInstanceId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_STARTSUBSCRIPTIONINSTANCEREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_STARTSUBSCRIPTIONINSTANCERESULT_H_
#define ALIBABACLOUD_DTS_MODEL_STARTSUBSCRIPTIONINSTANCERESULT_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 StartSubscriptionInstanceResult : public ServiceResult
{
public:
StartSubscriptionInstanceResult();
explicit StartSubscriptionInstanceResult(const std::string &payload);
~StartSubscriptionInstanceResult();
std::string getTaskId()const;
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_STARTSUBSCRIPTIONINSTANCERESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* 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_STARTSYNCHRONIZATIONJOBREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_STARTSYNCHRONIZATIONJOBREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT StartSynchronizationJobRequest : public RpcServiceRequest {
public:
StartSynchronizationJobRequest();
~StartSynchronizationJobRequest();
std::string getSynchronizationJobId() const;
void setSynchronizationJobId(const std::string &synchronizationJobId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string synchronizationJobId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_STARTSYNCHRONIZATIONJOBREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_STARTSYNCHRONIZATIONJOBRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_STARTSYNCHRONIZATIONJOBRESULT_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 StartSynchronizationJobResult : public ServiceResult
{
public:
StartSynchronizationJobResult();
explicit StartSynchronizationJobResult(const std::string &payload);
~StartSynchronizationJobResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_STARTSYNCHRONIZATIONJOBRESULT_H_

View File

@@ -34,13 +34,10 @@ public:
void setClientToken(const std::string &clientToken);
std::string getMigrationJobId() const;
void setMigrationJobId(const std::string &migrationJobId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string clientToken_;
std::string migrationJobId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts

View File

@@ -34,13 +34,10 @@ public:
void setClientToken(const std::string &clientToken);
std::string getMigrationJobId() const;
void setMigrationJobId(const std::string &migrationJobId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string clientToken_;
std::string migrationJobId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts

View File

@@ -1,45 +0,0 @@
/*
* 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_SUSPENDSYNCHRONIZATIONJOBREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_SUSPENDSYNCHRONIZATIONJOBREQUEST_H_
#include <alibabacloud/dts/DtsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dts {
namespace Model {
class ALIBABACLOUD_DTS_EXPORT SuspendSynchronizationJobRequest : public RpcServiceRequest {
public:
SuspendSynchronizationJobRequest();
~SuspendSynchronizationJobRequest();
std::string getSynchronizationJobId() const;
void setSynchronizationJobId(const std::string &synchronizationJobId);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
private:
std::string synchronizationJobId_;
std::string ownerId_;
};
} // namespace Model
} // namespace Dts
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DTS_MODEL_SUSPENDSYNCHRONIZATIONJOBREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_SUSPENDSYNCHRONIZATIONJOBRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_SUSPENDSYNCHRONIZATIONJOBRESULT_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 SuspendSynchronizationJobResult : public ServiceResult
{
public:
SuspendSynchronizationJobResult();
explicit SuspendSynchronizationJobResult(const std::string &payload);
~SuspendSynchronizationJobResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_SUSPENDSYNCHRONIZATIONJOBRESULT_H_