Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b36d89300a | ||
|
|
7a982f08e6 | ||
|
|
08ad4ba807 | ||
|
|
38c284599d | ||
|
|
d54cb68653 | ||
|
|
00e697671e | ||
|
|
140a213eec | ||
|
|
8e6985b46b | ||
|
|
bfc89d1cc7 | ||
|
|
72203af302 | ||
|
|
34fb460e40 | ||
|
|
0efc4956ec | ||
|
|
ba9b236957 | ||
|
|
d17a79e8b6 | ||
|
|
450eed667b | ||
|
|
daf3dcd2b0 | ||
|
|
c8936fb4cf | ||
|
|
410b5a1a3e | ||
|
|
1754f90722 | ||
|
|
17088253be | ||
|
|
2dcd1b2f62 |
@@ -68,13 +68,18 @@ namespace AlibabaCloud
|
||||
struct LoadBalancerAddress
|
||||
{
|
||||
std::string intranetAddress;
|
||||
std::string intranetAddressHcStatus;
|
||||
std::string address;
|
||||
std::string allocationId;
|
||||
std::string ipv6AddressHcStatus;
|
||||
std::string eipType;
|
||||
std::string ipv6Address;
|
||||
};
|
||||
std::string status;
|
||||
std::string zoneId;
|
||||
std::string vSwitchId;
|
||||
std::string allocationId;
|
||||
std::string eipType;
|
||||
std::vector<ZoneMapping::LoadBalancerAddress> loadBalancerAddresses;
|
||||
};
|
||||
|
||||
|
||||
@@ -67,6 +67,12 @@ void GetLoadBalancerAttributeResult::parse(const std::string &payload)
|
||||
zoneMappingsObject.vSwitchId = valueZoneMappingsZoneMapping["VSwitchId"].asString();
|
||||
if(!valueZoneMappingsZoneMapping["ZoneId"].isNull())
|
||||
zoneMappingsObject.zoneId = valueZoneMappingsZoneMapping["ZoneId"].asString();
|
||||
if(!valueZoneMappingsZoneMapping["Status"].isNull())
|
||||
zoneMappingsObject.status = valueZoneMappingsZoneMapping["Status"].asString();
|
||||
if(!valueZoneMappingsZoneMapping["AllocationId"].isNull())
|
||||
zoneMappingsObject.allocationId = valueZoneMappingsZoneMapping["AllocationId"].asString();
|
||||
if(!valueZoneMappingsZoneMapping["EipType"].isNull())
|
||||
zoneMappingsObject.eipType = valueZoneMappingsZoneMapping["EipType"].asString();
|
||||
auto allLoadBalancerAddressesNode = valueZoneMappingsZoneMapping["LoadBalancerAddresses"]["LoadBalancerAddress"];
|
||||
for (auto valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress : allLoadBalancerAddressesNode)
|
||||
{
|
||||
@@ -75,8 +81,12 @@ void GetLoadBalancerAttributeResult::parse(const std::string &payload)
|
||||
loadBalancerAddressesObject.address = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Address"].asString();
|
||||
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Ipv6Address"].isNull())
|
||||
loadBalancerAddressesObject.ipv6Address = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Ipv6Address"].asString();
|
||||
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Ipv6AddressHcStatus"].isNull())
|
||||
loadBalancerAddressesObject.ipv6AddressHcStatus = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Ipv6AddressHcStatus"].asString();
|
||||
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["IntranetAddress"].isNull())
|
||||
loadBalancerAddressesObject.intranetAddress = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["IntranetAddress"].asString();
|
||||
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["IntranetAddressHcStatus"].isNull())
|
||||
loadBalancerAddressesObject.intranetAddressHcStatus = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["IntranetAddressHcStatus"].asString();
|
||||
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["AllocationId"].isNull())
|
||||
loadBalancerAddressesObject.allocationId = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["AllocationId"].asString();
|
||||
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["EipType"].isNull())
|
||||
|
||||
@@ -71,6 +71,8 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/DeleteSubscriptionInstanceResult.h
|
||||
include/alibabacloud/dts/model/DeleteSynchronizationJobRequest.h
|
||||
include/alibabacloud/dts/model/DeleteSynchronizationJobResult.h
|
||||
include/alibabacloud/dts/model/DescribeChannelAccountRequest.h
|
||||
include/alibabacloud/dts/model/DescribeChannelAccountResult.h
|
||||
include/alibabacloud/dts/model/DescribeCheckJobsRequest.h
|
||||
include/alibabacloud/dts/model/DescribeCheckJobsResult.h
|
||||
include/alibabacloud/dts/model/DescribeClusterOperateLogsRequest.h
|
||||
@@ -183,6 +185,8 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/ResetDtsJobResult.h
|
||||
include/alibabacloud/dts/model/ResetSynchronizationJobRequest.h
|
||||
include/alibabacloud/dts/model/ResetSynchronizationJobResult.h
|
||||
include/alibabacloud/dts/model/ReverseTwoWayDirectionRequest.h
|
||||
include/alibabacloud/dts/model/ReverseTwoWayDirectionResult.h
|
||||
include/alibabacloud/dts/model/ShieldPrecheckRequest.h
|
||||
include/alibabacloud/dts/model/ShieldPrecheckResult.h
|
||||
include/alibabacloud/dts/model/SkipPreCheckRequest.h
|
||||
@@ -284,6 +288,8 @@ set(dts_src
|
||||
src/model/DeleteSubscriptionInstanceResult.cc
|
||||
src/model/DeleteSynchronizationJobRequest.cc
|
||||
src/model/DeleteSynchronizationJobResult.cc
|
||||
src/model/DescribeChannelAccountRequest.cc
|
||||
src/model/DescribeChannelAccountResult.cc
|
||||
src/model/DescribeCheckJobsRequest.cc
|
||||
src/model/DescribeCheckJobsResult.cc
|
||||
src/model/DescribeClusterOperateLogsRequest.cc
|
||||
@@ -396,6 +402,8 @@ set(dts_src
|
||||
src/model/ResetDtsJobResult.cc
|
||||
src/model/ResetSynchronizationJobRequest.cc
|
||||
src/model/ResetSynchronizationJobResult.cc
|
||||
src/model/ReverseTwoWayDirectionRequest.cc
|
||||
src/model/ReverseTwoWayDirectionResult.cc
|
||||
src/model/ShieldPrecheckRequest.cc
|
||||
src/model/ShieldPrecheckResult.cc
|
||||
src/model/SkipPreCheckRequest.cc
|
||||
|
||||
@@ -72,6 +72,8 @@
|
||||
#include "model/DeleteSubscriptionInstanceResult.h"
|
||||
#include "model/DeleteSynchronizationJobRequest.h"
|
||||
#include "model/DeleteSynchronizationJobResult.h"
|
||||
#include "model/DescribeChannelAccountRequest.h"
|
||||
#include "model/DescribeChannelAccountResult.h"
|
||||
#include "model/DescribeCheckJobsRequest.h"
|
||||
#include "model/DescribeCheckJobsResult.h"
|
||||
#include "model/DescribeClusterOperateLogsRequest.h"
|
||||
@@ -184,6 +186,8 @@
|
||||
#include "model/ResetDtsJobResult.h"
|
||||
#include "model/ResetSynchronizationJobRequest.h"
|
||||
#include "model/ResetSynchronizationJobResult.h"
|
||||
#include "model/ReverseTwoWayDirectionRequest.h"
|
||||
#include "model/ReverseTwoWayDirectionResult.h"
|
||||
#include "model/ShieldPrecheckRequest.h"
|
||||
#include "model/ShieldPrecheckResult.h"
|
||||
#include "model/SkipPreCheckRequest.h"
|
||||
@@ -316,6 +320,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteSynchronizationJobResult> DeleteSynchronizationJobOutcome;
|
||||
typedef std::future<DeleteSynchronizationJobOutcome> DeleteSynchronizationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DeleteSynchronizationJobRequest&, const DeleteSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSynchronizationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeChannelAccountResult> DescribeChannelAccountOutcome;
|
||||
typedef std::future<DescribeChannelAccountOutcome> DescribeChannelAccountOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeChannelAccountRequest&, const DescribeChannelAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeChannelAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCheckJobsResult> DescribeCheckJobsOutcome;
|
||||
typedef std::future<DescribeCheckJobsOutcome> DescribeCheckJobsOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeCheckJobsRequest&, const DescribeCheckJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCheckJobsAsyncHandler;
|
||||
@@ -484,6 +491,9 @@ namespace AlibabaCloud
|
||||
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::ReverseTwoWayDirectionResult> ReverseTwoWayDirectionOutcome;
|
||||
typedef std::future<ReverseTwoWayDirectionOutcome> ReverseTwoWayDirectionOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ReverseTwoWayDirectionRequest&, const ReverseTwoWayDirectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReverseTwoWayDirectionAsyncHandler;
|
||||
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;
|
||||
@@ -636,6 +646,9 @@ namespace AlibabaCloud
|
||||
DeleteSynchronizationJobOutcome deleteSynchronizationJob(const Model::DeleteSynchronizationJobRequest &request)const;
|
||||
void deleteSynchronizationJobAsync(const Model::DeleteSynchronizationJobRequest& request, const DeleteSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSynchronizationJobOutcomeCallable deleteSynchronizationJobCallable(const Model::DeleteSynchronizationJobRequest& request) const;
|
||||
DescribeChannelAccountOutcome describeChannelAccount(const Model::DescribeChannelAccountRequest &request)const;
|
||||
void describeChannelAccountAsync(const Model::DescribeChannelAccountRequest& request, const DescribeChannelAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeChannelAccountOutcomeCallable describeChannelAccountCallable(const Model::DescribeChannelAccountRequest& request) const;
|
||||
DescribeCheckJobsOutcome describeCheckJobs(const Model::DescribeCheckJobsRequest &request)const;
|
||||
void describeCheckJobsAsync(const Model::DescribeCheckJobsRequest& request, const DescribeCheckJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCheckJobsOutcomeCallable describeCheckJobsCallable(const Model::DescribeCheckJobsRequest& request) const;
|
||||
@@ -804,6 +817,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
ReverseTwoWayDirectionOutcome reverseTwoWayDirection(const Model::ReverseTwoWayDirectionRequest &request)const;
|
||||
void reverseTwoWayDirectionAsync(const Model::ReverseTwoWayDirectionRequest& request, const ReverseTwoWayDirectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReverseTwoWayDirectionOutcomeCallable reverseTwoWayDirectionCallable(const Model::ReverseTwoWayDirectionRequest& 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;
|
||||
|
||||
@@ -34,8 +34,12 @@ public:
|
||||
void setCheckpoint(const std::string &checkpoint);
|
||||
std::string getSourceEndpointUserName() const;
|
||||
void setSourceEndpointUserName(const std::string &sourceEndpointUserName);
|
||||
std::string getDestinationEndpointOwnerID() const;
|
||||
void setDestinationEndpointOwnerID(const std::string &destinationEndpointOwnerID);
|
||||
std::string getDelayPhone() const;
|
||||
void setDelayPhone(const std::string &delayPhone);
|
||||
std::string getDtsBisLabel() const;
|
||||
void setDtsBisLabel(const std::string &dtsBisLabel);
|
||||
std::string getSourceEndpointIP() const;
|
||||
void setSourceEndpointIP(const std::string &sourceEndpointIP);
|
||||
std::string getErrorPhone() const;
|
||||
@@ -44,6 +48,8 @@ public:
|
||||
void setDestinationEndpointUserName(const std::string &destinationEndpointUserName);
|
||||
std::string getDtsJobId() const;
|
||||
void setDtsJobId(const std::string &dtsJobId);
|
||||
std::string getDestinationEndpointRole() const;
|
||||
void setDestinationEndpointRole(const std::string &destinationEndpointRole);
|
||||
std::string getDbList() const;
|
||||
void setDbList(const std::string &dbList);
|
||||
std::string getDestinationEndpointOracleSID() const;
|
||||
@@ -96,6 +102,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getReserve() const;
|
||||
void setReserve(const std::string &reserve);
|
||||
std::string getSourceEndpointVSwitchID() const;
|
||||
void setSourceEndpointVSwitchID(const std::string &sourceEndpointVSwitchID);
|
||||
bool getDataSynchronization() const;
|
||||
void setDataSynchronization(bool dataSynchronization);
|
||||
std::string getFileOssUrl() const;
|
||||
@@ -122,11 +130,14 @@ public:
|
||||
private:
|
||||
std::string checkpoint_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string destinationEndpointOwnerID_;
|
||||
std::string delayPhone_;
|
||||
std::string dtsBisLabel_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string errorPhone_;
|
||||
std::string destinationEndpointUserName_;
|
||||
std::string dtsJobId_;
|
||||
std::string destinationEndpointRole_;
|
||||
std::string dbList_;
|
||||
std::string destinationEndpointOracleSID_;
|
||||
std::string destinationEndpointPort_;
|
||||
@@ -153,6 +164,7 @@ private:
|
||||
std::string dataCheckConfigure_;
|
||||
std::string regionId_;
|
||||
std::string reserve_;
|
||||
std::string sourceEndpointVSwitchID_;
|
||||
bool dataSynchronization_;
|
||||
std::string fileOssUrl_;
|
||||
std::string destinationEndpointEngineName_;
|
||||
|
||||
@@ -30,48 +30,28 @@ class ALIBABACLOUD_DTS_EXPORT ConfigureSubscriptionRequest : public RpcServiceRe
|
||||
public:
|
||||
ConfigureSubscriptionRequest();
|
||||
~ConfigureSubscriptionRequest();
|
||||
std::string getSourceEndpointRegion() const;
|
||||
void setSourceEndpointRegion(const std::string &sourceEndpointRegion);
|
||||
std::string getCheckpoint() const;
|
||||
void setCheckpoint(const std::string &checkpoint);
|
||||
std::string getSubscriptionInstanceVSwitchId() const;
|
||||
void setSubscriptionInstanceVSwitchId(const std::string &subscriptionInstanceVSwitchId);
|
||||
bool getDelayNotice() const;
|
||||
void setDelayNotice(bool delayNotice);
|
||||
std::string getSourceEndpointInstanceID() const;
|
||||
void setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID);
|
||||
std::string getSourceEndpointUserName() const;
|
||||
void setSourceEndpointUserName(const std::string &sourceEndpointUserName);
|
||||
std::string getSourceEndpointOwnerID() const;
|
||||
void setSourceEndpointOwnerID(const std::string &sourceEndpointOwnerID);
|
||||
std::string getDedicatedClusterId() const;
|
||||
void setDedicatedClusterId(const std::string &dedicatedClusterId);
|
||||
std::string getDelayPhone() const;
|
||||
void setDelayPhone(const std::string &delayPhone);
|
||||
bool getSubscriptionDataTypeDML() const;
|
||||
void setSubscriptionDataTypeDML(bool subscriptionDataTypeDML);
|
||||
std::string getSourceEndpointDatabaseName() const;
|
||||
void setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName);
|
||||
std::string getDtsBisLabel() const;
|
||||
void setDtsBisLabel(const std::string &dtsBisLabel);
|
||||
std::string getSourceEndpointIP() const;
|
||||
void setSourceEndpointIP(const std::string &sourceEndpointIP);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getErrorPhone() const;
|
||||
void setErrorPhone(const std::string &errorPhone);
|
||||
std::string getReserve() const;
|
||||
void setReserve(const std::string &reserve);
|
||||
std::string getDtsJobId() const;
|
||||
void setDtsJobId(const std::string &dtsJobId);
|
||||
std::string getDbList() const;
|
||||
void setDbList(const std::string &dbList);
|
||||
std::string getSubscriptionInstanceNetworkType() const;
|
||||
void setSubscriptionInstanceNetworkType(const std::string &subscriptionInstanceNetworkType);
|
||||
bool getSubscriptionDataTypeDDL() const;
|
||||
void setSubscriptionDataTypeDDL(bool subscriptionDataTypeDDL);
|
||||
std::string getSourceEndpointPassword() const;
|
||||
void setSourceEndpointPassword(const std::string &sourceEndpointPassword);
|
||||
std::string getSourceEndpointPort() const;
|
||||
void setSourceEndpointPort(const std::string &sourceEndpointPort);
|
||||
std::string getSubscriptionInstanceVPCId() const;
|
||||
void setSubscriptionInstanceVPCId(const std::string &subscriptionInstanceVPCId);
|
||||
long getDelayRuleTime() const;
|
||||
@@ -80,47 +60,70 @@ public:
|
||||
void setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType);
|
||||
std::string getDtsJobName() const;
|
||||
void setDtsJobName(const std::string &dtsJobName);
|
||||
std::string getDtsInstanceId() const;
|
||||
void setDtsInstanceId(const std::string &dtsInstanceId);
|
||||
std::string getSourceEndpointRegion() const;
|
||||
void setSourceEndpointRegion(const std::string &sourceEndpointRegion);
|
||||
bool getDelayNotice() const;
|
||||
void setDelayNotice(bool delayNotice);
|
||||
std::string getSourceEndpointInstanceID() const;
|
||||
void setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID);
|
||||
std::string getSourceEndpointOwnerID() const;
|
||||
void setSourceEndpointOwnerID(const std::string &sourceEndpointOwnerID);
|
||||
std::string getDedicatedClusterId() const;
|
||||
void setDedicatedClusterId(const std::string &dedicatedClusterId);
|
||||
bool getSubscriptionDataTypeDML() const;
|
||||
void setSubscriptionDataTypeDML(bool subscriptionDataTypeDML);
|
||||
std::string getSourceEndpointDatabaseName() const;
|
||||
void setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getReserve() const;
|
||||
void setReserve(const std::string &reserve);
|
||||
bool getSubscriptionDataTypeDDL() const;
|
||||
void setSubscriptionDataTypeDDL(bool subscriptionDataTypeDDL);
|
||||
std::string getSourceEndpointPort() const;
|
||||
void setSourceEndpointPort(const std::string &sourceEndpointPort);
|
||||
std::string getSourceEndpointOracleSID() const;
|
||||
void setSourceEndpointOracleSID(const std::string &sourceEndpointOracleSID);
|
||||
bool getErrorNotice() const;
|
||||
void setErrorNotice(bool errorNotice);
|
||||
std::string getSourceEndpointRole() const;
|
||||
void setSourceEndpointRole(const std::string &sourceEndpointRole);
|
||||
std::string getDtsInstanceId() const;
|
||||
void setDtsInstanceId(const std::string &dtsInstanceId);
|
||||
std::string getSourceEndpointEngineName() const;
|
||||
void setSourceEndpointEngineName(const std::string &sourceEndpointEngineName);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
std::string checkpoint_;
|
||||
std::string subscriptionInstanceVSwitchId_;
|
||||
bool delayNotice_;
|
||||
std::string sourceEndpointInstanceID_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string sourceEndpointOwnerID_;
|
||||
std::string dedicatedClusterId_;
|
||||
std::string delayPhone_;
|
||||
bool subscriptionDataTypeDML_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
std::string dtsBisLabel_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string regionId_;
|
||||
std::string errorPhone_;
|
||||
std::string reserve_;
|
||||
std::string dtsJobId_;
|
||||
std::string dbList_;
|
||||
std::string subscriptionInstanceNetworkType_;
|
||||
bool subscriptionDataTypeDDL_;
|
||||
std::string sourceEndpointPassword_;
|
||||
std::string sourceEndpointPort_;
|
||||
std::string subscriptionInstanceVPCId_;
|
||||
long delayRuleTime_;
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string dtsJobName_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string sourceEndpointRegion_;
|
||||
bool delayNotice_;
|
||||
std::string sourceEndpointInstanceID_;
|
||||
std::string sourceEndpointOwnerID_;
|
||||
std::string dedicatedClusterId_;
|
||||
bool subscriptionDataTypeDML_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
std::string regionId_;
|
||||
std::string reserve_;
|
||||
bool subscriptionDataTypeDDL_;
|
||||
std::string sourceEndpointPort_;
|
||||
std::string sourceEndpointOracleSID_;
|
||||
bool errorNotice_;
|
||||
std::string sourceEndpointRole_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string sourceEndpointEngineName_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -42,38 +42,24 @@ public:
|
||||
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 getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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;
|
||||
@@ -82,20 +68,34 @@ public:
|
||||
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);
|
||||
bool getDataInitialization() const;
|
||||
void setDataInitialization(bool dataInitialization);
|
||||
bool getStructureInitialization() const;
|
||||
void setStructureInitialization(bool structureInitialization);
|
||||
std::string getSourceEndpointInstanceType() const;
|
||||
void setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
bool getPartitionKeyModifyTime_Month() const;
|
||||
void setPartitionKeyModifyTime_Month(bool partitionKeyModifyTime_Month);
|
||||
std::string getDestinationEndpointUserName() const;
|
||||
void setDestinationEndpointUserName(const std::string &destinationEndpointUserName);
|
||||
bool getPartitionKeyModifyTime_Hour() const;
|
||||
void setPartitionKeyModifyTime_Hour(bool partitionKeyModifyTime_Hour);
|
||||
std::string getDestinationEndpointDataBaseName() const;
|
||||
void setDestinationEndpointDataBaseName(const std::string &destinationEndpointDataBaseName);
|
||||
std::string getMigrationReserved() const;
|
||||
void setMigrationReserved(const std::string &migrationReserved);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointInstanceId_;
|
||||
@@ -104,33 +104,33 @@ private:
|
||||
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 regionId_;
|
||||
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_;
|
||||
bool dataInitialization_;
|
||||
bool structureInitialization_;
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
bool partitionKeyModifyTime_Month_;
|
||||
std::string destinationEndpointUserName_;
|
||||
bool partitionKeyModifyTime_Hour_;
|
||||
std::string destinationEndpointDataBaseName_;
|
||||
std::string migrationReserved_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dts
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_DTS_EXPORT DeleteDtsJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteDtsJobRequest();
|
||||
~DeleteDtsJobRequest();
|
||||
std::string getJobType() const;
|
||||
void setJobType(const std::string &jobType);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDtsJobId() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setSynchronizationDirection(const std::string &synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string jobType_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
|
||||
@@ -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_DESCRIBECHANNELACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBECHANNELACCOUNTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dts {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeChannelAccountRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeChannelAccountRequest();
|
||||
~DescribeChannelAccountRequest();
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDtsJobId() const;
|
||||
void setDtsJobId(const std::string &dtsJobId);
|
||||
std::string getOriginType() const;
|
||||
void setOriginType(const std::string &originType);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getTags() const;
|
||||
void setTags(const std::string &tags);
|
||||
std::string getRegion() const;
|
||||
void setRegion(const std::string ®ion);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string originType_;
|
||||
std::string ownerId_;
|
||||
std::string tags_;
|
||||
std::string region_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dts
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBECHANNELACCOUNTREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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_DESCRIBECHANNELACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBECHANNELACCOUNTRESULT_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 DescribeChannelAccountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeChannelAccountResult();
|
||||
explicit DescribeChannelAccountResult(const std::string &payload);
|
||||
~DescribeChannelAccountResult();
|
||||
std::string getUsername()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
std::string getPassword()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string username_;
|
||||
int httpStatusCode_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
std::string password_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBECHANNELACCOUNTRESULT_H_
|
||||
@@ -34,19 +34,19 @@ public:
|
||||
void setPageNumber(int pageNumber);
|
||||
int getCheckType() const;
|
||||
void setCheckType(int checkType);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getJobName() const;
|
||||
void setJobName(const std::string &jobName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int checkType_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::string jobName_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dts
|
||||
|
||||
@@ -36,10 +36,6 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getDedicatedClusterId() const;
|
||||
void setDedicatedClusterId(const std::string &dedicatedClusterId);
|
||||
std::string getEnv() const;
|
||||
void setEnv(const std::string &env);
|
||||
std::string getOwnerID() const;
|
||||
void setOwnerID(const std::string &ownerID);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAccountId() const;
|
||||
@@ -50,18 +46,22 @@ public:
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getDtsJobId() const;
|
||||
void setDtsJobId(const std::string &dtsJobId);
|
||||
std::string getEnv() const;
|
||||
void setEnv(const std::string &env);
|
||||
std::string getOwnerID() const;
|
||||
void setOwnerID(const std::string &ownerID);
|
||||
|
||||
private:
|
||||
std::string metricType_;
|
||||
std::string clientToken_;
|
||||
std::string dedicatedClusterId_;
|
||||
std::string env_;
|
||||
std::string ownerID_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string regionId_;
|
||||
std::string securityToken_;
|
||||
std::string dtsJobId_;
|
||||
std::string env_;
|
||||
std::string ownerID_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dts
|
||||
|
||||
@@ -30,17 +30,20 @@ class ALIBABACLOUD_DTS_EXPORT DescribeDataCheckReportUrlRequest : public RpcServ
|
||||
public:
|
||||
DescribeDataCheckReportUrlRequest();
|
||||
~DescribeDataCheckReportUrlRequest();
|
||||
std::string getJobStepId() const;
|
||||
void setJobStepId(const std::string &jobStepId);
|
||||
int getCheckType() const;
|
||||
void setCheckType(int checkType);
|
||||
std::string getTbName() const;
|
||||
void setTbName(const std::string &tbName);
|
||||
std::string getDbName() const;
|
||||
void setDbName(const std::string &dbName);
|
||||
std::string getDtsJobId() const;
|
||||
void setDtsJobId(const std::string &dtsJobId);
|
||||
|
||||
private:
|
||||
std::string jobStepId_;
|
||||
int checkType_;
|
||||
std::string tbName_;
|
||||
std::string dbName_;
|
||||
std::string dtsJobId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dts
|
||||
|
||||
@@ -32,10 +32,12 @@ public:
|
||||
~DescribeDataCheckTableDetailsRequest();
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getJobStepId() const;
|
||||
void setJobStepId(const std::string &jobStepId);
|
||||
int getCheckType() const;
|
||||
void setCheckType(int checkType);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDtsJobId() const;
|
||||
void setDtsJobId(const std::string &dtsJobId);
|
||||
std::string getTableName() const;
|
||||
void setTableName(const std::string &tableName);
|
||||
std::string getStatus() const;
|
||||
@@ -43,8 +45,9 @@ public:
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string jobStepId_;
|
||||
int checkType_;
|
||||
int pageSize_;
|
||||
std::string dtsJobId_;
|
||||
std::string tableName_;
|
||||
std::string status_;
|
||||
};
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace AlibabaCloud
|
||||
long finishCount;
|
||||
std::string bootTime;
|
||||
long id;
|
||||
int errorCode;
|
||||
std::string sourceDbName;
|
||||
long diffCount;
|
||||
};
|
||||
@@ -50,40 +51,32 @@ namespace AlibabaCloud
|
||||
DescribeDataCheckTableDetailsResult();
|
||||
explicit DescribeDataCheckTableDetailsResult(const std::string &payload);
|
||||
~DescribeDataCheckTableDetailsResult();
|
||||
long getWarningCount()const;
|
||||
long getDiffTableCount()const;
|
||||
std::vector<TableDetailsItem> getTableDetails()const;
|
||||
long getRunningCount()const;
|
||||
long getTotalCount()const;
|
||||
int getPageNumber()const;
|
||||
long getFinishedCount()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
long getTotalCount()const;
|
||||
int getPageNumber()const;
|
||||
long getInitCount()const;
|
||||
long getFinishedCount()const;
|
||||
long getDiffRowCount()const;
|
||||
int getHttpStatusCode()const;
|
||||
long getFailedCount()const;
|
||||
std::string getDynamicCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long warningCount_;
|
||||
long diffTableCount_;
|
||||
std::vector<TableDetailsItem> tableDetails_;
|
||||
long runningCount_;
|
||||
long totalCount_;
|
||||
int pageNumber_;
|
||||
long finishedCount_;
|
||||
int httpStatusCode_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
long totalCount_;
|
||||
int pageNumber_;
|
||||
long initCount_;
|
||||
long finishedCount_;
|
||||
long diffRowCount_;
|
||||
int httpStatusCode_;
|
||||
long failedCount_;
|
||||
std::string dynamicCode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,21 +30,24 @@ class ALIBABACLOUD_DTS_EXPORT DescribeDataCheckTableDiffDetailsRequest : public
|
||||
public:
|
||||
DescribeDataCheckTableDiffDetailsRequest();
|
||||
~DescribeDataCheckTableDiffDetailsRequest();
|
||||
std::string getJobStepId() const;
|
||||
void setJobStepId(const std::string &jobStepId);
|
||||
long getPageNumber() const;
|
||||
void setPageNumber(long pageNumber);
|
||||
int getCheckType() const;
|
||||
void setCheckType(int checkType);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getDtsJobId() const;
|
||||
void setDtsJobId(const std::string &dtsJobId);
|
||||
std::string getTbName() const;
|
||||
void setTbName(const std::string &tbName);
|
||||
std::string getDbName() const;
|
||||
void setDbName(const std::string &dbName);
|
||||
|
||||
private:
|
||||
std::string jobStepId_;
|
||||
long pageNumber_;
|
||||
int checkType_;
|
||||
long pageSize_;
|
||||
std::string dtsJobId_;
|
||||
std::string tbName_;
|
||||
std::string dbName_;
|
||||
};
|
||||
|
||||
@@ -35,17 +35,18 @@ namespace AlibabaCloud
|
||||
struct SourceEndpoint
|
||||
{
|
||||
std::string oracleSID;
|
||||
std::string roleName;
|
||||
std::string userName;
|
||||
std::string instanceID;
|
||||
std::string sslSolutionEnum;
|
||||
std::string ip;
|
||||
std::string port;
|
||||
std::string aliyunUid;
|
||||
std::string databaseName;
|
||||
std::string engineName;
|
||||
std::string roleName;
|
||||
std::string aliyunUid;
|
||||
std::string region;
|
||||
std::string instanceType;
|
||||
std::string engineName;
|
||||
bool canModifyPassword;
|
||||
};
|
||||
struct DestinationEndpoint
|
||||
{
|
||||
@@ -58,6 +59,7 @@ namespace AlibabaCloud
|
||||
std::string databaseName;
|
||||
std::string region;
|
||||
std::string instanceType;
|
||||
bool canModifyPassword;
|
||||
std::string engineName;
|
||||
};
|
||||
struct MigrationMode
|
||||
@@ -97,6 +99,14 @@ namespace AlibabaCloud
|
||||
bool retrying;
|
||||
std::string jobId;
|
||||
};
|
||||
struct DataDeliveryChannelInfo
|
||||
{
|
||||
int partitionNum;
|
||||
std::string region;
|
||||
std::string vpcDproxyUrl;
|
||||
std::string topic;
|
||||
std::string publicDproxyUrl;
|
||||
};
|
||||
struct SubDistributedJobItem
|
||||
{
|
||||
struct SourceEndpoint2
|
||||
@@ -837,10 +847,12 @@ namespace AlibabaCloud
|
||||
std::string getDtsJobClass()const;
|
||||
std::string getFinishTime()const;
|
||||
std::string getDestNetType()const;
|
||||
DataDeliveryChannelInfo getDataDeliveryChannelInfo()const;
|
||||
std::string getBinlog()const;
|
||||
std::string getCreateTime()const;
|
||||
std::vector<SubDistributedJobItem> getSubDistributedJob()const;
|
||||
std::string getGroupId()const;
|
||||
std::string getDtsBisLabel()const;
|
||||
long getCheckpoint()const;
|
||||
std::string getConsumptionCheckpoint()const;
|
||||
std::string getDtsJobDirection()const;
|
||||
@@ -893,10 +905,12 @@ namespace AlibabaCloud
|
||||
std::string dtsJobClass_;
|
||||
std::string finishTime_;
|
||||
std::string destNetType_;
|
||||
DataDeliveryChannelInfo dataDeliveryChannelInfo_;
|
||||
std::string binlog_;
|
||||
std::string createTime_;
|
||||
std::vector<SubDistributedJobItem> subDistributedJob_;
|
||||
std::string groupId_;
|
||||
std::string dtsBisLabel_;
|
||||
long checkpoint_;
|
||||
std::string consumptionCheckpoint_;
|
||||
std::string dtsJobDirection_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_DTS_EXPORT DescribeDtsJobsRequest : public RpcServiceRequest
|
||||
public:
|
||||
DescribeDtsJobsRequest();
|
||||
~DescribeDtsJobsRequest();
|
||||
bool getWithoutDbList() const;
|
||||
void setWithoutDbList(bool withoutDbList);
|
||||
std::string getOrderDirection() const;
|
||||
void setOrderDirection(const std::string &orderDirection);
|
||||
std::string getDedicatedClusterId() const;
|
||||
@@ -42,6 +44,8 @@ public:
|
||||
void setOrderColumn(const std::string &orderColumn);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getDtsBisLabel() const;
|
||||
void setDtsBisLabel(const std::string &dtsBisLabel);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPageSize() const;
|
||||
@@ -68,12 +72,14 @@ public:
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
bool withoutDbList_;
|
||||
std::string orderDirection_;
|
||||
std::string dedicatedClusterId_;
|
||||
std::string type_;
|
||||
int pageNumber_;
|
||||
std::string orderColumn_;
|
||||
std::string resourceGroupId_;
|
||||
std::string dtsBisLabel_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string dtsJobId_;
|
||||
|
||||
@@ -74,6 +74,8 @@ namespace AlibabaCloud
|
||||
bool dataInitialization;
|
||||
bool dataSynchronization;
|
||||
bool structureInitialization;
|
||||
bool fullDataCheck;
|
||||
bool incDataCheck;
|
||||
};
|
||||
struct Performance
|
||||
{
|
||||
@@ -186,6 +188,7 @@ namespace AlibabaCloud
|
||||
StructureInitializationStatus8 structureInitializationStatus8;
|
||||
std::string dtsInstanceID;
|
||||
long delay;
|
||||
std::string etlSafeCheckpoint;
|
||||
Performance5 performance5;
|
||||
std::string dtsJobClass;
|
||||
std::string dtsJobId;
|
||||
@@ -228,6 +231,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
int maxRetryTime;
|
||||
std::string retryTarget;
|
||||
std::string migrationErrType;
|
||||
std::string migrationErrCode;
|
||||
std::string migrationErrWorkaround;
|
||||
std::string errMessage;
|
||||
@@ -248,6 +252,20 @@ namespace AlibabaCloud
|
||||
bool needUpgrade;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct FullDataCheckStatus
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct IncDataCheckStatus
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string percent;
|
||||
std::string errorMessage;
|
||||
};
|
||||
struct DtsTag
|
||||
{
|
||||
std::string tagKey;
|
||||
@@ -258,23 +276,17 @@ namespace AlibabaCloud
|
||||
std::string errorCode;
|
||||
std::string helpUrl;
|
||||
};
|
||||
long duUsage;
|
||||
DataInitializationStatus dataInitializationStatus;
|
||||
std::string resourceGroupId;
|
||||
std::string dtsJobName;
|
||||
std::string migrationErrWorkaround;
|
||||
std::string migrationErrCode;
|
||||
std::string endTimestamp;
|
||||
std::string cpuUsage;
|
||||
std::vector<DtsJobStatus::ErrorDetail> errorDetails;
|
||||
std::string dtsInstanceID;
|
||||
MigrationMode migrationMode;
|
||||
long delay;
|
||||
std::string appName;
|
||||
std::string dtsJobClass;
|
||||
DataCloudStatus dataCloudStatus;
|
||||
std::string etlSafeCheckpoint;
|
||||
std::string dtsJobId;
|
||||
std::vector<DtsJobStatus::DtsTag> tagList;
|
||||
std::string migrationErrHelpDocId;
|
||||
DataSynchronizationStatus dataSynchronizationStatus;
|
||||
std::string memUsage;
|
||||
@@ -283,27 +295,38 @@ namespace AlibabaCloud
|
||||
std::string dedicatedClusterId;
|
||||
DataEtlStatus dataEtlStatus;
|
||||
std::string dbObject;
|
||||
std::string createTime;
|
||||
ReverseJob reverseJob;
|
||||
std::string payType;
|
||||
PrecheckStatus precheckStatus;
|
||||
std::string consumptionCheckpoint;
|
||||
std::string checkpoint;
|
||||
std::string migrationErrHelpDocKey;
|
||||
std::string dtsJobDirection;
|
||||
std::string jobType;
|
||||
DestinationEndpoint destinationEndpoint;
|
||||
std::string consumptionClient;
|
||||
SourceEndpoint sourceEndpoint;
|
||||
Performance performance;
|
||||
std::string errorMessage;
|
||||
std::string expireTime;
|
||||
std::string resourceGroupDisplayName;
|
||||
std::string beginTimestamp;
|
||||
std::string migrationErrMsg;
|
||||
StructureInitializationStatus structureInitializationStatus;
|
||||
RetryState retryState;
|
||||
std::string reserved;
|
||||
IncDataCheckStatus incDataCheckStatus;
|
||||
long duUsage;
|
||||
std::string migrationErrType;
|
||||
FullDataCheckStatus fullDataCheckStatus;
|
||||
std::string cpuUsage;
|
||||
std::vector<DtsJobStatus::ErrorDetail> errorDetails;
|
||||
std::string appName;
|
||||
std::string dtsJobClass;
|
||||
DataCloudStatus dataCloudStatus;
|
||||
std::vector<DtsJobStatus::DtsTag> tagList;
|
||||
std::string createTime;
|
||||
std::string dtsBisLabel;
|
||||
std::string consumptionCheckpoint;
|
||||
std::string checkpoint;
|
||||
std::string dtsJobDirection;
|
||||
std::string jobType;
|
||||
DestinationEndpoint destinationEndpoint;
|
||||
std::string errorMessage;
|
||||
std::string resourceGroupDisplayName;
|
||||
std::string beginTimestamp;
|
||||
StructureInitializationStatus structureInitializationStatus;
|
||||
};
|
||||
struct DtsJobStatus13
|
||||
{
|
||||
@@ -455,6 +478,7 @@ namespace AlibabaCloud
|
||||
std::string payType;
|
||||
std::string dtsInstanceID;
|
||||
long delay;
|
||||
std::string etlSafeCheckpoint;
|
||||
MigrationMode29 migrationMode29;
|
||||
std::string dtsJobClass;
|
||||
std::string checkpoint;
|
||||
@@ -508,6 +532,7 @@ namespace AlibabaCloud
|
||||
std::string endTimestamp;
|
||||
std::string dtsInstanceID;
|
||||
long delay;
|
||||
std::string etlSafeCheckpoint;
|
||||
std::string appName;
|
||||
MigrationMode18 migrationMode18;
|
||||
std::string dtsJobClass;
|
||||
|
||||
@@ -67,11 +67,91 @@ namespace AlibabaCloud
|
||||
std::string id;
|
||||
std::string current;
|
||||
};
|
||||
struct AnalysisProgressInfo
|
||||
{
|
||||
struct JobLog2
|
||||
{
|
||||
std::string errData;
|
||||
std::string errMsg;
|
||||
std::string errType;
|
||||
std::string logLevel;
|
||||
};
|
||||
std::string sourceSchema;
|
||||
std::string destSchema;
|
||||
std::string errMsg;
|
||||
std::string names;
|
||||
std::string item;
|
||||
std::string repairMethod;
|
||||
std::string finishTime;
|
||||
long diffRow;
|
||||
int orderNum;
|
||||
std::string parentObj;
|
||||
std::string jobId;
|
||||
std::string ddlSql;
|
||||
std::vector<AnalysisProgressInfo::JobLog2> logs1;
|
||||
std::string sub;
|
||||
std::string targetNames;
|
||||
std::string bootTime;
|
||||
bool canSkip;
|
||||
int delaySeconds;
|
||||
std::string ignoreFlag;
|
||||
std::string state;
|
||||
int total;
|
||||
bool skip;
|
||||
std::string errDetail;
|
||||
std::string id;
|
||||
std::string current;
|
||||
};
|
||||
struct SubDistributedJobStatusItem
|
||||
{
|
||||
struct ProgressInfo2
|
||||
struct ProgressInfo4
|
||||
{
|
||||
struct JobLog4
|
||||
struct JobLog6
|
||||
{
|
||||
std::string errData;
|
||||
std::string errMsg;
|
||||
std::string errType;
|
||||
std::string logLevel;
|
||||
};
|
||||
std::string sourceSchema;
|
||||
std::string destSchema;
|
||||
std::string errMsg;
|
||||
std::string names;
|
||||
std::string item;
|
||||
std::string repairMethod;
|
||||
std::string finishTime;
|
||||
long diffRow;
|
||||
int orderNum;
|
||||
std::string parentObj;
|
||||
std::string jobId;
|
||||
std::string ddlSql;
|
||||
std::string sub;
|
||||
std::vector<ProgressInfo4::JobLog6> logs5;
|
||||
std::string targetNames;
|
||||
std::string bootTime;
|
||||
bool canSkip;
|
||||
int delaySeconds;
|
||||
std::string ignoreFlag;
|
||||
std::string state;
|
||||
int total;
|
||||
bool skip;
|
||||
std::string errDetail;
|
||||
std::string id;
|
||||
std::string current;
|
||||
};
|
||||
std::string state;
|
||||
int total;
|
||||
std::string jobName;
|
||||
int errorItem;
|
||||
std::string code;
|
||||
std::string jobId;
|
||||
std::vector<SubDistributedJobStatusItem::ProgressInfo4> jobProgress3;
|
||||
};
|
||||
struct FullNetCheckJobStatusItem
|
||||
{
|
||||
struct ProgressInfo8
|
||||
{
|
||||
struct JobLog10
|
||||
{
|
||||
std::string errData;
|
||||
std::string errMsg;
|
||||
@@ -92,7 +172,7 @@ namespace AlibabaCloud
|
||||
std::string ddlSql;
|
||||
std::string sub;
|
||||
std::string targetNames;
|
||||
std::vector<ProgressInfo2::JobLog4> logs3;
|
||||
std::vector<ProgressInfo8::JobLog10> logs9;
|
||||
std::string bootTime;
|
||||
bool canSkip;
|
||||
int delaySeconds;
|
||||
@@ -104,13 +184,20 @@ namespace AlibabaCloud
|
||||
std::string id;
|
||||
std::string current;
|
||||
};
|
||||
std::vector<SubDistributedJobStatusItem::ProgressInfo2> jobProgress1;
|
||||
std::string state;
|
||||
int total;
|
||||
std::string srcRegionCidr;
|
||||
std::string destRegionCidr;
|
||||
std::string hostRegion;
|
||||
std::string jobName;
|
||||
int errorItem;
|
||||
std::string sourceEndpointType;
|
||||
std::string code;
|
||||
std::string destinationEndpointType;
|
||||
std::string srcRegion;
|
||||
std::string state;
|
||||
int total;
|
||||
std::vector<FullNetCheckJobStatusItem::ProgressInfo8> jobProgress7;
|
||||
std::string jobId;
|
||||
std::string destRegion;
|
||||
};
|
||||
|
||||
|
||||
@@ -118,12 +205,15 @@ namespace AlibabaCloud
|
||||
explicit DescribePreCheckStatusResult(const std::string &payload);
|
||||
~DescribePreCheckStatusResult();
|
||||
long getTotalRecordCount()const;
|
||||
std::vector<AnalysisProgressInfo> getAnalysisJobProgress()const;
|
||||
long getPageRecordCount()const;
|
||||
std::vector<FullNetCheckJobStatusItem> getFullNetCheckJobStatus()const;
|
||||
std::string getJobName()const;
|
||||
int getErrorItem()const;
|
||||
std::vector<SubDistributedJobStatusItem> getSubDistributedJobStatus()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
int getErrorAnalysisItem()const;
|
||||
long getPageNumber()const;
|
||||
std::string getState()const;
|
||||
int getTotal()const;
|
||||
@@ -135,12 +225,15 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalRecordCount_;
|
||||
std::vector<AnalysisProgressInfo> analysisJobProgress_;
|
||||
long pageRecordCount_;
|
||||
std::vector<FullNetCheckJobStatusItem> fullNetCheckJobStatus_;
|
||||
std::string jobName_;
|
||||
int errorItem_;
|
||||
std::vector<SubDistributedJobStatusItem> subDistributedJobStatus_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
int errorAnalysisItem_;
|
||||
long pageNumber_;
|
||||
std::string state_;
|
||||
int total_;
|
||||
|
||||
@@ -30,22 +30,22 @@ class ALIBABACLOUD_DTS_EXPORT DescribeSubscriptionMetaRequest : public RpcServic
|
||||
public:
|
||||
DescribeSubscriptionMetaRequest();
|
||||
~DescribeSubscriptionMetaRequest();
|
||||
std::string getTopics() const;
|
||||
void setTopics(const std::string &topics);
|
||||
std::string getSid() const;
|
||||
void setSid(const std::string &sid);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getSubMigrationJobIds() const;
|
||||
void setSubMigrationJobIds(const std::string &subMigrationJobIds);
|
||||
std::string getTopics() const;
|
||||
void setTopics(const std::string &topics);
|
||||
std::string getDtsInstanceId() const;
|
||||
void setDtsInstanceId(const std::string &dtsInstanceId);
|
||||
|
||||
private:
|
||||
std::string topics_;
|
||||
std::string sid_;
|
||||
std::string regionId_;
|
||||
std::string subMigrationJobIds_;
|
||||
std::string topics_;
|
||||
std::string dtsInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -32,8 +32,6 @@ public:
|
||||
~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;
|
||||
@@ -42,16 +40,18 @@ public:
|
||||
void setAccountId(const std::string &accountId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
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 regionId_;
|
||||
std::string ownerId_;
|
||||
std::string synchronizationDirection_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,14 +30,20 @@ class ALIBABACLOUD_DTS_EXPORT ModifyDtsJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyDtsJobRequest();
|
||||
~ModifyDtsJobRequest();
|
||||
bool getDataInitialization() const;
|
||||
void setDataInitialization(bool dataInitialization);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
bool getStructureInitialization() const;
|
||||
void setStructureInitialization(bool structureInitialization);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getEtlOperatorColumnReference() const;
|
||||
void setEtlOperatorColumnReference(const std::string &etlOperatorColumnReference);
|
||||
bool getDataSynchronization() const;
|
||||
void setDataSynchronization(bool dataSynchronization);
|
||||
std::string getDbList() const;
|
||||
void setDbList(const std::string &dbList);
|
||||
std::string getFileOssUrl() const;
|
||||
@@ -56,10 +62,13 @@ public:
|
||||
void setSynchronizationDirection(const std::string &synchronizationDirection);
|
||||
|
||||
private:
|
||||
bool dataInitialization_;
|
||||
std::string clientToken_;
|
||||
bool structureInitialization_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string etlOperatorColumnReference_;
|
||||
bool dataSynchronization_;
|
||||
std::string dbList_;
|
||||
std::string fileOssUrl_;
|
||||
std::string ownerId_;
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_REVERSETWOWAYDIRECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_REVERSETWOWAYDIRECTIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dts {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DTS_EXPORT ReverseTwoWayDirectionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ReverseTwoWayDirectionRequest();
|
||||
~ReverseTwoWayDirectionRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
bool getIgnoreErrorSubJob() const;
|
||||
void setIgnoreErrorSubJob(bool ignoreErrorSubJob);
|
||||
std::string getDtsInstanceId() const;
|
||||
void setDtsInstanceId(const std::string &dtsInstanceId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
bool ignoreErrorSubJob_;
|
||||
std::string dtsInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dts
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_REVERSETWOWAYDIRECTIONREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_REVERSETWOWAYDIRECTIONRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_REVERSETWOWAYDIRECTIONRESULT_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 ReverseTwoWayDirectionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ReverseTwoWayDirectionResult();
|
||||
explicit ReverseTwoWayDirectionResult(const std::string &payload);
|
||||
~ReverseTwoWayDirectionResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_REVERSETWOWAYDIRECTIONRESULT_H_
|
||||
@@ -951,6 +951,42 @@ DtsClient::DeleteSynchronizationJobOutcomeCallable DtsClient::deleteSynchronizat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeChannelAccountOutcome DtsClient::describeChannelAccount(const DescribeChannelAccountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeChannelAccountOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeChannelAccountOutcome(DescribeChannelAccountResult(outcome.result()));
|
||||
else
|
||||
return DescribeChannelAccountOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::describeChannelAccountAsync(const DescribeChannelAccountRequest& request, const DescribeChannelAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeChannelAccount(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::DescribeChannelAccountOutcomeCallable DtsClient::describeChannelAccountCallable(const DescribeChannelAccountRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeChannelAccountOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeChannelAccount(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeCheckJobsOutcome DtsClient::describeCheckJobs(const DescribeCheckJobsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2967,6 +3003,42 @@ DtsClient::ResetSynchronizationJobOutcomeCallable DtsClient::resetSynchronizatio
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::ReverseTwoWayDirectionOutcome DtsClient::reverseTwoWayDirection(const ReverseTwoWayDirectionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ReverseTwoWayDirectionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ReverseTwoWayDirectionOutcome(ReverseTwoWayDirectionResult(outcome.result()));
|
||||
else
|
||||
return ReverseTwoWayDirectionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::reverseTwoWayDirectionAsync(const ReverseTwoWayDirectionRequest& request, const ReverseTwoWayDirectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, reverseTwoWayDirection(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::ReverseTwoWayDirectionOutcomeCallable DtsClient::reverseTwoWayDirectionCallable(const ReverseTwoWayDirectionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ReverseTwoWayDirectionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->reverseTwoWayDirection(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::ShieldPrecheckOutcome DtsClient::shieldPrecheck(const ShieldPrecheckRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -43,6 +43,15 @@ void ConfigureDtsJobRequest::setSourceEndpointUserName(const std::string &source
|
||||
setParameter(std::string("SourceEndpointUserName"), sourceEndpointUserName);
|
||||
}
|
||||
|
||||
std::string ConfigureDtsJobRequest::getDestinationEndpointOwnerID() const {
|
||||
return destinationEndpointOwnerID_;
|
||||
}
|
||||
|
||||
void ConfigureDtsJobRequest::setDestinationEndpointOwnerID(const std::string &destinationEndpointOwnerID) {
|
||||
destinationEndpointOwnerID_ = destinationEndpointOwnerID;
|
||||
setParameter(std::string("DestinationEndpointOwnerID"), destinationEndpointOwnerID);
|
||||
}
|
||||
|
||||
std::string ConfigureDtsJobRequest::getDelayPhone() const {
|
||||
return delayPhone_;
|
||||
}
|
||||
@@ -52,6 +61,15 @@ void ConfigureDtsJobRequest::setDelayPhone(const std::string &delayPhone) {
|
||||
setParameter(std::string("DelayPhone"), delayPhone);
|
||||
}
|
||||
|
||||
std::string ConfigureDtsJobRequest::getDtsBisLabel() const {
|
||||
return dtsBisLabel_;
|
||||
}
|
||||
|
||||
void ConfigureDtsJobRequest::setDtsBisLabel(const std::string &dtsBisLabel) {
|
||||
dtsBisLabel_ = dtsBisLabel;
|
||||
setParameter(std::string("DtsBisLabel"), dtsBisLabel);
|
||||
}
|
||||
|
||||
std::string ConfigureDtsJobRequest::getSourceEndpointIP() const {
|
||||
return sourceEndpointIP_;
|
||||
}
|
||||
@@ -88,6 +106,15 @@ void ConfigureDtsJobRequest::setDtsJobId(const std::string &dtsJobId) {
|
||||
setParameter(std::string("DtsJobId"), dtsJobId);
|
||||
}
|
||||
|
||||
std::string ConfigureDtsJobRequest::getDestinationEndpointRole() const {
|
||||
return destinationEndpointRole_;
|
||||
}
|
||||
|
||||
void ConfigureDtsJobRequest::setDestinationEndpointRole(const std::string &destinationEndpointRole) {
|
||||
destinationEndpointRole_ = destinationEndpointRole;
|
||||
setParameter(std::string("DestinationEndpointRole"), destinationEndpointRole);
|
||||
}
|
||||
|
||||
std::string ConfigureDtsJobRequest::getDbList() const {
|
||||
return dbList_;
|
||||
}
|
||||
@@ -322,6 +349,15 @@ void ConfigureDtsJobRequest::setReserve(const std::string &reserve) {
|
||||
setBodyParameter(std::string("Reserve"), reserve);
|
||||
}
|
||||
|
||||
std::string ConfigureDtsJobRequest::getSourceEndpointVSwitchID() const {
|
||||
return sourceEndpointVSwitchID_;
|
||||
}
|
||||
|
||||
void ConfigureDtsJobRequest::setSourceEndpointVSwitchID(const std::string &sourceEndpointVSwitchID) {
|
||||
sourceEndpointVSwitchID_ = sourceEndpointVSwitchID;
|
||||
setParameter(std::string("SourceEndpointVSwitchID"), sourceEndpointVSwitchID);
|
||||
}
|
||||
|
||||
bool ConfigureDtsJobRequest::getDataSynchronization() const {
|
||||
return dataSynchronization_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ ConfigureSubscriptionRequest::ConfigureSubscriptionRequest()
|
||||
|
||||
ConfigureSubscriptionRequest::~ConfigureSubscriptionRequest() {}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointRegion() const {
|
||||
return sourceEndpointRegion_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointRegion(const std::string &sourceEndpointRegion) {
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setParameter(std::string("SourceEndpointRegion"), sourceEndpointRegion);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getCheckpoint() const {
|
||||
return checkpoint_;
|
||||
}
|
||||
@@ -52,24 +43,6 @@ void ConfigureSubscriptionRequest::setSubscriptionInstanceVSwitchId(const std::s
|
||||
setParameter(std::string("SubscriptionInstanceVSwitchId"), subscriptionInstanceVSwitchId);
|
||||
}
|
||||
|
||||
bool ConfigureSubscriptionRequest::getDelayNotice() const {
|
||||
return delayNotice_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDelayNotice(bool delayNotice) {
|
||||
delayNotice_ = delayNotice;
|
||||
setParameter(std::string("DelayNotice"), delayNotice ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointInstanceID() const {
|
||||
return sourceEndpointInstanceID_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID) {
|
||||
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
|
||||
setParameter(std::string("SourceEndpointInstanceID"), sourceEndpointInstanceID);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointUserName() const {
|
||||
return sourceEndpointUserName_;
|
||||
}
|
||||
@@ -79,24 +52,6 @@ void ConfigureSubscriptionRequest::setSourceEndpointUserName(const std::string &
|
||||
setParameter(std::string("SourceEndpointUserName"), sourceEndpointUserName);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointOwnerID() const {
|
||||
return sourceEndpointOwnerID_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointOwnerID(const std::string &sourceEndpointOwnerID) {
|
||||
sourceEndpointOwnerID_ = sourceEndpointOwnerID;
|
||||
setParameter(std::string("SourceEndpointOwnerID"), sourceEndpointOwnerID);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getDedicatedClusterId() const {
|
||||
return dedicatedClusterId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDedicatedClusterId(const std::string &dedicatedClusterId) {
|
||||
dedicatedClusterId_ = dedicatedClusterId;
|
||||
setParameter(std::string("DedicatedClusterId"), dedicatedClusterId);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getDelayPhone() const {
|
||||
return delayPhone_;
|
||||
}
|
||||
@@ -106,22 +61,13 @@ void ConfigureSubscriptionRequest::setDelayPhone(const std::string &delayPhone)
|
||||
setParameter(std::string("DelayPhone"), delayPhone);
|
||||
}
|
||||
|
||||
bool ConfigureSubscriptionRequest::getSubscriptionDataTypeDML() const {
|
||||
return subscriptionDataTypeDML_;
|
||||
std::string ConfigureSubscriptionRequest::getDtsBisLabel() const {
|
||||
return dtsBisLabel_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSubscriptionDataTypeDML(bool subscriptionDataTypeDML) {
|
||||
subscriptionDataTypeDML_ = subscriptionDataTypeDML;
|
||||
setParameter(std::string("SubscriptionDataTypeDML"), subscriptionDataTypeDML ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointDatabaseName() const {
|
||||
return sourceEndpointDatabaseName_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName) {
|
||||
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
|
||||
setParameter(std::string("SourceEndpointDatabaseName"), sourceEndpointDatabaseName);
|
||||
void ConfigureSubscriptionRequest::setDtsBisLabel(const std::string &dtsBisLabel) {
|
||||
dtsBisLabel_ = dtsBisLabel;
|
||||
setParameter(std::string("DtsBisLabel"), dtsBisLabel);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointIP() const {
|
||||
@@ -133,15 +79,6 @@ void ConfigureSubscriptionRequest::setSourceEndpointIP(const std::string &source
|
||||
setParameter(std::string("SourceEndpointIP"), sourceEndpointIP);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getErrorPhone() const {
|
||||
return errorPhone_;
|
||||
}
|
||||
@@ -151,15 +88,6 @@ void ConfigureSubscriptionRequest::setErrorPhone(const std::string &errorPhone)
|
||||
setParameter(std::string("ErrorPhone"), errorPhone);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getReserve() const {
|
||||
return reserve_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setReserve(const std::string &reserve) {
|
||||
reserve_ = reserve;
|
||||
setParameter(std::string("Reserve"), reserve);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getDtsJobId() const {
|
||||
return dtsJobId_;
|
||||
}
|
||||
@@ -187,15 +115,6 @@ void ConfigureSubscriptionRequest::setSubscriptionInstanceNetworkType(const std:
|
||||
setParameter(std::string("SubscriptionInstanceNetworkType"), subscriptionInstanceNetworkType);
|
||||
}
|
||||
|
||||
bool ConfigureSubscriptionRequest::getSubscriptionDataTypeDDL() const {
|
||||
return subscriptionDataTypeDDL_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSubscriptionDataTypeDDL(bool subscriptionDataTypeDDL) {
|
||||
subscriptionDataTypeDDL_ = subscriptionDataTypeDDL;
|
||||
setParameter(std::string("SubscriptionDataTypeDDL"), subscriptionDataTypeDDL ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointPassword() const {
|
||||
return sourceEndpointPassword_;
|
||||
}
|
||||
@@ -205,15 +124,6 @@ void ConfigureSubscriptionRequest::setSourceEndpointPassword(const std::string &
|
||||
setParameter(std::string("SourceEndpointPassword"), sourceEndpointPassword);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointPort() const {
|
||||
return sourceEndpointPort_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointPort(const std::string &sourceEndpointPort) {
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setParameter(std::string("SourceEndpointPort"), sourceEndpointPort);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSubscriptionInstanceVPCId() const {
|
||||
return subscriptionInstanceVPCId_;
|
||||
}
|
||||
@@ -250,6 +160,114 @@ void ConfigureSubscriptionRequest::setDtsJobName(const std::string &dtsJobName)
|
||||
setParameter(std::string("DtsJobName"), dtsJobName);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getDtsInstanceId() const {
|
||||
return dtsInstanceId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDtsInstanceId(const std::string &dtsInstanceId) {
|
||||
dtsInstanceId_ = dtsInstanceId;
|
||||
setParameter(std::string("DtsInstanceId"), dtsInstanceId);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointRegion() const {
|
||||
return sourceEndpointRegion_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointRegion(const std::string &sourceEndpointRegion) {
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setParameter(std::string("SourceEndpointRegion"), sourceEndpointRegion);
|
||||
}
|
||||
|
||||
bool ConfigureSubscriptionRequest::getDelayNotice() const {
|
||||
return delayNotice_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDelayNotice(bool delayNotice) {
|
||||
delayNotice_ = delayNotice;
|
||||
setParameter(std::string("DelayNotice"), delayNotice ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointInstanceID() const {
|
||||
return sourceEndpointInstanceID_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID) {
|
||||
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
|
||||
setParameter(std::string("SourceEndpointInstanceID"), sourceEndpointInstanceID);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointOwnerID() const {
|
||||
return sourceEndpointOwnerID_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointOwnerID(const std::string &sourceEndpointOwnerID) {
|
||||
sourceEndpointOwnerID_ = sourceEndpointOwnerID;
|
||||
setParameter(std::string("SourceEndpointOwnerID"), sourceEndpointOwnerID);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getDedicatedClusterId() const {
|
||||
return dedicatedClusterId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDedicatedClusterId(const std::string &dedicatedClusterId) {
|
||||
dedicatedClusterId_ = dedicatedClusterId;
|
||||
setParameter(std::string("DedicatedClusterId"), dedicatedClusterId);
|
||||
}
|
||||
|
||||
bool ConfigureSubscriptionRequest::getSubscriptionDataTypeDML() const {
|
||||
return subscriptionDataTypeDML_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSubscriptionDataTypeDML(bool subscriptionDataTypeDML) {
|
||||
subscriptionDataTypeDML_ = subscriptionDataTypeDML;
|
||||
setParameter(std::string("SubscriptionDataTypeDML"), subscriptionDataTypeDML ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointDatabaseName() const {
|
||||
return sourceEndpointDatabaseName_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName) {
|
||||
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
|
||||
setParameter(std::string("SourceEndpointDatabaseName"), sourceEndpointDatabaseName);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getReserve() const {
|
||||
return reserve_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setReserve(const std::string &reserve) {
|
||||
reserve_ = reserve;
|
||||
setParameter(std::string("Reserve"), reserve);
|
||||
}
|
||||
|
||||
bool ConfigureSubscriptionRequest::getSubscriptionDataTypeDDL() const {
|
||||
return subscriptionDataTypeDDL_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSubscriptionDataTypeDDL(bool subscriptionDataTypeDDL) {
|
||||
subscriptionDataTypeDDL_ = subscriptionDataTypeDDL;
|
||||
setParameter(std::string("SubscriptionDataTypeDDL"), subscriptionDataTypeDDL ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointPort() const {
|
||||
return sourceEndpointPort_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointPort(const std::string &sourceEndpointPort) {
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setParameter(std::string("SourceEndpointPort"), sourceEndpointPort);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointOracleSID() const {
|
||||
return sourceEndpointOracleSID_;
|
||||
}
|
||||
@@ -277,15 +295,6 @@ void ConfigureSubscriptionRequest::setSourceEndpointRole(const std::string &sour
|
||||
setParameter(std::string("SourceEndpointRole"), sourceEndpointRole);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getDtsInstanceId() const {
|
||||
return dtsInstanceId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDtsInstanceId(const std::string &dtsInstanceId) {
|
||||
dtsInstanceId_ = dtsInstanceId;
|
||||
setParameter(std::string("DtsInstanceId"), dtsInstanceId);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointEngineName() const {
|
||||
return sourceEndpointEngineName_;
|
||||
}
|
||||
|
||||
@@ -79,24 +79,6 @@ void ConfigureSynchronizationJobRequest::setDestinationEndpointPassword(const st
|
||||
setParameter(std::string("DestinationEndpoint.Password"), destinationEndpointPassword);
|
||||
}
|
||||
|
||||
bool ConfigureSynchronizationJobRequest::getDataInitialization() const {
|
||||
return dataInitialization_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setDataInitialization(bool dataInitialization) {
|
||||
dataInitialization_ = dataInitialization;
|
||||
setParameter(std::string("DataInitialization"), dataInitialization ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ConfigureSynchronizationJobRequest::getStructureInitialization() const {
|
||||
return structureInitialization_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setStructureInitialization(bool structureInitialization) {
|
||||
structureInitialization_ = structureInitialization;
|
||||
setParameter(std::string("StructureInitialization"), structureInitialization ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ConfigureSynchronizationJobRequest::getPartitionKeyModifyTime_Minute() const {
|
||||
return partitionKeyModifyTime_Minute_;
|
||||
}
|
||||
@@ -115,24 +97,6 @@ void ConfigureSynchronizationJobRequest::setPartitionKeyModifyTime_Day(bool part
|
||||
setParameter(std::string("PartitionKey.ModifyTime_Day"), partitionKeyModifyTime_Day ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getSourceEndpointInstanceType() const {
|
||||
return sourceEndpointInstanceType_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType) {
|
||||
sourceEndpointInstanceType_ = sourceEndpointInstanceType;
|
||||
setParameter(std::string("SourceEndpoint.InstanceType"), sourceEndpointInstanceType);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getSynchronizationJobId() const {
|
||||
return synchronizationJobId_;
|
||||
}
|
||||
@@ -160,15 +124,6 @@ void ConfigureSynchronizationJobRequest::setAccountId(const std::string &account
|
||||
setParameter(std::string("AccountId"), accountId);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getSourceEndpointUserName() const {
|
||||
return sourceEndpointUserName_;
|
||||
}
|
||||
@@ -187,15 +142,6 @@ void ConfigureSynchronizationJobRequest::setSourceEndpointDatabaseName(const std
|
||||
setParameter(std::string("SourceEndpoint.DatabaseName"), sourceEndpointDatabaseName);
|
||||
}
|
||||
|
||||
bool ConfigureSynchronizationJobRequest::getPartitionKeyModifyTime_Month() const {
|
||||
return partitionKeyModifyTime_Month_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setPartitionKeyModifyTime_Month(bool partitionKeyModifyTime_Month) {
|
||||
partitionKeyModifyTime_Month_ = partitionKeyModifyTime_Month;
|
||||
setParameter(std::string("PartitionKey.ModifyTime_Month"), partitionKeyModifyTime_Month ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getSourceEndpointPort() const {
|
||||
return sourceEndpointPort_;
|
||||
}
|
||||
@@ -214,15 +160,6 @@ void ConfigureSynchronizationJobRequest::setSourceEndpointOwnerID(const std::str
|
||||
setParameter(std::string("SourceEndpoint.OwnerID"), sourceEndpointOwnerID);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getDestinationEndpointUserName() const {
|
||||
return destinationEndpointUserName_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setDestinationEndpointUserName(const std::string &destinationEndpointUserName) {
|
||||
destinationEndpointUserName_ = destinationEndpointUserName;
|
||||
setParameter(std::string("DestinationEndpoint.UserName"), destinationEndpointUserName);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getDestinationEndpointPort() const {
|
||||
return destinationEndpointPort_;
|
||||
}
|
||||
@@ -259,24 +196,6 @@ void ConfigureSynchronizationJobRequest::setOwnerId(const std::string &ownerId)
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
bool ConfigureSynchronizationJobRequest::getPartitionKeyModifyTime_Hour() const {
|
||||
return partitionKeyModifyTime_Hour_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setPartitionKeyModifyTime_Hour(bool partitionKeyModifyTime_Hour) {
|
||||
partitionKeyModifyTime_Hour_ = partitionKeyModifyTime_Hour;
|
||||
setParameter(std::string("PartitionKey.ModifyTime_Hour"), partitionKeyModifyTime_Hour ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getDestinationEndpointDataBaseName() const {
|
||||
return destinationEndpointDataBaseName_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setDestinationEndpointDataBaseName(const std::string &destinationEndpointDataBaseName) {
|
||||
destinationEndpointDataBaseName_ = destinationEndpointDataBaseName;
|
||||
setParameter(std::string("DestinationEndpoint.DataBaseName"), destinationEndpointDataBaseName);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getSourceEndpointPassword() const {
|
||||
return sourceEndpointPassword_;
|
||||
}
|
||||
@@ -286,15 +205,6 @@ void ConfigureSynchronizationJobRequest::setSourceEndpointPassword(const std::st
|
||||
setParameter(std::string("SourceEndpoint.Password"), sourceEndpointPassword);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getMigrationReserved() const {
|
||||
return migrationReserved_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setMigrationReserved(const std::string &migrationReserved) {
|
||||
migrationReserved_ = migrationReserved;
|
||||
setParameter(std::string("MigrationReserved"), migrationReserved);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getDestinationEndpointIP() const {
|
||||
return destinationEndpointIP_;
|
||||
}
|
||||
@@ -322,3 +232,93 @@ void ConfigureSynchronizationJobRequest::setSynchronizationDirection(const std::
|
||||
setParameter(std::string("SynchronizationDirection"), synchronizationDirection);
|
||||
}
|
||||
|
||||
bool ConfigureSynchronizationJobRequest::getDataInitialization() const {
|
||||
return dataInitialization_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setDataInitialization(bool dataInitialization) {
|
||||
dataInitialization_ = dataInitialization;
|
||||
setParameter(std::string("DataInitialization"), dataInitialization ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ConfigureSynchronizationJobRequest::getStructureInitialization() const {
|
||||
return structureInitialization_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setStructureInitialization(bool structureInitialization) {
|
||||
structureInitialization_ = structureInitialization;
|
||||
setParameter(std::string("StructureInitialization"), structureInitialization ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getSourceEndpointInstanceType() const {
|
||||
return sourceEndpointInstanceType_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType) {
|
||||
sourceEndpointInstanceType_ = sourceEndpointInstanceType;
|
||||
setParameter(std::string("SourceEndpoint.InstanceType"), sourceEndpointInstanceType);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
bool ConfigureSynchronizationJobRequest::getPartitionKeyModifyTime_Month() const {
|
||||
return partitionKeyModifyTime_Month_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setPartitionKeyModifyTime_Month(bool partitionKeyModifyTime_Month) {
|
||||
partitionKeyModifyTime_Month_ = partitionKeyModifyTime_Month;
|
||||
setParameter(std::string("PartitionKey.ModifyTime_Month"), partitionKeyModifyTime_Month ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getDestinationEndpointUserName() const {
|
||||
return destinationEndpointUserName_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setDestinationEndpointUserName(const std::string &destinationEndpointUserName) {
|
||||
destinationEndpointUserName_ = destinationEndpointUserName;
|
||||
setParameter(std::string("DestinationEndpoint.UserName"), destinationEndpointUserName);
|
||||
}
|
||||
|
||||
bool ConfigureSynchronizationJobRequest::getPartitionKeyModifyTime_Hour() const {
|
||||
return partitionKeyModifyTime_Hour_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setPartitionKeyModifyTime_Hour(bool partitionKeyModifyTime_Hour) {
|
||||
partitionKeyModifyTime_Hour_ = partitionKeyModifyTime_Hour;
|
||||
setParameter(std::string("PartitionKey.ModifyTime_Hour"), partitionKeyModifyTime_Hour ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getDestinationEndpointDataBaseName() const {
|
||||
return destinationEndpointDataBaseName_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setDestinationEndpointDataBaseName(const std::string &destinationEndpointDataBaseName) {
|
||||
destinationEndpointDataBaseName_ = destinationEndpointDataBaseName;
|
||||
setParameter(std::string("DestinationEndpoint.DataBaseName"), destinationEndpointDataBaseName);
|
||||
}
|
||||
|
||||
std::string ConfigureSynchronizationJobRequest::getMigrationReserved() const {
|
||||
return migrationReserved_;
|
||||
}
|
||||
|
||||
void ConfigureSynchronizationJobRequest::setMigrationReserved(const std::string &migrationReserved) {
|
||||
migrationReserved_ = migrationReserved;
|
||||
setParameter(std::string("MigrationReserved"), migrationReserved);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,15 @@ DeleteDtsJobRequest::DeleteDtsJobRequest()
|
||||
|
||||
DeleteDtsJobRequest::~DeleteDtsJobRequest() {}
|
||||
|
||||
std::string DeleteDtsJobRequest::getJobType() const {
|
||||
return jobType_;
|
||||
}
|
||||
|
||||
void DeleteDtsJobRequest::setJobType(const std::string &jobType) {
|
||||
jobType_ = jobType;
|
||||
setParameter(std::string("JobType"), jobType);
|
||||
}
|
||||
|
||||
std::string DeleteDtsJobRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
99
dts/src/model/DescribeChannelAccountRequest.cc
Normal file
99
dts/src/model/DescribeChannelAccountRequest.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/DescribeChannelAccountRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::DescribeChannelAccountRequest;
|
||||
|
||||
DescribeChannelAccountRequest::DescribeChannelAccountRequest()
|
||||
: RpcServiceRequest("dts", "2020-01-01", "DescribeChannelAccount") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeChannelAccountRequest::~DescribeChannelAccountRequest() {}
|
||||
|
||||
std::string DescribeChannelAccountRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
void DescribeChannelAccountRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeChannelAccountRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeChannelAccountRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountRequest::getDtsJobId() const {
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void DescribeChannelAccountRequest::setDtsJobId(const std::string &dtsJobId) {
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter(std::string("DtsJobId"), dtsJobId);
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountRequest::getOriginType() const {
|
||||
return originType_;
|
||||
}
|
||||
|
||||
void DescribeChannelAccountRequest::setOriginType(const std::string &originType) {
|
||||
originType_ = originType;
|
||||
setParameter(std::string("OriginType"), originType);
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeChannelAccountRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountRequest::getTags() const {
|
||||
return tags_;
|
||||
}
|
||||
|
||||
void DescribeChannelAccountRequest::setTags(const std::string &tags) {
|
||||
tags_ = tags;
|
||||
setParameter(std::string("Tags"), tags);
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
void DescribeChannelAccountRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
100
dts/src/model/DescribeChannelAccountResult.cc
Normal file
100
dts/src/model/DescribeChannelAccountResult.cc
Normal file
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/DescribeChannelAccountResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dts;
|
||||
using namespace AlibabaCloud::Dts::Model;
|
||||
|
||||
DescribeChannelAccountResult::DescribeChannelAccountResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeChannelAccountResult::DescribeChannelAccountResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeChannelAccountResult::~DescribeChannelAccountResult()
|
||||
{}
|
||||
|
||||
void DescribeChannelAccountResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["DynamicMessage"].isNull())
|
||||
dynamicMessage_ = value["DynamicMessage"].asString();
|
||||
if(!value["DynamicCode"].isNull())
|
||||
dynamicCode_ = value["DynamicCode"].asString();
|
||||
if(!value["Username"].isNull())
|
||||
username_ = value["Username"].asString();
|
||||
if(!value["Password"].isNull())
|
||||
password_ = value["Password"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountResult::getUsername()const
|
||||
{
|
||||
return username_;
|
||||
}
|
||||
|
||||
int DescribeChannelAccountResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool DescribeChannelAccountResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
std::string DescribeChannelAccountResult::getPassword()const
|
||||
{
|
||||
return password_;
|
||||
}
|
||||
|
||||
@@ -43,15 +43,6 @@ void DescribeCheckJobsRequest::setCheckType(int checkType) {
|
||||
setParameter(std::string("CheckType"), std::to_string(checkType));
|
||||
}
|
||||
|
||||
std::string DescribeCheckJobsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeCheckJobsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
int DescribeCheckJobsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -70,3 +61,12 @@ void DescribeCheckJobsRequest::setJobName(const std::string &jobName) {
|
||||
setParameter(std::string("JobName"), jobName);
|
||||
}
|
||||
|
||||
std::string DescribeCheckJobsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeCheckJobsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -52,24 +52,6 @@ void DescribeClusterUsedUtilizationRequest::setDedicatedClusterId(const std::str
|
||||
setBodyParameter(std::string("DedicatedClusterId"), dedicatedClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeClusterUsedUtilizationRequest::getEnv() const {
|
||||
return env_;
|
||||
}
|
||||
|
||||
void DescribeClusterUsedUtilizationRequest::setEnv(const std::string &env) {
|
||||
env_ = env;
|
||||
setBodyParameter(std::string("Env"), env);
|
||||
}
|
||||
|
||||
std::string DescribeClusterUsedUtilizationRequest::getOwnerID() const {
|
||||
return ownerID_;
|
||||
}
|
||||
|
||||
void DescribeClusterUsedUtilizationRequest::setOwnerID(const std::string &ownerID) {
|
||||
ownerID_ = ownerID;
|
||||
setBodyParameter(std::string("OwnerID"), ownerID);
|
||||
}
|
||||
|
||||
std::string DescribeClusterUsedUtilizationRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
@@ -115,3 +97,21 @@ void DescribeClusterUsedUtilizationRequest::setDtsJobId(const std::string &dtsJo
|
||||
setBodyParameter(std::string("DtsJobId"), dtsJobId);
|
||||
}
|
||||
|
||||
std::string DescribeClusterUsedUtilizationRequest::getEnv() const {
|
||||
return env_;
|
||||
}
|
||||
|
||||
void DescribeClusterUsedUtilizationRequest::setEnv(const std::string &env) {
|
||||
env_ = env;
|
||||
setBodyParameter(std::string("Env"), env);
|
||||
}
|
||||
|
||||
std::string DescribeClusterUsedUtilizationRequest::getOwnerID() const {
|
||||
return ownerID_;
|
||||
}
|
||||
|
||||
void DescribeClusterUsedUtilizationRequest::setOwnerID(const std::string &ownerID) {
|
||||
ownerID_ = ownerID;
|
||||
setBodyParameter(std::string("OwnerID"), ownerID);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,13 +25,13 @@ DescribeDataCheckReportUrlRequest::DescribeDataCheckReportUrlRequest()
|
||||
|
||||
DescribeDataCheckReportUrlRequest::~DescribeDataCheckReportUrlRequest() {}
|
||||
|
||||
std::string DescribeDataCheckReportUrlRequest::getJobStepId() const {
|
||||
return jobStepId_;
|
||||
int DescribeDataCheckReportUrlRequest::getCheckType() const {
|
||||
return checkType_;
|
||||
}
|
||||
|
||||
void DescribeDataCheckReportUrlRequest::setJobStepId(const std::string &jobStepId) {
|
||||
jobStepId_ = jobStepId;
|
||||
setParameter(std::string("JobStepId"), jobStepId);
|
||||
void DescribeDataCheckReportUrlRequest::setCheckType(int checkType) {
|
||||
checkType_ = checkType;
|
||||
setParameter(std::string("CheckType"), std::to_string(checkType));
|
||||
}
|
||||
|
||||
std::string DescribeDataCheckReportUrlRequest::getTbName() const {
|
||||
@@ -52,3 +52,12 @@ void DescribeDataCheckReportUrlRequest::setDbName(const std::string &dbName) {
|
||||
setParameter(std::string("DbName"), dbName);
|
||||
}
|
||||
|
||||
std::string DescribeDataCheckReportUrlRequest::getDtsJobId() const {
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void DescribeDataCheckReportUrlRequest::setDtsJobId(const std::string &dtsJobId) {
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter(std::string("DtsJobId"), dtsJobId);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,13 +34,13 @@ void DescribeDataCheckTableDetailsRequest::setPageNumber(int pageNumber) {
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeDataCheckTableDetailsRequest::getJobStepId() const {
|
||||
return jobStepId_;
|
||||
int DescribeDataCheckTableDetailsRequest::getCheckType() const {
|
||||
return checkType_;
|
||||
}
|
||||
|
||||
void DescribeDataCheckTableDetailsRequest::setJobStepId(const std::string &jobStepId) {
|
||||
jobStepId_ = jobStepId;
|
||||
setParameter(std::string("JobStepId"), jobStepId);
|
||||
void DescribeDataCheckTableDetailsRequest::setCheckType(int checkType) {
|
||||
checkType_ = checkType;
|
||||
setParameter(std::string("CheckType"), std::to_string(checkType));
|
||||
}
|
||||
|
||||
int DescribeDataCheckTableDetailsRequest::getPageSize() const {
|
||||
@@ -52,6 +52,15 @@ void DescribeDataCheckTableDetailsRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDataCheckTableDetailsRequest::getDtsJobId() const {
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void DescribeDataCheckTableDetailsRequest::setDtsJobId(const std::string &dtsJobId) {
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter(std::string("DtsJobId"), dtsJobId);
|
||||
}
|
||||
|
||||
std::string DescribeDataCheckTableDetailsRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
@@ -63,6 +63,8 @@ void DescribeDataCheckTableDetailsResult::parse(const std::string &payload)
|
||||
tableDetailsObject.diffCount = std::stol(valueTableDetailsTableDetailsItem["DiffCount"].asString());
|
||||
if(!valueTableDetailsTableDetailsItem["BootTime"].isNull())
|
||||
tableDetailsObject.bootTime = valueTableDetailsTableDetailsItem["BootTime"].asString();
|
||||
if(!valueTableDetailsTableDetailsItem["ErrorCode"].isNull())
|
||||
tableDetailsObject.errorCode = std::stoi(valueTableDetailsTableDetailsItem["ErrorCode"].asString());
|
||||
tableDetails_.push_back(tableDetailsObject);
|
||||
}
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
@@ -81,24 +83,16 @@ void DescribeDataCheckTableDetailsResult::parse(const std::string &payload)
|
||||
dynamicCode_ = value["DynamicCode"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["RunningCount"].isNull())
|
||||
runningCount_ = std::stol(value["RunningCount"].asString());
|
||||
if(!value["WarningCount"].isNull())
|
||||
warningCount_ = std::stol(value["WarningCount"].asString());
|
||||
if(!value["FailedCount"].isNull())
|
||||
failedCount_ = std::stol(value["FailedCount"].asString());
|
||||
if(!value["InitCount"].isNull())
|
||||
initCount_ = std::stol(value["InitCount"].asString());
|
||||
if(!value["FinishedCount"].isNull())
|
||||
finishedCount_ = std::stol(value["FinishedCount"].asString());
|
||||
if(!value["DiffRowCount"].isNull())
|
||||
diffRowCount_ = std::stol(value["DiffRowCount"].asString());
|
||||
if(!value["DiffTableCount"].isNull())
|
||||
diffTableCount_ = std::stol(value["DiffTableCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribeDataCheckTableDetailsResult::getWarningCount()const
|
||||
long DescribeDataCheckTableDetailsResult::getDiffTableCount()const
|
||||
{
|
||||
return warningCount_;
|
||||
return diffTableCount_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDataCheckTableDetailsResult::TableDetailsItem> DescribeDataCheckTableDetailsResult::getTableDetails()const
|
||||
@@ -106,9 +100,29 @@ std::vector<DescribeDataCheckTableDetailsResult::TableDetailsItem> DescribeDataC
|
||||
return tableDetails_;
|
||||
}
|
||||
|
||||
long DescribeDataCheckTableDetailsResult::getRunningCount()const
|
||||
long DescribeDataCheckTableDetailsResult::getTotalCount()const
|
||||
{
|
||||
return runningCount_;
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeDataCheckTableDetailsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
long DescribeDataCheckTableDetailsResult::getFinishedCount()const
|
||||
{
|
||||
return finishedCount_;
|
||||
}
|
||||
|
||||
int DescribeDataCheckTableDetailsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DescribeDataCheckTableDetailsResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string DescribeDataCheckTableDetailsResult::getDynamicMessage()const
|
||||
@@ -131,43 +145,3 @@ std::string DescribeDataCheckTableDetailsResult::getErrCode()const
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
long DescribeDataCheckTableDetailsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeDataCheckTableDetailsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
long DescribeDataCheckTableDetailsResult::getInitCount()const
|
||||
{
|
||||
return initCount_;
|
||||
}
|
||||
|
||||
long DescribeDataCheckTableDetailsResult::getFinishedCount()const
|
||||
{
|
||||
return finishedCount_;
|
||||
}
|
||||
|
||||
long DescribeDataCheckTableDetailsResult::getDiffRowCount()const
|
||||
{
|
||||
return diffRowCount_;
|
||||
}
|
||||
|
||||
int DescribeDataCheckTableDetailsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
long DescribeDataCheckTableDetailsResult::getFailedCount()const
|
||||
{
|
||||
return failedCount_;
|
||||
}
|
||||
|
||||
std::string DescribeDataCheckTableDetailsResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ DescribeDataCheckTableDiffDetailsRequest::DescribeDataCheckTableDiffDetailsReque
|
||||
|
||||
DescribeDataCheckTableDiffDetailsRequest::~DescribeDataCheckTableDiffDetailsRequest() {}
|
||||
|
||||
std::string DescribeDataCheckTableDiffDetailsRequest::getJobStepId() const {
|
||||
return jobStepId_;
|
||||
}
|
||||
|
||||
void DescribeDataCheckTableDiffDetailsRequest::setJobStepId(const std::string &jobStepId) {
|
||||
jobStepId_ = jobStepId;
|
||||
setParameter(std::string("JobStepId"), jobStepId);
|
||||
}
|
||||
|
||||
long DescribeDataCheckTableDiffDetailsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
@@ -43,6 +34,15 @@ void DescribeDataCheckTableDiffDetailsRequest::setPageNumber(long pageNumber) {
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeDataCheckTableDiffDetailsRequest::getCheckType() const {
|
||||
return checkType_;
|
||||
}
|
||||
|
||||
void DescribeDataCheckTableDiffDetailsRequest::setCheckType(int checkType) {
|
||||
checkType_ = checkType;
|
||||
setParameter(std::string("CheckType"), std::to_string(checkType));
|
||||
}
|
||||
|
||||
long DescribeDataCheckTableDiffDetailsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -52,6 +52,15 @@ void DescribeDataCheckTableDiffDetailsRequest::setPageSize(long pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDataCheckTableDiffDetailsRequest::getDtsJobId() const {
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void DescribeDataCheckTableDiffDetailsRequest::setDtsJobId(const std::string &dtsJobId) {
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter(std::string("DtsJobId"), dtsJobId);
|
||||
}
|
||||
|
||||
std::string DescribeDataCheckTableDiffDetailsRequest::getTbName() const {
|
||||
return tbName_;
|
||||
}
|
||||
|
||||
@@ -1096,6 +1096,8 @@ void DescribeDtsJobDetailResult::parse(const std::string &payload)
|
||||
sourceEndpoint_.aliyunUid = sourceEndpointNode["AliyunUid"].asString();
|
||||
if(!sourceEndpointNode["UserName"].isNull())
|
||||
sourceEndpoint_.userName = sourceEndpointNode["UserName"].asString();
|
||||
if(!sourceEndpointNode["CanModifyPassword"].isNull())
|
||||
sourceEndpoint_.canModifyPassword = sourceEndpointNode["CanModifyPassword"].asString() == "true";
|
||||
auto destinationEndpointNode = value["DestinationEndpoint"];
|
||||
if(!destinationEndpointNode["SslSolutionEnum"].isNull())
|
||||
destinationEndpoint_.sslSolutionEnum = destinationEndpointNode["SslSolutionEnum"].asString();
|
||||
@@ -1117,6 +1119,8 @@ void DescribeDtsJobDetailResult::parse(const std::string &payload)
|
||||
destinationEndpoint_.userName = destinationEndpointNode["UserName"].asString();
|
||||
if(!destinationEndpointNode["EngineName"].isNull())
|
||||
destinationEndpoint_.engineName = destinationEndpointNode["EngineName"].asString();
|
||||
if(!destinationEndpointNode["CanModifyPassword"].isNull())
|
||||
destinationEndpoint_.canModifyPassword = destinationEndpointNode["CanModifyPassword"].asString() == "true";
|
||||
auto migrationModeNode = value["MigrationMode"];
|
||||
if(!migrationModeNode["DataExtractTransformLoad"].isNull())
|
||||
migrationMode_.dataExtractTransformLoad = migrationModeNode["DataExtractTransformLoad"].asString() == "true";
|
||||
@@ -1166,6 +1170,17 @@ void DescribeDtsJobDetailResult::parse(const std::string &payload)
|
||||
retryState_.jobId = retryStateNode["JobId"].asString();
|
||||
if(!retryStateNode["Retrying"].isNull())
|
||||
retryState_.retrying = retryStateNode["Retrying"].asString() == "true";
|
||||
auto dataDeliveryChannelInfoNode = value["DataDeliveryChannelInfo"];
|
||||
if(!dataDeliveryChannelInfoNode["PublicDproxyUrl"].isNull())
|
||||
dataDeliveryChannelInfo_.publicDproxyUrl = dataDeliveryChannelInfoNode["PublicDproxyUrl"].asString();
|
||||
if(!dataDeliveryChannelInfoNode["VpcDproxyUrl"].isNull())
|
||||
dataDeliveryChannelInfo_.vpcDproxyUrl = dataDeliveryChannelInfoNode["VpcDproxyUrl"].asString();
|
||||
if(!dataDeliveryChannelInfoNode["Topic"].isNull())
|
||||
dataDeliveryChannelInfo_.topic = dataDeliveryChannelInfoNode["Topic"].asString();
|
||||
if(!dataDeliveryChannelInfoNode["Region"].isNull())
|
||||
dataDeliveryChannelInfo_.region = dataDeliveryChannelInfoNode["Region"].asString();
|
||||
if(!dataDeliveryChannelInfoNode["PartitionNum"].isNull())
|
||||
dataDeliveryChannelInfo_.partitionNum = std::stoi(dataDeliveryChannelInfoNode["PartitionNum"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["DtsJobName"].isNull())
|
||||
@@ -1252,6 +1267,8 @@ void DescribeDtsJobDetailResult::parse(const std::string &payload)
|
||||
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||
if(!value["ResourceGroupDisplayName"].isNull())
|
||||
resourceGroupDisplayName_ = value["ResourceGroupDisplayName"].asString();
|
||||
if(!value["DtsBisLabel"].isNull())
|
||||
dtsBisLabel_ = value["DtsBisLabel"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -1440,6 +1457,11 @@ std::string DescribeDtsJobDetailResult::getDestNetType()const
|
||||
return destNetType_;
|
||||
}
|
||||
|
||||
DescribeDtsJobDetailResult::DataDeliveryChannelInfo DescribeDtsJobDetailResult::getDataDeliveryChannelInfo()const
|
||||
{
|
||||
return dataDeliveryChannelInfo_;
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobDetailResult::getBinlog()const
|
||||
{
|
||||
return binlog_;
|
||||
@@ -1460,6 +1482,11 @@ std::string DescribeDtsJobDetailResult::getGroupId()const
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobDetailResult::getDtsBisLabel()const
|
||||
{
|
||||
return dtsBisLabel_;
|
||||
}
|
||||
|
||||
long DescribeDtsJobDetailResult::getCheckpoint()const
|
||||
{
|
||||
return checkpoint_;
|
||||
|
||||
@@ -25,6 +25,15 @@ DescribeDtsJobsRequest::DescribeDtsJobsRequest()
|
||||
|
||||
DescribeDtsJobsRequest::~DescribeDtsJobsRequest() {}
|
||||
|
||||
bool DescribeDtsJobsRequest::getWithoutDbList() const {
|
||||
return withoutDbList_;
|
||||
}
|
||||
|
||||
void DescribeDtsJobsRequest::setWithoutDbList(bool withoutDbList) {
|
||||
withoutDbList_ = withoutDbList;
|
||||
setParameter(std::string("WithoutDbList"), withoutDbList ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobsRequest::getOrderDirection() const {
|
||||
return orderDirection_;
|
||||
}
|
||||
@@ -79,6 +88,15 @@ void DescribeDtsJobsRequest::setResourceGroupId(const std::string &resourceGroup
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobsRequest::getDtsBisLabel() const {
|
||||
return dtsBisLabel_;
|
||||
}
|
||||
|
||||
void DescribeDtsJobsRequest::setDtsBisLabel(const std::string &dtsBisLabel) {
|
||||
dtsBisLabel_ = dtsBisLabel;
|
||||
setParameter(std::string("DtsBisLabel"), dtsBisLabel);
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobsRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
@@ -107,6 +107,12 @@ void DescribeDtsJobsResult::parse(const std::string &payload)
|
||||
dtsJobListObject.migrationErrCode = valueDtsJobListDtsJobStatus["MigrationErrCode"].asString();
|
||||
if(!valueDtsJobListDtsJobStatus["MigrationErrHelpDocKey"].isNull())
|
||||
dtsJobListObject.migrationErrHelpDocKey = valueDtsJobListDtsJobStatus["MigrationErrHelpDocKey"].asString();
|
||||
if(!valueDtsJobListDtsJobStatus["MigrationErrType"].isNull())
|
||||
dtsJobListObject.migrationErrType = valueDtsJobListDtsJobStatus["MigrationErrType"].asString();
|
||||
if(!valueDtsJobListDtsJobStatus["EtlSafeCheckpoint"].isNull())
|
||||
dtsJobListObject.etlSafeCheckpoint = valueDtsJobListDtsJobStatus["EtlSafeCheckpoint"].asString();
|
||||
if(!valueDtsJobListDtsJobStatus["DtsBisLabel"].isNull())
|
||||
dtsJobListObject.dtsBisLabel = valueDtsJobListDtsJobStatus["DtsBisLabel"].asString();
|
||||
auto allTagListNode = valueDtsJobListDtsJobStatus["TagList"]["DtsTag"];
|
||||
for (auto valueDtsJobListDtsJobStatusTagListDtsTag : allTagListNode)
|
||||
{
|
||||
@@ -184,6 +190,10 @@ void DescribeDtsJobsResult::parse(const std::string &payload)
|
||||
dtsJobListObject.migrationMode.dataSynchronization = migrationModeNode["DataSynchronization"].asString() == "true";
|
||||
if(!migrationModeNode["StructureInitialization"].isNull())
|
||||
dtsJobListObject.migrationMode.structureInitialization = migrationModeNode["StructureInitialization"].asString() == "true";
|
||||
if(!migrationModeNode["FullDataCheck"].isNull())
|
||||
dtsJobListObject.migrationMode.fullDataCheck = migrationModeNode["FullDataCheck"].asString() == "true";
|
||||
if(!migrationModeNode["IncDataCheck"].isNull())
|
||||
dtsJobListObject.migrationMode.incDataCheck = migrationModeNode["IncDataCheck"].asString() == "true";
|
||||
auto performanceNode = value["Performance"];
|
||||
if(!performanceNode["Rps"].isNull())
|
||||
dtsJobListObject.performance.rps = performanceNode["Rps"].asString();
|
||||
@@ -249,6 +259,8 @@ void DescribeDtsJobsResult::parse(const std::string &payload)
|
||||
dtsJobListObject.reverseJob.memUsage = reverseJobNode["MemUsage"].asString();
|
||||
if(!reverseJobNode["DedicatedClusterId"].isNull())
|
||||
dtsJobListObject.reverseJob.dedicatedClusterId = reverseJobNode["DedicatedClusterId"].asString();
|
||||
if(!reverseJobNode["EtlSafeCheckpoint"].isNull())
|
||||
dtsJobListObject.reverseJob.etlSafeCheckpoint = reverseJobNode["EtlSafeCheckpoint"].asString();
|
||||
auto allErrorDetails9Node = reverseJobNode["ErrorDetails"]["ErrorDetail"];
|
||||
for (auto reverseJobNodeErrorDetailsErrorDetail : allErrorDetails9Node)
|
||||
{
|
||||
@@ -418,6 +430,8 @@ void DescribeDtsJobsResult::parse(const std::string &payload)
|
||||
dtsJobListObject.retryState.migrationErrHelpDocKey = retryStateNode["MigrationErrHelpDocKey"].asString();
|
||||
if(!retryStateNode["MigrationErrCode"].isNull())
|
||||
dtsJobListObject.retryState.migrationErrCode = retryStateNode["MigrationErrCode"].asString();
|
||||
if(!retryStateNode["MigrationErrType"].isNull())
|
||||
dtsJobListObject.retryState.migrationErrType = retryStateNode["MigrationErrType"].asString();
|
||||
if(!retryStateNode["MigrationErrMsg"].isNull())
|
||||
dtsJobListObject.retryState.migrationErrMsg = retryStateNode["MigrationErrMsg"].asString();
|
||||
if(!retryStateNode["MigrationErrWorkaround"].isNull())
|
||||
@@ -433,6 +447,24 @@ void DescribeDtsJobsResult::parse(const std::string &payload)
|
||||
dtsJobListObject.dataCloudStatus.progress = dataCloudStatusNode["Progress"].asString();
|
||||
if(!dataCloudStatusNode["ErrorMessage"].isNull())
|
||||
dtsJobListObject.dataCloudStatus.errorMessage = dataCloudStatusNode["ErrorMessage"].asString();
|
||||
auto fullDataCheckStatusNode = value["FullDataCheckStatus"];
|
||||
if(!fullDataCheckStatusNode["Status"].isNull())
|
||||
dtsJobListObject.fullDataCheckStatus.status = fullDataCheckStatusNode["Status"].asString();
|
||||
if(!fullDataCheckStatusNode["Percent"].isNull())
|
||||
dtsJobListObject.fullDataCheckStatus.percent = fullDataCheckStatusNode["Percent"].asString();
|
||||
if(!fullDataCheckStatusNode["ErrorMessage"].isNull())
|
||||
dtsJobListObject.fullDataCheckStatus.errorMessage = fullDataCheckStatusNode["ErrorMessage"].asString();
|
||||
if(!fullDataCheckStatusNode["Progress"].isNull())
|
||||
dtsJobListObject.fullDataCheckStatus.progress = fullDataCheckStatusNode["Progress"].asString();
|
||||
auto incDataCheckStatusNode = value["IncDataCheckStatus"];
|
||||
if(!incDataCheckStatusNode["Status"].isNull())
|
||||
dtsJobListObject.incDataCheckStatus.status = incDataCheckStatusNode["Status"].asString();
|
||||
if(!incDataCheckStatusNode["Percent"].isNull())
|
||||
dtsJobListObject.incDataCheckStatus.percent = incDataCheckStatusNode["Percent"].asString();
|
||||
if(!incDataCheckStatusNode["ErrorMessage"].isNull())
|
||||
dtsJobListObject.incDataCheckStatus.errorMessage = incDataCheckStatusNode["ErrorMessage"].asString();
|
||||
if(!incDataCheckStatusNode["Progress"].isNull())
|
||||
dtsJobListObject.incDataCheckStatus.progress = incDataCheckStatusNode["Progress"].asString();
|
||||
dtsJobList_.push_back(dtsJobListObject);
|
||||
}
|
||||
auto allEtlDemoListNode = value["EtlDemoList"]["DtsJobStatus"];
|
||||
@@ -485,6 +517,8 @@ void DescribeDtsJobsResult::parse(const std::string &payload)
|
||||
etlDemoListObject.resourceGroupId = valueEtlDemoListDtsJobStatus["ResourceGroupId"].asString();
|
||||
if(!valueEtlDemoListDtsJobStatus["ResourceGroupDisplayName"].isNull())
|
||||
etlDemoListObject.resourceGroupDisplayName = valueEtlDemoListDtsJobStatus["ResourceGroupDisplayName"].asString();
|
||||
if(!valueEtlDemoListDtsJobStatus["EtlSafeCheckpoint"].isNull())
|
||||
etlDemoListObject.etlSafeCheckpoint = valueEtlDemoListDtsJobStatus["EtlSafeCheckpoint"].asString();
|
||||
auto allTagList25Node = valueEtlDemoListDtsJobStatus["TagList"]["DtsTag"];
|
||||
for (auto valueEtlDemoListDtsJobStatusTagListDtsTag : allTagList25Node)
|
||||
{
|
||||
@@ -609,6 +643,8 @@ void DescribeDtsJobsResult::parse(const std::string &payload)
|
||||
etlDemoListObject.reverseJob21.dtsJobDirection = reverseJob21Node["DtsJobDirection"].asString();
|
||||
if(!reverseJob21Node["Checkpoint"].isNull())
|
||||
etlDemoListObject.reverseJob21.checkpoint = reverseJob21Node["Checkpoint"].asString();
|
||||
if(!reverseJob21Node["EtlSafeCheckpoint"].isNull())
|
||||
etlDemoListObject.reverseJob21.etlSafeCheckpoint = reverseJob21Node["EtlSafeCheckpoint"].asString();
|
||||
auto dataInitializationStatus26Node = reverseJob21Node["DataInitializationStatus"];
|
||||
if(!dataInitializationStatus26Node["Status"].isNull())
|
||||
etlDemoListObject.reverseJob21.dataInitializationStatus26.status = dataInitializationStatus26Node["Status"].asString();
|
||||
|
||||
@@ -107,6 +107,74 @@ void DescribePreCheckStatusResult::parse(const std::string &payload)
|
||||
}
|
||||
jobProgress_.push_back(jobProgressObject);
|
||||
}
|
||||
auto allAnalysisJobProgressNode = value["AnalysisJobProgress"]["AnalysisProgressInfo"];
|
||||
for (auto valueAnalysisJobProgressAnalysisProgressInfo : allAnalysisJobProgressNode)
|
||||
{
|
||||
AnalysisProgressInfo analysisJobProgressObject;
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["Skip"].isNull())
|
||||
analysisJobProgressObject.skip = valueAnalysisJobProgressAnalysisProgressInfo["Skip"].asString() == "true";
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["FinishTime"].isNull())
|
||||
analysisJobProgressObject.finishTime = valueAnalysisJobProgressAnalysisProgressInfo["FinishTime"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["IgnoreFlag"].isNull())
|
||||
analysisJobProgressObject.ignoreFlag = valueAnalysisJobProgressAnalysisProgressInfo["IgnoreFlag"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["DelaySeconds"].isNull())
|
||||
analysisJobProgressObject.delaySeconds = std::stoi(valueAnalysisJobProgressAnalysisProgressInfo["DelaySeconds"].asString());
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["DdlSql"].isNull())
|
||||
analysisJobProgressObject.ddlSql = valueAnalysisJobProgressAnalysisProgressInfo["DdlSql"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["State"].isNull())
|
||||
analysisJobProgressObject.state = valueAnalysisJobProgressAnalysisProgressInfo["State"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["BootTime"].isNull())
|
||||
analysisJobProgressObject.bootTime = valueAnalysisJobProgressAnalysisProgressInfo["BootTime"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["Item"].isNull())
|
||||
analysisJobProgressObject.item = valueAnalysisJobProgressAnalysisProgressInfo["Item"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["Sub"].isNull())
|
||||
analysisJobProgressObject.sub = valueAnalysisJobProgressAnalysisProgressInfo["Sub"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["Total"].isNull())
|
||||
analysisJobProgressObject.total = std::stoi(valueAnalysisJobProgressAnalysisProgressInfo["Total"].asString());
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["TargetNames"].isNull())
|
||||
analysisJobProgressObject.targetNames = valueAnalysisJobProgressAnalysisProgressInfo["TargetNames"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["CanSkip"].isNull())
|
||||
analysisJobProgressObject.canSkip = valueAnalysisJobProgressAnalysisProgressInfo["CanSkip"].asString() == "true";
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["Names"].isNull())
|
||||
analysisJobProgressObject.names = valueAnalysisJobProgressAnalysisProgressInfo["Names"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["ErrDetail"].isNull())
|
||||
analysisJobProgressObject.errDetail = valueAnalysisJobProgressAnalysisProgressInfo["ErrDetail"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["DiffRow"].isNull())
|
||||
analysisJobProgressObject.diffRow = std::stol(valueAnalysisJobProgressAnalysisProgressInfo["DiffRow"].asString());
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["JobId"].isNull())
|
||||
analysisJobProgressObject.jobId = valueAnalysisJobProgressAnalysisProgressInfo["JobId"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["SourceSchema"].isNull())
|
||||
analysisJobProgressObject.sourceSchema = valueAnalysisJobProgressAnalysisProgressInfo["SourceSchema"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["DestSchema"].isNull())
|
||||
analysisJobProgressObject.destSchema = valueAnalysisJobProgressAnalysisProgressInfo["DestSchema"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["ParentObj"].isNull())
|
||||
analysisJobProgressObject.parentObj = valueAnalysisJobProgressAnalysisProgressInfo["ParentObj"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["ErrMsg"].isNull())
|
||||
analysisJobProgressObject.errMsg = valueAnalysisJobProgressAnalysisProgressInfo["ErrMsg"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["OrderNum"].isNull())
|
||||
analysisJobProgressObject.orderNum = std::stoi(valueAnalysisJobProgressAnalysisProgressInfo["OrderNum"].asString());
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["RepairMethod"].isNull())
|
||||
analysisJobProgressObject.repairMethod = valueAnalysisJobProgressAnalysisProgressInfo["RepairMethod"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["Id"].isNull())
|
||||
analysisJobProgressObject.id = valueAnalysisJobProgressAnalysisProgressInfo["Id"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfo["Current"].isNull())
|
||||
analysisJobProgressObject.current = valueAnalysisJobProgressAnalysisProgressInfo["Current"].asString();
|
||||
auto allLogs1Node = valueAnalysisJobProgressAnalysisProgressInfo["Logs"]["JobLog"];
|
||||
for (auto valueAnalysisJobProgressAnalysisProgressInfoLogsJobLog : allLogs1Node)
|
||||
{
|
||||
AnalysisProgressInfo::JobLog2 logs1Object;
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfoLogsJobLog["ErrData"].isNull())
|
||||
logs1Object.errData = valueAnalysisJobProgressAnalysisProgressInfoLogsJobLog["ErrData"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfoLogsJobLog["ErrMsg"].isNull())
|
||||
logs1Object.errMsg = valueAnalysisJobProgressAnalysisProgressInfoLogsJobLog["ErrMsg"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfoLogsJobLog["LogLevel"].isNull())
|
||||
logs1Object.logLevel = valueAnalysisJobProgressAnalysisProgressInfoLogsJobLog["LogLevel"].asString();
|
||||
if(!valueAnalysisJobProgressAnalysisProgressInfoLogsJobLog["ErrType"].isNull())
|
||||
logs1Object.errType = valueAnalysisJobProgressAnalysisProgressInfoLogsJobLog["ErrType"].asString();
|
||||
analysisJobProgressObject.logs1.push_back(logs1Object);
|
||||
}
|
||||
analysisJobProgress_.push_back(analysisJobProgressObject);
|
||||
}
|
||||
auto allSubDistributedJobStatusNode = value["SubDistributedJobStatus"]["SubDistributedJobStatusItem"];
|
||||
for (auto valueSubDistributedJobStatusSubDistributedJobStatusItem : allSubDistributedJobStatusNode)
|
||||
{
|
||||
@@ -123,76 +191,176 @@ void DescribePreCheckStatusResult::parse(const std::string &payload)
|
||||
subDistributedJobStatusObject.code = valueSubDistributedJobStatusSubDistributedJobStatusItem["Code"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItem["Total"].isNull())
|
||||
subDistributedJobStatusObject.total = std::stoi(valueSubDistributedJobStatusSubDistributedJobStatusItem["Total"].asString());
|
||||
auto allJobProgress1Node = valueSubDistributedJobStatusSubDistributedJobStatusItem["JobProgress"]["ProgressInfo"];
|
||||
for (auto valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo : allJobProgress1Node)
|
||||
auto allJobProgress3Node = valueSubDistributedJobStatusSubDistributedJobStatusItem["JobProgress"]["ProgressInfo"];
|
||||
for (auto valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo : allJobProgress3Node)
|
||||
{
|
||||
SubDistributedJobStatusItem::ProgressInfo2 jobProgress1Object;
|
||||
SubDistributedJobStatusItem::ProgressInfo4 jobProgress3Object;
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Skip"].isNull())
|
||||
jobProgress1Object.skip = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Skip"].asString() == "true";
|
||||
jobProgress3Object.skip = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Skip"].asString() == "true";
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["FinishTime"].isNull())
|
||||
jobProgress1Object.finishTime = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["FinishTime"].asString();
|
||||
jobProgress3Object.finishTime = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["FinishTime"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["IgnoreFlag"].isNull())
|
||||
jobProgress1Object.ignoreFlag = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["IgnoreFlag"].asString();
|
||||
jobProgress3Object.ignoreFlag = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["IgnoreFlag"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["DelaySeconds"].isNull())
|
||||
jobProgress1Object.delaySeconds = std::stoi(valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["DelaySeconds"].asString());
|
||||
jobProgress3Object.delaySeconds = std::stoi(valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["DelaySeconds"].asString());
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["DdlSql"].isNull())
|
||||
jobProgress1Object.ddlSql = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["DdlSql"].asString();
|
||||
jobProgress3Object.ddlSql = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["DdlSql"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["State"].isNull())
|
||||
jobProgress1Object.state = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["State"].asString();
|
||||
jobProgress3Object.state = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["State"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["BootTime"].isNull())
|
||||
jobProgress1Object.bootTime = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["BootTime"].asString();
|
||||
jobProgress3Object.bootTime = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["BootTime"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Item"].isNull())
|
||||
jobProgress1Object.item = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Item"].asString();
|
||||
jobProgress3Object.item = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Item"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Sub"].isNull())
|
||||
jobProgress1Object.sub = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Sub"].asString();
|
||||
jobProgress3Object.sub = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Sub"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Total"].isNull())
|
||||
jobProgress1Object.total = std::stoi(valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Total"].asString());
|
||||
jobProgress3Object.total = std::stoi(valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Total"].asString());
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["TargetNames"].isNull())
|
||||
jobProgress1Object.targetNames = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["TargetNames"].asString();
|
||||
jobProgress3Object.targetNames = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["TargetNames"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["CanSkip"].isNull())
|
||||
jobProgress1Object.canSkip = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["CanSkip"].asString() == "true";
|
||||
jobProgress3Object.canSkip = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["CanSkip"].asString() == "true";
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Names"].isNull())
|
||||
jobProgress1Object.names = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Names"].asString();
|
||||
jobProgress3Object.names = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Names"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["ErrDetail"].isNull())
|
||||
jobProgress1Object.errDetail = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["ErrDetail"].asString();
|
||||
jobProgress3Object.errDetail = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["ErrDetail"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["DiffRow"].isNull())
|
||||
jobProgress1Object.diffRow = std::stol(valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["DiffRow"].asString());
|
||||
jobProgress3Object.diffRow = std::stol(valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["DiffRow"].asString());
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["JobId"].isNull())
|
||||
jobProgress1Object.jobId = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["JobId"].asString();
|
||||
jobProgress3Object.jobId = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["JobId"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["SourceSchema"].isNull())
|
||||
jobProgress1Object.sourceSchema = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["SourceSchema"].asString();
|
||||
jobProgress3Object.sourceSchema = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["SourceSchema"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["DestSchema"].isNull())
|
||||
jobProgress1Object.destSchema = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["DestSchema"].asString();
|
||||
jobProgress3Object.destSchema = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["DestSchema"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["ParentObj"].isNull())
|
||||
jobProgress1Object.parentObj = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["ParentObj"].asString();
|
||||
jobProgress3Object.parentObj = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["ParentObj"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["ErrMsg"].isNull())
|
||||
jobProgress1Object.errMsg = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["ErrMsg"].asString();
|
||||
jobProgress3Object.errMsg = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["ErrMsg"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["OrderNum"].isNull())
|
||||
jobProgress1Object.orderNum = std::stoi(valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["OrderNum"].asString());
|
||||
jobProgress3Object.orderNum = std::stoi(valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["OrderNum"].asString());
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["RepairMethod"].isNull())
|
||||
jobProgress1Object.repairMethod = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["RepairMethod"].asString();
|
||||
jobProgress3Object.repairMethod = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["RepairMethod"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Id"].isNull())
|
||||
jobProgress1Object.id = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Id"].asString();
|
||||
jobProgress3Object.id = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Id"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Current"].isNull())
|
||||
jobProgress1Object.current = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Current"].asString();
|
||||
auto allLogs3Node = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Logs"]["JobLog"];
|
||||
for (auto valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog : allLogs3Node)
|
||||
jobProgress3Object.current = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Current"].asString();
|
||||
auto allLogs5Node = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfo["Logs"]["JobLog"];
|
||||
for (auto valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog : allLogs5Node)
|
||||
{
|
||||
SubDistributedJobStatusItem::ProgressInfo2::JobLog4 logs3Object;
|
||||
SubDistributedJobStatusItem::ProgressInfo4::JobLog6 logs5Object;
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog["ErrData"].isNull())
|
||||
logs3Object.errData = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog["ErrData"].asString();
|
||||
logs5Object.errData = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog["ErrData"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog["ErrMsg"].isNull())
|
||||
logs3Object.errMsg = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog["ErrMsg"].asString();
|
||||
logs5Object.errMsg = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog["ErrMsg"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog["LogLevel"].isNull())
|
||||
logs3Object.logLevel = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog["LogLevel"].asString();
|
||||
logs5Object.logLevel = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog["LogLevel"].asString();
|
||||
if(!valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog["ErrType"].isNull())
|
||||
logs3Object.errType = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog["ErrType"].asString();
|
||||
jobProgress1Object.logs3.push_back(logs3Object);
|
||||
logs5Object.errType = valueSubDistributedJobStatusSubDistributedJobStatusItemJobProgressProgressInfoLogsJobLog["ErrType"].asString();
|
||||
jobProgress3Object.logs5.push_back(logs5Object);
|
||||
}
|
||||
subDistributedJobStatusObject.jobProgress1.push_back(jobProgress1Object);
|
||||
subDistributedJobStatusObject.jobProgress3.push_back(jobProgress3Object);
|
||||
}
|
||||
subDistributedJobStatus_.push_back(subDistributedJobStatusObject);
|
||||
}
|
||||
auto allFullNetCheckJobStatusNode = value["FullNetCheckJobStatus"]["FullNetCheckJobStatusItem"];
|
||||
for (auto valueFullNetCheckJobStatusFullNetCheckJobStatusItem : allFullNetCheckJobStatusNode)
|
||||
{
|
||||
FullNetCheckJobStatusItem fullNetCheckJobStatusObject;
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["JobName"].isNull())
|
||||
fullNetCheckJobStatusObject.jobName = valueFullNetCheckJobStatusFullNetCheckJobStatusItem["JobName"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["State"].isNull())
|
||||
fullNetCheckJobStatusObject.state = valueFullNetCheckJobStatusFullNetCheckJobStatusItem["State"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["JobId"].isNull())
|
||||
fullNetCheckJobStatusObject.jobId = valueFullNetCheckJobStatusFullNetCheckJobStatusItem["JobId"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["ErrorItem"].isNull())
|
||||
fullNetCheckJobStatusObject.errorItem = std::stoi(valueFullNetCheckJobStatusFullNetCheckJobStatusItem["ErrorItem"].asString());
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["Code"].isNull())
|
||||
fullNetCheckJobStatusObject.code = valueFullNetCheckJobStatusFullNetCheckJobStatusItem["Code"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["Total"].isNull())
|
||||
fullNetCheckJobStatusObject.total = std::stoi(valueFullNetCheckJobStatusFullNetCheckJobStatusItem["Total"].asString());
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["HostRegion"].isNull())
|
||||
fullNetCheckJobStatusObject.hostRegion = valueFullNetCheckJobStatusFullNetCheckJobStatusItem["HostRegion"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["SrcRegion"].isNull())
|
||||
fullNetCheckJobStatusObject.srcRegion = valueFullNetCheckJobStatusFullNetCheckJobStatusItem["SrcRegion"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["DestRegion"].isNull())
|
||||
fullNetCheckJobStatusObject.destRegion = valueFullNetCheckJobStatusFullNetCheckJobStatusItem["DestRegion"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["SrcRegionCidr"].isNull())
|
||||
fullNetCheckJobStatusObject.srcRegionCidr = valueFullNetCheckJobStatusFullNetCheckJobStatusItem["SrcRegionCidr"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["DestRegionCidr"].isNull())
|
||||
fullNetCheckJobStatusObject.destRegionCidr = valueFullNetCheckJobStatusFullNetCheckJobStatusItem["DestRegionCidr"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["SourceEndpointType"].isNull())
|
||||
fullNetCheckJobStatusObject.sourceEndpointType = valueFullNetCheckJobStatusFullNetCheckJobStatusItem["SourceEndpointType"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItem["DestinationEndpointType"].isNull())
|
||||
fullNetCheckJobStatusObject.destinationEndpointType = valueFullNetCheckJobStatusFullNetCheckJobStatusItem["DestinationEndpointType"].asString();
|
||||
auto allJobProgress7Node = valueFullNetCheckJobStatusFullNetCheckJobStatusItem["JobProgress"]["ProgressInfo"];
|
||||
for (auto valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo : allJobProgress7Node)
|
||||
{
|
||||
FullNetCheckJobStatusItem::ProgressInfo8 jobProgress7Object;
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Skip"].isNull())
|
||||
jobProgress7Object.skip = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Skip"].asString() == "true";
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["FinishTime"].isNull())
|
||||
jobProgress7Object.finishTime = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["FinishTime"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["IgnoreFlag"].isNull())
|
||||
jobProgress7Object.ignoreFlag = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["IgnoreFlag"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["DelaySeconds"].isNull())
|
||||
jobProgress7Object.delaySeconds = std::stoi(valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["DelaySeconds"].asString());
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["DdlSql"].isNull())
|
||||
jobProgress7Object.ddlSql = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["DdlSql"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["State"].isNull())
|
||||
jobProgress7Object.state = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["State"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["BootTime"].isNull())
|
||||
jobProgress7Object.bootTime = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["BootTime"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Item"].isNull())
|
||||
jobProgress7Object.item = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Item"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Sub"].isNull())
|
||||
jobProgress7Object.sub = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Sub"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Total"].isNull())
|
||||
jobProgress7Object.total = std::stoi(valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Total"].asString());
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["TargetNames"].isNull())
|
||||
jobProgress7Object.targetNames = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["TargetNames"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["CanSkip"].isNull())
|
||||
jobProgress7Object.canSkip = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["CanSkip"].asString() == "true";
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Names"].isNull())
|
||||
jobProgress7Object.names = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Names"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["ErrDetail"].isNull())
|
||||
jobProgress7Object.errDetail = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["ErrDetail"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["DiffRow"].isNull())
|
||||
jobProgress7Object.diffRow = std::stol(valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["DiffRow"].asString());
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["JobId"].isNull())
|
||||
jobProgress7Object.jobId = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["JobId"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["SourceSchema"].isNull())
|
||||
jobProgress7Object.sourceSchema = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["SourceSchema"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["DestSchema"].isNull())
|
||||
jobProgress7Object.destSchema = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["DestSchema"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["ParentObj"].isNull())
|
||||
jobProgress7Object.parentObj = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["ParentObj"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["ErrMsg"].isNull())
|
||||
jobProgress7Object.errMsg = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["ErrMsg"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["OrderNum"].isNull())
|
||||
jobProgress7Object.orderNum = std::stoi(valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["OrderNum"].asString());
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["RepairMethod"].isNull())
|
||||
jobProgress7Object.repairMethod = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["RepairMethod"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Id"].isNull())
|
||||
jobProgress7Object.id = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Id"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Current"].isNull())
|
||||
jobProgress7Object.current = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Current"].asString();
|
||||
auto allLogs9Node = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfo["Logs"]["JobLog"];
|
||||
for (auto valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfoLogsJobLog : allLogs9Node)
|
||||
{
|
||||
FullNetCheckJobStatusItem::ProgressInfo8::JobLog10 logs9Object;
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfoLogsJobLog["ErrData"].isNull())
|
||||
logs9Object.errData = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfoLogsJobLog["ErrData"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfoLogsJobLog["ErrMsg"].isNull())
|
||||
logs9Object.errMsg = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfoLogsJobLog["ErrMsg"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfoLogsJobLog["LogLevel"].isNull())
|
||||
logs9Object.logLevel = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfoLogsJobLog["LogLevel"].asString();
|
||||
if(!valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfoLogsJobLog["ErrType"].isNull())
|
||||
logs9Object.errType = valueFullNetCheckJobStatusFullNetCheckJobStatusItemJobProgressProgressInfoLogsJobLog["ErrType"].asString();
|
||||
jobProgress7Object.logs9.push_back(logs9Object);
|
||||
}
|
||||
fullNetCheckJobStatusObject.jobProgress7.push_back(jobProgress7Object);
|
||||
}
|
||||
fullNetCheckJobStatus_.push_back(fullNetCheckJobStatusObject);
|
||||
}
|
||||
if(!value["State"].isNull())
|
||||
state_ = value["State"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
@@ -209,6 +377,8 @@ void DescribePreCheckStatusResult::parse(const std::string &payload)
|
||||
jobId_ = value["JobId"].asString();
|
||||
if(!value["ErrorItem"].isNull())
|
||||
errorItem_ = std::stoi(value["ErrorItem"].asString());
|
||||
if(!value["ErrorAnalysisItem"].isNull())
|
||||
errorAnalysisItem_ = std::stoi(value["ErrorAnalysisItem"].asString());
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stol(value["TotalRecordCount"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
@@ -223,11 +393,21 @@ long DescribePreCheckStatusResult::getTotalRecordCount()const
|
||||
return totalRecordCount_;
|
||||
}
|
||||
|
||||
std::vector<DescribePreCheckStatusResult::AnalysisProgressInfo> DescribePreCheckStatusResult::getAnalysisJobProgress()const
|
||||
{
|
||||
return analysisJobProgress_;
|
||||
}
|
||||
|
||||
long DescribePreCheckStatusResult::getPageRecordCount()const
|
||||
{
|
||||
return pageRecordCount_;
|
||||
}
|
||||
|
||||
std::vector<DescribePreCheckStatusResult::FullNetCheckJobStatusItem> DescribePreCheckStatusResult::getFullNetCheckJobStatus()const
|
||||
{
|
||||
return fullNetCheckJobStatus_;
|
||||
}
|
||||
|
||||
std::string DescribePreCheckStatusResult::getJobName()const
|
||||
{
|
||||
return jobName_;
|
||||
@@ -253,6 +433,11 @@ bool DescribePreCheckStatusResult::getSuccess()const
|
||||
return success_;
|
||||
}
|
||||
|
||||
int DescribePreCheckStatusResult::getErrorAnalysisItem()const
|
||||
{
|
||||
return errorAnalysisItem_;
|
||||
}
|
||||
|
||||
long DescribePreCheckStatusResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
|
||||
@@ -25,15 +25,6 @@ DescribeSubscriptionMetaRequest::DescribeSubscriptionMetaRequest()
|
||||
|
||||
DescribeSubscriptionMetaRequest::~DescribeSubscriptionMetaRequest() {}
|
||||
|
||||
std::string DescribeSubscriptionMetaRequest::getTopics() const {
|
||||
return topics_;
|
||||
}
|
||||
|
||||
void DescribeSubscriptionMetaRequest::setTopics(const std::string &topics) {
|
||||
topics_ = topics;
|
||||
setParameter(std::string("Topics"), topics);
|
||||
}
|
||||
|
||||
std::string DescribeSubscriptionMetaRequest::getSid() const {
|
||||
return sid_;
|
||||
}
|
||||
@@ -61,6 +52,15 @@ void DescribeSubscriptionMetaRequest::setSubMigrationJobIds(const std::string &s
|
||||
setParameter(std::string("SubMigrationJobIds"), subMigrationJobIds);
|
||||
}
|
||||
|
||||
std::string DescribeSubscriptionMetaRequest::getTopics() const {
|
||||
return topics_;
|
||||
}
|
||||
|
||||
void DescribeSubscriptionMetaRequest::setTopics(const std::string &topics) {
|
||||
topics_ = topics;
|
||||
setParameter(std::string("Topics"), topics);
|
||||
}
|
||||
|
||||
std::string DescribeSubscriptionMetaRequest::getDtsInstanceId() const {
|
||||
return dtsInstanceId_;
|
||||
}
|
||||
|
||||
@@ -34,15 +34,6 @@ void DescribeSynchronizationJobStatusRequest::setClientToken(const std::string &
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeSynchronizationJobStatusRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSynchronizationJobStatusRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string DescribeSynchronizationJobStatusRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
@@ -79,6 +70,15 @@ void DescribeSynchronizationJobStatusRequest::setRegionId(const std::string ®
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeSynchronizationJobStatusRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSynchronizationJobStatusRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string DescribeSynchronizationJobStatusRequest::getSynchronizationDirection() const {
|
||||
return synchronizationDirection_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ ModifyDtsJobRequest::ModifyDtsJobRequest()
|
||||
|
||||
ModifyDtsJobRequest::~ModifyDtsJobRequest() {}
|
||||
|
||||
bool ModifyDtsJobRequest::getDataInitialization() const {
|
||||
return dataInitialization_;
|
||||
}
|
||||
|
||||
void ModifyDtsJobRequest::setDataInitialization(bool dataInitialization) {
|
||||
dataInitialization_ = dataInitialization;
|
||||
setParameter(std::string("DataInitialization"), dataInitialization ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyDtsJobRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
@@ -34,6 +43,15 @@ void ModifyDtsJobRequest::setClientToken(const std::string &clientToken) {
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
bool ModifyDtsJobRequest::getStructureInitialization() const {
|
||||
return structureInitialization_;
|
||||
}
|
||||
|
||||
void ModifyDtsJobRequest::setStructureInitialization(bool structureInitialization) {
|
||||
structureInitialization_ = structureInitialization;
|
||||
setParameter(std::string("StructureInitialization"), structureInitialization ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyDtsJobRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
@@ -61,6 +79,15 @@ void ModifyDtsJobRequest::setEtlOperatorColumnReference(const std::string &etlOp
|
||||
setBodyParameter(std::string("EtlOperatorColumnReference"), etlOperatorColumnReference);
|
||||
}
|
||||
|
||||
bool ModifyDtsJobRequest::getDataSynchronization() const {
|
||||
return dataSynchronization_;
|
||||
}
|
||||
|
||||
void ModifyDtsJobRequest::setDataSynchronization(bool dataSynchronization) {
|
||||
dataSynchronization_ = dataSynchronization;
|
||||
setParameter(std::string("DataSynchronization"), dataSynchronization ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyDtsJobRequest::getDbList() const {
|
||||
return dbList_;
|
||||
}
|
||||
|
||||
54
dts/src/model/ReverseTwoWayDirectionRequest.cc
Normal file
54
dts/src/model/ReverseTwoWayDirectionRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/ReverseTwoWayDirectionRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::ReverseTwoWayDirectionRequest;
|
||||
|
||||
ReverseTwoWayDirectionRequest::ReverseTwoWayDirectionRequest()
|
||||
: RpcServiceRequest("dts", "2020-01-01", "ReverseTwoWayDirection") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ReverseTwoWayDirectionRequest::~ReverseTwoWayDirectionRequest() {}
|
||||
|
||||
std::string ReverseTwoWayDirectionRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ReverseTwoWayDirectionRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
bool ReverseTwoWayDirectionRequest::getIgnoreErrorSubJob() const {
|
||||
return ignoreErrorSubJob_;
|
||||
}
|
||||
|
||||
void ReverseTwoWayDirectionRequest::setIgnoreErrorSubJob(bool ignoreErrorSubJob) {
|
||||
ignoreErrorSubJob_ = ignoreErrorSubJob;
|
||||
setParameter(std::string("IgnoreErrorSubJob"), ignoreErrorSubJob ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ReverseTwoWayDirectionRequest::getDtsInstanceId() const {
|
||||
return dtsInstanceId_;
|
||||
}
|
||||
|
||||
void ReverseTwoWayDirectionRequest::setDtsInstanceId(const std::string &dtsInstanceId) {
|
||||
dtsInstanceId_ = dtsInstanceId;
|
||||
setParameter(std::string("DtsInstanceId"), dtsInstanceId);
|
||||
}
|
||||
|
||||
86
dts/src/model/ReverseTwoWayDirectionResult.cc
Normal file
86
dts/src/model/ReverseTwoWayDirectionResult.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/ReverseTwoWayDirectionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dts;
|
||||
using namespace AlibabaCloud::Dts::Model;
|
||||
|
||||
ReverseTwoWayDirectionResult::ReverseTwoWayDirectionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ReverseTwoWayDirectionResult::ReverseTwoWayDirectionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ReverseTwoWayDirectionResult::~ReverseTwoWayDirectionResult()
|
||||
{}
|
||||
|
||||
void ReverseTwoWayDirectionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["DynamicMessage"].isNull())
|
||||
dynamicMessage_ = value["DynamicMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
int ReverseTwoWayDirectionResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ReverseTwoWayDirectionResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string ReverseTwoWayDirectionResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string ReverseTwoWayDirectionResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ReverseTwoWayDirectionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string ReverseTwoWayDirectionResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -190,6 +190,27 @@ namespace AlibabaCloud
|
||||
bool tty;
|
||||
std::vector<std::string> commands;
|
||||
};
|
||||
struct Volume
|
||||
{
|
||||
struct ConfigFileVolumeConfigFileToPath
|
||||
{
|
||||
std::string path;
|
||||
std::string content;
|
||||
};
|
||||
std::string emptyDirVolumeSizeLimit;
|
||||
std::string flexVolumeFsType;
|
||||
std::string nFSVolumeServer;
|
||||
std::vector<Volume::ConfigFileVolumeConfigFileToPath> configFileVolumeConfigFileToPaths;
|
||||
bool nFSVolumeReadOnly;
|
||||
std::string name;
|
||||
std::string nFSVolumePath;
|
||||
std::string type;
|
||||
std::string flexVolumeDriver;
|
||||
std::string diskVolumeDiskId;
|
||||
std::string flexVolumeOptions;
|
||||
std::string emptyDirVolumeMedium;
|
||||
std::string diskVolumeFsType;
|
||||
};
|
||||
struct Event
|
||||
{
|
||||
std::string type;
|
||||
@@ -288,27 +309,6 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct Volume
|
||||
{
|
||||
struct ConfigFileVolumeConfigFileToPath
|
||||
{
|
||||
std::string path;
|
||||
std::string content;
|
||||
};
|
||||
std::string emptyDirVolumeSizeLimit;
|
||||
std::string flexVolumeFsType;
|
||||
std::string nFSVolumeServer;
|
||||
std::vector<Volume::ConfigFileVolumeConfigFileToPath> configFileVolumeConfigFileToPaths;
|
||||
bool nFSVolumeReadOnly;
|
||||
std::string name;
|
||||
std::string nFSVolumePath;
|
||||
std::string type;
|
||||
std::string flexVolumeDriver;
|
||||
std::string diskVolumeDiskId;
|
||||
std::string flexVolumeOptions;
|
||||
std::string emptyDirVolumeMedium;
|
||||
std::string diskVolumeFsType;
|
||||
};
|
||||
long discount;
|
||||
std::string resourceGroupId;
|
||||
float memory;
|
||||
@@ -328,8 +328,8 @@ namespace AlibabaCloud
|
||||
float spotPriceLimit;
|
||||
std::string instanceType;
|
||||
std::vector<ContainerGroup::Tag> tags;
|
||||
std::string ipv6Address;
|
||||
std::string spotStrategy;
|
||||
std::string ipv6Address;
|
||||
std::string status;
|
||||
std::string tenantEniIp;
|
||||
std::vector<ContainerGroup::InitContainer> initContainers;
|
||||
@@ -348,19 +348,19 @@ namespace AlibabaCloud
|
||||
std::string regionId;
|
||||
long ephemeralStorage;
|
||||
};
|
||||
std::string owner;
|
||||
std::string user;
|
||||
std::vector<JobInfo::ContainerGroup> containerGroups;
|
||||
long endTime;
|
||||
long priority;
|
||||
std::string jobName;
|
||||
long startTime;
|
||||
long lastModifyTime;
|
||||
long submitTime;
|
||||
std::string name;
|
||||
ArrayProperties arrayProperties;
|
||||
std::string state;
|
||||
bool isArrayJob;
|
||||
std::string id;
|
||||
std::string queue;
|
||||
std::string jobId;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -34,16 +34,16 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct JobInfo
|
||||
{
|
||||
std::string owner;
|
||||
std::string user;
|
||||
std::string endTime;
|
||||
std::string state;
|
||||
std::string priority;
|
||||
bool isArrayJob;
|
||||
std::string jobName;
|
||||
std::string startTime;
|
||||
std::string id;
|
||||
std::string submitTime;
|
||||
std::string queue;
|
||||
std::string name;
|
||||
std::string submitTime;
|
||||
std::string jobId;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EHPC_EXPORT SubmitServerlessJobRequest : public RpcServiceReq
|
||||
public:
|
||||
struct Container {
|
||||
struct VolumeMountItem {
|
||||
std::string flexVolumeOptions;
|
||||
std::string nFSVolumeServer;
|
||||
std::string flexVolumeDriver;
|
||||
std::string mountPath;
|
||||
bool readOnly;
|
||||
std::string mountPropagation;
|
||||
std::string subPath;
|
||||
std::string nFSVolumePath;
|
||||
std::string type;
|
||||
std::string flexVolumeOptions;
|
||||
bool nFSVolumeReadOnly;
|
||||
std::string flexVolumeDriver;
|
||||
std::string nFSVolumeServer;
|
||||
};
|
||||
VolumeMountItem volumeMountItem;
|
||||
std::vector<VolumeMountItem> volumeMount;
|
||||
@@ -51,8 +51,8 @@ public:
|
||||
PortItem portItem;
|
||||
std::vector<PortItem> port;
|
||||
struct EnvironmentVarItem {
|
||||
std::string name;
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
EnvironmentVarItem environmentVarItem;
|
||||
std::vector<EnvironmentVarItem> environmentVar;
|
||||
@@ -76,11 +76,11 @@ public:
|
||||
std::vector<std::string> domain;
|
||||
};
|
||||
struct Volume {
|
||||
std::string flexVolumeOptions;
|
||||
std::string nFSVolumeServer;
|
||||
std::string nFSVolumePath;
|
||||
bool nFSVolumeReadOnly;
|
||||
std::string flexVolumeDriver;
|
||||
std::string nFSVolumePath;
|
||||
std::string flexVolumeOptions;
|
||||
bool nFSVolumeReadOnly;
|
||||
std::string nFSVolumeServer;
|
||||
};
|
||||
struct RetryStrategy {
|
||||
struct EvaluateOnExitItem {
|
||||
|
||||
@@ -43,28 +43,28 @@ void DescribeServerlessJobsResult::parse(const std::string &payload)
|
||||
for (auto valueJobInfosJobInfo : allJobInfosNode)
|
||||
{
|
||||
JobInfo jobInfosObject;
|
||||
if(!valueJobInfosJobInfo["EndTime"].isNull())
|
||||
jobInfosObject.endTime = std::stol(valueJobInfosJobInfo["EndTime"].asString());
|
||||
if(!valueJobInfosJobInfo["Id"].isNull())
|
||||
jobInfosObject.id = valueJobInfosJobInfo["Id"].asString();
|
||||
if(!valueJobInfosJobInfo["IsArrayJob"].isNull())
|
||||
jobInfosObject.isArrayJob = valueJobInfosJobInfo["IsArrayJob"].asString() == "true";
|
||||
if(!valueJobInfosJobInfo["LastModifyTime"].isNull())
|
||||
jobInfosObject.lastModifyTime = std::stol(valueJobInfosJobInfo["LastModifyTime"].asString());
|
||||
if(!valueJobInfosJobInfo["Name"].isNull())
|
||||
jobInfosObject.name = valueJobInfosJobInfo["Name"].asString();
|
||||
if(!valueJobInfosJobInfo["Owner"].isNull())
|
||||
jobInfosObject.owner = valueJobInfosJobInfo["Owner"].asString();
|
||||
if(!valueJobInfosJobInfo["JobId"].isNull())
|
||||
jobInfosObject.jobId = valueJobInfosJobInfo["JobId"].asString();
|
||||
if(!valueJobInfosJobInfo["JobName"].isNull())
|
||||
jobInfosObject.jobName = valueJobInfosJobInfo["JobName"].asString();
|
||||
if(!valueJobInfosJobInfo["State"].isNull())
|
||||
jobInfosObject.state = valueJobInfosJobInfo["State"].asString();
|
||||
if(!valueJobInfosJobInfo["Priority"].isNull())
|
||||
jobInfosObject.priority = std::stol(valueJobInfosJobInfo["Priority"].asString());
|
||||
if(!valueJobInfosJobInfo["Queue"].isNull())
|
||||
jobInfosObject.queue = valueJobInfosJobInfo["Queue"].asString();
|
||||
if(!valueJobInfosJobInfo["StartTime"].isNull())
|
||||
jobInfosObject.startTime = std::stol(valueJobInfosJobInfo["StartTime"].asString());
|
||||
if(!valueJobInfosJobInfo["State"].isNull())
|
||||
jobInfosObject.state = valueJobInfosJobInfo["State"].asString();
|
||||
if(!valueJobInfosJobInfo["User"].isNull())
|
||||
jobInfosObject.user = valueJobInfosJobInfo["User"].asString();
|
||||
if(!valueJobInfosJobInfo["SubmitTime"].isNull())
|
||||
jobInfosObject.submitTime = std::stol(valueJobInfosJobInfo["SubmitTime"].asString());
|
||||
if(!valueJobInfosJobInfo["StartTime"].isNull())
|
||||
jobInfosObject.startTime = std::stol(valueJobInfosJobInfo["StartTime"].asString());
|
||||
if(!valueJobInfosJobInfo["EndTime"].isNull())
|
||||
jobInfosObject.endTime = std::stol(valueJobInfosJobInfo["EndTime"].asString());
|
||||
if(!valueJobInfosJobInfo["LastModifyTime"].isNull())
|
||||
jobInfosObject.lastModifyTime = std::stol(valueJobInfosJobInfo["LastModifyTime"].asString());
|
||||
if(!valueJobInfosJobInfo["IsArrayJob"].isNull())
|
||||
jobInfosObject.isArrayJob = valueJobInfosJobInfo["IsArrayJob"].asString() == "true";
|
||||
auto allContainerGroupsNode = valueJobInfosJobInfo["ContainerGroups"]["ContainerGroup"];
|
||||
for (auto valueJobInfosJobInfoContainerGroupsContainerGroup : allContainerGroupsNode)
|
||||
{
|
||||
@@ -73,30 +73,38 @@ void DescribeServerlessJobsResult::parse(const std::string &payload)
|
||||
containerGroupsObject.containerGroupId = valueJobInfosJobInfoContainerGroupsContainerGroup["ContainerGroupId"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["ContainerGroupName"].isNull())
|
||||
containerGroupsObject.containerGroupName = valueJobInfosJobInfoContainerGroupsContainerGroup["ContainerGroupName"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["Status"].isNull())
|
||||
containerGroupsObject.status = valueJobInfosJobInfoContainerGroupsContainerGroup["Status"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["InstanceType"].isNull())
|
||||
containerGroupsObject.instanceType = valueJobInfosJobInfoContainerGroupsContainerGroup["InstanceType"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["SpotStrategy"].isNull())
|
||||
containerGroupsObject.spotStrategy = valueJobInfosJobInfoContainerGroupsContainerGroup["SpotStrategy"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["SpotPriceLimit"].isNull())
|
||||
containerGroupsObject.spotPriceLimit = std::stof(valueJobInfosJobInfoContainerGroupsContainerGroup["SpotPriceLimit"].asString());
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["Cpu"].isNull())
|
||||
containerGroupsObject.cpu = std::stof(valueJobInfosJobInfoContainerGroupsContainerGroup["Cpu"].asString());
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["Memory"].isNull())
|
||||
containerGroupsObject.memory = std::stof(valueJobInfosJobInfoContainerGroupsContainerGroup["Memory"].asString());
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["CreationTime"].isNull())
|
||||
containerGroupsObject.creationTime = valueJobInfosJobInfoContainerGroupsContainerGroup["CreationTime"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["SucceededTime"].isNull())
|
||||
containerGroupsObject.succeededTime = valueJobInfosJobInfoContainerGroupsContainerGroup["SucceededTime"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["ExpiredTime"].isNull())
|
||||
containerGroupsObject.expiredTime = valueJobInfosJobInfoContainerGroupsContainerGroup["ExpiredTime"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["FailedTime"].isNull())
|
||||
containerGroupsObject.failedTime = valueJobInfosJobInfoContainerGroupsContainerGroup["FailedTime"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["Discount"].isNull())
|
||||
containerGroupsObject.discount = std::stol(valueJobInfosJobInfoContainerGroupsContainerGroup["Discount"].asString());
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["EniInstanceId"].isNull())
|
||||
containerGroupsObject.eniInstanceId = valueJobInfosJobInfoContainerGroupsContainerGroup["EniInstanceId"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["EphemeralStorage"].isNull())
|
||||
containerGroupsObject.ephemeralStorage = std::stol(valueJobInfosJobInfoContainerGroupsContainerGroup["EphemeralStorage"].asString());
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["ExpiredTime"].isNull())
|
||||
containerGroupsObject.expiredTime = valueJobInfosJobInfoContainerGroupsContainerGroup["ExpiredTime"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["FailedTime"].isNull())
|
||||
containerGroupsObject.failedTime = valueJobInfosJobInfoContainerGroupsContainerGroup["FailedTime"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["InstanceType"].isNull())
|
||||
containerGroupsObject.instanceType = valueJobInfosJobInfoContainerGroupsContainerGroup["InstanceType"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["InternetIp"].isNull())
|
||||
containerGroupsObject.internetIp = valueJobInfosJobInfoContainerGroupsContainerGroup["InternetIp"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["IntranetIp"].isNull())
|
||||
containerGroupsObject.intranetIp = valueJobInfosJobInfoContainerGroupsContainerGroup["IntranetIp"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["Ipv6Address"].isNull())
|
||||
containerGroupsObject.ipv6Address = valueJobInfosJobInfoContainerGroupsContainerGroup["Ipv6Address"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["Memory"].isNull())
|
||||
containerGroupsObject.memory = std::stof(valueJobInfosJobInfoContainerGroupsContainerGroup["Memory"].asString());
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["RamRoleName"].isNull())
|
||||
containerGroupsObject.ramRoleName = valueJobInfosJobInfoContainerGroupsContainerGroup["RamRoleName"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["RegionId"].isNull())
|
||||
@@ -107,14 +115,6 @@ void DescribeServerlessJobsResult::parse(const std::string &payload)
|
||||
containerGroupsObject.restartPolicy = valueJobInfosJobInfoContainerGroupsContainerGroup["RestartPolicy"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["SecurityGroupId"].isNull())
|
||||
containerGroupsObject.securityGroupId = valueJobInfosJobInfoContainerGroupsContainerGroup["SecurityGroupId"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["SpotPriceLimit"].isNull())
|
||||
containerGroupsObject.spotPriceLimit = std::stof(valueJobInfosJobInfoContainerGroupsContainerGroup["SpotPriceLimit"].asString());
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["SpotStrategy"].isNull())
|
||||
containerGroupsObject.spotStrategy = valueJobInfosJobInfoContainerGroupsContainerGroup["SpotStrategy"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["Status"].isNull())
|
||||
containerGroupsObject.status = valueJobInfosJobInfoContainerGroupsContainerGroup["Status"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["SucceededTime"].isNull())
|
||||
containerGroupsObject.succeededTime = valueJobInfosJobInfoContainerGroupsContainerGroup["SucceededTime"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["TenantEniInstanceId"].isNull())
|
||||
containerGroupsObject.tenantEniInstanceId = valueJobInfosJobInfoContainerGroupsContainerGroup["TenantEniInstanceId"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroup["TenantEniIp"].isNull())
|
||||
@@ -300,6 +300,46 @@ void DescribeServerlessJobsResult::parse(const std::string &payload)
|
||||
containersObject.commands.push_back(value.asString());
|
||||
containerGroupsObject.containers.push_back(containersObject);
|
||||
}
|
||||
auto allVolumesNode = valueJobInfosJobInfoContainerGroupsContainerGroup["Volumes"]["Volume"];
|
||||
for (auto valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume : allVolumesNode)
|
||||
{
|
||||
JobInfo::ContainerGroup::Volume volumesObject;
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["DiskVolumeDiskId"].isNull())
|
||||
volumesObject.diskVolumeDiskId = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["DiskVolumeDiskId"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["DiskVolumeFsType"].isNull())
|
||||
volumesObject.diskVolumeFsType = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["DiskVolumeFsType"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["EmptyDirVolumeMedium"].isNull())
|
||||
volumesObject.emptyDirVolumeMedium = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["EmptyDirVolumeMedium"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["EmptyDirVolumeSizeLimit"].isNull())
|
||||
volumesObject.emptyDirVolumeSizeLimit = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["EmptyDirVolumeSizeLimit"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["FlexVolumeDriver"].isNull())
|
||||
volumesObject.flexVolumeDriver = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["FlexVolumeDriver"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["FlexVolumeFsType"].isNull())
|
||||
volumesObject.flexVolumeFsType = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["FlexVolumeFsType"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["FlexVolumeOptions"].isNull())
|
||||
volumesObject.flexVolumeOptions = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["FlexVolumeOptions"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["NFSVolumePath"].isNull())
|
||||
volumesObject.nFSVolumePath = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["NFSVolumePath"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["NFSVolumeReadOnly"].isNull())
|
||||
volumesObject.nFSVolumeReadOnly = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["NFSVolumeReadOnly"].asString() == "true";
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["NFSVolumeServer"].isNull())
|
||||
volumesObject.nFSVolumeServer = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["NFSVolumeServer"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["Name"].isNull())
|
||||
volumesObject.name = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["Name"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["Type"].isNull())
|
||||
volumesObject.type = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["Type"].asString();
|
||||
auto allConfigFileVolumeConfigFileToPathsNode = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["ConfigFileVolumeConfigFileToPaths"]["ConfigFileVolumeConfigFileToPath"];
|
||||
for (auto valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolumeConfigFileVolumeConfigFileToPathsConfigFileVolumeConfigFileToPath : allConfigFileVolumeConfigFileToPathsNode)
|
||||
{
|
||||
JobInfo::ContainerGroup::Volume::ConfigFileVolumeConfigFileToPath configFileVolumeConfigFileToPathsObject;
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolumeConfigFileVolumeConfigFileToPathsConfigFileVolumeConfigFileToPath["Content"].isNull())
|
||||
configFileVolumeConfigFileToPathsObject.content = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolumeConfigFileVolumeConfigFileToPathsConfigFileVolumeConfigFileToPath["Content"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolumeConfigFileVolumeConfigFileToPathsConfigFileVolumeConfigFileToPath["Path"].isNull())
|
||||
configFileVolumeConfigFileToPathsObject.path = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolumeConfigFileVolumeConfigFileToPathsConfigFileVolumeConfigFileToPath["Path"].asString();
|
||||
volumesObject.configFileVolumeConfigFileToPaths.push_back(configFileVolumeConfigFileToPathsObject);
|
||||
}
|
||||
containerGroupsObject.volumes.push_back(volumesObject);
|
||||
}
|
||||
auto allEventsNode = valueJobInfosJobInfoContainerGroupsContainerGroup["Events"]["Event"];
|
||||
for (auto valueJobInfosJobInfoContainerGroupsContainerGroupEventsEvent : allEventsNode)
|
||||
{
|
||||
@@ -452,46 +492,6 @@ void DescribeServerlessJobsResult::parse(const std::string &payload)
|
||||
tagsObject.value = valueJobInfosJobInfoContainerGroupsContainerGroupTagsTag["Value"].asString();
|
||||
containerGroupsObject.tags.push_back(tagsObject);
|
||||
}
|
||||
auto allVolumesNode = valueJobInfosJobInfoContainerGroupsContainerGroup["Volumes"]["Volume"];
|
||||
for (auto valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume : allVolumesNode)
|
||||
{
|
||||
JobInfo::ContainerGroup::Volume volumesObject;
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["DiskVolumeDiskId"].isNull())
|
||||
volumesObject.diskVolumeDiskId = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["DiskVolumeDiskId"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["DiskVolumeFsType"].isNull())
|
||||
volumesObject.diskVolumeFsType = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["DiskVolumeFsType"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["EmptyDirVolumeMedium"].isNull())
|
||||
volumesObject.emptyDirVolumeMedium = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["EmptyDirVolumeMedium"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["EmptyDirVolumeSizeLimit"].isNull())
|
||||
volumesObject.emptyDirVolumeSizeLimit = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["EmptyDirVolumeSizeLimit"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["FlexVolumeDriver"].isNull())
|
||||
volumesObject.flexVolumeDriver = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["FlexVolumeDriver"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["FlexVolumeFsType"].isNull())
|
||||
volumesObject.flexVolumeFsType = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["FlexVolumeFsType"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["FlexVolumeOptions"].isNull())
|
||||
volumesObject.flexVolumeOptions = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["FlexVolumeOptions"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["NFSVolumePath"].isNull())
|
||||
volumesObject.nFSVolumePath = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["NFSVolumePath"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["NFSVolumeReadOnly"].isNull())
|
||||
volumesObject.nFSVolumeReadOnly = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["NFSVolumeReadOnly"].asString() == "true";
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["NFSVolumeServer"].isNull())
|
||||
volumesObject.nFSVolumeServer = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["NFSVolumeServer"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["Name"].isNull())
|
||||
volumesObject.name = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["Name"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["Type"].isNull())
|
||||
volumesObject.type = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["Type"].asString();
|
||||
auto allConfigFileVolumeConfigFileToPathsNode = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolume["ConfigFileVolumeConfigFileToPaths"]["ConfigFileVolumeConfigFileToPath"];
|
||||
for (auto valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolumeConfigFileVolumeConfigFileToPathsConfigFileVolumeConfigFileToPath : allConfigFileVolumeConfigFileToPathsNode)
|
||||
{
|
||||
JobInfo::ContainerGroup::Volume::ConfigFileVolumeConfigFileToPath configFileVolumeConfigFileToPathsObject;
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolumeConfigFileVolumeConfigFileToPathsConfigFileVolumeConfigFileToPath["Content"].isNull())
|
||||
configFileVolumeConfigFileToPathsObject.content = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolumeConfigFileVolumeConfigFileToPathsConfigFileVolumeConfigFileToPath["Content"].asString();
|
||||
if(!valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolumeConfigFileVolumeConfigFileToPathsConfigFileVolumeConfigFileToPath["Path"].isNull())
|
||||
configFileVolumeConfigFileToPathsObject.path = valueJobInfosJobInfoContainerGroupsContainerGroupVolumesVolumeConfigFileVolumeConfigFileToPathsConfigFileVolumeConfigFileToPath["Path"].asString();
|
||||
volumesObject.configFileVolumeConfigFileToPaths.push_back(configFileVolumeConfigFileToPathsObject);
|
||||
}
|
||||
containerGroupsObject.volumes.push_back(volumesObject);
|
||||
}
|
||||
auto dnsConfigNode = value["DnsConfig"];
|
||||
auto allOptionsNode = dnsConfigNode["Options"]["Option"];
|
||||
for (auto dnsConfigNodeOptionsOption : allOptionsNode)
|
||||
|
||||
@@ -43,26 +43,26 @@ void ListServerlessJobsResult::parse(const std::string &payload)
|
||||
for (auto valueJobsJobInfo : allJobsNode)
|
||||
{
|
||||
JobInfo jobsObject;
|
||||
if(!valueJobsJobInfo["Id"].isNull())
|
||||
jobsObject.id = valueJobsJobInfo["Id"].asString();
|
||||
if(!valueJobsJobInfo["Name"].isNull())
|
||||
jobsObject.name = valueJobsJobInfo["Name"].asString();
|
||||
if(!valueJobsJobInfo["Owner"].isNull())
|
||||
jobsObject.owner = valueJobsJobInfo["Owner"].asString();
|
||||
if(!valueJobsJobInfo["IsArrayJob"].isNull())
|
||||
jobsObject.isArrayJob = valueJobsJobInfo["IsArrayJob"].asString() == "true";
|
||||
if(!valueJobsJobInfo["JobId"].isNull())
|
||||
jobsObject.jobId = valueJobsJobInfo["JobId"].asString();
|
||||
if(!valueJobsJobInfo["JobName"].isNull())
|
||||
jobsObject.jobName = valueJobsJobInfo["JobName"].asString();
|
||||
if(!valueJobsJobInfo["State"].isNull())
|
||||
jobsObject.state = valueJobsJobInfo["State"].asString();
|
||||
if(!valueJobsJobInfo["Priority"].isNull())
|
||||
jobsObject.priority = valueJobsJobInfo["Priority"].asString();
|
||||
if(!valueJobsJobInfo["Queue"].isNull())
|
||||
jobsObject.queue = valueJobsJobInfo["Queue"].asString();
|
||||
if(!valueJobsJobInfo["User"].isNull())
|
||||
jobsObject.user = valueJobsJobInfo["User"].asString();
|
||||
if(!valueJobsJobInfo["SubmitTime"].isNull())
|
||||
jobsObject.submitTime = valueJobsJobInfo["SubmitTime"].asString();
|
||||
if(!valueJobsJobInfo["StartTime"].isNull())
|
||||
jobsObject.startTime = valueJobsJobInfo["StartTime"].asString();
|
||||
if(!valueJobsJobInfo["EndTime"].isNull())
|
||||
jobsObject.endTime = valueJobsJobInfo["EndTime"].asString();
|
||||
if(!valueJobsJobInfo["Priority"].isNull())
|
||||
jobsObject.priority = valueJobsJobInfo["Priority"].asString();
|
||||
if(!valueJobsJobInfo["Queue"].isNull())
|
||||
jobsObject.queue = valueJobsJobInfo["Queue"].asString();
|
||||
if(!valueJobsJobInfo["IsArrayJob"].isNull())
|
||||
jobsObject.isArrayJob = valueJobsJobInfo["IsArrayJob"].asString() == "true";
|
||||
jobs_.push_back(jobsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -32,16 +32,16 @@ SubmitServerlessJobRequest::Container SubmitServerlessJobRequest::getContainer()
|
||||
void SubmitServerlessJobRequest::setContainer(const SubmitServerlessJobRequest::Container &container) {
|
||||
container_ = container;
|
||||
for(int dep1 = 0; dep1 != container.volumeMount.size(); dep1++) {
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".FlexVolume.Options", container.volumeMount[dep1].flexVolumeOptions);
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".NFSVolume.Server", container.volumeMount[dep1].nFSVolumeServer);
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".FlexVolumeDriver", container.volumeMount[dep1].flexVolumeDriver);
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".MountPath", container.volumeMount[dep1].mountPath);
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".ReadOnly", container.volumeMount[dep1].readOnly ? "true" : "false");
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".MountPropagation", container.volumeMount[dep1].mountPropagation);
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".SubPath", container.volumeMount[dep1].subPath);
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".NFSVolume.Path", container.volumeMount[dep1].nFSVolumePath);
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".NFSVolumePath", container.volumeMount[dep1].nFSVolumePath);
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".Type", container.volumeMount[dep1].type);
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".NFSVolume.ReadOnly", container.volumeMount[dep1].nFSVolumeReadOnly ? "true" : "false");
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".FlexVolume.Driver", container.volumeMount[dep1].flexVolumeDriver);
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".FlexVolumeOptions", container.volumeMount[dep1].flexVolumeOptions);
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".NFSVolumeReadOnly", container.volumeMount[dep1].nFSVolumeReadOnly ? "true" : "false");
|
||||
setParameter(std::string("Container") + ".VolumeMount." + std::to_string(dep1 + 1) + ".NFSVolumeServer", container.volumeMount[dep1].nFSVolumeServer);
|
||||
}
|
||||
setParameter(std::string("Container") + ".Image", container.image);
|
||||
for(int dep1 = 0; dep1 != container.port.size(); dep1++) {
|
||||
@@ -49,8 +49,8 @@ void SubmitServerlessJobRequest::setContainer(const SubmitServerlessJobRequest::
|
||||
setParameter(std::string("Container") + ".Port." + std::to_string(dep1 + 1) + ".Port", std::to_string(container.port[dep1].port));
|
||||
}
|
||||
for(int dep1 = 0; dep1 != container.environmentVar.size(); dep1++) {
|
||||
setParameter(std::string("Container") + ".EnvironmentVar." + std::to_string(dep1 + 1) + ".Name", container.environmentVar[dep1].name);
|
||||
setParameter(std::string("Container") + ".EnvironmentVar." + std::to_string(dep1 + 1) + ".Value", container.environmentVar[dep1].value);
|
||||
setParameter(std::string("Container") + ".EnvironmentVar." + std::to_string(dep1 + 1) + ".Key", container.environmentVar[dep1].key);
|
||||
}
|
||||
setParameter(std::string("Container") + ".WorkingDir", container.workingDir);
|
||||
for(int dep1 = 0; dep1 != container.arg.size(); dep1++) {
|
||||
@@ -228,11 +228,11 @@ std::vector<SubmitServerlessJobRequest::Volume> SubmitServerlessJobRequest::getV
|
||||
void SubmitServerlessJobRequest::setVolume(const std::vector<SubmitServerlessJobRequest::Volume> &volume) {
|
||||
volume_ = volume;
|
||||
for(int dep1 = 0; dep1 != volume.size(); dep1++) {
|
||||
setParameter(std::string("Volume") + "." + std::to_string(dep1 + 1) + ".FlexVolume.Options", volume[dep1].flexVolumeOptions);
|
||||
setParameter(std::string("Volume") + "." + std::to_string(dep1 + 1) + ".NFSVolume.Server", volume[dep1].nFSVolumeServer);
|
||||
setParameter(std::string("Volume") + "." + std::to_string(dep1 + 1) + ".NFSVolume.Path", volume[dep1].nFSVolumePath);
|
||||
setParameter(std::string("Volume") + "." + std::to_string(dep1 + 1) + ".NFSVolume.ReadOnly", volume[dep1].nFSVolumeReadOnly ? "true" : "false");
|
||||
setParameter(std::string("Volume") + "." + std::to_string(dep1 + 1) + ".FlexVolume.Driver", volume[dep1].flexVolumeDriver);
|
||||
setParameter(std::string("Volume") + "." + std::to_string(dep1 + 1) + ".FlexVolumeDriver", volume[dep1].flexVolumeDriver);
|
||||
setParameter(std::string("Volume") + "." + std::to_string(dep1 + 1) + ".NFSVolumePath", volume[dep1].nFSVolumePath);
|
||||
setParameter(std::string("Volume") + "." + std::to_string(dep1 + 1) + ".FlexVolumeOptions", volume[dep1].flexVolumeOptions);
|
||||
setParameter(std::string("Volume") + "." + std::to_string(dep1 + 1) + ".NFSVolumeReadOnly", volume[dep1].nFSVolumeReadOnly ? "true" : "false");
|
||||
setParameter(std::string("Volume") + "." + std::to_string(dep1 + 1) + ".NFSVolumeServer", volume[dep1].nFSVolumeServer);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -305,6 +305,10 @@ set(ens_public_header_model
|
||||
include/alibabacloud/ens/model/DescribeUserBandWidthDataResult.h
|
||||
include/alibabacloud/ens/model/DescribeVSwitchesRequest.h
|
||||
include/alibabacloud/ens/model/DescribeVSwitchesResult.h
|
||||
include/alibabacloud/ens/model/DescribeWorkflowRequest.h
|
||||
include/alibabacloud/ens/model/DescribeWorkflowResult.h
|
||||
include/alibabacloud/ens/model/DescribeWorkflowActivityRequest.h
|
||||
include/alibabacloud/ens/model/DescribeWorkflowActivityResult.h
|
||||
include/alibabacloud/ens/model/DetachDiskRequest.h
|
||||
include/alibabacloud/ens/model/DetachDiskResult.h
|
||||
include/alibabacloud/ens/model/DistApplicationDataRequest.h
|
||||
@@ -411,12 +415,18 @@ set(ens_public_header_model
|
||||
include/alibabacloud/ens/model/ResizeDiskResult.h
|
||||
include/alibabacloud/ens/model/RestartDeviceInstanceRequest.h
|
||||
include/alibabacloud/ens/model/RestartDeviceInstanceResult.h
|
||||
include/alibabacloud/ens/model/RestartWorkflowRequest.h
|
||||
include/alibabacloud/ens/model/RestartWorkflowResult.h
|
||||
include/alibabacloud/ens/model/RetryWorkflowRequest.h
|
||||
include/alibabacloud/ens/model/RetryWorkflowResult.h
|
||||
include/alibabacloud/ens/model/RevokeSecurityGroupRequest.h
|
||||
include/alibabacloud/ens/model/RevokeSecurityGroupResult.h
|
||||
include/alibabacloud/ens/model/RevokeSecurityGroupEgressRequest.h
|
||||
include/alibabacloud/ens/model/RevokeSecurityGroupEgressResult.h
|
||||
include/alibabacloud/ens/model/RollbackApplicationRequest.h
|
||||
include/alibabacloud/ens/model/RollbackApplicationResult.h
|
||||
include/alibabacloud/ens/model/RollbackWorkflowRequest.h
|
||||
include/alibabacloud/ens/model/RollbackWorkflowResult.h
|
||||
include/alibabacloud/ens/model/RunInstancesRequest.h
|
||||
include/alibabacloud/ens/model/RunInstancesResult.h
|
||||
include/alibabacloud/ens/model/RunServiceScheduleRequest.h
|
||||
@@ -453,6 +463,8 @@ set(ens_public_header_model
|
||||
include/alibabacloud/ens/model/StopLoadBalancerListenerResult.h
|
||||
include/alibabacloud/ens/model/StopSnatIpForSnatEntryRequest.h
|
||||
include/alibabacloud/ens/model/StopSnatIpForSnatEntryResult.h
|
||||
include/alibabacloud/ens/model/TerminateWorkflowRequest.h
|
||||
include/alibabacloud/ens/model/TerminateWorkflowResult.h
|
||||
include/alibabacloud/ens/model/UnAssociateEnsEipAddressRequest.h
|
||||
include/alibabacloud/ens/model/UnAssociateEnsEipAddressResult.h
|
||||
include/alibabacloud/ens/model/UnassignPrivateIpAddressesRequest.h
|
||||
@@ -752,6 +764,10 @@ set(ens_src
|
||||
src/model/DescribeUserBandWidthDataResult.cc
|
||||
src/model/DescribeVSwitchesRequest.cc
|
||||
src/model/DescribeVSwitchesResult.cc
|
||||
src/model/DescribeWorkflowRequest.cc
|
||||
src/model/DescribeWorkflowResult.cc
|
||||
src/model/DescribeWorkflowActivityRequest.cc
|
||||
src/model/DescribeWorkflowActivityResult.cc
|
||||
src/model/DetachDiskRequest.cc
|
||||
src/model/DetachDiskResult.cc
|
||||
src/model/DistApplicationDataRequest.cc
|
||||
@@ -858,12 +874,18 @@ set(ens_src
|
||||
src/model/ResizeDiskResult.cc
|
||||
src/model/RestartDeviceInstanceRequest.cc
|
||||
src/model/RestartDeviceInstanceResult.cc
|
||||
src/model/RestartWorkflowRequest.cc
|
||||
src/model/RestartWorkflowResult.cc
|
||||
src/model/RetryWorkflowRequest.cc
|
||||
src/model/RetryWorkflowResult.cc
|
||||
src/model/RevokeSecurityGroupRequest.cc
|
||||
src/model/RevokeSecurityGroupResult.cc
|
||||
src/model/RevokeSecurityGroupEgressRequest.cc
|
||||
src/model/RevokeSecurityGroupEgressResult.cc
|
||||
src/model/RollbackApplicationRequest.cc
|
||||
src/model/RollbackApplicationResult.cc
|
||||
src/model/RollbackWorkflowRequest.cc
|
||||
src/model/RollbackWorkflowResult.cc
|
||||
src/model/RunInstancesRequest.cc
|
||||
src/model/RunInstancesResult.cc
|
||||
src/model/RunServiceScheduleRequest.cc
|
||||
@@ -900,6 +922,8 @@ set(ens_src
|
||||
src/model/StopLoadBalancerListenerResult.cc
|
||||
src/model/StopSnatIpForSnatEntryRequest.cc
|
||||
src/model/StopSnatIpForSnatEntryResult.cc
|
||||
src/model/TerminateWorkflowRequest.cc
|
||||
src/model/TerminateWorkflowResult.cc
|
||||
src/model/UnAssociateEnsEipAddressRequest.cc
|
||||
src/model/UnAssociateEnsEipAddressResult.cc
|
||||
src/model/UnassignPrivateIpAddressesRequest.cc
|
||||
|
||||
@@ -306,6 +306,10 @@
|
||||
#include "model/DescribeUserBandWidthDataResult.h"
|
||||
#include "model/DescribeVSwitchesRequest.h"
|
||||
#include "model/DescribeVSwitchesResult.h"
|
||||
#include "model/DescribeWorkflowRequest.h"
|
||||
#include "model/DescribeWorkflowResult.h"
|
||||
#include "model/DescribeWorkflowActivityRequest.h"
|
||||
#include "model/DescribeWorkflowActivityResult.h"
|
||||
#include "model/DetachDiskRequest.h"
|
||||
#include "model/DetachDiskResult.h"
|
||||
#include "model/DistApplicationDataRequest.h"
|
||||
@@ -412,12 +416,18 @@
|
||||
#include "model/ResizeDiskResult.h"
|
||||
#include "model/RestartDeviceInstanceRequest.h"
|
||||
#include "model/RestartDeviceInstanceResult.h"
|
||||
#include "model/RestartWorkflowRequest.h"
|
||||
#include "model/RestartWorkflowResult.h"
|
||||
#include "model/RetryWorkflowRequest.h"
|
||||
#include "model/RetryWorkflowResult.h"
|
||||
#include "model/RevokeSecurityGroupRequest.h"
|
||||
#include "model/RevokeSecurityGroupResult.h"
|
||||
#include "model/RevokeSecurityGroupEgressRequest.h"
|
||||
#include "model/RevokeSecurityGroupEgressResult.h"
|
||||
#include "model/RollbackApplicationRequest.h"
|
||||
#include "model/RollbackApplicationResult.h"
|
||||
#include "model/RollbackWorkflowRequest.h"
|
||||
#include "model/RollbackWorkflowResult.h"
|
||||
#include "model/RunInstancesRequest.h"
|
||||
#include "model/RunInstancesResult.h"
|
||||
#include "model/RunServiceScheduleRequest.h"
|
||||
@@ -454,6 +464,8 @@
|
||||
#include "model/StopLoadBalancerListenerResult.h"
|
||||
#include "model/StopSnatIpForSnatEntryRequest.h"
|
||||
#include "model/StopSnatIpForSnatEntryResult.h"
|
||||
#include "model/TerminateWorkflowRequest.h"
|
||||
#include "model/TerminateWorkflowResult.h"
|
||||
#include "model/UnAssociateEnsEipAddressRequest.h"
|
||||
#include "model/UnAssociateEnsEipAddressResult.h"
|
||||
#include "model/UnassignPrivateIpAddressesRequest.h"
|
||||
@@ -901,6 +913,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeVSwitchesResult> DescribeVSwitchesOutcome;
|
||||
typedef std::future<DescribeVSwitchesOutcome> DescribeVSwitchesOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::DescribeVSwitchesRequest&, const DescribeVSwitchesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVSwitchesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeWorkflowResult> DescribeWorkflowOutcome;
|
||||
typedef std::future<DescribeWorkflowOutcome> DescribeWorkflowOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::DescribeWorkflowRequest&, const DescribeWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeWorkflowAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeWorkflowActivityResult> DescribeWorkflowActivityOutcome;
|
||||
typedef std::future<DescribeWorkflowActivityOutcome> DescribeWorkflowActivityOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::DescribeWorkflowActivityRequest&, const DescribeWorkflowActivityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeWorkflowActivityAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachDiskResult> DetachDiskOutcome;
|
||||
typedef std::future<DetachDiskOutcome> DetachDiskOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::DetachDiskRequest&, const DetachDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachDiskAsyncHandler;
|
||||
@@ -1060,6 +1078,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RestartDeviceInstanceResult> RestartDeviceInstanceOutcome;
|
||||
typedef std::future<RestartDeviceInstanceOutcome> RestartDeviceInstanceOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::RestartDeviceInstanceRequest&, const RestartDeviceInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartDeviceInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartWorkflowResult> RestartWorkflowOutcome;
|
||||
typedef std::future<RestartWorkflowOutcome> RestartWorkflowOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::RestartWorkflowRequest&, const RestartWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartWorkflowAsyncHandler;
|
||||
typedef Outcome<Error, Model::RetryWorkflowResult> RetryWorkflowOutcome;
|
||||
typedef std::future<RetryWorkflowOutcome> RetryWorkflowOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::RetryWorkflowRequest&, const RetryWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RetryWorkflowAsyncHandler;
|
||||
typedef Outcome<Error, Model::RevokeSecurityGroupResult> RevokeSecurityGroupOutcome;
|
||||
typedef std::future<RevokeSecurityGroupOutcome> RevokeSecurityGroupOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::RevokeSecurityGroupRequest&, const RevokeSecurityGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeSecurityGroupAsyncHandler;
|
||||
@@ -1069,6 +1093,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RollbackApplicationResult> RollbackApplicationOutcome;
|
||||
typedef std::future<RollbackApplicationOutcome> RollbackApplicationOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::RollbackApplicationRequest&, const RollbackApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackApplicationAsyncHandler;
|
||||
typedef Outcome<Error, Model::RollbackWorkflowResult> RollbackWorkflowOutcome;
|
||||
typedef std::future<RollbackWorkflowOutcome> RollbackWorkflowOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::RollbackWorkflowRequest&, const RollbackWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackWorkflowAsyncHandler;
|
||||
typedef Outcome<Error, Model::RunInstancesResult> RunInstancesOutcome;
|
||||
typedef std::future<RunInstancesOutcome> RunInstancesOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::RunInstancesRequest&, const RunInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunInstancesAsyncHandler;
|
||||
@@ -1123,6 +1150,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StopSnatIpForSnatEntryResult> StopSnatIpForSnatEntryOutcome;
|
||||
typedef std::future<StopSnatIpForSnatEntryOutcome> StopSnatIpForSnatEntryOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::StopSnatIpForSnatEntryRequest&, const StopSnatIpForSnatEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopSnatIpForSnatEntryAsyncHandler;
|
||||
typedef Outcome<Error, Model::TerminateWorkflowResult> TerminateWorkflowOutcome;
|
||||
typedef std::future<TerminateWorkflowOutcome> TerminateWorkflowOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::TerminateWorkflowRequest&, const TerminateWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TerminateWorkflowAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnAssociateEnsEipAddressResult> UnAssociateEnsEipAddressOutcome;
|
||||
typedef std::future<UnAssociateEnsEipAddressOutcome> UnAssociateEnsEipAddressOutcomeCallable;
|
||||
typedef std::function<void(const EnsClient*, const Model::UnAssociateEnsEipAddressRequest&, const UnAssociateEnsEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnAssociateEnsEipAddressAsyncHandler;
|
||||
@@ -1572,6 +1602,12 @@ namespace AlibabaCloud
|
||||
DescribeVSwitchesOutcome describeVSwitches(const Model::DescribeVSwitchesRequest &request)const;
|
||||
void describeVSwitchesAsync(const Model::DescribeVSwitchesRequest& request, const DescribeVSwitchesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeVSwitchesOutcomeCallable describeVSwitchesCallable(const Model::DescribeVSwitchesRequest& request) const;
|
||||
DescribeWorkflowOutcome describeWorkflow(const Model::DescribeWorkflowRequest &request)const;
|
||||
void describeWorkflowAsync(const Model::DescribeWorkflowRequest& request, const DescribeWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeWorkflowOutcomeCallable describeWorkflowCallable(const Model::DescribeWorkflowRequest& request) const;
|
||||
DescribeWorkflowActivityOutcome describeWorkflowActivity(const Model::DescribeWorkflowActivityRequest &request)const;
|
||||
void describeWorkflowActivityAsync(const Model::DescribeWorkflowActivityRequest& request, const DescribeWorkflowActivityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeWorkflowActivityOutcomeCallable describeWorkflowActivityCallable(const Model::DescribeWorkflowActivityRequest& request) const;
|
||||
DetachDiskOutcome detachDisk(const Model::DetachDiskRequest &request)const;
|
||||
void detachDiskAsync(const Model::DetachDiskRequest& request, const DetachDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachDiskOutcomeCallable detachDiskCallable(const Model::DetachDiskRequest& request) const;
|
||||
@@ -1731,6 +1767,12 @@ namespace AlibabaCloud
|
||||
RestartDeviceInstanceOutcome restartDeviceInstance(const Model::RestartDeviceInstanceRequest &request)const;
|
||||
void restartDeviceInstanceAsync(const Model::RestartDeviceInstanceRequest& request, const RestartDeviceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartDeviceInstanceOutcomeCallable restartDeviceInstanceCallable(const Model::RestartDeviceInstanceRequest& request) const;
|
||||
RestartWorkflowOutcome restartWorkflow(const Model::RestartWorkflowRequest &request)const;
|
||||
void restartWorkflowAsync(const Model::RestartWorkflowRequest& request, const RestartWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartWorkflowOutcomeCallable restartWorkflowCallable(const Model::RestartWorkflowRequest& request) const;
|
||||
RetryWorkflowOutcome retryWorkflow(const Model::RetryWorkflowRequest &request)const;
|
||||
void retryWorkflowAsync(const Model::RetryWorkflowRequest& request, const RetryWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RetryWorkflowOutcomeCallable retryWorkflowCallable(const Model::RetryWorkflowRequest& request) const;
|
||||
RevokeSecurityGroupOutcome revokeSecurityGroup(const Model::RevokeSecurityGroupRequest &request)const;
|
||||
void revokeSecurityGroupAsync(const Model::RevokeSecurityGroupRequest& request, const RevokeSecurityGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RevokeSecurityGroupOutcomeCallable revokeSecurityGroupCallable(const Model::RevokeSecurityGroupRequest& request) const;
|
||||
@@ -1740,6 +1782,9 @@ namespace AlibabaCloud
|
||||
RollbackApplicationOutcome rollbackApplication(const Model::RollbackApplicationRequest &request)const;
|
||||
void rollbackApplicationAsync(const Model::RollbackApplicationRequest& request, const RollbackApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RollbackApplicationOutcomeCallable rollbackApplicationCallable(const Model::RollbackApplicationRequest& request) const;
|
||||
RollbackWorkflowOutcome rollbackWorkflow(const Model::RollbackWorkflowRequest &request)const;
|
||||
void rollbackWorkflowAsync(const Model::RollbackWorkflowRequest& request, const RollbackWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RollbackWorkflowOutcomeCallable rollbackWorkflowCallable(const Model::RollbackWorkflowRequest& request) const;
|
||||
RunInstancesOutcome runInstances(const Model::RunInstancesRequest &request)const;
|
||||
void runInstancesAsync(const Model::RunInstancesRequest& request, const RunInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RunInstancesOutcomeCallable runInstancesCallable(const Model::RunInstancesRequest& request) const;
|
||||
@@ -1794,6 +1839,9 @@ namespace AlibabaCloud
|
||||
StopSnatIpForSnatEntryOutcome stopSnatIpForSnatEntry(const Model::StopSnatIpForSnatEntryRequest &request)const;
|
||||
void stopSnatIpForSnatEntryAsync(const Model::StopSnatIpForSnatEntryRequest& request, const StopSnatIpForSnatEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopSnatIpForSnatEntryOutcomeCallable stopSnatIpForSnatEntryCallable(const Model::StopSnatIpForSnatEntryRequest& request) const;
|
||||
TerminateWorkflowOutcome terminateWorkflow(const Model::TerminateWorkflowRequest &request)const;
|
||||
void terminateWorkflowAsync(const Model::TerminateWorkflowRequest& request, const TerminateWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TerminateWorkflowOutcomeCallable terminateWorkflowCallable(const Model::TerminateWorkflowRequest& request) const;
|
||||
UnAssociateEnsEipAddressOutcome unAssociateEnsEipAddress(const Model::UnAssociateEnsEipAddressRequest &request)const;
|
||||
void unAssociateEnsEipAddressAsync(const Model::UnAssociateEnsEipAddressRequest& request, const UnAssociateEnsEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnAssociateEnsEipAddressOutcomeCallable unAssociateEnsEipAddressCallable(const Model::UnAssociateEnsEipAddressRequest& request) const;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_ENS_EXPORT AssociateEnsEipAddressRequest : public RpcServiceR
|
||||
public:
|
||||
AssociateEnsEipAddressRequest();
|
||||
~AssociateEnsEipAddressRequest();
|
||||
bool getStandby() const;
|
||||
void setStandby(bool standby);
|
||||
std::string getAllocationId() const;
|
||||
void setAllocationId(const std::string &allocationId);
|
||||
std::string getInstanceType() const;
|
||||
@@ -38,6 +40,7 @@ public:
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
bool standby_;
|
||||
std::string allocationId_;
|
||||
std::string instanceType_;
|
||||
std::string instanceId_;
|
||||
|
||||
@@ -54,6 +54,8 @@ public:
|
||||
void setAmount(int amount);
|
||||
std::string get_NameSpace() const;
|
||||
void set_NameSpace(const std::string &_nameSpace);
|
||||
std::string getServerName() const;
|
||||
void setServerName(const std::string &serverName);
|
||||
std::string getPayType() const;
|
||||
void setPayType(const std::string &payType);
|
||||
|
||||
@@ -70,6 +72,7 @@ private:
|
||||
std::string instanceType_;
|
||||
int amount_;
|
||||
std::string _nameSpace_;
|
||||
std::string serverName_;
|
||||
std::string payType_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setHealthCheckPort(int healthCheckPort);
|
||||
std::string getExternalPort() const;
|
||||
void setExternalPort(const std::string &externalPort);
|
||||
std::string getStandbyExternalIp() const;
|
||||
void setStandbyExternalIp(const std::string &standbyExternalIp);
|
||||
std::string getNatGatewayId() const;
|
||||
void setNatGatewayId(const std::string &natGatewayId);
|
||||
std::string getForwardEntryName() const;
|
||||
@@ -53,6 +55,7 @@ private:
|
||||
std::string ipProtocol_;
|
||||
int healthCheckPort_;
|
||||
std::string externalPort_;
|
||||
std::string standbyExternalIp_;
|
||||
std::string natGatewayId_;
|
||||
std::string forwardEntryName_;
|
||||
std::string internalPort_;
|
||||
|
||||
@@ -30,24 +30,27 @@ class ALIBABACLOUD_ENS_EXPORT CreateSnatEntryRequest : public RpcServiceRequest
|
||||
public:
|
||||
CreateSnatEntryRequest();
|
||||
~CreateSnatEntryRequest();
|
||||
std::string getSourceCIDR() const;
|
||||
void setSourceCIDR(const std::string &sourceCIDR);
|
||||
std::string getSnatIp() const;
|
||||
void setSnatIp(const std::string &snatIp);
|
||||
std::string getSourceVSwitchId() const;
|
||||
void setSourceVSwitchId(const std::string &sourceVSwitchId);
|
||||
std::string getSourceNetworkId() const;
|
||||
void setSourceNetworkId(const std::string &sourceNetworkId);
|
||||
std::string getStandbySnatIp() const;
|
||||
void setStandbySnatIp(const std::string &standbySnatIp);
|
||||
std::string getSourceCIDR() const;
|
||||
void setSourceCIDR(const std::string &sourceCIDR);
|
||||
std::string getNatGatewayId() const;
|
||||
void setNatGatewayId(const std::string &natGatewayId);
|
||||
std::string getSnatEntryName() const;
|
||||
void setSnatEntryName(const std::string &snatEntryName);
|
||||
|
||||
private:
|
||||
std::string sourceCIDR_;
|
||||
std::string snatIp_;
|
||||
std::string sourceVSwitchId_;
|
||||
std::string sourceNetworkId_;
|
||||
std::string standbySnatIp_;
|
||||
std::string sourceCIDR_;
|
||||
std::string natGatewayId_;
|
||||
std::string snatEntryName_;
|
||||
};
|
||||
|
||||
@@ -45,6 +45,7 @@ namespace AlibabaCloud
|
||||
std::string snapshotId;
|
||||
std::string type;
|
||||
std::string creationTime;
|
||||
std::string serialId;
|
||||
std::string ensRegionId;
|
||||
std::string diskId;
|
||||
};
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setEnsRegionId(const std::string &ensRegionId);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
std::string getStandby() const;
|
||||
void setStandby(const std::string &standby);
|
||||
std::string getAllocationId() const;
|
||||
void setAllocationId(const std::string &allocationId);
|
||||
int getPageNumber() const;
|
||||
@@ -54,6 +56,7 @@ private:
|
||||
std::string eipAddress_;
|
||||
std::string ensRegionId_;
|
||||
std::string status_;
|
||||
std::string standby_;
|
||||
std::string allocationId_;
|
||||
int pageNumber_;
|
||||
std::string associatedInstanceType_;
|
||||
|
||||
@@ -39,12 +39,14 @@ namespace AlibabaCloud
|
||||
std::string instanceId;
|
||||
std::string allocationId;
|
||||
std::string isp;
|
||||
bool standby;
|
||||
std::string internetChargeType;
|
||||
std::string name;
|
||||
std::string allocationTime;
|
||||
std::string chargeType;
|
||||
int bandwidth;
|
||||
std::string ipAddress;
|
||||
std::string ipStatus;
|
||||
std::string instanceType;
|
||||
std::string ensRegionId;
|
||||
};
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_ENS_EXPORT DescribeEnsSaleControlAvailableResourceRequest : p
|
||||
public:
|
||||
DescribeEnsSaleControlAvailableResourceRequest();
|
||||
~DescribeEnsSaleControlAvailableResourceRequest();
|
||||
std::string getCustomAccount() const;
|
||||
void setCustomAccount(const std::string &customAccount);
|
||||
std::string getCommodityCode() const;
|
||||
void setCommodityCode(const std::string &commodityCode);
|
||||
std::string getOrderType() const;
|
||||
void setOrderType(const std::string &orderType);
|
||||
|
||||
private:
|
||||
std::string customAccount_;
|
||||
std::string commodityCode_;
|
||||
std::string orderType_;
|
||||
};
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_ENS_EXPORT DescribeEnsSaleControlRequest : public RpcServiceR
|
||||
public:
|
||||
DescribeEnsSaleControlRequest();
|
||||
~DescribeEnsSaleControlRequest();
|
||||
std::string getCustomAccount() const;
|
||||
void setCustomAccount(const std::string &customAccount);
|
||||
std::string getCommodityCode() const;
|
||||
void setCommodityCode(const std::string &commodityCode);
|
||||
std::string getModuleCode() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setOrderType(const std::string &orderType);
|
||||
|
||||
private:
|
||||
std::string customAccount_;
|
||||
std::string commodityCode_;
|
||||
std::string moduleCode_;
|
||||
std::string aliUidAccount_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_ENS_EXPORT DescribeEnsSaleControlStockRequest : public RpcSer
|
||||
public:
|
||||
DescribeEnsSaleControlStockRequest();
|
||||
~DescribeEnsSaleControlStockRequest();
|
||||
std::string getCustomAccount() const;
|
||||
void setCustomAccount(const std::string &customAccount);
|
||||
std::string getCommodityCode() const;
|
||||
void setCommodityCode(const std::string &commodityCode);
|
||||
std::string getModuleCode() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setOrderType(const std::string &orderType);
|
||||
|
||||
private:
|
||||
std::string customAccount_;
|
||||
std::string commodityCode_;
|
||||
std::string moduleCode_;
|
||||
std::string aliUidAccount_;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setIpProtocol(const std::string &ipProtocol);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
bool getShowDetail() const;
|
||||
void setShowDetail(bool showDetail);
|
||||
std::string getForwardEntryId() const;
|
||||
void setForwardEntryId(const std::string &forwardEntryId);
|
||||
int getPageSize() const;
|
||||
@@ -52,6 +54,7 @@ private:
|
||||
std::string externalIp_;
|
||||
std::string ipProtocol_;
|
||||
int pageNumber_;
|
||||
bool showDetail_;
|
||||
std::string forwardEntryId_;
|
||||
int pageSize_;
|
||||
std::string natGatewayId_;
|
||||
|
||||
@@ -36,11 +36,16 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string status;
|
||||
std::string externalPort;
|
||||
std::string standbyExternalIpIsp;
|
||||
std::string externalIp;
|
||||
std::string forwardEntryId;
|
||||
std::string standbyEnsRegionId;
|
||||
std::string externalIpIsp;
|
||||
std::string ipProtocol;
|
||||
std::string standbyExternalIp;
|
||||
std::string internalPort;
|
||||
std::string healthCheckPort;
|
||||
std::string standbyStatus;
|
||||
std::string natGatewayId;
|
||||
std::string forwardEntryName;
|
||||
std::string internalIp;
|
||||
|
||||
@@ -34,19 +34,20 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct 带宽配额
|
||||
{
|
||||
struct BandwidthInfo
|
||||
{
|
||||
long monthAverageQuota;
|
||||
long monthMax;
|
||||
long weekAverageQuota;
|
||||
long weekMax;
|
||||
};
|
||||
struct 实例信息
|
||||
{
|
||||
long instanceNumber;
|
||||
std::string instanceSpec;
|
||||
};
|
||||
BandwidthInfo bandwidthInfo;
|
||||
struct 带宽信息
|
||||
{
|
||||
long monthAverageQuota;
|
||||
long monthMax;
|
||||
long weekAverageQuota;
|
||||
std::string isp;
|
||||
long weekMax;
|
||||
};
|
||||
std::vector<带宽配额::带宽信息> bandwidthInfo;
|
||||
std::string regionId;
|
||||
std::vector<带宽配额::实例信息> instanceInfo;
|
||||
std::string date;
|
||||
|
||||
@@ -50,7 +50,9 @@ namespace AlibabaCloud
|
||||
std::vector<Snatip> getSnatIps()const;
|
||||
std::string getSnatEntryId()const;
|
||||
std::string getSnatIp()const;
|
||||
std::string getStandbyStatus()const;
|
||||
std::string getNatGatewayId()const;
|
||||
std::string getStandbySnatIp()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -62,7 +64,9 @@ namespace AlibabaCloud
|
||||
std::vector<Snatip> snatIps_;
|
||||
std::string snatEntryId_;
|
||||
std::string snatIp_;
|
||||
std::string standbyStatus_;
|
||||
std::string natGatewayId_;
|
||||
std::string standbySnatIp_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setSourceCIDR(const std::string &sourceCIDR);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
bool getShowDetail() const;
|
||||
void setShowDetail(bool showDetail);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getNatGatewayId() const;
|
||||
@@ -50,6 +52,7 @@ private:
|
||||
std::string snatEntryId_;
|
||||
std::string sourceCIDR_;
|
||||
int pageNumber_;
|
||||
bool showDetail_;
|
||||
int pageSize_;
|
||||
std::string natGatewayId_;
|
||||
std::string snatEntryName_;
|
||||
|
||||
@@ -34,12 +34,22 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct SnatTableEntry
|
||||
{
|
||||
struct SnatIp
|
||||
{
|
||||
std::string ip;
|
||||
std::string isp;
|
||||
std::string ensRegionId;
|
||||
bool standby;
|
||||
};
|
||||
std::string status;
|
||||
std::string snatEntryName;
|
||||
std::string sourceCIDR;
|
||||
std::vector<SnatTableEntry::SnatIp> snatIps;
|
||||
std::string snatEntryId;
|
||||
std::string snatIp;
|
||||
std::string standbyStatus;
|
||||
std::string natGatewayId;
|
||||
std::string standbySnatIp;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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_ENS_MODEL_DESCRIBEWORKFLOWACTIVITYREQUEST_H_
|
||||
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWACTIVITYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ens/EnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ens {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ENS_EXPORT DescribeWorkflowActivityRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeWorkflowActivityRequest();
|
||||
~DescribeWorkflowActivityRequest();
|
||||
std::string getWorkFlowId() const;
|
||||
void setWorkFlowId(const std::string &workFlowId);
|
||||
|
||||
private:
|
||||
std::string workFlowId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ens
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWACTIVITYREQUEST_H_
|
||||
@@ -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_ENS_MODEL_DESCRIBEWORKFLOWACTIVITYRESULT_H_
|
||||
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWACTIVITYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ens/EnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ens
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ENS_EXPORT DescribeWorkflowActivityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ActivityInfos
|
||||
{
|
||||
std::string gmtStart;
|
||||
std::string gmtEnd;
|
||||
std::string gmtCreate;
|
||||
std::string input;
|
||||
std::string activityName;
|
||||
std::string state;
|
||||
std::string activityId;
|
||||
std::string output;
|
||||
std::string workerNode;
|
||||
std::string error;
|
||||
std::string duration;
|
||||
std::string method;
|
||||
};
|
||||
|
||||
|
||||
DescribeWorkflowActivityResult();
|
||||
explicit DescribeWorkflowActivityResult(const std::string &payload);
|
||||
~DescribeWorkflowActivityResult();
|
||||
std::vector<ActivityInfos> getActivityInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ActivityInfos> activityInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWACTIVITYRESULT_H_
|
||||
75
ens/include/alibabacloud/ens/model/DescribeWorkflowRequest.h
Normal file
75
ens/include/alibabacloud/ens/model/DescribeWorkflowRequest.h
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ens/EnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ens {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ENS_EXPORT DescribeWorkflowRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeWorkflowRequest();
|
||||
~DescribeWorkflowRequest();
|
||||
std::string getPageNum() const;
|
||||
void setPageNum(const std::string &pageNum);
|
||||
std::string getStartDate() const;
|
||||
void setStartDate(const std::string &startDate);
|
||||
std::string getEnsRegionId() const;
|
||||
void setEnsRegionId(const std::string &ensRegionId);
|
||||
std::string getId() const;
|
||||
void setId(const std::string &id);
|
||||
std::string getWorkFlowId() const;
|
||||
void setWorkFlowId(const std::string &workFlowId);
|
||||
std::string getBusinessId() const;
|
||||
void setBusinessId(const std::string &businessId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getEndDate() const;
|
||||
void setEndDate(const std::string &endDate);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
std::string getWorkFlowName() const;
|
||||
void setWorkFlowName(const std::string &workFlowName);
|
||||
std::string getPageSize() const;
|
||||
void setPageSize(const std::string &pageSize);
|
||||
std::string getAliUid() const;
|
||||
void setAliUid(const std::string &aliUid);
|
||||
|
||||
private:
|
||||
std::string pageNum_;
|
||||
std::string startDate_;
|
||||
std::string ensRegionId_;
|
||||
std::string id_;
|
||||
std::string workFlowId_;
|
||||
std::string businessId_;
|
||||
std::string instanceId_;
|
||||
std::string endDate_;
|
||||
std::string status_;
|
||||
std::string workFlowName_;
|
||||
std::string pageSize_;
|
||||
std::string aliUid_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ens
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWREQUEST_H_
|
||||
72
ens/include/alibabacloud/ens/model/DescribeWorkflowResult.h
Normal file
72
ens/include/alibabacloud/ens/model/DescribeWorkflowResult.h
Normal 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_ENS_MODEL_DESCRIBEWORKFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ens/EnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ens
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ENS_EXPORT DescribeWorkflowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct WorkFlowInfos
|
||||
{
|
||||
std::string gmtStart;
|
||||
std::string status;
|
||||
std::string instanceId;
|
||||
std::string priority;
|
||||
std::string workerNode;
|
||||
std::string bizType;
|
||||
std::string duration;
|
||||
std::string workflowId;
|
||||
std::string initAttributes;
|
||||
std::string name;
|
||||
std::string gmtEnd;
|
||||
std::string gmtCreate;
|
||||
std::string gmtExpire;
|
||||
std::string gmtModify;
|
||||
std::string id;
|
||||
std::string ensRegionId;
|
||||
std::string bussinessId;
|
||||
std::string aliUid;
|
||||
};
|
||||
|
||||
|
||||
DescribeWorkflowResult();
|
||||
explicit DescribeWorkflowResult(const std::string &payload);
|
||||
~DescribeWorkflowResult();
|
||||
std::vector<WorkFlowInfos> getWorkFlowInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<WorkFlowInfos> workFlowInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWRESULT_H_
|
||||
42
ens/include/alibabacloud/ens/model/RestartWorkflowRequest.h
Normal file
42
ens/include/alibabacloud/ens/model/RestartWorkflowRequest.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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_ENS_MODEL_RESTARTWORKFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_ENS_MODEL_RESTARTWORKFLOWREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ens/EnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ens {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ENS_EXPORT RestartWorkflowRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RestartWorkflowRequest();
|
||||
~RestartWorkflowRequest();
|
||||
std::vector<std::string> getWorkflowIds() const;
|
||||
void setWorkflowIds(const std::vector<std::string> &workflowIds);
|
||||
|
||||
private:
|
||||
std::vector<std::string> workflowIds_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ens
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ENS_MODEL_RESTARTWORKFLOWREQUEST_H_
|
||||
@@ -14,38 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMM_MODEL_LIVETRANSCODINGRESULT_H_
|
||||
#define ALIBABACLOUD_IMM_MODEL_LIVETRANSCODINGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ENS_MODEL_RESTARTWORKFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_ENS_MODEL_RESTARTWORKFLOWRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/imm/ImmExport.h>
|
||||
#include <alibabacloud/ens/EnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imm
|
||||
namespace Ens
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMM_EXPORT LiveTranscodingResult : public ServiceResult
|
||||
class ALIBABACLOUD_ENS_EXPORT RestartWorkflowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
LiveTranscodingResult();
|
||||
explicit LiveTranscodingResult(const std::string &payload);
|
||||
~LiveTranscodingResult();
|
||||
std::string getURI()const;
|
||||
RestartWorkflowResult();
|
||||
explicit RestartWorkflowResult(const std::string &payload);
|
||||
~RestartWorkflowResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string uRI_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMM_MODEL_LIVETRANSCODINGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ENS_MODEL_RESTARTWORKFLOWRESULT_H_
|
||||
42
ens/include/alibabacloud/ens/model/RetryWorkflowRequest.h
Normal file
42
ens/include/alibabacloud/ens/model/RetryWorkflowRequest.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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_ENS_MODEL_RETRYWORKFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_ENS_MODEL_RETRYWORKFLOWREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ens/EnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ens {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ENS_EXPORT RetryWorkflowRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RetryWorkflowRequest();
|
||||
~RetryWorkflowRequest();
|
||||
std::vector<std::string> getWorkflowIds() const;
|
||||
void setWorkflowIds(const std::vector<std::string> &workflowIds);
|
||||
|
||||
private:
|
||||
std::vector<std::string> workflowIds_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ens
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ENS_MODEL_RETRYWORKFLOWREQUEST_H_
|
||||
49
ens/include/alibabacloud/ens/model/RetryWorkflowResult.h
Normal file
49
ens/include/alibabacloud/ens/model/RetryWorkflowResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_ENS_MODEL_RETRYWORKFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_ENS_MODEL_RETRYWORKFLOWRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ens/EnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ens
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ENS_EXPORT RetryWorkflowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RetryWorkflowResult();
|
||||
explicit RetryWorkflowResult(const std::string &payload);
|
||||
~RetryWorkflowResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ENS_MODEL_RETRYWORKFLOWRESULT_H_
|
||||
42
ens/include/alibabacloud/ens/model/RollbackWorkflowRequest.h
Normal file
42
ens/include/alibabacloud/ens/model/RollbackWorkflowRequest.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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_ENS_MODEL_ROLLBACKWORKFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_ENS_MODEL_ROLLBACKWORKFLOWREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ens/EnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ens {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ENS_EXPORT RollbackWorkflowRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RollbackWorkflowRequest();
|
||||
~RollbackWorkflowRequest();
|
||||
std::vector<std::string> getWorkflowIds() const;
|
||||
void setWorkflowIds(const std::vector<std::string> &workflowIds);
|
||||
|
||||
private:
|
||||
std::vector<std::string> workflowIds_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ens
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ENS_MODEL_ROLLBACKWORKFLOWREQUEST_H_
|
||||
49
ens/include/alibabacloud/ens/model/RollbackWorkflowResult.h
Normal file
49
ens/include/alibabacloud/ens/model/RollbackWorkflowResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_ENS_MODEL_ROLLBACKWORKFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_ENS_MODEL_ROLLBACKWORKFLOWRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ens/EnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ens
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ENS_EXPORT RollbackWorkflowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RollbackWorkflowResult();
|
||||
explicit RollbackWorkflowResult(const std::string &payload);
|
||||
~RollbackWorkflowResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ENS_MODEL_ROLLBACKWORKFLOWRESULT_H_
|
||||
@@ -30,6 +30,7 @@ class ALIBABACLOUD_ENS_EXPORT RunInstancesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct SystemDisk {
|
||||
long size;
|
||||
std::string category;
|
||||
};
|
||||
struct DataDisk {
|
||||
long size;
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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_ENS_MODEL_TERMINATEWORKFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_ENS_MODEL_TERMINATEWORKFLOWREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ens/EnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ens {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ENS_EXPORT TerminateWorkflowRequest : public RpcServiceRequest {
|
||||
public:
|
||||
TerminateWorkflowRequest();
|
||||
~TerminateWorkflowRequest();
|
||||
std::vector<std::string> getWorkflowIds() const;
|
||||
void setWorkflowIds(const std::vector<std::string> &workflowIds);
|
||||
|
||||
private:
|
||||
std::vector<std::string> workflowIds_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ens
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ENS_MODEL_TERMINATEWORKFLOWREQUEST_H_
|
||||
49
ens/include/alibabacloud/ens/model/TerminateWorkflowResult.h
Normal file
49
ens/include/alibabacloud/ens/model/TerminateWorkflowResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_ENS_MODEL_TERMINATEWORKFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_ENS_MODEL_TERMINATEWORKFLOWRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ens/EnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ens
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ENS_EXPORT TerminateWorkflowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TerminateWorkflowResult();
|
||||
explicit TerminateWorkflowResult(const std::string &payload);
|
||||
~TerminateWorkflowResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ENS_MODEL_TERMINATEWORKFLOWRESULT_H_
|
||||
@@ -5163,6 +5163,78 @@ EnsClient::DescribeVSwitchesOutcomeCallable EnsClient::describeVSwitchesCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EnsClient::DescribeWorkflowOutcome EnsClient::describeWorkflow(const DescribeWorkflowRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeWorkflowOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeWorkflowOutcome(DescribeWorkflowResult(outcome.result()));
|
||||
else
|
||||
return DescribeWorkflowOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EnsClient::describeWorkflowAsync(const DescribeWorkflowRequest& request, const DescribeWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeWorkflow(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EnsClient::DescribeWorkflowOutcomeCallable EnsClient::describeWorkflowCallable(const DescribeWorkflowRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeWorkflowOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeWorkflow(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EnsClient::DescribeWorkflowActivityOutcome EnsClient::describeWorkflowActivity(const DescribeWorkflowActivityRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeWorkflowActivityOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeWorkflowActivityOutcome(DescribeWorkflowActivityResult(outcome.result()));
|
||||
else
|
||||
return DescribeWorkflowActivityOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EnsClient::describeWorkflowActivityAsync(const DescribeWorkflowActivityRequest& request, const DescribeWorkflowActivityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeWorkflowActivity(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EnsClient::DescribeWorkflowActivityOutcomeCallable EnsClient::describeWorkflowActivityCallable(const DescribeWorkflowActivityRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeWorkflowActivityOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeWorkflowActivity(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EnsClient::DetachDiskOutcome EnsClient::detachDisk(const DetachDiskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7071,6 +7143,78 @@ EnsClient::RestartDeviceInstanceOutcomeCallable EnsClient::restartDeviceInstance
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EnsClient::RestartWorkflowOutcome EnsClient::restartWorkflow(const RestartWorkflowRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RestartWorkflowOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RestartWorkflowOutcome(RestartWorkflowResult(outcome.result()));
|
||||
else
|
||||
return RestartWorkflowOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EnsClient::restartWorkflowAsync(const RestartWorkflowRequest& request, const RestartWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, restartWorkflow(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EnsClient::RestartWorkflowOutcomeCallable EnsClient::restartWorkflowCallable(const RestartWorkflowRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RestartWorkflowOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->restartWorkflow(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EnsClient::RetryWorkflowOutcome EnsClient::retryWorkflow(const RetryWorkflowRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RetryWorkflowOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RetryWorkflowOutcome(RetryWorkflowResult(outcome.result()));
|
||||
else
|
||||
return RetryWorkflowOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EnsClient::retryWorkflowAsync(const RetryWorkflowRequest& request, const RetryWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, retryWorkflow(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EnsClient::RetryWorkflowOutcomeCallable EnsClient::retryWorkflowCallable(const RetryWorkflowRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RetryWorkflowOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->retryWorkflow(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EnsClient::RevokeSecurityGroupOutcome EnsClient::revokeSecurityGroup(const RevokeSecurityGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7179,6 +7323,42 @@ EnsClient::RollbackApplicationOutcomeCallable EnsClient::rollbackApplicationCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EnsClient::RollbackWorkflowOutcome EnsClient::rollbackWorkflow(const RollbackWorkflowRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RollbackWorkflowOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RollbackWorkflowOutcome(RollbackWorkflowResult(outcome.result()));
|
||||
else
|
||||
return RollbackWorkflowOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EnsClient::rollbackWorkflowAsync(const RollbackWorkflowRequest& request, const RollbackWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, rollbackWorkflow(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EnsClient::RollbackWorkflowOutcomeCallable EnsClient::rollbackWorkflowCallable(const RollbackWorkflowRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RollbackWorkflowOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->rollbackWorkflow(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EnsClient::RunInstancesOutcome EnsClient::runInstances(const RunInstancesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7827,6 +8007,42 @@ EnsClient::StopSnatIpForSnatEntryOutcomeCallable EnsClient::stopSnatIpForSnatEnt
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EnsClient::TerminateWorkflowOutcome EnsClient::terminateWorkflow(const TerminateWorkflowRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TerminateWorkflowOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TerminateWorkflowOutcome(TerminateWorkflowResult(outcome.result()));
|
||||
else
|
||||
return TerminateWorkflowOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EnsClient::terminateWorkflowAsync(const TerminateWorkflowRequest& request, const TerminateWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, terminateWorkflow(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EnsClient::TerminateWorkflowOutcomeCallable EnsClient::terminateWorkflowCallable(const TerminateWorkflowRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TerminateWorkflowOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->terminateWorkflow(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EnsClient::UnAssociateEnsEipAddressOutcome EnsClient::unAssociateEnsEipAddress(const UnAssociateEnsEipAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -25,6 +25,15 @@ AssociateEnsEipAddressRequest::AssociateEnsEipAddressRequest()
|
||||
|
||||
AssociateEnsEipAddressRequest::~AssociateEnsEipAddressRequest() {}
|
||||
|
||||
bool AssociateEnsEipAddressRequest::getStandby() const {
|
||||
return standby_;
|
||||
}
|
||||
|
||||
void AssociateEnsEipAddressRequest::setStandby(bool standby) {
|
||||
standby_ = standby;
|
||||
setParameter(std::string("Standby"), standby ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AssociateEnsEipAddressRequest::getAllocationId() const {
|
||||
return allocationId_;
|
||||
}
|
||||
|
||||
@@ -133,6 +133,15 @@ void CreateARMServerInstancesRequest::set_NameSpace(const std::string &_nameSpac
|
||||
setParameter(std::string("NameSpace"), _nameSpace);
|
||||
}
|
||||
|
||||
std::string CreateARMServerInstancesRequest::getServerName() const {
|
||||
return serverName_;
|
||||
}
|
||||
|
||||
void CreateARMServerInstancesRequest::setServerName(const std::string &serverName) {
|
||||
serverName_ = serverName;
|
||||
setParameter(std::string("ServerName"), serverName);
|
||||
}
|
||||
|
||||
std::string CreateARMServerInstancesRequest::getPayType() const {
|
||||
return payType_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,15 @@ void CreateForwardEntryRequest::setExternalPort(const std::string &externalPort)
|
||||
setParameter(std::string("ExternalPort"), externalPort);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getStandbyExternalIp() const {
|
||||
return standbyExternalIp_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryRequest::setStandbyExternalIp(const std::string &standbyExternalIp) {
|
||||
standbyExternalIp_ = standbyExternalIp;
|
||||
setParameter(std::string("StandbyExternalIp"), standbyExternalIp);
|
||||
}
|
||||
|
||||
std::string CreateForwardEntryRequest::getNatGatewayId() const {
|
||||
return natGatewayId_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ CreateSnatEntryRequest::CreateSnatEntryRequest()
|
||||
|
||||
CreateSnatEntryRequest::~CreateSnatEntryRequest() {}
|
||||
|
||||
std::string CreateSnatEntryRequest::getSourceCIDR() const {
|
||||
return sourceCIDR_;
|
||||
}
|
||||
|
||||
void CreateSnatEntryRequest::setSourceCIDR(const std::string &sourceCIDR) {
|
||||
sourceCIDR_ = sourceCIDR;
|
||||
setParameter(std::string("SourceCIDR"), sourceCIDR);
|
||||
}
|
||||
|
||||
std::string CreateSnatEntryRequest::getSnatIp() const {
|
||||
return snatIp_;
|
||||
}
|
||||
@@ -61,6 +52,24 @@ void CreateSnatEntryRequest::setSourceNetworkId(const std::string &sourceNetwork
|
||||
setParameter(std::string("SourceNetworkId"), sourceNetworkId);
|
||||
}
|
||||
|
||||
std::string CreateSnatEntryRequest::getStandbySnatIp() const {
|
||||
return standbySnatIp_;
|
||||
}
|
||||
|
||||
void CreateSnatEntryRequest::setStandbySnatIp(const std::string &standbySnatIp) {
|
||||
standbySnatIp_ = standbySnatIp;
|
||||
setParameter(std::string("StandbySnatIp"), standbySnatIp);
|
||||
}
|
||||
|
||||
std::string CreateSnatEntryRequest::getSourceCIDR() const {
|
||||
return sourceCIDR_;
|
||||
}
|
||||
|
||||
void CreateSnatEntryRequest::setSourceCIDR(const std::string &sourceCIDR) {
|
||||
sourceCIDR_ = sourceCIDR;
|
||||
setParameter(std::string("SourceCIDR"), sourceCIDR);
|
||||
}
|
||||
|
||||
std::string CreateSnatEntryRequest::getNatGatewayId() const {
|
||||
return natGatewayId_;
|
||||
}
|
||||
|
||||
@@ -69,6 +69,8 @@ void DescribeDisksResult::parse(const std::string &payload)
|
||||
disksObject.portable = valueDisksDisksItem["Portable"].asString() == "true";
|
||||
if(!valueDisksDisksItem["SnapshotId"].isNull())
|
||||
disksObject.snapshotId = valueDisksDisksItem["SnapshotId"].asString();
|
||||
if(!valueDisksDisksItem["SerialId"].isNull())
|
||||
disksObject.serialId = valueDisksDisksItem["SerialId"].asString();
|
||||
disks_.push_back(disksObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -61,6 +61,15 @@ void DescribeEnsEipAddressesRequest::setStatus(const std::string &status) {
|
||||
setParameter(std::string("Status"), status);
|
||||
}
|
||||
|
||||
std::string DescribeEnsEipAddressesRequest::getStandby() const {
|
||||
return standby_;
|
||||
}
|
||||
|
||||
void DescribeEnsEipAddressesRequest::setStandby(const std::string &standby) {
|
||||
standby_ = standby;
|
||||
setParameter(std::string("Standby"), standby);
|
||||
}
|
||||
|
||||
std::string DescribeEnsEipAddressesRequest::getAllocationId() const {
|
||||
return allocationId_;
|
||||
}
|
||||
|
||||
@@ -69,6 +69,10 @@ void DescribeEnsEipAddressesResult::parse(const std::string &payload)
|
||||
eipAddressesObject.status = valueEipAddressesEipAddress["Status"].asString();
|
||||
if(!valueEipAddressesEipAddress["Isp"].isNull())
|
||||
eipAddressesObject.isp = valueEipAddressesEipAddress["Isp"].asString();
|
||||
if(!valueEipAddressesEipAddress["Standby"].isNull())
|
||||
eipAddressesObject.standby = valueEipAddressesEipAddress["Standby"].asString() == "true";
|
||||
if(!valueEipAddressesEipAddress["IpStatus"].isNull())
|
||||
eipAddressesObject.ipStatus = valueEipAddressesEipAddress["IpStatus"].asString();
|
||||
eipAddresses_.push_back(eipAddressesObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
|
||||
@@ -25,6 +25,15 @@ DescribeEnsSaleControlAvailableResourceRequest::DescribeEnsSaleControlAvailableR
|
||||
|
||||
DescribeEnsSaleControlAvailableResourceRequest::~DescribeEnsSaleControlAvailableResourceRequest() {}
|
||||
|
||||
std::string DescribeEnsSaleControlAvailableResourceRequest::getCustomAccount() const {
|
||||
return customAccount_;
|
||||
}
|
||||
|
||||
void DescribeEnsSaleControlAvailableResourceRequest::setCustomAccount(const std::string &customAccount) {
|
||||
customAccount_ = customAccount;
|
||||
setParameter(std::string("CustomAccount"), customAccount);
|
||||
}
|
||||
|
||||
std::string DescribeEnsSaleControlAvailableResourceRequest::getCommodityCode() const {
|
||||
return commodityCode_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ DescribeEnsSaleControlRequest::DescribeEnsSaleControlRequest()
|
||||
|
||||
DescribeEnsSaleControlRequest::~DescribeEnsSaleControlRequest() {}
|
||||
|
||||
std::string DescribeEnsSaleControlRequest::getCustomAccount() const {
|
||||
return customAccount_;
|
||||
}
|
||||
|
||||
void DescribeEnsSaleControlRequest::setCustomAccount(const std::string &customAccount) {
|
||||
customAccount_ = customAccount;
|
||||
setParameter(std::string("CustomAccount"), customAccount);
|
||||
}
|
||||
|
||||
std::string DescribeEnsSaleControlRequest::getCommodityCode() const {
|
||||
return commodityCode_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ DescribeEnsSaleControlStockRequest::DescribeEnsSaleControlStockRequest()
|
||||
|
||||
DescribeEnsSaleControlStockRequest::~DescribeEnsSaleControlStockRequest() {}
|
||||
|
||||
std::string DescribeEnsSaleControlStockRequest::getCustomAccount() const {
|
||||
return customAccount_;
|
||||
}
|
||||
|
||||
void DescribeEnsSaleControlStockRequest::setCustomAccount(const std::string &customAccount) {
|
||||
customAccount_ = customAccount;
|
||||
setParameter(std::string("CustomAccount"), customAccount);
|
||||
}
|
||||
|
||||
std::string DescribeEnsSaleControlStockRequest::getCommodityCode() const {
|
||||
return commodityCode_;
|
||||
}
|
||||
|
||||
@@ -61,6 +61,15 @@ void DescribeForwardTableEntriesRequest::setPageNumber(int pageNumber) {
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
bool DescribeForwardTableEntriesRequest::getShowDetail() const {
|
||||
return showDetail_;
|
||||
}
|
||||
|
||||
void DescribeForwardTableEntriesRequest::setShowDetail(bool showDetail) {
|
||||
showDetail_ = showDetail;
|
||||
setParameter(std::string("ShowDetail"), showDetail ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeForwardTableEntriesRequest::getForwardEntryId() const {
|
||||
return forwardEntryId_;
|
||||
}
|
||||
|
||||
@@ -63,6 +63,16 @@ void DescribeForwardTableEntriesResult::parse(const std::string &payload)
|
||||
forwardTableEntriesObject.ipProtocol = valueForwardTableEntriesForwardTableEntry["IpProtocol"].asString();
|
||||
if(!valueForwardTableEntriesForwardTableEntry["HealthCheckPort"].isNull())
|
||||
forwardTableEntriesObject.healthCheckPort = valueForwardTableEntriesForwardTableEntry["HealthCheckPort"].asString();
|
||||
if(!valueForwardTableEntriesForwardTableEntry["StandbyExternalIp"].isNull())
|
||||
forwardTableEntriesObject.standbyExternalIp = valueForwardTableEntriesForwardTableEntry["StandbyExternalIp"].asString();
|
||||
if(!valueForwardTableEntriesForwardTableEntry["StandbyStatus"].isNull())
|
||||
forwardTableEntriesObject.standbyStatus = valueForwardTableEntriesForwardTableEntry["StandbyStatus"].asString();
|
||||
if(!valueForwardTableEntriesForwardTableEntry["ExternalIpIsp"].isNull())
|
||||
forwardTableEntriesObject.externalIpIsp = valueForwardTableEntriesForwardTableEntry["ExternalIpIsp"].asString();
|
||||
if(!valueForwardTableEntriesForwardTableEntry["StandbyExternalIpIsp"].isNull())
|
||||
forwardTableEntriesObject.standbyExternalIpIsp = valueForwardTableEntriesForwardTableEntry["StandbyExternalIpIsp"].asString();
|
||||
if(!valueForwardTableEntriesForwardTableEntry["StandbyEnsRegionId"].isNull())
|
||||
forwardTableEntriesObject.standbyEnsRegionId = valueForwardTableEntriesForwardTableEntry["StandbyEnsRegionId"].asString();
|
||||
forwardTableEntries_.push_back(forwardTableEntriesObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
|
||||
@@ -57,15 +57,22 @@ void DescribeRegionBandwidthQuotaResult::parse(const std::string &payload)
|
||||
instanceInfoObject.instanceNumber = std::stol(valueBandwidthQuota带宽配额InstanceInfo实例信息["InstanceNumber"].asString());
|
||||
bandwidthQuotaObject.instanceInfo.push_back(instanceInfoObject);
|
||||
}
|
||||
auto bandwidthInfoNode = value["BandwidthInfo"];
|
||||
if(!bandwidthInfoNode["MonthMax"].isNull())
|
||||
bandwidthQuotaObject.bandwidthInfo.monthMax = std::stol(bandwidthInfoNode["MonthMax"].asString());
|
||||
if(!bandwidthInfoNode["WeekMax"].isNull())
|
||||
bandwidthQuotaObject.bandwidthInfo.weekMax = std::stol(bandwidthInfoNode["WeekMax"].asString());
|
||||
if(!bandwidthInfoNode["MonthAverageQuota"].isNull())
|
||||
bandwidthQuotaObject.bandwidthInfo.monthAverageQuota = std::stol(bandwidthInfoNode["MonthAverageQuota"].asString());
|
||||
if(!bandwidthInfoNode["WeekAverageQuota"].isNull())
|
||||
bandwidthQuotaObject.bandwidthInfo.weekAverageQuota = std::stol(bandwidthInfoNode["WeekAverageQuota"].asString());
|
||||
auto allBandwidthInfoNode = valueBandwidthQuota带宽配额["BandwidthInfo"]["带宽信息"];
|
||||
for (auto valueBandwidthQuota带宽配额BandwidthInfo带宽信息 : allBandwidthInfoNode)
|
||||
{
|
||||
带宽配额::带宽信息 bandwidthInfoObject;
|
||||
if(!valueBandwidthQuota带宽配额BandwidthInfo带宽信息["MonthMax"].isNull())
|
||||
bandwidthInfoObject.monthMax = std::stol(valueBandwidthQuota带宽配额BandwidthInfo带宽信息["MonthMax"].asString());
|
||||
if(!valueBandwidthQuota带宽配额BandwidthInfo带宽信息["WeekMax"].isNull())
|
||||
bandwidthInfoObject.weekMax = std::stol(valueBandwidthQuota带宽配额BandwidthInfo带宽信息["WeekMax"].asString());
|
||||
if(!valueBandwidthQuota带宽配额BandwidthInfo带宽信息["MonthAverageQuota"].isNull())
|
||||
bandwidthInfoObject.monthAverageQuota = std::stol(valueBandwidthQuota带宽配额BandwidthInfo带宽信息["MonthAverageQuota"].asString());
|
||||
if(!valueBandwidthQuota带宽配额BandwidthInfo带宽信息["WeekAverageQuota"].isNull())
|
||||
bandwidthInfoObject.weekAverageQuota = std::stol(valueBandwidthQuota带宽配额BandwidthInfo带宽信息["WeekAverageQuota"].asString());
|
||||
if(!valueBandwidthQuota带宽配额BandwidthInfo带宽信息["Isp"].isNull())
|
||||
bandwidthInfoObject.isp = valueBandwidthQuota带宽配额BandwidthInfo带宽信息["Isp"].asString();
|
||||
bandwidthQuotaObject.bandwidthInfo.push_back(bandwidthInfoObject);
|
||||
}
|
||||
bandwidthQuota_.push_back(bandwidthQuotaObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ using AlibabaCloud::Ens::Model::DescribeSnatAttributeRequest;
|
||||
|
||||
DescribeSnatAttributeRequest::DescribeSnatAttributeRequest()
|
||||
: RpcServiceRequest("ens", "2017-11-10", "DescribeSnatAttribute") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSnatAttributeRequest::~DescribeSnatAttributeRequest() {}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user