Compare commits

...

8 Commits

Author SHA1 Message Date
sdk-team
934e283efb Video Content analytics template introduced to this SDK. 2020-11-30 05:38:29 +00:00
sdk-team
c9bc61a9df Supported all language sdk. 2020-11-30 02:40:55 +00:00
sdk-team
e12cedf04a Update OpenDcdnService. 2020-11-30 02:36:38 +00:00
sdk-team
843a2c0be7 Support CPP and Go and PHP. 2020-11-29 16:03:35 +00:00
sdk-team
060788e017 Public. 2020-11-28 05:08:33 +00:00
sdk-team
49a237e426 Supported all language sdk. 2020-11-27 10:34:24 +00:00
sdk-team
9663b548cf Supported all language sdk. 2020-11-27 09:58:46 +00:00
sdk-team
c68f639be4 Generated 2018-01-11 for rtc. 2020-11-27 09:23:35 +00:00
331 changed files with 25964 additions and 298 deletions

View File

@@ -1,3 +1,30 @@
2020-11-30 Version: patch
- Video Content analytics template introduced to this SDK.
2020-11-30 Version: patch
- Supported all language sdk.
- Fixed some bugs for polardbx.
2020-11-30 Version: patch
- Update OpenDcdnService.
2020-11-29 Version: patch
- Support CPP and Go and PHP.
2020-11-28 Version: patch
- Public.
2020-11-27 Version: patch
- Supported all language sdk.
- Fixed some bugs for polardbx.
2020-11-27 Version: patch
- Supported all language sdk.
- Fixed some bugs for polardbx.
2020-11-27 Version: patch
- Generated 2018-01-11 for `rtc`.
2020-11-27 Version: patch
- Add Certificate Manager Api.

View File

@@ -171,6 +171,8 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DescribeDcdnUserTagsResult.h
include/alibabacloud/dcdn/model/DescribeDcdnVerifyContentRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnVerifyContentResult.h
include/alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnWafDomainResult.h
include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusRequest.h
include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusResult.h
include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h
@@ -364,6 +366,8 @@ set(dcdn_src
src/model/DescribeDcdnUserTagsResult.cc
src/model/DescribeDcdnVerifyContentRequest.cc
src/model/DescribeDcdnVerifyContentResult.cc
src/model/DescribeDcdnWafDomainRequest.cc
src/model/DescribeDcdnWafDomainResult.cc
src/model/DescribeUserDcdnIpaStatusRequest.cc
src/model/DescribeUserDcdnIpaStatusResult.cc
src/model/DescribeUserDcdnStatusRequest.cc

View File

@@ -172,6 +172,8 @@
#include "model/DescribeDcdnUserTagsResult.h"
#include "model/DescribeDcdnVerifyContentRequest.h"
#include "model/DescribeDcdnVerifyContentResult.h"
#include "model/DescribeDcdnWafDomainRequest.h"
#include "model/DescribeDcdnWafDomainResult.h"
#include "model/DescribeUserDcdnIpaStatusRequest.h"
#include "model/DescribeUserDcdnIpaStatusResult.h"
#include "model/DescribeUserDcdnStatusRequest.h"
@@ -446,6 +448,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnVerifyContentResult> DescribeDcdnVerifyContentOutcome;
typedef std::future<DescribeDcdnVerifyContentOutcome> DescribeDcdnVerifyContentOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnVerifyContentRequest&, const DescribeDcdnVerifyContentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnVerifyContentAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnWafDomainResult> DescribeDcdnWafDomainOutcome;
typedef std::future<DescribeDcdnWafDomainOutcome> DescribeDcdnWafDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnWafDomainRequest&, const DescribeDcdnWafDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnWafDomainAsyncHandler;
typedef Outcome<Error, Model::DescribeUserDcdnIpaStatusResult> DescribeUserDcdnIpaStatusOutcome;
typedef std::future<DescribeUserDcdnIpaStatusOutcome> DescribeUserDcdnIpaStatusOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeUserDcdnIpaStatusRequest&, const DescribeUserDcdnIpaStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserDcdnIpaStatusAsyncHandler;
@@ -736,6 +741,9 @@ namespace AlibabaCloud
DescribeDcdnVerifyContentOutcome describeDcdnVerifyContent(const Model::DescribeDcdnVerifyContentRequest &request)const;
void describeDcdnVerifyContentAsync(const Model::DescribeDcdnVerifyContentRequest& request, const DescribeDcdnVerifyContentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnVerifyContentOutcomeCallable describeDcdnVerifyContentCallable(const Model::DescribeDcdnVerifyContentRequest& request) const;
DescribeDcdnWafDomainOutcome describeDcdnWafDomain(const Model::DescribeDcdnWafDomainRequest &request)const;
void describeDcdnWafDomainAsync(const Model::DescribeDcdnWafDomainRequest& request, const DescribeDcdnWafDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnWafDomainOutcomeCallable describeDcdnWafDomainCallable(const Model::DescribeDcdnWafDomainRequest& request) const;
DescribeUserDcdnIpaStatusOutcome describeUserDcdnIpaStatus(const Model::DescribeUserDcdnIpaStatusRequest &request)const;
void describeUserDcdnIpaStatusAsync(const Model::DescribeUserDcdnIpaStatusRequest& request, const DescribeUserDcdnIpaStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserDcdnIpaStatusOutcomeCallable describeUserDcdnIpaStatusCallable(const Model::DescribeUserDcdnIpaStatusRequest& request) const;

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setSources(const std::string& sources);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getProtocol()const;
void setProtocol(const std::string& protocol);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getScope()const;
@@ -57,6 +59,7 @@ namespace AlibabaCloud
private:
std::string sources_;
std::string resourceGroupId_;
std::string protocol_;
std::string securityToken_;
std::string scope_;
std::string topLevelDomain_;

View File

@@ -35,23 +35,20 @@ namespace AlibabaCloud
DescribeDcdnDomainPvDataRequest();
~DescribeDcdnDomainPvDataRequest();
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private:
std::string startTime_;
std::string domainName_;
std::string endTime_;
std::string startTime_;
long ownerId_;
std::string securityToken_;
};
}

View File

@@ -44,8 +44,8 @@ namespace AlibabaCloud
~DescribeDcdnDomainPvDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::string getDataInterval()const;
std::vector<UsageData> getPvDataInterval()const;
protected:
@@ -53,8 +53,8 @@ namespace AlibabaCloud
private:
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::string dataInterval_;
std::vector<UsageData> pvDataInterval_;
};

View File

@@ -35,23 +35,20 @@ namespace AlibabaCloud
DescribeDcdnDomainUvDataRequest();
~DescribeDcdnDomainUvDataRequest();
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private:
std::string startTime_;
std::string domainName_;
std::string endTime_;
std::string startTime_;
long ownerId_;
std::string securityToken_;
};
}

View File

@@ -45,8 +45,8 @@ namespace AlibabaCloud
std::vector<UsageData> getUvDataInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::string getDataInterval()const;
protected:
void parse(const std::string &payload);
@@ -54,8 +54,8 @@ namespace AlibabaCloud
std::vector<UsageData> uvDataInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::string dataInterval_;
};
}

View File

@@ -30,6 +30,12 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserDomainsRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
DescribeDcdnUserDomainsRequest();
@@ -47,6 +53,8 @@ namespace AlibabaCloud
void setChangeEndTime(const std::string& changeEndTime);
int getPageSize()const;
void setPageSize(int pageSize);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getFuncFilter()const;
void setFuncFilter(const std::string& funcFilter);
std::string getDomainName()const;
@@ -69,6 +77,7 @@ namespace AlibabaCloud
std::string securityToken_;
std::string changeEndTime_;
int pageSize_;
std::vector<Tag> tag_;
std::string funcFilter_;
std::string domainName_;
long ownerId_;

View 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_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafDomainRequest : public RpcServiceRequest
{
public:
DescribeDcdnWafDomainRequest();
~DescribeDcdnWafDomainRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string regionId_;
std::string domainName_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINREQUEST_H_

View 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_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafDomainResult : public ServiceResult
{
public:
struct OutPutDomain
{
int status;
int aclStatus;
int ccStatus;
std::string domain;
int wafStatus;
};
DescribeDcdnWafDomainResult();
explicit DescribeDcdnWafDomainResult(const std::string &payload);
~DescribeDcdnWafDomainResult();
int getTotalCount()const;
std::vector<OutPutDomain> getOutPutDomains()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<OutPutDomain> outPutDomains_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINRESULT_H_

View File

@@ -2751,6 +2751,42 @@ DcdnClient::DescribeDcdnVerifyContentOutcomeCallable DcdnClient::describeDcdnVer
return task->get_future();
}
DcdnClient::DescribeDcdnWafDomainOutcome DcdnClient::describeDcdnWafDomain(const DescribeDcdnWafDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnWafDomainOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnWafDomainOutcome(DescribeDcdnWafDomainResult(outcome.result()));
else
return DescribeDcdnWafDomainOutcome(outcome.error());
}
void DcdnClient::describeDcdnWafDomainAsync(const DescribeDcdnWafDomainRequest& request, const DescribeDcdnWafDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnWafDomain(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnWafDomainOutcomeCallable DcdnClient::describeDcdnWafDomainCallable(const DescribeDcdnWafDomainRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnWafDomainOutcome()>>(
[this, request]()
{
return this->describeDcdnWafDomain(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeUserDcdnIpaStatusOutcome DcdnClient::describeUserDcdnIpaStatus(const DescribeUserDcdnIpaStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -49,6 +49,17 @@ void AddDcdnIpaDomainRequest::setResourceGroupId(const std::string& resourceGrou
setParameter("ResourceGroupId", resourceGroupId);
}
std::string AddDcdnIpaDomainRequest::getProtocol()const
{
return protocol_;
}
void AddDcdnIpaDomainRequest::setProtocol(const std::string& protocol)
{
protocol_ = protocol;
setParameter("Protocol", protocol);
}
std::string AddDcdnIpaDomainRequest::getSecurityToken()const
{
return securityToken_;

View File

@@ -49,14 +49,14 @@ void DescribeDcdnConfigOfVersionResult::parse(const std::string &payload)
versionConfigsObject.configId = valueVersionConfigsVersionConfig["ConfigId"].asString();
if(!valueVersionConfigsVersionConfig["FunctionName"].isNull())
versionConfigsObject.functionName = valueVersionConfigsVersionConfig["FunctionName"].asString();
auto allFunctionArgsNode = allVersionConfigsNode["FunctionArgs"]["FunctionArg"];
for (auto allVersionConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode)
auto allFunctionArgsNode = valueVersionConfigsVersionConfig["FunctionArgs"]["FunctionArg"];
for (auto valueVersionConfigsVersionConfigFunctionArgsFunctionArg : allFunctionArgsNode)
{
VersionConfig::FunctionArg functionArgsObject;
if(!allVersionConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull())
functionArgsObject.argName = allVersionConfigsNodeFunctionArgsFunctionArg["ArgName"].asString();
if(!allVersionConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull())
functionArgsObject.argValue = allVersionConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString();
if(!valueVersionConfigsVersionConfigFunctionArgsFunctionArg["ArgName"].isNull())
functionArgsObject.argName = valueVersionConfigsVersionConfigFunctionArgsFunctionArg["ArgName"].asString();
if(!valueVersionConfigsVersionConfigFunctionArgsFunctionArg["ArgValue"].isNull())
functionArgsObject.argValue = valueVersionConfigsVersionConfigFunctionArgsFunctionArg["ArgValue"].asString();
versionConfigsObject.functionArgs.push_back(functionArgsObject);
}
versionConfigs_.push_back(versionConfigsObject);

View File

@@ -49,14 +49,14 @@ void DescribeDcdnDomainConfigsResult::parse(const std::string &payload)
domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString();
if(!valueDomainConfigsDomainConfig["Status"].isNull())
domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString();
auto allFunctionArgsNode = allDomainConfigsNode["FunctionArgs"]["FunctionArg"];
for (auto allDomainConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode)
auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"];
for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode)
{
DomainConfig::FunctionArg functionArgsObject;
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull())
functionArgsObject.argName = allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].asString();
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull())
functionArgsObject.argValue = allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString();
if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].isNull())
functionArgsObject.argName = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].asString();
if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].isNull())
functionArgsObject.argValue = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].asString();
domainConfigsObject.functionArgs.push_back(functionArgsObject);
}
domainConfigs_.push_back(domainConfigsObject);

View File

@@ -45,16 +45,16 @@ void DescribeDcdnDomainHttpCodeDataResult::parse(const std::string &payload)
DataModule dataPerIntervalObject;
if(!valueDataPerIntervalDataModule["TimeStamp"].isNull())
dataPerIntervalObject.timeStamp = valueDataPerIntervalDataModule["TimeStamp"].asString();
auto allHttpCodeDataPerIntervalNode = allDataPerIntervalNode["HttpCodeDataPerInterval"]["HttpCodeDataModule"];
for (auto allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule : allHttpCodeDataPerIntervalNode)
auto allHttpCodeDataPerIntervalNode = valueDataPerIntervalDataModule["HttpCodeDataPerInterval"]["HttpCodeDataModule"];
for (auto valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule : allHttpCodeDataPerIntervalNode)
{
DataModule::HttpCodeDataModule httpCodeDataPerIntervalObject;
if(!allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule["Code"].isNull())
httpCodeDataPerIntervalObject.code = std::stoi(allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule["Code"].asString());
if(!allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].isNull())
httpCodeDataPerIntervalObject.proportion = std::stof(allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].asString());
if(!allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule["Count"].isNull())
httpCodeDataPerIntervalObject.count = std::stof(allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule["Count"].asString());
if(!valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule["Code"].isNull())
httpCodeDataPerIntervalObject.code = std::stoi(valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule["Code"].asString());
if(!valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].isNull())
httpCodeDataPerIntervalObject.proportion = std::stof(valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].asString());
if(!valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule["Count"].isNull())
httpCodeDataPerIntervalObject.count = std::stof(valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule["Count"].asString());
dataPerIntervalObject.httpCodeDataPerInterval.push_back(httpCodeDataPerIntervalObject);
}
dataPerInterval_.push_back(dataPerIntervalObject);

View File

@@ -45,20 +45,20 @@ void DescribeDcdnDomainLogResult::parse(const std::string &payload)
DomainLogDetail domainLogDetailsObject;
if(!valueDomainLogDetailsDomainLogDetail["LogCount"].isNull())
domainLogDetailsObject.logCount = std::stol(valueDomainLogDetailsDomainLogDetail["LogCount"].asString());
auto allLogInfosNode = allDomainLogDetailsNode["LogInfos"]["LogInfoDetail"];
for (auto allDomainLogDetailsNodeLogInfosLogInfoDetail : allLogInfosNode)
auto allLogInfosNode = valueDomainLogDetailsDomainLogDetail["LogInfos"]["LogInfoDetail"];
for (auto valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail : allLogInfosNode)
{
DomainLogDetail::LogInfoDetail logInfosObject;
if(!allDomainLogDetailsNodeLogInfosLogInfoDetail["LogName"].isNull())
logInfosObject.logName = allDomainLogDetailsNodeLogInfosLogInfoDetail["LogName"].asString();
if(!allDomainLogDetailsNodeLogInfosLogInfoDetail["LogPath"].isNull())
logInfosObject.logPath = allDomainLogDetailsNodeLogInfosLogInfoDetail["LogPath"].asString();
if(!allDomainLogDetailsNodeLogInfosLogInfoDetail["LogSize"].isNull())
logInfosObject.logSize = std::stol(allDomainLogDetailsNodeLogInfosLogInfoDetail["LogSize"].asString());
if(!allDomainLogDetailsNodeLogInfosLogInfoDetail["StartTime"].isNull())
logInfosObject.startTime = allDomainLogDetailsNodeLogInfosLogInfoDetail["StartTime"].asString();
if(!allDomainLogDetailsNodeLogInfosLogInfoDetail["EndTime"].isNull())
logInfosObject.endTime = allDomainLogDetailsNodeLogInfosLogInfoDetail["EndTime"].asString();
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].isNull())
logInfosObject.logName = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].asString();
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].isNull())
logInfosObject.logPath = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].asString();
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].isNull())
logInfosObject.logSize = std::stol(valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].asString());
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].isNull())
logInfosObject.startTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].asString();
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].isNull())
logInfosObject.endTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].asString();
domainLogDetailsObject.logInfos.push_back(logInfosObject);
}
auto pageInfosNode = value["PageInfos"];

View File

@@ -27,6 +27,17 @@ DescribeDcdnDomainPvDataRequest::DescribeDcdnDomainPvDataRequest() :
DescribeDcdnDomainPvDataRequest::~DescribeDcdnDomainPvDataRequest()
{}
std::string DescribeDcdnDomainPvDataRequest::getStartTime()const
{
return startTime_;
}
void DescribeDcdnDomainPvDataRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string DescribeDcdnDomainPvDataRequest::getDomainName()const
{
return domainName_;
@@ -49,17 +60,6 @@ void DescribeDcdnDomainPvDataRequest::setEndTime(const std::string& endTime)
setParameter("EndTime", endTime);
}
std::string DescribeDcdnDomainPvDataRequest::getStartTime()const
{
return startTime_;
}
void DescribeDcdnDomainPvDataRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
long DescribeDcdnDomainPvDataRequest::getOwnerId()const
{
return ownerId_;
@@ -71,14 +71,3 @@ void DescribeDcdnDomainPvDataRequest::setOwnerId(long ownerId)
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeDcdnDomainPvDataRequest::getSecurityToken()const
{
return securityToken_;
}
void DescribeDcdnDomainPvDataRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}

View File

@@ -43,20 +43,20 @@ void DescribeDcdnDomainPvDataResult::parse(const std::string &payload)
for (auto valuePvDataIntervalUsageData : allPvDataIntervalNode)
{
UsageData pvDataIntervalObject;
if(!valuePvDataIntervalUsageData["TimeStamp"].isNull())
pvDataIntervalObject.timeStamp = valuePvDataIntervalUsageData["TimeStamp"].asString();
if(!valuePvDataIntervalUsageData["Value"].isNull())
pvDataIntervalObject.value = valuePvDataIntervalUsageData["Value"].asString();
if(!valuePvDataIntervalUsageData["TimeStamp"].isNull())
pvDataIntervalObject.timeStamp = valuePvDataIntervalUsageData["TimeStamp"].asString();
pvDataInterval_.push_back(pvDataIntervalObject);
}
if(!value["DomainName"].isNull())
domainName_ = value["DomainName"].asString();
if(!value["DataInterval"].isNull())
dataInterval_ = value["DataInterval"].asString();
if(!value["StartTime"].isNull())
startTime_ = value["StartTime"].asString();
if(!value["EndTime"].isNull())
endTime_ = value["EndTime"].asString();
if(!value["DataInterval"].isNull())
dataInterval_ = value["DataInterval"].asString();
}
@@ -70,16 +70,16 @@ std::string DescribeDcdnDomainPvDataResult::getDomainName()const
return domainName_;
}
std::string DescribeDcdnDomainPvDataResult::getDataInterval()const
{
return dataInterval_;
}
std::string DescribeDcdnDomainPvDataResult::getStartTime()const
{
return startTime_;
}
std::string DescribeDcdnDomainPvDataResult::getDataInterval()const
{
return dataInterval_;
}
std::vector<DescribeDcdnDomainPvDataResult::UsageData> DescribeDcdnDomainPvDataResult::getPvDataInterval()const
{
return pvDataInterval_;

View File

@@ -45,16 +45,16 @@ void DescribeDcdnDomainRealTimeHttpCodeDataResult::parse(const std::string &payl
UsageData realTimeHttpCodeDataObject;
if(!valueRealTimeHttpCodeDataUsageData["TimeStamp"].isNull())
realTimeHttpCodeDataObject.timeStamp = valueRealTimeHttpCodeDataUsageData["TimeStamp"].asString();
auto allValueNode = allRealTimeHttpCodeDataNode["Value"]["RealTimeCodeProportionData"];
for (auto allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData : allValueNode)
auto allValueNode = valueRealTimeHttpCodeDataUsageData["Value"]["RealTimeCodeProportionData"];
for (auto valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData : allValueNode)
{
UsageData::RealTimeCodeProportionData valueObject;
if(!allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData["Code"].isNull())
valueObject.code = allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData["Code"].asString();
if(!allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData["Proportion"].isNull())
valueObject.proportion = allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData["Proportion"].asString();
if(!allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData["Count"].isNull())
valueObject.count = allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData["Count"].asString();
if(!valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Code"].isNull())
valueObject.code = valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Code"].asString();
if(!valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Proportion"].isNull())
valueObject.proportion = valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Proportion"].asString();
if(!valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Count"].isNull())
valueObject.count = valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Count"].asString();
realTimeHttpCodeDataObject.value.push_back(valueObject);
}
realTimeHttpCodeData_.push_back(realTimeHttpCodeDataObject);

View File

@@ -45,16 +45,16 @@ void DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::parse(const std::string &p
UsageData realTimeSrcHttpCodeDataObject;
if(!valueRealTimeSrcHttpCodeDataUsageData["TimeStamp"].isNull())
realTimeSrcHttpCodeDataObject.timeStamp = valueRealTimeSrcHttpCodeDataUsageData["TimeStamp"].asString();
auto allValueNode = allRealTimeSrcHttpCodeDataNode["Value"]["RealTimeSrcCodeProportionData"];
for (auto allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData : allValueNode)
auto allValueNode = valueRealTimeSrcHttpCodeDataUsageData["Value"]["RealTimeSrcCodeProportionData"];
for (auto valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData : allValueNode)
{
UsageData::RealTimeSrcCodeProportionData valueObject;
if(!allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Code"].isNull())
valueObject.code = allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Code"].asString();
if(!allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Proportion"].isNull())
valueObject.proportion = allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Proportion"].asString();
if(!allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Count"].isNull())
valueObject.count = allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Count"].asString();
if(!valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Code"].isNull())
valueObject.code = valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Code"].asString();
if(!valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Proportion"].isNull())
valueObject.proportion = valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Proportion"].asString();
if(!valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Count"].isNull())
valueObject.count = valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Count"].asString();
realTimeSrcHttpCodeDataObject.value.push_back(valueObject);
}
realTimeSrcHttpCodeData_.push_back(realTimeSrcHttpCodeDataObject);

View File

@@ -49,14 +49,14 @@ void DescribeDcdnDomainStagingConfigResult::parse(const std::string &payload)
domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString();
if(!valueDomainConfigsDomainConfig["Status"].isNull())
domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString();
auto allFunctionArgsNode = allDomainConfigsNode["FunctionArgs"]["FunctionArg"];
for (auto allDomainConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode)
auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"];
for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode)
{
DomainConfig::FunctionArg functionArgsObject;
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull())
functionArgsObject.argName = allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].asString();
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull())
functionArgsObject.argValue = allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString();
if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].isNull())
functionArgsObject.argName = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].asString();
if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].isNull())
functionArgsObject.argValue = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].asString();
domainConfigsObject.functionArgs.push_back(functionArgsObject);
}
domainConfigs_.push_back(domainConfigsObject);

View File

@@ -27,6 +27,17 @@ DescribeDcdnDomainUvDataRequest::DescribeDcdnDomainUvDataRequest() :
DescribeDcdnDomainUvDataRequest::~DescribeDcdnDomainUvDataRequest()
{}
std::string DescribeDcdnDomainUvDataRequest::getStartTime()const
{
return startTime_;
}
void DescribeDcdnDomainUvDataRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string DescribeDcdnDomainUvDataRequest::getDomainName()const
{
return domainName_;
@@ -49,17 +60,6 @@ void DescribeDcdnDomainUvDataRequest::setEndTime(const std::string& endTime)
setParameter("EndTime", endTime);
}
std::string DescribeDcdnDomainUvDataRequest::getStartTime()const
{
return startTime_;
}
void DescribeDcdnDomainUvDataRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
long DescribeDcdnDomainUvDataRequest::getOwnerId()const
{
return ownerId_;
@@ -71,14 +71,3 @@ void DescribeDcdnDomainUvDataRequest::setOwnerId(long ownerId)
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeDcdnDomainUvDataRequest::getSecurityToken()const
{
return securityToken_;
}
void DescribeDcdnDomainUvDataRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}

View File

@@ -43,20 +43,20 @@ void DescribeDcdnDomainUvDataResult::parse(const std::string &payload)
for (auto valueUvDataIntervalUsageData : allUvDataIntervalNode)
{
UsageData uvDataIntervalObject;
if(!valueUvDataIntervalUsageData["TimeStamp"].isNull())
uvDataIntervalObject.timeStamp = valueUvDataIntervalUsageData["TimeStamp"].asString();
if(!valueUvDataIntervalUsageData["Value"].isNull())
uvDataIntervalObject.value = valueUvDataIntervalUsageData["Value"].asString();
if(!valueUvDataIntervalUsageData["TimeStamp"].isNull())
uvDataIntervalObject.timeStamp = valueUvDataIntervalUsageData["TimeStamp"].asString();
uvDataInterval_.push_back(uvDataIntervalObject);
}
if(!value["DomainName"].isNull())
domainName_ = value["DomainName"].asString();
if(!value["DataInterval"].isNull())
dataInterval_ = value["DataInterval"].asString();
if(!value["StartTime"].isNull())
startTime_ = value["StartTime"].asString();
if(!value["EndTime"].isNull())
endTime_ = value["EndTime"].asString();
if(!value["DataInterval"].isNull())
dataInterval_ = value["DataInterval"].asString();
}
@@ -75,13 +75,13 @@ std::string DescribeDcdnDomainUvDataResult::getDomainName()const
return domainName_;
}
std::string DescribeDcdnDomainUvDataResult::getDataInterval()const
{
return dataInterval_;
}
std::string DescribeDcdnDomainUvDataResult::getStartTime()const
{
return startTime_;
}
std::string DescribeDcdnDomainUvDataResult::getDataInterval()const
{
return dataInterval_;
}

View File

@@ -45,16 +45,16 @@ void DescribeDcdnDomainWebsocketHttpCodeDataResult::parse(const std::string &pay
DataModule dataPerIntervalObject;
if(!valueDataPerIntervalDataModule["TimeStamp"].isNull())
dataPerIntervalObject.timeStamp = valueDataPerIntervalDataModule["TimeStamp"].asString();
auto allWebsocketHttpCodeDataPerIntervalNode = allDataPerIntervalNode["WebsocketHttpCodeDataPerInterval"]["HttpCodeDataModule"];
for (auto allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule : allWebsocketHttpCodeDataPerIntervalNode)
auto allWebsocketHttpCodeDataPerIntervalNode = valueDataPerIntervalDataModule["WebsocketHttpCodeDataPerInterval"]["HttpCodeDataModule"];
for (auto valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule : allWebsocketHttpCodeDataPerIntervalNode)
{
DataModule::HttpCodeDataModule websocketHttpCodeDataPerIntervalObject;
if(!allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Code"].isNull())
websocketHttpCodeDataPerIntervalObject.code = std::stoi(allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Code"].asString());
if(!allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].isNull())
websocketHttpCodeDataPerIntervalObject.proportion = std::stof(allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].asString());
if(!allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Count"].isNull())
websocketHttpCodeDataPerIntervalObject.count = std::stof(allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Count"].asString());
if(!valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Code"].isNull())
websocketHttpCodeDataPerIntervalObject.code = std::stoi(valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Code"].asString());
if(!valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].isNull())
websocketHttpCodeDataPerIntervalObject.proportion = std::stof(valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].asString());
if(!valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Count"].isNull())
websocketHttpCodeDataPerIntervalObject.count = std::stof(valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Count"].asString());
dataPerIntervalObject.websocketHttpCodeDataPerInterval.push_back(websocketHttpCodeDataPerIntervalObject);
}
dataPerInterval_.push_back(dataPerIntervalObject);

View File

@@ -49,14 +49,14 @@ void DescribeDcdnIpaDomainConfigsResult::parse(const std::string &payload)
domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString();
if(!valueDomainConfigsDomainConfig["Status"].isNull())
domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString();
auto allFunctionArgsNode = allDomainConfigsNode["FunctionArgs"]["FunctionArg"];
for (auto allDomainConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode)
auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"];
for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode)
{
DomainConfig::FunctionArg functionArgsObject;
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull())
functionArgsObject.argName = allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].asString();
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull())
functionArgsObject.argValue = allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString();
if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].isNull())
functionArgsObject.argName = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].asString();
if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].isNull())
functionArgsObject.argValue = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].asString();
domainConfigsObject.functionArgs.push_back(functionArgsObject);
}
domainConfigs_.push_back(domainConfigsObject);

View File

@@ -61,20 +61,20 @@ void DescribeDcdnIpaUserDomainsResult::parse(const std::string &payload)
domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString();
if(!valueDomainsPageData["Sandbox"].isNull())
domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString();
auto allSourcesNode = allDomainsNode["Sources"]["Source"];
for (auto allDomainsNodeSourcesSource : allSourcesNode)
auto allSourcesNode = valueDomainsPageData["Sources"]["Source"];
for (auto valueDomainsPageDataSourcesSource : allSourcesNode)
{
PageData::Source sourcesObject;
if(!allDomainsNodeSourcesSource["Type"].isNull())
sourcesObject.type = allDomainsNodeSourcesSource["Type"].asString();
if(!allDomainsNodeSourcesSource["Content"].isNull())
sourcesObject.content = allDomainsNodeSourcesSource["Content"].asString();
if(!allDomainsNodeSourcesSource["Port"].isNull())
sourcesObject.port = std::stoi(allDomainsNodeSourcesSource["Port"].asString());
if(!allDomainsNodeSourcesSource["Priority"].isNull())
sourcesObject.priority = allDomainsNodeSourcesSource["Priority"].asString();
if(!allDomainsNodeSourcesSource["Weight"].isNull())
sourcesObject.weight = allDomainsNodeSourcesSource["Weight"].asString();
if(!valueDomainsPageDataSourcesSource["Type"].isNull())
sourcesObject.type = valueDomainsPageDataSourcesSource["Type"].asString();
if(!valueDomainsPageDataSourcesSource["Content"].isNull())
sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString();
if(!valueDomainsPageDataSourcesSource["Port"].isNull())
sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString());
if(!valueDomainsPageDataSourcesSource["Priority"].isNull())
sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString();
if(!valueDomainsPageDataSourcesSource["Weight"].isNull())
sourcesObject.weight = valueDomainsPageDataSourcesSource["Weight"].asString();
domainsObject.sources.push_back(sourcesObject);
}
domains_.push_back(domainsObject);

View File

@@ -45,14 +45,14 @@ void DescribeDcdnTagResourcesResult::parse(const std::string &payload)
TagResource tagResourcesObject;
if(!valueTagResourcesTagResource["ResourceId"].isNull())
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
auto allTagNode = allTagResourcesNode["Tag"]["TagItem"];
for (auto allTagResourcesNodeTagTagItem : allTagNode)
auto allTagNode = valueTagResourcesTagResource["Tag"]["TagItem"];
for (auto valueTagResourcesTagResourceTagTagItem : allTagNode)
{
TagResource::TagItem tagObject;
if(!allTagResourcesNodeTagTagItem["Key"].isNull())
tagObject.key = allTagResourcesNodeTagTagItem["Key"].asString();
if(!allTagResourcesNodeTagTagItem["Value"].isNull())
tagObject.value = allTagResourcesNodeTagTagItem["Value"].asString();
if(!valueTagResourcesTagResourceTagTagItem["Key"].isNull())
tagObject.key = valueTagResourcesTagResourceTagTagItem["Key"].asString();
if(!valueTagResourcesTagResourceTagTagItem["Value"].isNull())
tagObject.value = valueTagResourcesTagResourceTagTagItem["Value"].asString();
tagResourcesObject.tag.push_back(tagObject);
}
tagResources_.push_back(tagResourcesObject);

View File

@@ -49,20 +49,20 @@ void DescribeDcdnUserBillHistoryResult::parse(const std::string &payload)
billHistoryDataObject.billType = valueBillHistoryDataBillHistoryDataItem["BillType"].asString();
if(!valueBillHistoryDataBillHistoryDataItem["BillTime"].isNull())
billHistoryDataObject.billTime = valueBillHistoryDataBillHistoryDataItem["BillTime"].asString();
auto allBillingDataNode = allBillHistoryDataNode["BillingData"]["BillingDataItem"];
for (auto allBillHistoryDataNodeBillingDataBillingDataItem : allBillingDataNode)
auto allBillingDataNode = valueBillHistoryDataBillHistoryDataItem["BillingData"]["BillingDataItem"];
for (auto valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem : allBillingDataNode)
{
BillHistoryDataItem::BillingDataItem billingDataObject;
if(!allBillHistoryDataNodeBillingDataBillingDataItem["ChargeType"].isNull())
billingDataObject.chargeType = allBillHistoryDataNodeBillingDataBillingDataItem["ChargeType"].asString();
if(!allBillHistoryDataNodeBillingDataBillingDataItem["CdnRegion"].isNull())
billingDataObject.cdnRegion = allBillHistoryDataNodeBillingDataBillingDataItem["CdnRegion"].asString();
if(!allBillHistoryDataNodeBillingDataBillingDataItem["Bandwidth"].isNull())
billingDataObject.bandwidth = std::stof(allBillHistoryDataNodeBillingDataBillingDataItem["Bandwidth"].asString());
if(!allBillHistoryDataNodeBillingDataBillingDataItem["Flow"].isNull())
billingDataObject.flow = std::stof(allBillHistoryDataNodeBillingDataBillingDataItem["Flow"].asString());
if(!allBillHistoryDataNodeBillingDataBillingDataItem["Count"].isNull())
billingDataObject.count = std::stof(allBillHistoryDataNodeBillingDataBillingDataItem["Count"].asString());
if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["ChargeType"].isNull())
billingDataObject.chargeType = valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["ChargeType"].asString();
if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["CdnRegion"].isNull())
billingDataObject.cdnRegion = valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["CdnRegion"].asString();
if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Bandwidth"].isNull())
billingDataObject.bandwidth = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Bandwidth"].asString());
if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Flow"].isNull())
billingDataObject.flow = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Flow"].asString());
if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Count"].isNull())
billingDataObject.count = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Count"].asString());
billHistoryDataObject.billingData.push_back(billingDataObject);
}
billHistoryData_.push_back(billHistoryDataObject);

View File

@@ -93,6 +93,22 @@ void DescribeDcdnUserDomainsRequest::setPageSize(int pageSize)
setParameter("PageSize", std::to_string(pageSize));
}
std::vector<DescribeDcdnUserDomainsRequest::Tag> DescribeDcdnUserDomainsRequest::getTag()const
{
return tag_;
}
void DescribeDcdnUserDomainsRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}
std::string DescribeDcdnUserDomainsRequest::getFuncFilter()const
{
return funcFilter_;

View File

@@ -61,20 +61,20 @@ void DescribeDcdnUserDomainsResult::parse(const std::string &payload)
domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString();
if(!valueDomainsPageData["Sandbox"].isNull())
domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString();
auto allSourcesNode = allDomainsNode["Sources"]["Source"];
for (auto allDomainsNodeSourcesSource : allSourcesNode)
auto allSourcesNode = valueDomainsPageData["Sources"]["Source"];
for (auto valueDomainsPageDataSourcesSource : allSourcesNode)
{
PageData::Source sourcesObject;
if(!allDomainsNodeSourcesSource["Type"].isNull())
sourcesObject.type = allDomainsNodeSourcesSource["Type"].asString();
if(!allDomainsNodeSourcesSource["Content"].isNull())
sourcesObject.content = allDomainsNodeSourcesSource["Content"].asString();
if(!allDomainsNodeSourcesSource["Port"].isNull())
sourcesObject.port = std::stoi(allDomainsNodeSourcesSource["Port"].asString());
if(!allDomainsNodeSourcesSource["Priority"].isNull())
sourcesObject.priority = allDomainsNodeSourcesSource["Priority"].asString();
if(!allDomainsNodeSourcesSource["Weight"].isNull())
sourcesObject.weight = allDomainsNodeSourcesSource["Weight"].asString();
if(!valueDomainsPageDataSourcesSource["Type"].isNull())
sourcesObject.type = valueDomainsPageDataSourcesSource["Type"].asString();
if(!valueDomainsPageDataSourcesSource["Content"].isNull())
sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString();
if(!valueDomainsPageDataSourcesSource["Port"].isNull())
sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString());
if(!valueDomainsPageDataSourcesSource["Priority"].isNull())
sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString();
if(!valueDomainsPageDataSourcesSource["Weight"].isNull())
sourcesObject.weight = valueDomainsPageDataSourcesSource["Weight"].asString();
domainsObject.sources.push_back(sourcesObject);
}
domains_.push_back(domainsObject);

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnWafDomainRequest;
DescribeDcdnWafDomainRequest::DescribeDcdnWafDomainRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafDomain")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnWafDomainRequest::~DescribeDcdnWafDomainRequest()
{}
std::string DescribeDcdnWafDomainRequest::getRegionId()const
{
return regionId_;
}
void DescribeDcdnWafDomainRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DescribeDcdnWafDomainRequest::getDomainName()const
{
return domainName_;
}
void DescribeDcdnWafDomainRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long DescribeDcdnWafDomainRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnWafDomainRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -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.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnWafDomainResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnWafDomainResult::DescribeDcdnWafDomainResult() :
ServiceResult()
{}
DescribeDcdnWafDomainResult::DescribeDcdnWafDomainResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnWafDomainResult::~DescribeDcdnWafDomainResult()
{}
void DescribeDcdnWafDomainResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allOutPutDomainsNode = value["OutPutDomains"]["OutPutDomain"];
for (auto valueOutPutDomainsOutPutDomain : allOutPutDomainsNode)
{
OutPutDomain outPutDomainsObject;
if(!valueOutPutDomainsOutPutDomain["Status"].isNull())
outPutDomainsObject.status = std::stoi(valueOutPutDomainsOutPutDomain["Status"].asString());
if(!valueOutPutDomainsOutPutDomain["Domain"].isNull())
outPutDomainsObject.domain = valueOutPutDomainsOutPutDomain["Domain"].asString();
if(!valueOutPutDomainsOutPutDomain["WafStatus"].isNull())
outPutDomainsObject.wafStatus = std::stoi(valueOutPutDomainsOutPutDomain["WafStatus"].asString());
if(!valueOutPutDomainsOutPutDomain["CcStatus"].isNull())
outPutDomainsObject.ccStatus = std::stoi(valueOutPutDomainsOutPutDomain["CcStatus"].asString());
if(!valueOutPutDomainsOutPutDomain["AclStatus"].isNull())
outPutDomainsObject.aclStatus = std::stoi(valueOutPutDomainsOutPutDomain["AclStatus"].asString());
outPutDomains_.push_back(outPutDomainsObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
}
int DescribeDcdnWafDomainResult::getTotalCount()const
{
return totalCount_;
}
std::vector<DescribeDcdnWafDomainResult::OutPutDomain> DescribeDcdnWafDomainResult::getOutPutDomains()const
{
return outPutDomains_;
}

278
dts/CMakeLists.txt Normal file
View File

@@ -0,0 +1,278 @@
#
# 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.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(dts_public_header
include/alibabacloud/dts/DtsClient.h
include/alibabacloud/dts/DtsExport.h )
set(dts_public_header_model
include/alibabacloud/dts/model/ConfigureMigrationJobRequest.h
include/alibabacloud/dts/model/ConfigureMigrationJobResult.h
include/alibabacloud/dts/model/ConfigureMigrationJobAlertRequest.h
include/alibabacloud/dts/model/ConfigureMigrationJobAlertResult.h
include/alibabacloud/dts/model/ConfigureSubscriptionInstanceRequest.h
include/alibabacloud/dts/model/ConfigureSubscriptionInstanceResult.h
include/alibabacloud/dts/model/ConfigureSubscriptionInstanceAlertRequest.h
include/alibabacloud/dts/model/ConfigureSubscriptionInstanceAlertResult.h
include/alibabacloud/dts/model/ConfigureSynchronizationJobRequest.h
include/alibabacloud/dts/model/ConfigureSynchronizationJobResult.h
include/alibabacloud/dts/model/ConfigureSynchronizationJobAlertRequest.h
include/alibabacloud/dts/model/ConfigureSynchronizationJobAlertResult.h
include/alibabacloud/dts/model/ConfigureSynchronizationJobReplicatorCompareRequest.h
include/alibabacloud/dts/model/ConfigureSynchronizationJobReplicatorCompareResult.h
include/alibabacloud/dts/model/CreateConsumerGroupRequest.h
include/alibabacloud/dts/model/CreateConsumerGroupResult.h
include/alibabacloud/dts/model/CreateMigrationJobRequest.h
include/alibabacloud/dts/model/CreateMigrationJobResult.h
include/alibabacloud/dts/model/CreateSubscriptionInstanceRequest.h
include/alibabacloud/dts/model/CreateSubscriptionInstanceResult.h
include/alibabacloud/dts/model/CreateSynchronizationJobRequest.h
include/alibabacloud/dts/model/CreateSynchronizationJobResult.h
include/alibabacloud/dts/model/DeleteConsumerGroupRequest.h
include/alibabacloud/dts/model/DeleteConsumerGroupResult.h
include/alibabacloud/dts/model/DeleteMigrationJobRequest.h
include/alibabacloud/dts/model/DeleteMigrationJobResult.h
include/alibabacloud/dts/model/DeleteSubscriptionInstanceRequest.h
include/alibabacloud/dts/model/DeleteSubscriptionInstanceResult.h
include/alibabacloud/dts/model/DeleteSynchronizationJobRequest.h
include/alibabacloud/dts/model/DeleteSynchronizationJobResult.h
include/alibabacloud/dts/model/DescribeConsumerGroupRequest.h
include/alibabacloud/dts/model/DescribeConsumerGroupResult.h
include/alibabacloud/dts/model/DescribeEndpointSwitchStatusRequest.h
include/alibabacloud/dts/model/DescribeEndpointSwitchStatusResult.h
include/alibabacloud/dts/model/DescribeInitializationStatusRequest.h
include/alibabacloud/dts/model/DescribeInitializationStatusResult.h
include/alibabacloud/dts/model/DescribeMigrationJobAlertRequest.h
include/alibabacloud/dts/model/DescribeMigrationJobAlertResult.h
include/alibabacloud/dts/model/DescribeMigrationJobDetailRequest.h
include/alibabacloud/dts/model/DescribeMigrationJobDetailResult.h
include/alibabacloud/dts/model/DescribeMigrationJobStatusRequest.h
include/alibabacloud/dts/model/DescribeMigrationJobStatusResult.h
include/alibabacloud/dts/model/DescribeMigrationJobsRequest.h
include/alibabacloud/dts/model/DescribeMigrationJobsResult.h
include/alibabacloud/dts/model/DescribeSubscriptionInstanceAlertRequest.h
include/alibabacloud/dts/model/DescribeSubscriptionInstanceAlertResult.h
include/alibabacloud/dts/model/DescribeSubscriptionInstanceStatusRequest.h
include/alibabacloud/dts/model/DescribeSubscriptionInstanceStatusResult.h
include/alibabacloud/dts/model/DescribeSubscriptionInstancesRequest.h
include/alibabacloud/dts/model/DescribeSubscriptionInstancesResult.h
include/alibabacloud/dts/model/DescribeSubscriptionObjectModifyStatusRequest.h
include/alibabacloud/dts/model/DescribeSubscriptionObjectModifyStatusResult.h
include/alibabacloud/dts/model/DescribeSynchronizationJobAlertRequest.h
include/alibabacloud/dts/model/DescribeSynchronizationJobAlertResult.h
include/alibabacloud/dts/model/DescribeSynchronizationJobReplicatorCompareRequest.h
include/alibabacloud/dts/model/DescribeSynchronizationJobReplicatorCompareResult.h
include/alibabacloud/dts/model/DescribeSynchronizationJobStatusRequest.h
include/alibabacloud/dts/model/DescribeSynchronizationJobStatusResult.h
include/alibabacloud/dts/model/DescribeSynchronizationJobStatusListRequest.h
include/alibabacloud/dts/model/DescribeSynchronizationJobStatusListResult.h
include/alibabacloud/dts/model/DescribeSynchronizationJobsRequest.h
include/alibabacloud/dts/model/DescribeSynchronizationJobsResult.h
include/alibabacloud/dts/model/DescribeSynchronizationObjectModifyStatusRequest.h
include/alibabacloud/dts/model/DescribeSynchronizationObjectModifyStatusResult.h
include/alibabacloud/dts/model/ListTagResourcesRequest.h
include/alibabacloud/dts/model/ListTagResourcesResult.h
include/alibabacloud/dts/model/ModifyConsumerGroupPasswordRequest.h
include/alibabacloud/dts/model/ModifyConsumerGroupPasswordResult.h
include/alibabacloud/dts/model/ModifyConsumptionTimestampRequest.h
include/alibabacloud/dts/model/ModifyConsumptionTimestampResult.h
include/alibabacloud/dts/model/ModifyMigrationObjectRequest.h
include/alibabacloud/dts/model/ModifyMigrationObjectResult.h
include/alibabacloud/dts/model/ModifySubscriptionObjectRequest.h
include/alibabacloud/dts/model/ModifySubscriptionObjectResult.h
include/alibabacloud/dts/model/ModifySynchronizationObjectRequest.h
include/alibabacloud/dts/model/ModifySynchronizationObjectResult.h
include/alibabacloud/dts/model/ResetSynchronizationJobRequest.h
include/alibabacloud/dts/model/ResetSynchronizationJobResult.h
include/alibabacloud/dts/model/ShieldPrecheckRequest.h
include/alibabacloud/dts/model/ShieldPrecheckResult.h
include/alibabacloud/dts/model/StartMigrationJobRequest.h
include/alibabacloud/dts/model/StartMigrationJobResult.h
include/alibabacloud/dts/model/StartSubscriptionInstanceRequest.h
include/alibabacloud/dts/model/StartSubscriptionInstanceResult.h
include/alibabacloud/dts/model/StartSynchronizationJobRequest.h
include/alibabacloud/dts/model/StartSynchronizationJobResult.h
include/alibabacloud/dts/model/StopMigrationJobRequest.h
include/alibabacloud/dts/model/StopMigrationJobResult.h
include/alibabacloud/dts/model/SuspendMigrationJobRequest.h
include/alibabacloud/dts/model/SuspendMigrationJobResult.h
include/alibabacloud/dts/model/SuspendSynchronizationJobRequest.h
include/alibabacloud/dts/model/SuspendSynchronizationJobResult.h
include/alibabacloud/dts/model/SwitchSynchronizationEndpointRequest.h
include/alibabacloud/dts/model/SwitchSynchronizationEndpointResult.h
include/alibabacloud/dts/model/TagResourcesRequest.h
include/alibabacloud/dts/model/TagResourcesResult.h
include/alibabacloud/dts/model/UntagResourcesRequest.h
include/alibabacloud/dts/model/UntagResourcesResult.h )
set(dts_src
src/DtsClient.cc
src/model/ConfigureMigrationJobRequest.cc
src/model/ConfigureMigrationJobResult.cc
src/model/ConfigureMigrationJobAlertRequest.cc
src/model/ConfigureMigrationJobAlertResult.cc
src/model/ConfigureSubscriptionInstanceRequest.cc
src/model/ConfigureSubscriptionInstanceResult.cc
src/model/ConfigureSubscriptionInstanceAlertRequest.cc
src/model/ConfigureSubscriptionInstanceAlertResult.cc
src/model/ConfigureSynchronizationJobRequest.cc
src/model/ConfigureSynchronizationJobResult.cc
src/model/ConfigureSynchronizationJobAlertRequest.cc
src/model/ConfigureSynchronizationJobAlertResult.cc
src/model/ConfigureSynchronizationJobReplicatorCompareRequest.cc
src/model/ConfigureSynchronizationJobReplicatorCompareResult.cc
src/model/CreateConsumerGroupRequest.cc
src/model/CreateConsumerGroupResult.cc
src/model/CreateMigrationJobRequest.cc
src/model/CreateMigrationJobResult.cc
src/model/CreateSubscriptionInstanceRequest.cc
src/model/CreateSubscriptionInstanceResult.cc
src/model/CreateSynchronizationJobRequest.cc
src/model/CreateSynchronizationJobResult.cc
src/model/DeleteConsumerGroupRequest.cc
src/model/DeleteConsumerGroupResult.cc
src/model/DeleteMigrationJobRequest.cc
src/model/DeleteMigrationJobResult.cc
src/model/DeleteSubscriptionInstanceRequest.cc
src/model/DeleteSubscriptionInstanceResult.cc
src/model/DeleteSynchronizationJobRequest.cc
src/model/DeleteSynchronizationJobResult.cc
src/model/DescribeConsumerGroupRequest.cc
src/model/DescribeConsumerGroupResult.cc
src/model/DescribeEndpointSwitchStatusRequest.cc
src/model/DescribeEndpointSwitchStatusResult.cc
src/model/DescribeInitializationStatusRequest.cc
src/model/DescribeInitializationStatusResult.cc
src/model/DescribeMigrationJobAlertRequest.cc
src/model/DescribeMigrationJobAlertResult.cc
src/model/DescribeMigrationJobDetailRequest.cc
src/model/DescribeMigrationJobDetailResult.cc
src/model/DescribeMigrationJobStatusRequest.cc
src/model/DescribeMigrationJobStatusResult.cc
src/model/DescribeMigrationJobsRequest.cc
src/model/DescribeMigrationJobsResult.cc
src/model/DescribeSubscriptionInstanceAlertRequest.cc
src/model/DescribeSubscriptionInstanceAlertResult.cc
src/model/DescribeSubscriptionInstanceStatusRequest.cc
src/model/DescribeSubscriptionInstanceStatusResult.cc
src/model/DescribeSubscriptionInstancesRequest.cc
src/model/DescribeSubscriptionInstancesResult.cc
src/model/DescribeSubscriptionObjectModifyStatusRequest.cc
src/model/DescribeSubscriptionObjectModifyStatusResult.cc
src/model/DescribeSynchronizationJobAlertRequest.cc
src/model/DescribeSynchronizationJobAlertResult.cc
src/model/DescribeSynchronizationJobReplicatorCompareRequest.cc
src/model/DescribeSynchronizationJobReplicatorCompareResult.cc
src/model/DescribeSynchronizationJobStatusRequest.cc
src/model/DescribeSynchronizationJobStatusResult.cc
src/model/DescribeSynchronizationJobStatusListRequest.cc
src/model/DescribeSynchronizationJobStatusListResult.cc
src/model/DescribeSynchronizationJobsRequest.cc
src/model/DescribeSynchronizationJobsResult.cc
src/model/DescribeSynchronizationObjectModifyStatusRequest.cc
src/model/DescribeSynchronizationObjectModifyStatusResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ModifyConsumerGroupPasswordRequest.cc
src/model/ModifyConsumerGroupPasswordResult.cc
src/model/ModifyConsumptionTimestampRequest.cc
src/model/ModifyConsumptionTimestampResult.cc
src/model/ModifyMigrationObjectRequest.cc
src/model/ModifyMigrationObjectResult.cc
src/model/ModifySubscriptionObjectRequest.cc
src/model/ModifySubscriptionObjectResult.cc
src/model/ModifySynchronizationObjectRequest.cc
src/model/ModifySynchronizationObjectResult.cc
src/model/ResetSynchronizationJobRequest.cc
src/model/ResetSynchronizationJobResult.cc
src/model/ShieldPrecheckRequest.cc
src/model/ShieldPrecheckResult.cc
src/model/StartMigrationJobRequest.cc
src/model/StartMigrationJobResult.cc
src/model/StartSubscriptionInstanceRequest.cc
src/model/StartSubscriptionInstanceResult.cc
src/model/StartSynchronizationJobRequest.cc
src/model/StartSynchronizationJobResult.cc
src/model/StopMigrationJobRequest.cc
src/model/StopMigrationJobResult.cc
src/model/SuspendMigrationJobRequest.cc
src/model/SuspendMigrationJobResult.cc
src/model/SuspendSynchronizationJobRequest.cc
src/model/SuspendSynchronizationJobResult.cc
src/model/SwitchSynchronizationEndpointRequest.cc
src/model/SwitchSynchronizationEndpointResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc )
add_library(dts ${LIB_TYPE}
${dts_public_header}
${dts_public_header_model}
${dts_src})
set_target_properties(dts
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}dts
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(dts
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_DTS_LIBRARY)
endif()
target_include_directories(dts
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(dts
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(dts
jsoncpp)
target_include_directories(dts
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(dts
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(dts
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(dts
PRIVATE /usr/include/jsoncpp)
target_link_libraries(dts
jsoncpp)
endif()
install(FILES ${dts_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dts)
install(FILES ${dts_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dts/model)
install(TARGETS dts
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,438 @@
/*
* 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_DTSCLIENT_H_
#define ALIBABACLOUD_DTS_DTSCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "DtsExport.h"
#include "model/ConfigureMigrationJobRequest.h"
#include "model/ConfigureMigrationJobResult.h"
#include "model/ConfigureMigrationJobAlertRequest.h"
#include "model/ConfigureMigrationJobAlertResult.h"
#include "model/ConfigureSubscriptionInstanceRequest.h"
#include "model/ConfigureSubscriptionInstanceResult.h"
#include "model/ConfigureSubscriptionInstanceAlertRequest.h"
#include "model/ConfigureSubscriptionInstanceAlertResult.h"
#include "model/ConfigureSynchronizationJobRequest.h"
#include "model/ConfigureSynchronizationJobResult.h"
#include "model/ConfigureSynchronizationJobAlertRequest.h"
#include "model/ConfigureSynchronizationJobAlertResult.h"
#include "model/ConfigureSynchronizationJobReplicatorCompareRequest.h"
#include "model/ConfigureSynchronizationJobReplicatorCompareResult.h"
#include "model/CreateConsumerGroupRequest.h"
#include "model/CreateConsumerGroupResult.h"
#include "model/CreateMigrationJobRequest.h"
#include "model/CreateMigrationJobResult.h"
#include "model/CreateSubscriptionInstanceRequest.h"
#include "model/CreateSubscriptionInstanceResult.h"
#include "model/CreateSynchronizationJobRequest.h"
#include "model/CreateSynchronizationJobResult.h"
#include "model/DeleteConsumerGroupRequest.h"
#include "model/DeleteConsumerGroupResult.h"
#include "model/DeleteMigrationJobRequest.h"
#include "model/DeleteMigrationJobResult.h"
#include "model/DeleteSubscriptionInstanceRequest.h"
#include "model/DeleteSubscriptionInstanceResult.h"
#include "model/DeleteSynchronizationJobRequest.h"
#include "model/DeleteSynchronizationJobResult.h"
#include "model/DescribeConsumerGroupRequest.h"
#include "model/DescribeConsumerGroupResult.h"
#include "model/DescribeEndpointSwitchStatusRequest.h"
#include "model/DescribeEndpointSwitchStatusResult.h"
#include "model/DescribeInitializationStatusRequest.h"
#include "model/DescribeInitializationStatusResult.h"
#include "model/DescribeMigrationJobAlertRequest.h"
#include "model/DescribeMigrationJobAlertResult.h"
#include "model/DescribeMigrationJobDetailRequest.h"
#include "model/DescribeMigrationJobDetailResult.h"
#include "model/DescribeMigrationJobStatusRequest.h"
#include "model/DescribeMigrationJobStatusResult.h"
#include "model/DescribeMigrationJobsRequest.h"
#include "model/DescribeMigrationJobsResult.h"
#include "model/DescribeSubscriptionInstanceAlertRequest.h"
#include "model/DescribeSubscriptionInstanceAlertResult.h"
#include "model/DescribeSubscriptionInstanceStatusRequest.h"
#include "model/DescribeSubscriptionInstanceStatusResult.h"
#include "model/DescribeSubscriptionInstancesRequest.h"
#include "model/DescribeSubscriptionInstancesResult.h"
#include "model/DescribeSubscriptionObjectModifyStatusRequest.h"
#include "model/DescribeSubscriptionObjectModifyStatusResult.h"
#include "model/DescribeSynchronizationJobAlertRequest.h"
#include "model/DescribeSynchronizationJobAlertResult.h"
#include "model/DescribeSynchronizationJobReplicatorCompareRequest.h"
#include "model/DescribeSynchronizationJobReplicatorCompareResult.h"
#include "model/DescribeSynchronizationJobStatusRequest.h"
#include "model/DescribeSynchronizationJobStatusResult.h"
#include "model/DescribeSynchronizationJobStatusListRequest.h"
#include "model/DescribeSynchronizationJobStatusListResult.h"
#include "model/DescribeSynchronizationJobsRequest.h"
#include "model/DescribeSynchronizationJobsResult.h"
#include "model/DescribeSynchronizationObjectModifyStatusRequest.h"
#include "model/DescribeSynchronizationObjectModifyStatusResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ModifyConsumerGroupPasswordRequest.h"
#include "model/ModifyConsumerGroupPasswordResult.h"
#include "model/ModifyConsumptionTimestampRequest.h"
#include "model/ModifyConsumptionTimestampResult.h"
#include "model/ModifyMigrationObjectRequest.h"
#include "model/ModifyMigrationObjectResult.h"
#include "model/ModifySubscriptionObjectRequest.h"
#include "model/ModifySubscriptionObjectResult.h"
#include "model/ModifySynchronizationObjectRequest.h"
#include "model/ModifySynchronizationObjectResult.h"
#include "model/ResetSynchronizationJobRequest.h"
#include "model/ResetSynchronizationJobResult.h"
#include "model/ShieldPrecheckRequest.h"
#include "model/ShieldPrecheckResult.h"
#include "model/StartMigrationJobRequest.h"
#include "model/StartMigrationJobResult.h"
#include "model/StartSubscriptionInstanceRequest.h"
#include "model/StartSubscriptionInstanceResult.h"
#include "model/StartSynchronizationJobRequest.h"
#include "model/StartSynchronizationJobResult.h"
#include "model/StopMigrationJobRequest.h"
#include "model/StopMigrationJobResult.h"
#include "model/SuspendMigrationJobRequest.h"
#include "model/SuspendMigrationJobResult.h"
#include "model/SuspendSynchronizationJobRequest.h"
#include "model/SuspendSynchronizationJobResult.h"
#include "model/SwitchSynchronizationEndpointRequest.h"
#include "model/SwitchSynchronizationEndpointResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
namespace AlibabaCloud
{
namespace Dts
{
class ALIBABACLOUD_DTS_EXPORT DtsClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::ConfigureMigrationJobResult> ConfigureMigrationJobOutcome;
typedef std::future<ConfigureMigrationJobOutcome> ConfigureMigrationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ConfigureMigrationJobRequest&, const ConfigureMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureMigrationJobAsyncHandler;
typedef Outcome<Error, Model::ConfigureMigrationJobAlertResult> ConfigureMigrationJobAlertOutcome;
typedef std::future<ConfigureMigrationJobAlertOutcome> ConfigureMigrationJobAlertOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ConfigureMigrationJobAlertRequest&, const ConfigureMigrationJobAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureMigrationJobAlertAsyncHandler;
typedef Outcome<Error, Model::ConfigureSubscriptionInstanceResult> ConfigureSubscriptionInstanceOutcome;
typedef std::future<ConfigureSubscriptionInstanceOutcome> ConfigureSubscriptionInstanceOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ConfigureSubscriptionInstanceRequest&, const ConfigureSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSubscriptionInstanceAsyncHandler;
typedef Outcome<Error, Model::ConfigureSubscriptionInstanceAlertResult> ConfigureSubscriptionInstanceAlertOutcome;
typedef std::future<ConfigureSubscriptionInstanceAlertOutcome> ConfigureSubscriptionInstanceAlertOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ConfigureSubscriptionInstanceAlertRequest&, const ConfigureSubscriptionInstanceAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSubscriptionInstanceAlertAsyncHandler;
typedef Outcome<Error, Model::ConfigureSynchronizationJobResult> ConfigureSynchronizationJobOutcome;
typedef std::future<ConfigureSynchronizationJobOutcome> ConfigureSynchronizationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ConfigureSynchronizationJobRequest&, const ConfigureSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSynchronizationJobAsyncHandler;
typedef Outcome<Error, Model::ConfigureSynchronizationJobAlertResult> ConfigureSynchronizationJobAlertOutcome;
typedef std::future<ConfigureSynchronizationJobAlertOutcome> ConfigureSynchronizationJobAlertOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ConfigureSynchronizationJobAlertRequest&, const ConfigureSynchronizationJobAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSynchronizationJobAlertAsyncHandler;
typedef Outcome<Error, Model::ConfigureSynchronizationJobReplicatorCompareResult> ConfigureSynchronizationJobReplicatorCompareOutcome;
typedef std::future<ConfigureSynchronizationJobReplicatorCompareOutcome> ConfigureSynchronizationJobReplicatorCompareOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ConfigureSynchronizationJobReplicatorCompareRequest&, const ConfigureSynchronizationJobReplicatorCompareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSynchronizationJobReplicatorCompareAsyncHandler;
typedef Outcome<Error, Model::CreateConsumerGroupResult> CreateConsumerGroupOutcome;
typedef std::future<CreateConsumerGroupOutcome> CreateConsumerGroupOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::CreateConsumerGroupRequest&, const CreateConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConsumerGroupAsyncHandler;
typedef Outcome<Error, Model::CreateMigrationJobResult> CreateMigrationJobOutcome;
typedef std::future<CreateMigrationJobOutcome> CreateMigrationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::CreateMigrationJobRequest&, const CreateMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMigrationJobAsyncHandler;
typedef Outcome<Error, Model::CreateSubscriptionInstanceResult> CreateSubscriptionInstanceOutcome;
typedef std::future<CreateSubscriptionInstanceOutcome> CreateSubscriptionInstanceOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::CreateSubscriptionInstanceRequest&, const CreateSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSubscriptionInstanceAsyncHandler;
typedef Outcome<Error, Model::CreateSynchronizationJobResult> CreateSynchronizationJobOutcome;
typedef std::future<CreateSynchronizationJobOutcome> CreateSynchronizationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::CreateSynchronizationJobRequest&, const CreateSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSynchronizationJobAsyncHandler;
typedef Outcome<Error, Model::DeleteConsumerGroupResult> DeleteConsumerGroupOutcome;
typedef std::future<DeleteConsumerGroupOutcome> DeleteConsumerGroupOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DeleteConsumerGroupRequest&, const DeleteConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConsumerGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteMigrationJobResult> DeleteMigrationJobOutcome;
typedef std::future<DeleteMigrationJobOutcome> DeleteMigrationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DeleteMigrationJobRequest&, const DeleteMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMigrationJobAsyncHandler;
typedef Outcome<Error, Model::DeleteSubscriptionInstanceResult> DeleteSubscriptionInstanceOutcome;
typedef std::future<DeleteSubscriptionInstanceOutcome> DeleteSubscriptionInstanceOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DeleteSubscriptionInstanceRequest&, const DeleteSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSubscriptionInstanceAsyncHandler;
typedef Outcome<Error, Model::DeleteSynchronizationJobResult> DeleteSynchronizationJobOutcome;
typedef std::future<DeleteSynchronizationJobOutcome> DeleteSynchronizationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DeleteSynchronizationJobRequest&, const DeleteSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSynchronizationJobAsyncHandler;
typedef Outcome<Error, Model::DescribeConsumerGroupResult> DescribeConsumerGroupOutcome;
typedef std::future<DescribeConsumerGroupOutcome> DescribeConsumerGroupOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeConsumerGroupRequest&, const DescribeConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConsumerGroupAsyncHandler;
typedef Outcome<Error, Model::DescribeEndpointSwitchStatusResult> DescribeEndpointSwitchStatusOutcome;
typedef std::future<DescribeEndpointSwitchStatusOutcome> DescribeEndpointSwitchStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeEndpointSwitchStatusRequest&, const DescribeEndpointSwitchStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEndpointSwitchStatusAsyncHandler;
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::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;
typedef Outcome<Error, Model::DescribeMigrationJobDetailResult> DescribeMigrationJobDetailOutcome;
typedef std::future<DescribeMigrationJobDetailOutcome> DescribeMigrationJobDetailOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeMigrationJobDetailRequest&, const DescribeMigrationJobDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeMigrationJobStatusResult> DescribeMigrationJobStatusOutcome;
typedef std::future<DescribeMigrationJobStatusOutcome> DescribeMigrationJobStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeMigrationJobStatusRequest&, const DescribeMigrationJobStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeMigrationJobsResult> DescribeMigrationJobsOutcome;
typedef std::future<DescribeMigrationJobsOutcome> DescribeMigrationJobsOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeMigrationJobsRequest&, const DescribeMigrationJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobsAsyncHandler;
typedef Outcome<Error, Model::DescribeSubscriptionInstanceAlertResult> DescribeSubscriptionInstanceAlertOutcome;
typedef std::future<DescribeSubscriptionInstanceAlertOutcome> DescribeSubscriptionInstanceAlertOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSubscriptionInstanceAlertRequest&, const DescribeSubscriptionInstanceAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubscriptionInstanceAlertAsyncHandler;
typedef Outcome<Error, Model::DescribeSubscriptionInstanceStatusResult> DescribeSubscriptionInstanceStatusOutcome;
typedef std::future<DescribeSubscriptionInstanceStatusOutcome> DescribeSubscriptionInstanceStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSubscriptionInstanceStatusRequest&, const DescribeSubscriptionInstanceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubscriptionInstanceStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeSubscriptionInstancesResult> DescribeSubscriptionInstancesOutcome;
typedef std::future<DescribeSubscriptionInstancesOutcome> DescribeSubscriptionInstancesOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSubscriptionInstancesRequest&, const DescribeSubscriptionInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubscriptionInstancesAsyncHandler;
typedef Outcome<Error, Model::DescribeSubscriptionObjectModifyStatusResult> DescribeSubscriptionObjectModifyStatusOutcome;
typedef std::future<DescribeSubscriptionObjectModifyStatusOutcome> DescribeSubscriptionObjectModifyStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSubscriptionObjectModifyStatusRequest&, const DescribeSubscriptionObjectModifyStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubscriptionObjectModifyStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeSynchronizationJobAlertResult> DescribeSynchronizationJobAlertOutcome;
typedef std::future<DescribeSynchronizationJobAlertOutcome> DescribeSynchronizationJobAlertOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationJobAlertRequest&, const DescribeSynchronizationJobAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationJobAlertAsyncHandler;
typedef Outcome<Error, Model::DescribeSynchronizationJobReplicatorCompareResult> DescribeSynchronizationJobReplicatorCompareOutcome;
typedef std::future<DescribeSynchronizationJobReplicatorCompareOutcome> DescribeSynchronizationJobReplicatorCompareOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationJobReplicatorCompareRequest&, const DescribeSynchronizationJobReplicatorCompareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationJobReplicatorCompareAsyncHandler;
typedef Outcome<Error, Model::DescribeSynchronizationJobStatusResult> DescribeSynchronizationJobStatusOutcome;
typedef std::future<DescribeSynchronizationJobStatusOutcome> DescribeSynchronizationJobStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationJobStatusRequest&, const DescribeSynchronizationJobStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationJobStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeSynchronizationJobStatusListResult> DescribeSynchronizationJobStatusListOutcome;
typedef std::future<DescribeSynchronizationJobStatusListOutcome> DescribeSynchronizationJobStatusListOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationJobStatusListRequest&, const DescribeSynchronizationJobStatusListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationJobStatusListAsyncHandler;
typedef Outcome<Error, Model::DescribeSynchronizationJobsResult> DescribeSynchronizationJobsOutcome;
typedef std::future<DescribeSynchronizationJobsOutcome> DescribeSynchronizationJobsOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationJobsRequest&, const DescribeSynchronizationJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationJobsAsyncHandler;
typedef Outcome<Error, Model::DescribeSynchronizationObjectModifyStatusResult> DescribeSynchronizationObjectModifyStatusOutcome;
typedef std::future<DescribeSynchronizationObjectModifyStatusOutcome> DescribeSynchronizationObjectModifyStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationObjectModifyStatusRequest&, const DescribeSynchronizationObjectModifyStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationObjectModifyStatusAsyncHandler;
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
typedef Outcome<Error, Model::ModifyConsumerGroupPasswordResult> ModifyConsumerGroupPasswordOutcome;
typedef std::future<ModifyConsumerGroupPasswordOutcome> ModifyConsumerGroupPasswordOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ModifyConsumerGroupPasswordRequest&, const ModifyConsumerGroupPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyConsumerGroupPasswordAsyncHandler;
typedef Outcome<Error, Model::ModifyConsumptionTimestampResult> ModifyConsumptionTimestampOutcome;
typedef std::future<ModifyConsumptionTimestampOutcome> ModifyConsumptionTimestampOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ModifyConsumptionTimestampRequest&, const ModifyConsumptionTimestampOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyConsumptionTimestampAsyncHandler;
typedef Outcome<Error, Model::ModifyMigrationObjectResult> ModifyMigrationObjectOutcome;
typedef std::future<ModifyMigrationObjectOutcome> ModifyMigrationObjectOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ModifyMigrationObjectRequest&, const ModifyMigrationObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMigrationObjectAsyncHandler;
typedef Outcome<Error, Model::ModifySubscriptionObjectResult> ModifySubscriptionObjectOutcome;
typedef std::future<ModifySubscriptionObjectOutcome> ModifySubscriptionObjectOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ModifySubscriptionObjectRequest&, const ModifySubscriptionObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySubscriptionObjectAsyncHandler;
typedef Outcome<Error, Model::ModifySynchronizationObjectResult> ModifySynchronizationObjectOutcome;
typedef std::future<ModifySynchronizationObjectOutcome> ModifySynchronizationObjectOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ModifySynchronizationObjectRequest&, const ModifySynchronizationObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySynchronizationObjectAsyncHandler;
typedef Outcome<Error, Model::ResetSynchronizationJobResult> ResetSynchronizationJobOutcome;
typedef std::future<ResetSynchronizationJobOutcome> ResetSynchronizationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ResetSynchronizationJobRequest&, const ResetSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetSynchronizationJobAsyncHandler;
typedef Outcome<Error, Model::ShieldPrecheckResult> ShieldPrecheckOutcome;
typedef std::future<ShieldPrecheckOutcome> ShieldPrecheckOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ShieldPrecheckRequest&, const ShieldPrecheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ShieldPrecheckAsyncHandler;
typedef Outcome<Error, Model::StartMigrationJobResult> StartMigrationJobOutcome;
typedef std::future<StartMigrationJobOutcome> StartMigrationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::StartMigrationJobRequest&, const StartMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartMigrationJobAsyncHandler;
typedef Outcome<Error, Model::StartSubscriptionInstanceResult> StartSubscriptionInstanceOutcome;
typedef std::future<StartSubscriptionInstanceOutcome> StartSubscriptionInstanceOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::StartSubscriptionInstanceRequest&, const StartSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartSubscriptionInstanceAsyncHandler;
typedef Outcome<Error, Model::StartSynchronizationJobResult> StartSynchronizationJobOutcome;
typedef std::future<StartSynchronizationJobOutcome> StartSynchronizationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::StartSynchronizationJobRequest&, const StartSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartSynchronizationJobAsyncHandler;
typedef Outcome<Error, Model::StopMigrationJobResult> StopMigrationJobOutcome;
typedef std::future<StopMigrationJobOutcome> StopMigrationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::StopMigrationJobRequest&, const StopMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMigrationJobAsyncHandler;
typedef Outcome<Error, Model::SuspendMigrationJobResult> SuspendMigrationJobOutcome;
typedef std::future<SuspendMigrationJobOutcome> SuspendMigrationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::SuspendMigrationJobRequest&, const SuspendMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendMigrationJobAsyncHandler;
typedef Outcome<Error, Model::SuspendSynchronizationJobResult> SuspendSynchronizationJobOutcome;
typedef std::future<SuspendSynchronizationJobOutcome> SuspendSynchronizationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::SuspendSynchronizationJobRequest&, const SuspendSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendSynchronizationJobAsyncHandler;
typedef Outcome<Error, Model::SwitchSynchronizationEndpointResult> SwitchSynchronizationEndpointOutcome;
typedef std::future<SwitchSynchronizationEndpointOutcome> SwitchSynchronizationEndpointOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::SwitchSynchronizationEndpointRequest&, const SwitchSynchronizationEndpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SwitchSynchronizationEndpointAsyncHandler;
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::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;
DtsClient(const Credentials &credentials, const ClientConfiguration &configuration);
DtsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
DtsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~DtsClient();
ConfigureMigrationJobOutcome configureMigrationJob(const Model::ConfigureMigrationJobRequest &request)const;
void configureMigrationJobAsync(const Model::ConfigureMigrationJobRequest& request, const ConfigureMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureMigrationJobOutcomeCallable configureMigrationJobCallable(const Model::ConfigureMigrationJobRequest& request) const;
ConfigureMigrationJobAlertOutcome configureMigrationJobAlert(const Model::ConfigureMigrationJobAlertRequest &request)const;
void configureMigrationJobAlertAsync(const Model::ConfigureMigrationJobAlertRequest& request, const ConfigureMigrationJobAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureMigrationJobAlertOutcomeCallable configureMigrationJobAlertCallable(const Model::ConfigureMigrationJobAlertRequest& request) const;
ConfigureSubscriptionInstanceOutcome configureSubscriptionInstance(const Model::ConfigureSubscriptionInstanceRequest &request)const;
void configureSubscriptionInstanceAsync(const Model::ConfigureSubscriptionInstanceRequest& request, const ConfigureSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureSubscriptionInstanceOutcomeCallable configureSubscriptionInstanceCallable(const Model::ConfigureSubscriptionInstanceRequest& request) const;
ConfigureSubscriptionInstanceAlertOutcome configureSubscriptionInstanceAlert(const Model::ConfigureSubscriptionInstanceAlertRequest &request)const;
void configureSubscriptionInstanceAlertAsync(const Model::ConfigureSubscriptionInstanceAlertRequest& request, const ConfigureSubscriptionInstanceAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureSubscriptionInstanceAlertOutcomeCallable configureSubscriptionInstanceAlertCallable(const Model::ConfigureSubscriptionInstanceAlertRequest& request) const;
ConfigureSynchronizationJobOutcome configureSynchronizationJob(const Model::ConfigureSynchronizationJobRequest &request)const;
void configureSynchronizationJobAsync(const Model::ConfigureSynchronizationJobRequest& request, const ConfigureSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureSynchronizationJobOutcomeCallable configureSynchronizationJobCallable(const Model::ConfigureSynchronizationJobRequest& request) const;
ConfigureSynchronizationJobAlertOutcome configureSynchronizationJobAlert(const Model::ConfigureSynchronizationJobAlertRequest &request)const;
void configureSynchronizationJobAlertAsync(const Model::ConfigureSynchronizationJobAlertRequest& request, const ConfigureSynchronizationJobAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureSynchronizationJobAlertOutcomeCallable configureSynchronizationJobAlertCallable(const Model::ConfigureSynchronizationJobAlertRequest& request) const;
ConfigureSynchronizationJobReplicatorCompareOutcome configureSynchronizationJobReplicatorCompare(const Model::ConfigureSynchronizationJobReplicatorCompareRequest &request)const;
void configureSynchronizationJobReplicatorCompareAsync(const Model::ConfigureSynchronizationJobReplicatorCompareRequest& request, const ConfigureSynchronizationJobReplicatorCompareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureSynchronizationJobReplicatorCompareOutcomeCallable configureSynchronizationJobReplicatorCompareCallable(const Model::ConfigureSynchronizationJobReplicatorCompareRequest& request) const;
CreateConsumerGroupOutcome createConsumerGroup(const Model::CreateConsumerGroupRequest &request)const;
void createConsumerGroupAsync(const Model::CreateConsumerGroupRequest& request, const CreateConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateConsumerGroupOutcomeCallable createConsumerGroupCallable(const Model::CreateConsumerGroupRequest& request) const;
CreateMigrationJobOutcome createMigrationJob(const Model::CreateMigrationJobRequest &request)const;
void createMigrationJobAsync(const Model::CreateMigrationJobRequest& request, const CreateMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMigrationJobOutcomeCallable createMigrationJobCallable(const Model::CreateMigrationJobRequest& request) const;
CreateSubscriptionInstanceOutcome createSubscriptionInstance(const Model::CreateSubscriptionInstanceRequest &request)const;
void createSubscriptionInstanceAsync(const Model::CreateSubscriptionInstanceRequest& request, const CreateSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSubscriptionInstanceOutcomeCallable createSubscriptionInstanceCallable(const Model::CreateSubscriptionInstanceRequest& request) const;
CreateSynchronizationJobOutcome createSynchronizationJob(const Model::CreateSynchronizationJobRequest &request)const;
void createSynchronizationJobAsync(const Model::CreateSynchronizationJobRequest& request, const CreateSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSynchronizationJobOutcomeCallable createSynchronizationJobCallable(const Model::CreateSynchronizationJobRequest& request) const;
DeleteConsumerGroupOutcome deleteConsumerGroup(const Model::DeleteConsumerGroupRequest &request)const;
void deleteConsumerGroupAsync(const Model::DeleteConsumerGroupRequest& request, const DeleteConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteConsumerGroupOutcomeCallable deleteConsumerGroupCallable(const Model::DeleteConsumerGroupRequest& request) const;
DeleteMigrationJobOutcome deleteMigrationJob(const Model::DeleteMigrationJobRequest &request)const;
void deleteMigrationJobAsync(const Model::DeleteMigrationJobRequest& request, const DeleteMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteMigrationJobOutcomeCallable deleteMigrationJobCallable(const Model::DeleteMigrationJobRequest& request) const;
DeleteSubscriptionInstanceOutcome deleteSubscriptionInstance(const Model::DeleteSubscriptionInstanceRequest &request)const;
void deleteSubscriptionInstanceAsync(const Model::DeleteSubscriptionInstanceRequest& request, const DeleteSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSubscriptionInstanceOutcomeCallable deleteSubscriptionInstanceCallable(const Model::DeleteSubscriptionInstanceRequest& request) const;
DeleteSynchronizationJobOutcome deleteSynchronizationJob(const Model::DeleteSynchronizationJobRequest &request)const;
void deleteSynchronizationJobAsync(const Model::DeleteSynchronizationJobRequest& request, const DeleteSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSynchronizationJobOutcomeCallable deleteSynchronizationJobCallable(const Model::DeleteSynchronizationJobRequest& request) const;
DescribeConsumerGroupOutcome describeConsumerGroup(const Model::DescribeConsumerGroupRequest &request)const;
void describeConsumerGroupAsync(const Model::DescribeConsumerGroupRequest& request, const DescribeConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeConsumerGroupOutcomeCallable describeConsumerGroupCallable(const Model::DescribeConsumerGroupRequest& request) const;
DescribeEndpointSwitchStatusOutcome describeEndpointSwitchStatus(const Model::DescribeEndpointSwitchStatusRequest &request)const;
void describeEndpointSwitchStatusAsync(const Model::DescribeEndpointSwitchStatusRequest& request, const DescribeEndpointSwitchStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEndpointSwitchStatusOutcomeCallable describeEndpointSwitchStatusCallable(const Model::DescribeEndpointSwitchStatusRequest& request) const;
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;
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;
DescribeMigrationJobDetailOutcome describeMigrationJobDetail(const Model::DescribeMigrationJobDetailRequest &request)const;
void describeMigrationJobDetailAsync(const Model::DescribeMigrationJobDetailRequest& request, const DescribeMigrationJobDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMigrationJobDetailOutcomeCallable describeMigrationJobDetailCallable(const Model::DescribeMigrationJobDetailRequest& request) const;
DescribeMigrationJobStatusOutcome describeMigrationJobStatus(const Model::DescribeMigrationJobStatusRequest &request)const;
void describeMigrationJobStatusAsync(const Model::DescribeMigrationJobStatusRequest& request, const DescribeMigrationJobStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMigrationJobStatusOutcomeCallable describeMigrationJobStatusCallable(const Model::DescribeMigrationJobStatusRequest& request) const;
DescribeMigrationJobsOutcome describeMigrationJobs(const Model::DescribeMigrationJobsRequest &request)const;
void describeMigrationJobsAsync(const Model::DescribeMigrationJobsRequest& request, const DescribeMigrationJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMigrationJobsOutcomeCallable describeMigrationJobsCallable(const Model::DescribeMigrationJobsRequest& request) const;
DescribeSubscriptionInstanceAlertOutcome describeSubscriptionInstanceAlert(const Model::DescribeSubscriptionInstanceAlertRequest &request)const;
void describeSubscriptionInstanceAlertAsync(const Model::DescribeSubscriptionInstanceAlertRequest& request, const DescribeSubscriptionInstanceAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSubscriptionInstanceAlertOutcomeCallable describeSubscriptionInstanceAlertCallable(const Model::DescribeSubscriptionInstanceAlertRequest& request) const;
DescribeSubscriptionInstanceStatusOutcome describeSubscriptionInstanceStatus(const Model::DescribeSubscriptionInstanceStatusRequest &request)const;
void describeSubscriptionInstanceStatusAsync(const Model::DescribeSubscriptionInstanceStatusRequest& request, const DescribeSubscriptionInstanceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSubscriptionInstanceStatusOutcomeCallable describeSubscriptionInstanceStatusCallable(const Model::DescribeSubscriptionInstanceStatusRequest& request) const;
DescribeSubscriptionInstancesOutcome describeSubscriptionInstances(const Model::DescribeSubscriptionInstancesRequest &request)const;
void describeSubscriptionInstancesAsync(const Model::DescribeSubscriptionInstancesRequest& request, const DescribeSubscriptionInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSubscriptionInstancesOutcomeCallable describeSubscriptionInstancesCallable(const Model::DescribeSubscriptionInstancesRequest& request) const;
DescribeSubscriptionObjectModifyStatusOutcome describeSubscriptionObjectModifyStatus(const Model::DescribeSubscriptionObjectModifyStatusRequest &request)const;
void describeSubscriptionObjectModifyStatusAsync(const Model::DescribeSubscriptionObjectModifyStatusRequest& request, const DescribeSubscriptionObjectModifyStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSubscriptionObjectModifyStatusOutcomeCallable describeSubscriptionObjectModifyStatusCallable(const Model::DescribeSubscriptionObjectModifyStatusRequest& request) const;
DescribeSynchronizationJobAlertOutcome describeSynchronizationJobAlert(const Model::DescribeSynchronizationJobAlertRequest &request)const;
void describeSynchronizationJobAlertAsync(const Model::DescribeSynchronizationJobAlertRequest& request, const DescribeSynchronizationJobAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSynchronizationJobAlertOutcomeCallable describeSynchronizationJobAlertCallable(const Model::DescribeSynchronizationJobAlertRequest& request) const;
DescribeSynchronizationJobReplicatorCompareOutcome describeSynchronizationJobReplicatorCompare(const Model::DescribeSynchronizationJobReplicatorCompareRequest &request)const;
void describeSynchronizationJobReplicatorCompareAsync(const Model::DescribeSynchronizationJobReplicatorCompareRequest& request, const DescribeSynchronizationJobReplicatorCompareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSynchronizationJobReplicatorCompareOutcomeCallable describeSynchronizationJobReplicatorCompareCallable(const Model::DescribeSynchronizationJobReplicatorCompareRequest& request) const;
DescribeSynchronizationJobStatusOutcome describeSynchronizationJobStatus(const Model::DescribeSynchronizationJobStatusRequest &request)const;
void describeSynchronizationJobStatusAsync(const Model::DescribeSynchronizationJobStatusRequest& request, const DescribeSynchronizationJobStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSynchronizationJobStatusOutcomeCallable describeSynchronizationJobStatusCallable(const Model::DescribeSynchronizationJobStatusRequest& request) const;
DescribeSynchronizationJobStatusListOutcome describeSynchronizationJobStatusList(const Model::DescribeSynchronizationJobStatusListRequest &request)const;
void describeSynchronizationJobStatusListAsync(const Model::DescribeSynchronizationJobStatusListRequest& request, const DescribeSynchronizationJobStatusListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSynchronizationJobStatusListOutcomeCallable describeSynchronizationJobStatusListCallable(const Model::DescribeSynchronizationJobStatusListRequest& request) const;
DescribeSynchronizationJobsOutcome describeSynchronizationJobs(const Model::DescribeSynchronizationJobsRequest &request)const;
void describeSynchronizationJobsAsync(const Model::DescribeSynchronizationJobsRequest& request, const DescribeSynchronizationJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSynchronizationJobsOutcomeCallable describeSynchronizationJobsCallable(const Model::DescribeSynchronizationJobsRequest& request) const;
DescribeSynchronizationObjectModifyStatusOutcome describeSynchronizationObjectModifyStatus(const Model::DescribeSynchronizationObjectModifyStatusRequest &request)const;
void describeSynchronizationObjectModifyStatusAsync(const Model::DescribeSynchronizationObjectModifyStatusRequest& request, const DescribeSynchronizationObjectModifyStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSynchronizationObjectModifyStatusOutcomeCallable describeSynchronizationObjectModifyStatusCallable(const Model::DescribeSynchronizationObjectModifyStatusRequest& request) const;
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
ModifyConsumerGroupPasswordOutcome modifyConsumerGroupPassword(const Model::ModifyConsumerGroupPasswordRequest &request)const;
void modifyConsumerGroupPasswordAsync(const Model::ModifyConsumerGroupPasswordRequest& request, const ModifyConsumerGroupPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyConsumerGroupPasswordOutcomeCallable modifyConsumerGroupPasswordCallable(const Model::ModifyConsumerGroupPasswordRequest& request) const;
ModifyConsumptionTimestampOutcome modifyConsumptionTimestamp(const Model::ModifyConsumptionTimestampRequest &request)const;
void modifyConsumptionTimestampAsync(const Model::ModifyConsumptionTimestampRequest& request, const ModifyConsumptionTimestampAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyConsumptionTimestampOutcomeCallable modifyConsumptionTimestampCallable(const Model::ModifyConsumptionTimestampRequest& request) const;
ModifyMigrationObjectOutcome modifyMigrationObject(const Model::ModifyMigrationObjectRequest &request)const;
void modifyMigrationObjectAsync(const Model::ModifyMigrationObjectRequest& request, const ModifyMigrationObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyMigrationObjectOutcomeCallable modifyMigrationObjectCallable(const Model::ModifyMigrationObjectRequest& request) const;
ModifySubscriptionObjectOutcome modifySubscriptionObject(const Model::ModifySubscriptionObjectRequest &request)const;
void modifySubscriptionObjectAsync(const Model::ModifySubscriptionObjectRequest& request, const ModifySubscriptionObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySubscriptionObjectOutcomeCallable modifySubscriptionObjectCallable(const Model::ModifySubscriptionObjectRequest& request) const;
ModifySynchronizationObjectOutcome modifySynchronizationObject(const Model::ModifySynchronizationObjectRequest &request)const;
void modifySynchronizationObjectAsync(const Model::ModifySynchronizationObjectRequest& request, const ModifySynchronizationObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySynchronizationObjectOutcomeCallable modifySynchronizationObjectCallable(const Model::ModifySynchronizationObjectRequest& request) const;
ResetSynchronizationJobOutcome resetSynchronizationJob(const Model::ResetSynchronizationJobRequest &request)const;
void resetSynchronizationJobAsync(const Model::ResetSynchronizationJobRequest& request, const ResetSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResetSynchronizationJobOutcomeCallable resetSynchronizationJobCallable(const Model::ResetSynchronizationJobRequest& request) const;
ShieldPrecheckOutcome shieldPrecheck(const Model::ShieldPrecheckRequest &request)const;
void shieldPrecheckAsync(const Model::ShieldPrecheckRequest& request, const ShieldPrecheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ShieldPrecheckOutcomeCallable shieldPrecheckCallable(const Model::ShieldPrecheckRequest& request) const;
StartMigrationJobOutcome startMigrationJob(const Model::StartMigrationJobRequest &request)const;
void startMigrationJobAsync(const Model::StartMigrationJobRequest& request, const StartMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartMigrationJobOutcomeCallable startMigrationJobCallable(const Model::StartMigrationJobRequest& request) const;
StartSubscriptionInstanceOutcome startSubscriptionInstance(const Model::StartSubscriptionInstanceRequest &request)const;
void startSubscriptionInstanceAsync(const Model::StartSubscriptionInstanceRequest& request, const StartSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartSubscriptionInstanceOutcomeCallable startSubscriptionInstanceCallable(const Model::StartSubscriptionInstanceRequest& request) const;
StartSynchronizationJobOutcome startSynchronizationJob(const Model::StartSynchronizationJobRequest &request)const;
void startSynchronizationJobAsync(const Model::StartSynchronizationJobRequest& request, const StartSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartSynchronizationJobOutcomeCallable startSynchronizationJobCallable(const Model::StartSynchronizationJobRequest& request) const;
StopMigrationJobOutcome stopMigrationJob(const Model::StopMigrationJobRequest &request)const;
void stopMigrationJobAsync(const Model::StopMigrationJobRequest& request, const StopMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopMigrationJobOutcomeCallable stopMigrationJobCallable(const Model::StopMigrationJobRequest& request) const;
SuspendMigrationJobOutcome suspendMigrationJob(const Model::SuspendMigrationJobRequest &request)const;
void suspendMigrationJobAsync(const Model::SuspendMigrationJobRequest& request, const SuspendMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SuspendMigrationJobOutcomeCallable suspendMigrationJobCallable(const Model::SuspendMigrationJobRequest& request) const;
SuspendSynchronizationJobOutcome suspendSynchronizationJob(const Model::SuspendSynchronizationJobRequest &request)const;
void suspendSynchronizationJobAsync(const Model::SuspendSynchronizationJobRequest& request, const SuspendSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SuspendSynchronizationJobOutcomeCallable suspendSynchronizationJobCallable(const Model::SuspendSynchronizationJobRequest& request) const;
SwitchSynchronizationEndpointOutcome switchSynchronizationEndpoint(const Model::SwitchSynchronizationEndpointRequest &request)const;
void switchSynchronizationEndpointAsync(const Model::SwitchSynchronizationEndpointRequest& request, const SwitchSynchronizationEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SwitchSynchronizationEndpointOutcomeCallable switchSynchronizationEndpointCallable(const Model::SwitchSynchronizationEndpointRequest& request) const;
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;
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;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_DTS_DTSCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* 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_DTSEXPORT_H_
#define ALIBABACLOUD_DTS_DTSEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_DTS_LIBRARY)
# define ALIBABACLOUD_DTS_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_DTS_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_DTS_EXPORT
#endif
#endif // !ALIBABACLOUD_DTS_DTSEXPORT_H_

View File

@@ -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_CONFIGUREMIGRATIONJOBALERTREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBALERTREQUEST_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 ConfigureMigrationJobAlertRequest : public RpcServiceRequest
{
public:
ConfigureMigrationJobAlertRequest();
~ConfigureMigrationJobAlertRequest();
std::string getDelayOverSeconds()const;
void setDelayOverSeconds(const std::string& delayOverSeconds);
std::string getDelayAlertStatus()const;
void setDelayAlertStatus(const std::string& delayAlertStatus);
std::string getMigrationJobId()const;
void setMigrationJobId(const std::string& migrationJobId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getErrorAlertPhone()const;
void setErrorAlertPhone(const std::string& errorAlertPhone);
std::string getDelayAlertPhone()const;
void setDelayAlertPhone(const std::string& delayAlertPhone);
std::string getErrorAlertStatus()const;
void setErrorAlertStatus(const std::string& errorAlertStatus);
private:
std::string delayOverSeconds_;
std::string delayAlertStatus_;
std::string migrationJobId_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
std::string errorAlertPhone_;
std::string delayAlertPhone_;
std::string errorAlertStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBALERTREQUEST_H_

View File

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

View File

@@ -0,0 +1,144 @@
/*
* 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_CONFIGUREMIGRATIONJOBREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBREQUEST_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 ConfigureMigrationJobRequest : public RpcServiceRequest
{
public:
ConfigureMigrationJobRequest();
~ConfigureMigrationJobRequest();
std::string getSourceEndpointInstanceID()const;
void setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID);
std::string getCheckpoint()const;
void setCheckpoint(const std::string& checkpoint);
std::string getSourceEndpointEngineName()const;
void setSourceEndpointEngineName(const std::string& sourceEndpointEngineName);
std::string getSourceEndpointOracleSID()const;
void setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID);
std::string getDestinationEndpointInstanceID()const;
void setDestinationEndpointInstanceID(const std::string& destinationEndpointInstanceID);
std::string getSourceEndpointIP()const;
void setSourceEndpointIP(const std::string& sourceEndpointIP);
std::string getDestinationEndpointPassword()const;
void setDestinationEndpointPassword(const std::string& destinationEndpointPassword);
std::string getMigrationObject()const;
void setMigrationObject(const std::string& migrationObject);
bool getMigrationModeDataIntialization()const;
void setMigrationModeDataIntialization(bool migrationModeDataIntialization);
std::string getMigrationJobId()const;
void setMigrationJobId(const std::string& migrationJobId);
std::string getSourceEndpointInstanceType()const;
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
std::string getDestinationEndpointEngineName()const;
void setDestinationEndpointEngineName(const std::string& destinationEndpointEngineName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
bool getMigrationModeStructureIntialization()const;
void setMigrationModeStructureIntialization(bool migrationModeStructureIntialization);
bool getMigrationModeDataSynchronization()const;
void setMigrationModeDataSynchronization(bool migrationModeDataSynchronization);
std::string getDestinationEndpointRegion()const;
void setDestinationEndpointRegion(const std::string& destinationEndpointRegion);
std::string getSourceEndpointUserName()const;
void setSourceEndpointUserName(const std::string& sourceEndpointUserName);
std::string getSourceEndpointDatabaseName()const;
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
std::string getSourceEndpointPort()const;
void setSourceEndpointPort(const std::string& sourceEndpointPort);
std::string getSourceEndpointOwnerID()const;
void setSourceEndpointOwnerID(const std::string& sourceEndpointOwnerID);
std::string getDestinationEndpointUserName()const;
void setDestinationEndpointUserName(const std::string& destinationEndpointUserName);
std::string getDestinationEndpointOracleSID()const;
void setDestinationEndpointOracleSID(const std::string& destinationEndpointOracleSID);
std::string getDestinationEndpointPort()const;
void setDestinationEndpointPort(const std::string& destinationEndpointPort);
std::string getSourceEndpointRegion()const;
void setSourceEndpointRegion(const std::string& sourceEndpointRegion);
std::string getSourceEndpointRole()const;
void setSourceEndpointRole(const std::string& sourceEndpointRole);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getDestinationEndpointDataBaseName()const;
void setDestinationEndpointDataBaseName(const std::string& destinationEndpointDataBaseName);
std::string getSourceEndpointPassword()const;
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
std::string getMigrationReserved()const;
void setMigrationReserved(const std::string& migrationReserved);
std::string getDestinationEndpointIP()const;
void setDestinationEndpointIP(const std::string& destinationEndpointIP);
std::string getMigrationJobName()const;
void setMigrationJobName(const std::string& migrationJobName);
std::string getDestinationEndpointInstanceType()const;
void setDestinationEndpointInstanceType(const std::string& destinationEndpointInstanceType);
private:
std::string sourceEndpointInstanceID_;
std::string checkpoint_;
std::string sourceEndpointEngineName_;
std::string sourceEndpointOracleSID_;
std::string destinationEndpointInstanceID_;
std::string sourceEndpointIP_;
std::string destinationEndpointPassword_;
std::string migrationObject_;
bool migrationModeDataIntialization_;
std::string migrationJobId_;
std::string sourceEndpointInstanceType_;
std::string destinationEndpointEngineName_;
std::string accessKeyId_;
std::string accountId_;
bool migrationModeStructureIntialization_;
bool migrationModeDataSynchronization_;
std::string destinationEndpointRegion_;
std::string sourceEndpointUserName_;
std::string sourceEndpointDatabaseName_;
std::string sourceEndpointPort_;
std::string sourceEndpointOwnerID_;
std::string destinationEndpointUserName_;
std::string destinationEndpointOracleSID_;
std::string destinationEndpointPort_;
std::string sourceEndpointRegion_;
std::string sourceEndpointRole_;
std::string ownerId_;
std::string destinationEndpointDataBaseName_;
std::string sourceEndpointPassword_;
std::string migrationReserved_;
std::string destinationEndpointIP_;
std::string migrationJobName_;
std::string destinationEndpointInstanceType_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBREQUEST_H_

View File

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

View File

@@ -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_CONFIGURESUBSCRIPTIONINSTANCEALERTREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEALERTREQUEST_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 ConfigureSubscriptionInstanceAlertRequest : public RpcServiceRequest
{
public:
ConfigureSubscriptionInstanceAlertRequest();
~ConfigureSubscriptionInstanceAlertRequest();
std::string getDelayOverSeconds()const;
void setDelayOverSeconds(const std::string& delayOverSeconds);
std::string getDelayAlertStatus()const;
void setDelayAlertStatus(const std::string& delayAlertStatus);
std::string getSubscriptionInstanceId()const;
void setSubscriptionInstanceId(const std::string& subscriptionInstanceId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getErrorAlertPhone()const;
void setErrorAlertPhone(const std::string& errorAlertPhone);
std::string getDelayAlertPhone()const;
void setDelayAlertPhone(const std::string& delayAlertPhone);
std::string getErrorAlertStatus()const;
void setErrorAlertStatus(const std::string& errorAlertStatus);
private:
std::string delayOverSeconds_;
std::string delayAlertStatus_;
std::string subscriptionInstanceId_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
std::string errorAlertPhone_;
std::string delayAlertPhone_;
std::string errorAlertStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEALERTREQUEST_H_

View File

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

View File

@@ -0,0 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT ConfigureSubscriptionInstanceRequest : public RpcServiceRequest
{
public:
ConfigureSubscriptionInstanceRequest();
~ConfigureSubscriptionInstanceRequest();
std::string getSourceEndpointInstanceID()const;
void setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID);
std::string getSourceEndpointOracleSID()const;
void setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID);
std::string getSourceEndpointIP()const;
void setSourceEndpointIP(const std::string& sourceEndpointIP);
bool getSubscriptionDataTypeDML()const;
void setSubscriptionDataTypeDML(bool subscriptionDataTypeDML);
std::string getSourceEndpointInstanceType()const;
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getSubscriptionObject()const;
void setSubscriptionObject(const std::string& subscriptionObject);
std::string getSubscriptionInstanceVSwitchId()const;
void setSubscriptionInstanceVSwitchId(const std::string& subscriptionInstanceVSwitchId);
std::string getSourceEndpointUserName()const;
void setSourceEndpointUserName(const std::string& sourceEndpointUserName);
std::string getSourceEndpointDatabaseName()const;
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
std::string getSourceEndpointPort()const;
void setSourceEndpointPort(const std::string& sourceEndpointPort);
std::string getSourceEndpointOwnerID()const;
void setSourceEndpointOwnerID(const std::string& sourceEndpointOwnerID);
std::string getSubscriptionInstanceVPCId()const;
void setSubscriptionInstanceVPCId(const std::string& subscriptionInstanceVPCId);
std::string getSubscriptionInstanceNetworkType()const;
void setSubscriptionInstanceNetworkType(const std::string& subscriptionInstanceNetworkType);
std::string getSubscriptionInstanceId()const;
void setSubscriptionInstanceId(const std::string& subscriptionInstanceId);
std::string getSourceEndpointRole()const;
void setSourceEndpointRole(const std::string& sourceEndpointRole);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
bool getSubscriptionDataTypeDDL()const;
void setSubscriptionDataTypeDDL(bool subscriptionDataTypeDDL);
std::string getSourceEndpointPassword()const;
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
std::string getSubscriptionInstanceName()const;
void setSubscriptionInstanceName(const std::string& subscriptionInstanceName);
private:
std::string sourceEndpointInstanceID_;
std::string sourceEndpointOracleSID_;
std::string sourceEndpointIP_;
bool subscriptionDataTypeDML_;
std::string sourceEndpointInstanceType_;
std::string accessKeyId_;
std::string accountId_;
std::string subscriptionObject_;
std::string subscriptionInstanceVSwitchId_;
std::string sourceEndpointUserName_;
std::string sourceEndpointDatabaseName_;
std::string sourceEndpointPort_;
std::string sourceEndpointOwnerID_;
std::string subscriptionInstanceVPCId_;
std::string subscriptionInstanceNetworkType_;
std::string subscriptionInstanceId_;
std::string sourceEndpointRole_;
std::string ownerId_;
bool subscriptionDataTypeDDL_;
std::string sourceEndpointPassword_;
std::string subscriptionInstanceName_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCERESULT_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT ConfigureSubscriptionInstanceResult : public ServiceResult
{
public:
ConfigureSubscriptionInstanceResult();
explicit ConfigureSubscriptionInstanceResult(const std::string &payload);
~ConfigureSubscriptionInstanceResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCERESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBALERTREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBALERTREQUEST_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 ConfigureSynchronizationJobAlertRequest : public RpcServiceRequest
{
public:
ConfigureSynchronizationJobAlertRequest();
~ConfigureSynchronizationJobAlertRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSynchronizationJobId()const;
void setSynchronizationJobId(const std::string& synchronizationJobId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getDelayAlertPhone()const;
void setDelayAlertPhone(const std::string& delayAlertPhone);
std::string getDelayOverSeconds()const;
void setDelayOverSeconds(const std::string& delayOverSeconds);
std::string getDelayAlertStatus()const;
void setDelayAlertStatus(const std::string& delayAlertStatus);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getErrorAlertPhone()const;
void setErrorAlertPhone(const std::string& errorAlertPhone);
std::string getErrorAlertStatus()const;
void setErrorAlertStatus(const std::string& errorAlertStatus);
std::string getSynchronizationDirection()const;
void setSynchronizationDirection(const std::string& synchronizationDirection);
private:
std::string accessKeyId_;
std::string synchronizationJobId_;
std::string accountId_;
std::string delayAlertPhone_;
std::string delayOverSeconds_;
std::string delayAlertStatus_;
std::string ownerId_;
std::string errorAlertPhone_;
std::string errorAlertStatus_;
std::string synchronizationDirection_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBALERTREQUEST_H_

View File

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

View File

@@ -0,0 +1,66 @@
/*
* 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_CONFIGURESYNCHRONIZATIONJOBREPLICATORCOMPAREREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBREPLICATORCOMPAREREQUEST_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 ConfigureSynchronizationJobReplicatorCompareRequest : public RpcServiceRequest
{
public:
ConfigureSynchronizationJobReplicatorCompareRequest();
~ConfigureSynchronizationJobReplicatorCompareRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSynchronizationJobId()const;
void setSynchronizationJobId(const std::string& synchronizationJobId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
bool getSynchronizationReplicatorCompareEnable()const;
void setSynchronizationReplicatorCompareEnable(bool synchronizationReplicatorCompareEnable);
std::string getSynchronizationDirection()const;
void setSynchronizationDirection(const std::string& synchronizationDirection);
private:
std::string clientToken_;
std::string ownerId_;
std::string accessKeyId_;
std::string synchronizationJobId_;
std::string accountId_;
bool synchronizationReplicatorCompareEnable_;
std::string synchronizationDirection_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBREPLICATORCOMPAREREQUEST_H_

View File

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

View File

@@ -0,0 +1,141 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT ConfigureSynchronizationJobRequest : public RpcServiceRequest
{
public:
ConfigureSynchronizationJobRequest();
~ConfigureSynchronizationJobRequest();
std::string getSourceEndpointInstanceId()const;
void setSourceEndpointInstanceId(const std::string& sourceEndpointInstanceId);
std::string getCheckpoint()const;
void setCheckpoint(const std::string& checkpoint);
std::string getDestinationEndpointInstanceId()const;
void setDestinationEndpointInstanceId(const std::string& destinationEndpointInstanceId);
std::string getSourceEndpointIP()const;
void setSourceEndpointIP(const std::string& sourceEndpointIP);
std::string getSynchronizationObjects()const;
void setSynchronizationObjects(const std::string& synchronizationObjects);
std::string getDestinationEndpointPassword()const;
void setDestinationEndpointPassword(const std::string& destinationEndpointPassword);
bool getDataInitialization()const;
void setDataInitialization(bool dataInitialization);
bool getStructureInitialization()const;
void setStructureInitialization(bool structureInitialization);
bool getPartitionKeyModifyTime_Minute()const;
void setPartitionKeyModifyTime_Minute(bool partitionKeyModifyTime_Minute);
bool getPartitionKeyModifyTime_Day()const;
void setPartitionKeyModifyTime_Day(bool partitionKeyModifyTime_Day);
std::string getSourceEndpointInstanceType()const;
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSynchronizationJobId()const;
void setSynchronizationJobId(const std::string& synchronizationJobId);
std::string getSynchronizationJobName()const;
void setSynchronizationJobName(const std::string& synchronizationJobName);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getSourceEndpointUserName()const;
void setSourceEndpointUserName(const std::string& sourceEndpointUserName);
std::string getSourceEndpointDatabaseName()const;
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
bool getPartitionKeyModifyTime_Month()const;
void setPartitionKeyModifyTime_Month(bool partitionKeyModifyTime_Month);
std::string getSourceEndpointPort()const;
void setSourceEndpointPort(const std::string& sourceEndpointPort);
std::string getSourceEndpointOwnerID()const;
void setSourceEndpointOwnerID(const std::string& sourceEndpointOwnerID);
std::string getDestinationEndpointUserName()const;
void setDestinationEndpointUserName(const std::string& destinationEndpointUserName);
std::string getDestinationEndpointPort()const;
void setDestinationEndpointPort(const std::string& destinationEndpointPort);
bool getPartitionKeyModifyTime_Year()const;
void setPartitionKeyModifyTime_Year(bool partitionKeyModifyTime_Year);
std::string getSourceEndpointRole()const;
void setSourceEndpointRole(const std::string& sourceEndpointRole);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
bool getPartitionKeyModifyTime_Hour()const;
void setPartitionKeyModifyTime_Hour(bool partitionKeyModifyTime_Hour);
std::string getDestinationEndpointDataBaseName()const;
void setDestinationEndpointDataBaseName(const std::string& destinationEndpointDataBaseName);
std::string getSourceEndpointPassword()const;
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
std::string getMigrationReserved()const;
void setMigrationReserved(const std::string& migrationReserved);
std::string getDestinationEndpointIP()const;
void setDestinationEndpointIP(const std::string& destinationEndpointIP);
std::string getDestinationEndpointInstanceType()const;
void setDestinationEndpointInstanceType(const std::string& destinationEndpointInstanceType);
std::string getSynchronizationDirection()const;
void setSynchronizationDirection(const std::string& synchronizationDirection);
private:
std::string sourceEndpointInstanceId_;
std::string checkpoint_;
std::string destinationEndpointInstanceId_;
std::string sourceEndpointIP_;
std::string synchronizationObjects_;
std::string destinationEndpointPassword_;
bool dataInitialization_;
bool structureInitialization_;
bool partitionKeyModifyTime_Minute_;
bool partitionKeyModifyTime_Day_;
std::string sourceEndpointInstanceType_;
std::string accessKeyId_;
std::string synchronizationJobId_;
std::string synchronizationJobName_;
std::string accountId_;
std::string sourceEndpointUserName_;
std::string sourceEndpointDatabaseName_;
bool partitionKeyModifyTime_Month_;
std::string sourceEndpointPort_;
std::string sourceEndpointOwnerID_;
std::string destinationEndpointUserName_;
std::string destinationEndpointPort_;
bool partitionKeyModifyTime_Year_;
std::string sourceEndpointRole_;
std::string ownerId_;
bool partitionKeyModifyTime_Hour_;
std::string destinationEndpointDataBaseName_;
std::string sourceEndpointPassword_;
std::string migrationReserved_;
std::string destinationEndpointIP_;
std::string destinationEndpointInstanceType_;
std::string synchronizationDirection_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT ConfigureSynchronizationJobResult : public ServiceResult
{
public:
ConfigureSynchronizationJobResult();
explicit ConfigureSynchronizationJobResult(const std::string &payload);
~ConfigureSynchronizationJobResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* 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_CREATECONSUMERGROUPREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CREATECONSUMERGROUPREQUEST_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 CreateConsumerGroupRequest : public RpcServiceRequest
{
public:
CreateConsumerGroupRequest();
~CreateConsumerGroupRequest();
std::string getConsumerGroupName()const;
void setConsumerGroupName(const std::string& consumerGroupName);
std::string getSubscriptionInstanceId()const;
void setSubscriptionInstanceId(const std::string& subscriptionInstanceId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getConsumerGroupPassword()const;
void setConsumerGroupPassword(const std::string& consumerGroupPassword);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getConsumerGroupUserName()const;
void setConsumerGroupUserName(const std::string& consumerGroupUserName);
private:
std::string consumerGroupName_;
std::string subscriptionInstanceId_;
std::string ownerId_;
std::string consumerGroupPassword_;
std::string accessKeyId_;
std::string accountId_;
std::string consumerGroupUserName_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CREATECONSUMERGROUPREQUEST_H_

View 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_CREATECONSUMERGROUPRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_CREATECONSUMERGROUPRESULT_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 CreateConsumerGroupResult : public ServiceResult
{
public:
CreateConsumerGroupResult();
explicit CreateConsumerGroupResult(const std::string &payload);
~CreateConsumerGroupResult();
std::string getConsumerGroupID()const;
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string consumerGroupID_;
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CREATECONSUMERGROUPRESULT_H_

View 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_CREATEMIGRATIONJOBREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CREATEMIGRATIONJOBREQUEST_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 CreateMigrationJobRequest : public RpcServiceRequest
{
public:
CreateMigrationJobRequest();
~CreateMigrationJobRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getRegion()const;
void setRegion(const std::string& region);
std::string getMigrationJobClass()const;
void setMigrationJobClass(const std::string& migrationJobClass);
private:
std::string clientToken_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
std::string region_;
std::string migrationJobClass_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CREATEMIGRATIONJOBREQUEST_H_

View 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_CREATEMIGRATIONJOBRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_CREATEMIGRATIONJOBRESULT_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 CreateMigrationJobResult : public ServiceResult
{
public:
CreateMigrationJobResult();
explicit CreateMigrationJobResult(const std::string &payload);
~CreateMigrationJobResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
std::string getMigrationJobId()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
std::string migrationJobId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CREATEMIGRATIONJOBRESULT_H_

View File

@@ -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_CREATESUBSCRIPTIONINSTANCEREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CREATESUBSCRIPTIONINSTANCEREQUEST_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 CreateSubscriptionInstanceRequest : public RpcServiceRequest
{
public:
CreateSubscriptionInstanceRequest();
~CreateSubscriptionInstanceRequest();
std::string getPeriod()const;
void setPeriod(const std::string& period);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
int getUsedTime()const;
void setUsedTime(int usedTime);
std::string getSourceEndpointInstanceType()const;
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getRegion()const;
void setRegion(const std::string& region);
std::string getPayType()const;
void setPayType(const std::string& payType);
private:
std::string period_;
std::string clientToken_;
std::string ownerId_;
int usedTime_;
std::string sourceEndpointInstanceType_;
std::string accessKeyId_;
std::string accountId_;
std::string region_;
std::string payType_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CREATESUBSCRIPTIONINSTANCEREQUEST_H_

View 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_CREATESUBSCRIPTIONINSTANCERESULT_H_
#define ALIBABACLOUD_DTS_MODEL_CREATESUBSCRIPTIONINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT CreateSubscriptionInstanceResult : public ServiceResult
{
public:
CreateSubscriptionInstanceResult();
explicit CreateSubscriptionInstanceResult(const std::string &payload);
~CreateSubscriptionInstanceResult();
std::string getErrMessage()const;
std::string getSubscriptionInstanceId()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string subscriptionInstanceId_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CREATESUBSCRIPTIONINSTANCERESULT_H_

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_CREATESYNCHRONIZATIONJOBREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_CREATESYNCHRONIZATIONJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT CreateSynchronizationJobRequest : public RpcServiceRequest
{
public:
CreateSynchronizationJobRequest();
~CreateSynchronizationJobRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getNetworkType()const;
void setNetworkType(const std::string& networkType);
std::string getSourceEndpointInstanceType()const;
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getSynchronizationJobClass()const;
void setSynchronizationJobClass(const std::string& synchronizationJobClass);
std::string getPeriod()const;
void setPeriod(const std::string& period);
std::string getDestRegion()const;
void setDestRegion(const std::string& destRegion);
std::string getTopology()const;
void setTopology(const std::string& topology);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
int getUsedTime()const;
void setUsedTime(int usedTime);
int getDBInstanceCount()const;
void setDBInstanceCount(int dBInstanceCount);
std::string getSourceRegion()const;
void setSourceRegion(const std::string& sourceRegion);
std::string getPayType()const;
void setPayType(const std::string& payType);
std::string getDestinationEndpointInstanceType()const;
void setDestinationEndpointInstanceType(const std::string& destinationEndpointInstanceType);
private:
std::string clientToken_;
std::string networkType_;
std::string sourceEndpointInstanceType_;
std::string accessKeyId_;
std::string accountId_;
std::string synchronizationJobClass_;
std::string period_;
std::string destRegion_;
std::string topology_;
std::string ownerId_;
int usedTime_;
int dBInstanceCount_;
std::string sourceRegion_;
std::string payType_;
std::string destinationEndpointInstanceType_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CREATESYNCHRONIZATIONJOBREQUEST_H_

View 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_CREATESYNCHRONIZATIONJOBRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_CREATESYNCHRONIZATIONJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT CreateSynchronizationJobResult : public ServiceResult
{
public:
CreateSynchronizationJobResult();
explicit CreateSynchronizationJobResult(const std::string &payload);
~CreateSynchronizationJobResult();
std::string getSynchronizationJobId()const;
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string synchronizationJobId_;
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_CREATESYNCHRONIZATIONJOBRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DELETECONSUMERGROUPREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DELETECONSUMERGROUPREQUEST_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 DeleteConsumerGroupRequest : public RpcServiceRequest
{
public:
DeleteConsumerGroupRequest();
~DeleteConsumerGroupRequest();
std::string getConsumerGroupID()const;
void setConsumerGroupID(const std::string& consumerGroupID);
std::string getSubscriptionInstanceId()const;
void setSubscriptionInstanceId(const std::string& subscriptionInstanceId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
private:
std::string consumerGroupID_;
std::string subscriptionInstanceId_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DELETECONSUMERGROUPREQUEST_H_

View File

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

View 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_DELETEMIGRATIONJOBREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DELETEMIGRATIONJOBREQUEST_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 DeleteMigrationJobRequest : public RpcServiceRequest
{
public:
DeleteMigrationJobRequest();
~DeleteMigrationJobRequest();
std::string getMigrationJobId()const;
void setMigrationJobId(const std::string& migrationJobId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
private:
std::string migrationJobId_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DELETEMIGRATIONJOBREQUEST_H_

View File

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

View 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_DELETESUBSCRIPTIONINSTANCEREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DELETESUBSCRIPTIONINSTANCEREQUEST_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 DeleteSubscriptionInstanceRequest : public RpcServiceRequest
{
public:
DeleteSubscriptionInstanceRequest();
~DeleteSubscriptionInstanceRequest();
std::string getSubscriptionInstanceId()const;
void setSubscriptionInstanceId(const std::string& subscriptionInstanceId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
private:
std::string subscriptionInstanceId_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DELETESUBSCRIPTIONINSTANCEREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DELETESUBSCRIPTIONINSTANCERESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DELETESUBSCRIPTIONINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DeleteSubscriptionInstanceResult : public ServiceResult
{
public:
DeleteSubscriptionInstanceResult();
explicit DeleteSubscriptionInstanceResult(const std::string &payload);
~DeleteSubscriptionInstanceResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DELETESUBSCRIPTIONINSTANCERESULT_H_

View File

@@ -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_DELETESYNCHRONIZATIONJOBREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DELETESYNCHRONIZATIONJOBREQUEST_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 DeleteSynchronizationJobRequest : public RpcServiceRequest
{
public:
DeleteSynchronizationJobRequest();
~DeleteSynchronizationJobRequest();
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSynchronizationJobId()const;
void setSynchronizationJobId(const std::string& synchronizationJobId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
private:
std::string ownerId_;
std::string accessKeyId_;
std::string synchronizationJobId_;
std::string accountId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DELETESYNCHRONIZATIONJOBREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DELETESYNCHRONIZATIONJOBRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DELETESYNCHRONIZATIONJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DeleteSynchronizationJobResult : public ServiceResult
{
public:
DeleteSynchronizationJobResult();
explicit DeleteSynchronizationJobResult(const std::string &payload);
~DeleteSynchronizationJobResult();
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DELETESYNCHRONIZATIONJOBRESULT_H_

View File

@@ -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_DESCRIBECONSUMERGROUPREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBECONSUMERGROUPREQUEST_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 DescribeConsumerGroupRequest : public RpcServiceRequest
{
public:
DescribeConsumerGroupRequest();
~DescribeConsumerGroupRequest();
std::string getSubscriptionInstanceId()const;
void setSubscriptionInstanceId(const std::string& subscriptionInstanceId);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string subscriptionInstanceId_;
int pageNum_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBECONSUMERGROUPREQUEST_H_

View File

@@ -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_DESCRIBECONSUMERGROUPRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBECONSUMERGROUPRESULT_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 DescribeConsumerGroupResult : public ServiceResult
{
public:
struct DescribeConsumerChannel
{
std::string consumptionCheckpoint;
std::string consumerGroupID;
std::string consumerGroupUserName;
std::string consumerGroupName;
long messageDelay;
long unconsumedData;
};
DescribeConsumerGroupResult();
explicit DescribeConsumerGroupResult(const std::string &payload);
~DescribeConsumerGroupResult();
int getTotalRecordCount()const;
int getPageRecordCount()const;
int getPageNumber()const;
std::vector<DescribeConsumerChannel> getConsumerChannels()const;
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int totalRecordCount_;
int pageRecordCount_;
int pageNumber_;
std::vector<DescribeConsumerChannel> consumerChannels_;
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBECONSUMERGROUPRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEENDPOINTSWITCHSTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEENDPOINTSWITCHSTATUSREQUEST_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 DescribeEndpointSwitchStatusRequest : public RpcServiceRequest
{
public:
DescribeEndpointSwitchStatusRequest();
~DescribeEndpointSwitchStatusRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string clientToken_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEENDPOINTSWITCHSTATUSREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEENDPOINTSWITCHSTATUSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEENDPOINTSWITCHSTATUSRESULT_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 DescribeEndpointSwitchStatusResult : public ServiceResult
{
public:
DescribeEndpointSwitchStatusResult();
explicit DescribeEndpointSwitchStatusResult(const std::string &payload);
~DescribeEndpointSwitchStatusResult();
std::string getStatus()const;
std::string getErrMessage()const;
std::string getErrorMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string errMessage_;
std::string errorMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEENDPOINTSWITCHSTATUSRESULT_H_

View 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_DESCRIBEINITIALIZATIONSTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEINITIALIZATIONSTATUSREQUEST_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 DescribeInitializationStatusRequest : public RpcServiceRequest
{
public:
DescribeInitializationStatusRequest();
~DescribeInitializationStatusRequest();
int getPageNum()const;
void setPageNum(int pageNum);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSynchronizationJobId()const;
void setSynchronizationJobId(const std::string& synchronizationJobId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNum_;
std::string ownerId_;
std::string accessKeyId_;
std::string synchronizationJobId_;
std::string accountId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEINITIALIZATIONSTATUSREQUEST_H_

View File

@@ -0,0 +1,101 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEINITIALIZATIONSTATUSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEINITIALIZATIONSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DescribeInitializationStatusResult : public ServiceResult
{
public:
struct DataInitializationDetail
{
std::string status;
std::string tableName;
std::string totalRowNum;
std::string usedTime;
std::string sourceOwnerDBName;
std::string errorMessage;
std::string destinationOwnerDBName;
std::string finishRowNum;
};
struct DataSynchronizationDetail
{
std::string status;
std::string tableName;
std::string sourceOwnerDBName;
std::string errorMessage;
std::string destinationOwnerDBName;
};
struct StructureInitializationDetail
{
struct StructureInitializationDetail1
{
std::string status;
std::string objectType;
std::string objectDefinition;
std::string sourceOwnerDBName;
std::string errorMessage;
std::string destinationOwnerDBName;
std::string objectName;
};
std::string status;
std::string objectType;
std::vector<StructureInitializationDetail::StructureInitializationDetail1> constraints;
std::string objectDefinition;
std::string sourceOwnerDBName;
std::string errorMessage;
std::string destinationOwnerDBName;
std::string objectName;
};
DescribeInitializationStatusResult();
explicit DescribeInitializationStatusResult(const std::string &payload);
~DescribeInitializationStatusResult();
std::vector<StructureInitializationDetail> getStructureInitializationDetails()const;
std::vector<DataInitializationDetail> getDataInitializationDetails()const;
std::string getErrMessage()const;
std::string getSuccess()const;
std::vector<DataSynchronizationDetail> getDataSynchronizationDetails()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<StructureInitializationDetail> structureInitializationDetails_;
std::vector<DataInitializationDetail> dataInitializationDetails_;
std::string errMessage_;
std::string success_;
std::vector<DataSynchronizationDetail> dataSynchronizationDetails_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEINITIALIZATIONSTATUSRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBALERTREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBALERTREQUEST_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 DescribeMigrationJobAlertRequest : public RpcServiceRequest
{
public:
DescribeMigrationJobAlertRequest();
~DescribeMigrationJobAlertRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getMigrationJobId()const;
void setMigrationJobId(const std::string& migrationJobId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
private:
std::string clientToken_;
std::string migrationJobId_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBALERTREQUEST_H_

View 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_DESCRIBEMIGRATIONJOBALERTRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBALERTRESULT_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 DescribeMigrationJobAlertResult : public ServiceResult
{
public:
DescribeMigrationJobAlertResult();
explicit DescribeMigrationJobAlertResult(const std::string &payload);
~DescribeMigrationJobAlertResult();
std::string getErrorAlertPhone()const;
std::string getDelayAlertPhone()const;
std::string getErrorAlertStatus()const;
std::string getMigrationJobName()const;
std::string getErrMessage()const;
std::string getDelayAlertStatus()const;
std::string getDelayOverSeconds()const;
std::string getSuccess()const;
std::string getErrCode()const;
std::string getMigrationJobId()const;
protected:
void parse(const std::string &payload);
private:
std::string errorAlertPhone_;
std::string delayAlertPhone_;
std::string errorAlertStatus_;
std::string migrationJobName_;
std::string errMessage_;
std::string delayAlertStatus_;
std::string delayOverSeconds_;
std::string success_;
std::string errCode_;
std::string migrationJobId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBALERTRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBDETAILREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBDETAILREQUEST_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 DescribeMigrationJobDetailRequest : public RpcServiceRequest
{
public:
DescribeMigrationJobDetailRequest();
~DescribeMigrationJobDetailRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
bool getMigrationModeDataInitialization()const;
void setMigrationModeDataInitialization(bool migrationModeDataInitialization);
std::string getMigrationJobId()const;
void setMigrationJobId(const std::string& migrationJobId);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
bool getMigrationModeDataSynchronization()const;
void setMigrationModeDataSynchronization(bool migrationModeDataSynchronization);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
bool getMigrationModeStructureInitialization()const;
void setMigrationModeStructureInitialization(bool migrationModeStructureInitialization);
private:
std::string clientToken_;
bool migrationModeDataInitialization_;
std::string migrationJobId_;
int pageNum_;
std::string accessKeyId_;
std::string accountId_;
bool migrationModeDataSynchronization_;
int pageSize_;
std::string ownerId_;
bool migrationModeStructureInitialization_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBDETAILREQUEST_H_

View File

@@ -0,0 +1,107 @@
/*
* 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_DESCRIBEMIGRATIONJOBDETAILRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBDETAILRESULT_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 DescribeMigrationJobDetailResult : public ServiceResult
{
public:
struct DataInitializationDetail
{
std::string status;
std::string tableName;
std::string totalRowNum;
std::string migrationTime;
std::string sourceOwnerDBName;
std::string errorMessage;
std::string destinationOwnerDBName;
std::string finishRowNum;
};
struct DataSynchronizationDetail
{
std::string status;
std::string tableName;
std::string sourceOwnerDBName;
std::string errorMessage;
std::string destinationOwnerDBName;
};
struct StructureInitializationDetail
{
struct StructureInitializationDetail1
{
std::string status;
std::string objectType;
std::string objectDefinition;
std::string sourceOwnerDBName;
std::string errorMessage;
std::string destinationOwnerDBName;
std::string objectName;
};
std::string status;
std::string objectType;
std::vector<StructureInitializationDetail::StructureInitializationDetail1> constraintList;
std::string objectDefinition;
std::string sourceOwnerDBName;
std::string errorMessage;
std::string destinationOwnerDBName;
std::string objectName;
};
DescribeMigrationJobDetailResult();
explicit DescribeMigrationJobDetailResult(const std::string &payload);
~DescribeMigrationJobDetailResult();
long getTotalRecordCount()const;
std::vector<DataSynchronizationDetail> getDataSynchronizationDetailList()const;
int getPageRecordCount()const;
int getPageNumber()const;
std::vector<DataInitializationDetail> getDataInitializationDetailList()const;
std::string getErrMessage()const;
std::vector<StructureInitializationDetail> getStructureInitializationDetailList()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
long totalRecordCount_;
std::vector<DataSynchronizationDetail> dataSynchronizationDetailList_;
int pageRecordCount_;
int pageNumber_;
std::vector<DataInitializationDetail> dataInitializationDetailList_;
std::string errMessage_;
std::vector<StructureInitializationDetail> structureInitializationDetailList_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBDETAILRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSTATUSREQUEST_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 DescribeMigrationJobStatusRequest : public RpcServiceRequest
{
public:
DescribeMigrationJobStatusRequest();
~DescribeMigrationJobStatusRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getMigrationJobId()const;
void setMigrationJobId(const std::string& migrationJobId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
private:
std::string clientToken_;
std::string migrationJobId_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSTATUSREQUEST_H_

View File

@@ -0,0 +1,144 @@
/*
* 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_DESCRIBEMIGRATIONJOBSTATUSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSTATUSRESULT_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 DescribeMigrationJobStatusResult : public ServiceResult
{
public:
struct DataInitializationStatus
{
std::string status;
std::string progress;
std::string percent;
std::string errorMessage;
};
struct DataSynchronizationStatus
{
std::string status;
std::string checkpoint;
std::string percent;
std::string errorMessage;
std::string delay;
};
struct DestinationEndpoint
{
std::string oracleSID;
std::string userName;
std::string instanceId;
std::string iP;
std::string port;
std::string databaseName;
std::string instanceType;
std::string engineName;
};
struct MigrationMode
{
bool dataInitialization;
bool dataSynchronization;
bool structureInitialization;
};
struct PrecheckStatus
{
struct CheckItem
{
std::string repairMethod;
std::string checkStatus;
std::string itemName;
std::string errorMessage;
};
std::string status;
std::string percent;
std::vector<CheckItem> detail;
};
struct SourceEndpoint
{
std::string oracleSID;
std::string userName;
std::string instanceId;
std::string iP;
std::string port;
std::string databaseName;
std::string instanceType;
std::string engineName;
};
struct StructureInitializationStatus
{
std::string status;
std::string progress;
std::string percent;
std::string errorMessage;
};
DescribeMigrationJobStatusResult();
explicit DescribeMigrationJobStatusResult(const std::string &payload);
~DescribeMigrationJobStatusResult();
DataInitializationStatus getDataInitializationStatus()const;
std::string getMigrationJobName()const;
std::string getPayType()const;
std::string getErrMessage()const;
MigrationMode getMigrationMode()const;
std::string getMigrationJobStatus()const;
std::string getSuccess()const;
std::string getErrCode()const;
std::string getMigrationJobId()const;
PrecheckStatus getPrecheckStatus()const;
std::string getMigrationObject()const;
DestinationEndpoint getDestinationEndpoint()const;
SourceEndpoint getSourceEndpoint()const;
std::string getMigrationJobClass()const;
DataSynchronizationStatus getDataSynchronizationStatus()const;
StructureInitializationStatus getStructureInitializationStatus()const;
protected:
void parse(const std::string &payload);
private:
DataInitializationStatus dataInitializationStatus_;
std::string migrationJobName_;
std::string payType_;
std::string errMessage_;
MigrationMode migrationMode_;
std::string migrationJobStatus_;
std::string success_;
std::string errCode_;
std::string migrationJobId_;
PrecheckStatus precheckStatus_;
std::string migrationObject_;
DestinationEndpoint destinationEndpoint_;
SourceEndpoint sourceEndpoint_;
std::string migrationJobClass_;
DataSynchronizationStatus dataSynchronizationStatus_;
StructureInitializationStatus structureInitializationStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSTATUSRESULT_H_

View 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_DESCRIBEMIGRATIONJOBSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSREQUEST_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 DescribeMigrationJobsRequest : public RpcServiceRequest
{
public:
DescribeMigrationJobsRequest();
~DescribeMigrationJobsRequest();
int getPageNum()const;
void setPageNum(int pageNum);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getMigrationJobName()const;
void setMigrationJobName(const std::string& migrationJobName);
private:
int pageNum_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
int pageSize_;
std::string migrationJobName_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSREQUEST_H_

View File

@@ -0,0 +1,139 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DescribeMigrationJobsResult : public ServiceResult
{
public:
struct MigrationJob
{
struct DataInitialization
{
std::string status;
std::string progress;
std::string percent;
std::string errorMessage;
};
struct DataSynchronization
{
std::string status;
std::string percent;
std::string errorMessage;
std::string delay;
};
struct DestinationEndpoint
{
std::string oracleSID;
std::string userName;
std::string instanceID;
std::string iP;
std::string port;
std::string databaseName;
std::string instanceType;
std::string engineName;
};
struct MigrationMode
{
bool dataInitialization;
bool dataSynchronization;
bool structureInitialization;
};
struct Precheck
{
std::string status;
std::string percent;
};
struct SourceEndpoint
{
std::string oracleSID;
std::string userName;
std::string instanceID;
std::string iP;
std::string port;
std::string databaseName;
std::string instanceType;
std::string engineName;
};
struct StructureInitialization
{
std::string status;
std::string progress;
std::string percent;
std::string errorMessage;
};
struct SynchronousObject
{
std::string databaseName;
std::string wholeDatabase;
std::vector<std::string> tableList;
};
DataSynchronization dataSynchronization;
Precheck precheck;
std::string migrationJobName;
std::string payType;
MigrationMode migrationMode;
std::string migrationJobStatus;
std::string migrationJobID;
std::vector<MigrationJob::SynchronousObject> migrationObject;
DataInitialization dataInitialization;
DestinationEndpoint destinationEndpoint;
SourceEndpoint sourceEndpoint;
std::string migrationJobClass;
StructureInitialization structureInitialization;
};
DescribeMigrationJobsResult();
explicit DescribeMigrationJobsResult(const std::string &payload);
~DescribeMigrationJobsResult();
long getTotalRecordCount()const;
int getPageRecordCount()const;
int getPageNumber()const;
std::vector<MigrationJob> getMigrationJobs()const;
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
long totalRecordCount_;
int pageRecordCount_;
int pageNumber_;
std::vector<MigrationJob> migrationJobs_;
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEMIGRATIONJOBSRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCEALERTREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCEALERTREQUEST_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 DescribeSubscriptionInstanceAlertRequest : public RpcServiceRequest
{
public:
DescribeSubscriptionInstanceAlertRequest();
~DescribeSubscriptionInstanceAlertRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getSubscriptionInstanceId()const;
void setSubscriptionInstanceId(const std::string& subscriptionInstanceId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
private:
std::string clientToken_;
std::string subscriptionInstanceId_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCEALERTREQUEST_H_

View 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_DESCRIBESUBSCRIPTIONINSTANCEALERTRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCEALERTRESULT_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 DescribeSubscriptionInstanceAlertResult : public ServiceResult
{
public:
DescribeSubscriptionInstanceAlertResult();
explicit DescribeSubscriptionInstanceAlertResult(const std::string &payload);
~DescribeSubscriptionInstanceAlertResult();
std::string getErrorAlertPhone()const;
std::string getSubscriptionInstanceName()const;
std::string getDelayAlertPhone()const;
std::string getErrorAlertStatus()const;
std::string getErrMessage()const;
std::string getSubscriptionInstanceID()const;
std::string getDelayAlertStatus()const;
std::string getDelayOverSeconds()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errorAlertPhone_;
std::string subscriptionInstanceName_;
std::string delayAlertPhone_;
std::string errorAlertStatus_;
std::string errMessage_;
std::string subscriptionInstanceID_;
std::string delayAlertStatus_;
std::string delayOverSeconds_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCEALERTRESULT_H_

View 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_DESCRIBESUBSCRIPTIONINSTANCESTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESTATUSREQUEST_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 DescribeSubscriptionInstanceStatusRequest : public RpcServiceRequest
{
public:
DescribeSubscriptionInstanceStatusRequest();
~DescribeSubscriptionInstanceStatusRequest();
std::string getSubscriptionInstanceId()const;
void setSubscriptionInstanceId(const std::string& subscriptionInstanceId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
private:
std::string subscriptionInstanceId_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESTATUSREQUEST_H_

View File

@@ -0,0 +1,107 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESTATUSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DescribeSubscriptionInstanceStatusResult : public ServiceResult
{
public:
struct SourceEndpoint
{
std::string instanceID;
std::string instanceType;
};
struct SubscriptionDataType
{
bool dML;
bool dDL;
};
struct SubscriptionHost
{
std::string publicHost;
std::string privateHost;
std::string vPCHost;
};
struct SynchronousObject
{
std::string databaseName;
std::string wholeDatabase;
std::vector<std::string> tableList;
};
DescribeSubscriptionInstanceStatusResult();
explicit DescribeSubscriptionInstanceStatusResult(const std::string &payload);
~DescribeSubscriptionInstanceStatusResult();
std::string getStatus()const;
SubscriptionHost getSubscriptionHost()const;
std::string getEndTimestamp()const;
std::string getPayType()const;
std::string getErrMessage()const;
std::string getSubscriptionInstanceID()const;
std::string getSuccess()const;
std::string getErrCode()const;
SubscriptionDataType getSubscriptionDataType()const;
std::vector<SynchronousObject> getSubscriptionObject()const;
std::string getConsumptionCheckpoint()const;
std::string getSubscriptionInstanceName()const;
std::string getSubscribeTopic()const;
std::string getErrorMessage1()const;
std::string getConsumptionClient()const;
SourceEndpoint getSourceEndpoint()const;
std::string getErrorMessage()const;
std::string getBeginTimestamp()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
SubscriptionHost subscriptionHost_;
std::string endTimestamp_;
std::string payType_;
std::string errMessage_;
std::string subscriptionInstanceID_;
std::string success_;
std::string errCode_;
SubscriptionDataType subscriptionDataType_;
std::vector<SynchronousObject> subscriptionObject_;
std::string consumptionCheckpoint_;
std::string subscriptionInstanceName_;
std::string subscribeTopic_;
std::string errorMessage1_;
std::string consumptionClient_;
SourceEndpoint sourceEndpoint_;
std::string errorMessage_;
std::string beginTimestamp_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESTATUSRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DescribeSubscriptionInstancesRequest : public RpcServiceRequest
{
public:
DescribeSubscriptionInstancesRequest();
~DescribeSubscriptionInstancesRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getSubscriptionInstanceName()const;
void setSubscriptionInstanceName(const std::string& subscriptionInstanceName);
private:
std::string clientToken_;
int pageNum_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
int pageSize_;
std::string subscriptionInstanceName_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESREQUEST_H_

View File

@@ -0,0 +1,102 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DescribeSubscriptionInstancesResult : public ServiceResult
{
public:
struct SubscriptionInstance
{
struct SourceEndpoint
{
std::string instanceID;
std::string instanceType;
};
struct SubscriptionDataType
{
bool dML;
bool dDL;
};
struct SubscriptionHost
{
std::string publicHost;
std::string privateHost;
std::string vPCHost;
};
struct SynchronousObject
{
std::string databaseName;
std::string wholeDatabase;
std::vector<std::string> tableList;
};
std::string status;
SubscriptionHost subscriptionHost;
std::string endTimestamp;
std::string payType;
std::string subscriptionInstanceID;
SubscriptionDataType subscriptionDataType;
std::vector<SubscriptionInstance::SynchronousObject> subscriptionObject;
std::string consumptionCheckpoint;
std::string subscriptionInstanceName;
std::string subscribeTopic;
std::string consumptionClient;
SourceEndpoint sourceEndpoint;
std::string errorMessage;
std::string beginTimestamp;
};
DescribeSubscriptionInstancesResult();
explicit DescribeSubscriptionInstancesResult(const std::string &payload);
~DescribeSubscriptionInstancesResult();
long getTotalRecordCount()const;
int getPageRecordCount()const;
int getPageNumber()const;
std::string getErrMessage()const;
std::vector<SubscriptionInstance> getSubscriptionInstances()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
long totalRecordCount_;
int pageRecordCount_;
int pageNumber_;
std::string errMessage_;
std::vector<SubscriptionInstance> subscriptionInstances_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONINSTANCESRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONOBJECTMODIFYSTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONOBJECTMODIFYSTATUSREQUEST_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 DescribeSubscriptionObjectModifyStatusRequest : public RpcServiceRequest
{
public:
DescribeSubscriptionObjectModifyStatusRequest();
~DescribeSubscriptionObjectModifyStatusRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getSubscriptionInstanceId()const;
void setSubscriptionInstanceId(const std::string& subscriptionInstanceId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
private:
std::string clientToken_;
std::string subscriptionInstanceId_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONOBJECTMODIFYSTATUSREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONOBJECTMODIFYSTATUSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONOBJECTMODIFYSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DescribeSubscriptionObjectModifyStatusResult : public ServiceResult
{
public:
struct CheckItem
{
std::string repairMethod;
std::string checkStatus;
std::string itemName;
std::string errorMessage;
};
DescribeSubscriptionObjectModifyStatusResult();
explicit DescribeSubscriptionObjectModifyStatusResult(const std::string &payload);
~DescribeSubscriptionObjectModifyStatusResult();
std::string getStatus()const;
std::string getPercent()const;
std::string getErrMessage()const;
std::vector<CheckItem> getDetail()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string percent_;
std::string errMessage_;
std::vector<CheckItem> detail_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESUBSCRIPTIONOBJECTMODIFYSTATUSRESULT_H_

View 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_DESCRIBESYNCHRONIZATIONJOBALERTREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBALERTREQUEST_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 DescribeSynchronizationJobAlertRequest : public RpcServiceRequest
{
public:
DescribeSynchronizationJobAlertRequest();
~DescribeSynchronizationJobAlertRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSynchronizationJobId()const;
void setSynchronizationJobId(const std::string& synchronizationJobId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getSynchronizationDirection()const;
void setSynchronizationDirection(const std::string& synchronizationDirection);
private:
std::string clientToken_;
std::string ownerId_;
std::string accessKeyId_;
std::string synchronizationJobId_;
std::string accountId_;
std::string synchronizationDirection_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBALERTREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_DESCRIBESYNCHRONIZATIONJOBALERTRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBALERTRESULT_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 DescribeSynchronizationJobAlertResult : public ServiceResult
{
public:
DescribeSynchronizationJobAlertResult();
explicit DescribeSynchronizationJobAlertResult(const std::string &payload);
~DescribeSynchronizationJobAlertResult();
std::string getErrorAlertPhone()const;
std::string getSynchronizationJobId()const;
std::string getSynchronizationJobName()const;
std::string getDelayAlertPhone()const;
std::string getErrorAlertStatus()const;
std::string getErrMessage()const;
std::string getDelayAlertStatus()const;
std::string getDelayOverSeconds()const;
std::string getSuccess()const;
std::string getSynchronizationDirection()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string errorAlertPhone_;
std::string synchronizationJobId_;
std::string synchronizationJobName_;
std::string delayAlertPhone_;
std::string errorAlertStatus_;
std::string errMessage_;
std::string delayAlertStatus_;
std::string delayOverSeconds_;
std::string success_;
std::string synchronizationDirection_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBALERTRESULT_H_

View 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_DESCRIBESYNCHRONIZATIONJOBREPLICATORCOMPAREREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBREPLICATORCOMPAREREQUEST_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 DescribeSynchronizationJobReplicatorCompareRequest : public RpcServiceRequest
{
public:
DescribeSynchronizationJobReplicatorCompareRequest();
~DescribeSynchronizationJobReplicatorCompareRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSynchronizationJobId()const;
void setSynchronizationJobId(const std::string& synchronizationJobId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getSynchronizationDirection()const;
void setSynchronizationDirection(const std::string& synchronizationDirection);
private:
std::string clientToken_;
std::string ownerId_;
std::string accessKeyId_;
std::string synchronizationJobId_;
std::string accountId_;
std::string synchronizationDirection_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBREPLICATORCOMPAREREQUEST_H_

View 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_DESCRIBESYNCHRONIZATIONJOBREPLICATORCOMPARERESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBREPLICATORCOMPARERESULT_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 DescribeSynchronizationJobReplicatorCompareResult : public ServiceResult
{
public:
DescribeSynchronizationJobReplicatorCompareResult();
explicit DescribeSynchronizationJobReplicatorCompareResult(const std::string &payload);
~DescribeSynchronizationJobReplicatorCompareResult();
bool getSynchronizationReplicatorCompareEnable()const;
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
bool synchronizationReplicatorCompareEnable_;
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBREPLICATORCOMPARERESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSLISTREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSLISTREQUEST_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 DescribeSynchronizationJobStatusListRequest : public RpcServiceRequest
{
public:
DescribeSynchronizationJobStatusListRequest();
~DescribeSynchronizationJobStatusListRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getSynchronizationJobIdListJsonStr()const;
void setSynchronizationJobIdListJsonStr(const std::string& synchronizationJobIdListJsonStr);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
private:
std::string clientToken_;
std::string ownerId_;
std::string synchronizationJobIdListJsonStr_;
std::string accessKeyId_;
std::string accountId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSLISTREQUEST_H_

View File

@@ -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_DESCRIBESYNCHRONIZATIONJOBSTATUSLISTRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSLISTRESULT_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 DescribeSynchronizationJobStatusListResult : public ServiceResult
{
public:
struct SynchronizationJobStatusInfo
{
struct SynchronizationDirectionInfo
{
std::string status;
std::string checkpoint;
std::string synchronizationDirection;
};
std::string synchronizationJobId;
std::vector<SynchronizationJobStatusInfo::SynchronizationDirectionInfo> synchronizationDirectionInfoList;
};
DescribeSynchronizationJobStatusListResult();
explicit DescribeSynchronizationJobStatusListResult(const std::string &payload);
~DescribeSynchronizationJobStatusListResult();
long getTotalRecordCount()const;
int getPageRecordCount()const;
int getPageNumber()const;
std::vector<SynchronizationJobStatusInfo> getSynchronizationJobListStatusList()const;
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
long totalRecordCount_;
int pageRecordCount_;
int pageNumber_;
std::vector<SynchronizationJobStatusInfo> synchronizationJobListStatusList_;
std::string errMessage_;
std::string success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSLISTRESULT_H_

View 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_DESCRIBESYNCHRONIZATIONJOBSTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSREQUEST_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 DescribeSynchronizationJobStatusRequest : public RpcServiceRequest
{
public:
DescribeSynchronizationJobStatusRequest();
~DescribeSynchronizationJobStatusRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSynchronizationJobId()const;
void setSynchronizationJobId(const std::string& synchronizationJobId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getSynchronizationDirection()const;
void setSynchronizationDirection(const std::string& synchronizationDirection);
private:
std::string clientToken_;
std::string ownerId_;
std::string accessKeyId_;
std::string synchronizationJobId_;
std::string accountId_;
std::string synchronizationDirection_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSREQUEST_H_

View File

@@ -0,0 +1,171 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DescribeSynchronizationJobStatusResult : public ServiceResult
{
public:
struct DataInitializationStatus
{
std::string status;
std::string progress;
std::string percent;
std::string errorMessage;
};
struct DataSynchronizationStatus
{
std::string status;
std::string checkpoint;
long delayMillis;
std::string percent;
std::string errorMessage;
std::string delay;
};
struct DestinationEndpoint
{
std::string userName;
std::string instanceId;
std::string iP;
std::string port;
std::string instanceType;
std::string engineName;
};
struct Performance
{
std::string rPS;
std::string fLOW;
};
struct PrecheckStatus
{
struct CheckItem
{
std::string repairMethod;
std::string checkStatus;
std::string itemName;
std::string errorMessage;
};
std::string status;
std::string percent;
std::vector<CheckItem> detail;
};
struct SourceEndpoint
{
std::string userName;
std::string instanceId;
std::string iP;
std::string port;
std::string instanceType;
std::string engineName;
};
struct StructureInitializationStatus
{
std::string status;
std::string progress;
std::string percent;
std::string errorMessage;
};
struct SynchronizationObject
{
struct TableExclude
{
std::string tableName;
};
struct TableInclude
{
std::string tableName;
};
std::vector<SynchronizationObject::TableInclude> tableIncludes;
std::vector<SynchronizationObject::TableExclude> tableExcludes;
std::string schemaName;
std::string newSchemaName;
};
DescribeSynchronizationJobStatusResult();
explicit DescribeSynchronizationJobStatusResult(const std::string &payload);
~DescribeSynchronizationJobStatusResult();
std::string getStatus()const;
DataInitializationStatus getDataInitializationStatus()const;
std::vector<SynchronizationObject> getSynchronizationObjects()const;
std::string getSynchronizationJobName()const;
std::string getPayType()const;
std::string getErrMessage()const;
std::string getDelay()const;
std::string getSuccess()const;
std::string getErrCode()const;
PrecheckStatus getPrecheckStatus()const;
std::string getCheckpoint()const;
long getDelayMillis()const;
std::string getSynchronizationJobId()const;
std::string getDataInitialization()const;
DestinationEndpoint getDestinationEndpoint()const;
SourceEndpoint getSourceEndpoint()const;
std::string getStructureInitialization()const;
Performance getPerformance()const;
std::string getErrorMessage()const;
std::string getExpireTime()const;
std::string getSynchronizationJobClass()const;
std::string getSynchronizationDirection()const;
DataSynchronizationStatus getDataSynchronizationStatus()const;
StructureInitializationStatus getStructureInitializationStatus()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
DataInitializationStatus dataInitializationStatus_;
std::vector<SynchronizationObject> synchronizationObjects_;
std::string synchronizationJobName_;
std::string payType_;
std::string errMessage_;
std::string delay_;
std::string success_;
std::string errCode_;
PrecheckStatus precheckStatus_;
std::string checkpoint_;
long delayMillis_;
std::string synchronizationJobId_;
std::string dataInitialization_;
DestinationEndpoint destinationEndpoint_;
SourceEndpoint sourceEndpoint_;
std::string structureInitialization_;
Performance performance_;
std::string errorMessage_;
std::string expireTime_;
std::string synchronizationJobClass_;
std::string synchronizationDirection_;
DataSynchronizationStatus dataSynchronizationStatus_;
StructureInitializationStatus structureInitializationStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSTATUSRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DescribeSynchronizationJobsRequest : public RpcServiceRequest
{
public:
DescribeSynchronizationJobsRequest();
~DescribeSynchronizationJobsRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSynchronizationJobName()const;
void setSynchronizationJobName(const std::string& synchronizationJobName);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string clientToken_;
int pageNum_;
std::string ownerId_;
std::string accessKeyId_;
std::string synchronizationJobName_;
std::string accountId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSREQUEST_H_

View File

@@ -0,0 +1,152 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DescribeSynchronizationJobsResult : public ServiceResult
{
public:
struct SynchronizationInstance
{
struct DataInitializationStatus
{
std::string status;
std::string progress;
std::string percent;
std::string errorMessage;
};
struct DataSynchronizationStatus
{
std::string status;
std::string percent;
std::string errorMessage;
std::string delay;
};
struct DestinationEndpoint
{
std::string userName;
std::string instanceId;
std::string iP;
std::string port;
std::string instanceType;
std::string engineName;
};
struct Performance
{
std::string rPS;
std::string fLOW;
};
struct PrecheckStatus
{
struct CheckItem
{
std::string repairMethod;
std::string checkStatus;
std::string itemName;
std::string errorMessage;
};
std::string status;
std::string percent;
std::vector<CheckItem> detail;
};
struct SourceEndpoint
{
std::string userName;
std::string instanceId;
std::string iP;
std::string port;
std::string instanceType;
std::string engineName;
};
struct StructureInitializationStatus
{
std::string status;
std::string progress;
std::string percent;
std::string errorMessage;
};
struct SynchronizationObject
{
struct TableExclude
{
std::string tableName;
};
struct TableInclude
{
std::string tableName;
};
std::vector<SynchronizationObject::TableInclude> tableIncludes;
std::vector<SynchronizationObject::TableExclude> tableExcludes;
std::string schemaName;
std::string newSchemaName;
};
std::string status;
DataInitializationStatus dataInitializationStatus;
std::vector<SynchronizationInstance::SynchronizationObject> synchronizationObjects;
std::string synchronizationJobName;
std::string createTime;
std::string payType;
std::string delay;
PrecheckStatus precheckStatus;
std::string synchronizationJobId;
std::string dataInitialization;
DestinationEndpoint destinationEndpoint;
SourceEndpoint sourceEndpoint;
std::string structureInitialization;
Performance performance;
std::string errorMessage;
std::string expireTime;
std::string synchronizationJobClass;
std::string synchronizationDirection;
DataSynchronizationStatus dataSynchronizationStatus;
StructureInitializationStatus structureInitializationStatus;
};
DescribeSynchronizationJobsResult();
explicit DescribeSynchronizationJobsResult(const std::string &payload);
~DescribeSynchronizationJobsResult();
long getTotalRecordCount()const;
std::vector<SynchronizationInstance> getSynchronizationInstances()const;
int getPageRecordCount()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
long totalRecordCount_;
std::vector<SynchronizationInstance> synchronizationInstances_;
int pageRecordCount_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONJOBSRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONOBJECTMODIFYSTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONOBJECTMODIFYSTATUSREQUEST_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 DescribeSynchronizationObjectModifyStatusRequest : public RpcServiceRequest
{
public:
DescribeSynchronizationObjectModifyStatusRequest();
~DescribeSynchronizationObjectModifyStatusRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountId()const;
void setAccountId(const std::string& accountId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string clientToken_;
std::string ownerId_;
std::string accessKeyId_;
std::string accountId_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONOBJECTMODIFYSTATUSREQUEST_H_

View File

@@ -0,0 +1,101 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONOBJECTMODIFYSTATUSRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONOBJECTMODIFYSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DescribeSynchronizationObjectModifyStatusResult : public ServiceResult
{
public:
struct DataInitializationStatus
{
std::string status;
std::string progress;
std::string percent;
std::string errorMessage;
};
struct DataSynchronizationStatus
{
std::string status;
std::string percent;
std::string errorMessage;
std::string delay;
};
struct PrecheckStatus
{
struct CheckItem
{
std::string repairMethod;
std::string checkStatus;
std::string itemName;
std::string errorMessage;
};
std::string status;
std::string percent;
std::vector<CheckItem> detail;
};
struct StructureInitializationStatus
{
std::string status;
std::string progress;
std::string percent;
std::string errorMessage;
};
DescribeSynchronizationObjectModifyStatusResult();
explicit DescribeSynchronizationObjectModifyStatusResult(const std::string &payload);
~DescribeSynchronizationObjectModifyStatusResult();
std::string getStatus()const;
PrecheckStatus getPrecheckStatus()const;
DataInitializationStatus getDataInitializationStatus()const;
std::string getErrMessage()const;
std::string getErrorMessage()const;
std::string getSuccess()const;
DataSynchronizationStatus getDataSynchronizationStatus()const;
StructureInitializationStatus getStructureInitializationStatus()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
PrecheckStatus precheckStatus_;
DataInitializationStatus dataInitializationStatus_;
std::string errMessage_;
std::string errorMessage_;
std::string success_;
DataSynchronizationStatus dataSynchronizationStatus_;
StructureInitializationStatus structureInitializationStatus_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBESYNCHRONIZATIONOBJECTMODIFYSTATUSRESULT_H_

Some files were not shown because too many files have changed in this diff Show More