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