Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9b0afb4553 | ||
|
|
3d0a6fad54 | ||
|
|
d63c8b343d |
@@ -1,3 +1,12 @@
|
||||
2021-06-25 Version: 1.36.800
|
||||
- Update DescribeSplitItemBill to support daily report.
|
||||
|
||||
2021-06-24 Version: 1.36.799
|
||||
- DescribeSynchronizationJobs, DescribeSubscriptionInstances, DescribeMigrationJobs, Add InstanceCreateTime and JobCreateTime.
|
||||
|
||||
2021-06-24 Version: 1.36.798
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2021-06-24 Version: 1.36.797
|
||||
- Update QueryBillOverview, QuerySettleBill, QueryAccountBill, DescribeInstanceBill and support trusteeship bill query.
|
||||
|
||||
|
||||
@@ -41,40 +41,46 @@ namespace AlibabaCloud
|
||||
DescribeSplitItemBillRequest();
|
||||
~DescribeSplitItemBillRequest();
|
||||
|
||||
std::string getSplitItemID()const;
|
||||
void setSplitItemID(const std::string& splitItemID);
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
long getBillOwnerId()const;
|
||||
void setBillOwnerId(long billOwnerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getSplitItemID()const;
|
||||
void setSplitItemID(const std::string& splitItemID);
|
||||
std::string getBillingCycle()const;
|
||||
void setBillingCycle(const std::string& billingCycle);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getBillOwnerId()const;
|
||||
void setBillOwnerId(long billOwnerId);
|
||||
std::vector<TagFilter> getTagFilter()const;
|
||||
void setTagFilter(const std::vector<TagFilter>& tagFilter);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
std::string getBillingDate()const;
|
||||
void setBillingDate(const std::string& billingDate);
|
||||
std::string getInstanceID()const;
|
||||
void setInstanceID(const std::string& instanceID);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getGranularity()const;
|
||||
void setGranularity(const std::string& granularity);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
std::string splitItemID_;
|
||||
std::string productCode_;
|
||||
std::string subscriptionType_;
|
||||
long billOwnerId_;
|
||||
std::string productType_;
|
||||
std::string nextToken_;
|
||||
std::string splitItemID_;
|
||||
std::string billingCycle_;
|
||||
long ownerId_;
|
||||
long billOwnerId_;
|
||||
std::vector<TagFilter> tagFilter_;
|
||||
std::string productType_;
|
||||
std::string billingDate_;
|
||||
std::string instanceID_;
|
||||
std::string nextToken_;
|
||||
std::string granularity_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
|
||||
@@ -36,51 +36,55 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Item
|
||||
{
|
||||
std::string instanceSpec;
|
||||
std::string productName;
|
||||
std::string instanceID;
|
||||
std::string billAccountID;
|
||||
std::string splitCommodityCode;
|
||||
float deductedByCashCoupons;
|
||||
std::string listPriceUnit;
|
||||
std::string billingDate;
|
||||
std::string listPrice;
|
||||
float paymentAmount;
|
||||
float deductedByPrepaidCard;
|
||||
float invoiceDiscount;
|
||||
std::string splitItemName;
|
||||
std::string splitProductDetail;
|
||||
std::string subscriptionType;
|
||||
std::string item;
|
||||
float pretaxGrossAmount;
|
||||
std::string instanceConfig;
|
||||
std::string splitBillingDate;
|
||||
std::string currency;
|
||||
std::string commodityCode;
|
||||
std::string costUnit;
|
||||
float deductedByCoupons;
|
||||
std::string productCode;
|
||||
std::string productType;
|
||||
float outstandingAmount;
|
||||
std::string bizType;
|
||||
std::string nickName;
|
||||
std::string intranetIP;
|
||||
std::string servicePeriodUnit;
|
||||
std::string servicePeriod;
|
||||
std::string usageUnit;
|
||||
std::string ownerID;
|
||||
std::string internetIP;
|
||||
std::string region;
|
||||
std::string instanceSpec;
|
||||
float deductedByCashCoupons;
|
||||
std::string listPriceUnit;
|
||||
std::string billingDate;
|
||||
float invoiceDiscount;
|
||||
std::string splitProductDetail;
|
||||
float pretaxGrossAmount;
|
||||
std::string commodityCode;
|
||||
std::string resourceGroup;
|
||||
std::string billingType;
|
||||
std::string splitAccountName;
|
||||
std::string usage;
|
||||
float deductedByCoupons;
|
||||
std::string splitAccountID;
|
||||
std::string productDetail;
|
||||
std::string productCode;
|
||||
std::string zone;
|
||||
std::string productType;
|
||||
float outstandingAmount;
|
||||
std::string billingItem;
|
||||
std::string nickName;
|
||||
std::string intranetIP;
|
||||
std::string pipCode;
|
||||
std::string servicePeriodUnit;
|
||||
std::string servicePeriod;
|
||||
std::string splitItemID;
|
||||
std::string deductedByResourcePackage;
|
||||
std::string splitBillingCycle;
|
||||
std::string usageUnit;
|
||||
std::string ownerID;
|
||||
float pretaxAmount;
|
||||
std::string internetIP;
|
||||
std::string region;
|
||||
std::string billAccountName;
|
||||
std::string tag;
|
||||
};
|
||||
std::string billingCycle;
|
||||
|
||||
@@ -27,17 +27,6 @@ DescribeSplitItemBillRequest::DescribeSplitItemBillRequest() :
|
||||
DescribeSplitItemBillRequest::~DescribeSplitItemBillRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getSplitItemID()const
|
||||
{
|
||||
return splitItemID_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setSplitItemID(const std::string& splitItemID)
|
||||
{
|
||||
splitItemID_ = splitItemID;
|
||||
setParameter("SplitItemID", splitItemID);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getProductCode()const
|
||||
{
|
||||
return productCode_;
|
||||
@@ -60,6 +49,50 @@ void DescribeSplitItemBillRequest::setSubscriptionType(const std::string& subscr
|
||||
setParameter("SubscriptionType", subscriptionType);
|
||||
}
|
||||
|
||||
long DescribeSplitItemBillRequest::getBillOwnerId()const
|
||||
{
|
||||
return billOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setBillOwnerId(long billOwnerId)
|
||||
{
|
||||
billOwnerId_ = billOwnerId;
|
||||
setParameter("BillOwnerId", std::to_string(billOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getProductType()const
|
||||
{
|
||||
return productType_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getSplitItemID()const
|
||||
{
|
||||
return splitItemID_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setSplitItemID(const std::string& splitItemID)
|
||||
{
|
||||
splitItemID_ = splitItemID;
|
||||
setParameter("SplitItemID", splitItemID);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getBillingCycle()const
|
||||
{
|
||||
return billingCycle_;
|
||||
@@ -82,17 +115,6 @@ void DescribeSplitItemBillRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long DescribeSplitItemBillRequest::getBillOwnerId()const
|
||||
{
|
||||
return billOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setBillOwnerId(long billOwnerId)
|
||||
{
|
||||
billOwnerId_ = billOwnerId;
|
||||
setParameter("BillOwnerId", std::to_string(billOwnerId));
|
||||
}
|
||||
|
||||
std::vector<DescribeSplitItemBillRequest::TagFilter> DescribeSplitItemBillRequest::getTagFilter()const
|
||||
{
|
||||
return tagFilter_;
|
||||
@@ -111,15 +133,15 @@ void DescribeSplitItemBillRequest::setTagFilter(const std::vector<TagFilter>& ta
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getProductType()const
|
||||
std::string DescribeSplitItemBillRequest::getBillingDate()const
|
||||
{
|
||||
return productType_;
|
||||
return billingDate_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setProductType(const std::string& productType)
|
||||
void DescribeSplitItemBillRequest::setBillingDate(const std::string& billingDate)
|
||||
{
|
||||
productType_ = productType;
|
||||
setParameter("ProductType", productType);
|
||||
billingDate_ = billingDate;
|
||||
setParameter("BillingDate", billingDate);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getInstanceID()const
|
||||
@@ -133,15 +155,15 @@ void DescribeSplitItemBillRequest::setInstanceID(const std::string& instanceID)
|
||||
setParameter("InstanceID", instanceID);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getNextToken()const
|
||||
std::string DescribeSplitItemBillRequest::getGranularity()const
|
||||
{
|
||||
return nextToken_;
|
||||
return granularity_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setNextToken(const std::string& nextToken)
|
||||
void DescribeSplitItemBillRequest::setGranularity(const std::string& granularity)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
granularity_ = granularity;
|
||||
setParameter("Granularity", granularity);
|
||||
}
|
||||
|
||||
int DescribeSplitItemBillRequest::getMaxResults()const
|
||||
|
||||
@@ -148,6 +148,14 @@ void DescribeSplitItemBillResult::parse(const std::string &payload)
|
||||
itemObject.splitAccountName = dataNodeItemsItem["SplitAccountName"].asString();
|
||||
if(!dataNodeItemsItem["SplitBillingCycle"].isNull())
|
||||
itemObject.splitBillingCycle = dataNodeItemsItem["SplitBillingCycle"].asString();
|
||||
if(!dataNodeItemsItem["SplitBillingDate"].isNull())
|
||||
itemObject.splitBillingDate = dataNodeItemsItem["SplitBillingDate"].asString();
|
||||
if(!dataNodeItemsItem["BizType"].isNull())
|
||||
itemObject.bizType = dataNodeItemsItem["BizType"].asString();
|
||||
if(!dataNodeItemsItem["BillAccountID"].isNull())
|
||||
itemObject.billAccountID = dataNodeItemsItem["BillAccountID"].asString();
|
||||
if(!dataNodeItemsItem["BillAccountName"].isNull())
|
||||
itemObject.billAccountName = dataNodeItemsItem["BillAccountName"].asString();
|
||||
data_.items.push_back(itemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
@@ -27,6 +27,8 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/ConfigureMigrationJobResult.h
|
||||
include/alibabacloud/dts/model/ConfigureMigrationJobAlertRequest.h
|
||||
include/alibabacloud/dts/model/ConfigureMigrationJobAlertResult.h
|
||||
include/alibabacloud/dts/model/ConfigureSubscriptionRequest.h
|
||||
include/alibabacloud/dts/model/ConfigureSubscriptionResult.h
|
||||
include/alibabacloud/dts/model/ConfigureSubscriptionInstanceRequest.h
|
||||
include/alibabacloud/dts/model/ConfigureSubscriptionInstanceResult.h
|
||||
include/alibabacloud/dts/model/ConfigureSubscriptionInstanceAlertRequest.h
|
||||
@@ -37,6 +39,8 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/ConfigureSynchronizationJobAlertResult.h
|
||||
include/alibabacloud/dts/model/ConfigureSynchronizationJobReplicatorCompareRequest.h
|
||||
include/alibabacloud/dts/model/ConfigureSynchronizationJobReplicatorCompareResult.h
|
||||
include/alibabacloud/dts/model/CreateConsumerChannelRequest.h
|
||||
include/alibabacloud/dts/model/CreateConsumerChannelResult.h
|
||||
include/alibabacloud/dts/model/CreateConsumerGroupRequest.h
|
||||
include/alibabacloud/dts/model/CreateConsumerGroupResult.h
|
||||
include/alibabacloud/dts/model/CreateDtsInstanceRequest.h
|
||||
@@ -49,6 +53,8 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/CreateSubscriptionInstanceResult.h
|
||||
include/alibabacloud/dts/model/CreateSynchronizationJobRequest.h
|
||||
include/alibabacloud/dts/model/CreateSynchronizationJobResult.h
|
||||
include/alibabacloud/dts/model/DeleteConsumerChannelRequest.h
|
||||
include/alibabacloud/dts/model/DeleteConsumerChannelResult.h
|
||||
include/alibabacloud/dts/model/DeleteConsumerGroupRequest.h
|
||||
include/alibabacloud/dts/model/DeleteConsumerGroupResult.h
|
||||
include/alibabacloud/dts/model/DeleteDtsJobRequest.h
|
||||
@@ -63,6 +69,8 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/DescribeCenVpcResult.h
|
||||
include/alibabacloud/dts/model/DescribeConnectionStatusRequest.h
|
||||
include/alibabacloud/dts/model/DescribeConnectionStatusResult.h
|
||||
include/alibabacloud/dts/model/DescribeConsumerChannelRequest.h
|
||||
include/alibabacloud/dts/model/DescribeConsumerChannelResult.h
|
||||
include/alibabacloud/dts/model/DescribeConsumerGroupRequest.h
|
||||
include/alibabacloud/dts/model/DescribeConsumerGroupResult.h
|
||||
include/alibabacloud/dts/model/DescribeDTSIPRequest.h
|
||||
@@ -71,8 +79,6 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/DescribeDgDatabasesResult.h
|
||||
include/alibabacloud/dts/model/DescribeDtsJobDetailRequest.h
|
||||
include/alibabacloud/dts/model/DescribeDtsJobDetailResult.h
|
||||
include/alibabacloud/dts/model/DescribeDtsJobLogsRequest.h
|
||||
include/alibabacloud/dts/model/DescribeDtsJobLogsResult.h
|
||||
include/alibabacloud/dts/model/DescribeDtsJobsRequest.h
|
||||
include/alibabacloud/dts/model/DescribeDtsJobsResult.h
|
||||
include/alibabacloud/dts/model/DescribeEndpointSwitchStatusRequest.h
|
||||
@@ -113,6 +119,8 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationObjectModifyStatusResult.h
|
||||
include/alibabacloud/dts/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/dts/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/dts/model/ModifyConsumerChannelRequest.h
|
||||
include/alibabacloud/dts/model/ModifyConsumerChannelResult.h
|
||||
include/alibabacloud/dts/model/ModifyConsumerGroupPasswordRequest.h
|
||||
include/alibabacloud/dts/model/ModifyConsumerGroupPasswordResult.h
|
||||
include/alibabacloud/dts/model/ModifyConsumptionTimestampRequest.h
|
||||
@@ -123,12 +131,14 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/ModifyDtsJobNameResult.h
|
||||
include/alibabacloud/dts/model/ModifyDtsJobPasswordRequest.h
|
||||
include/alibabacloud/dts/model/ModifyDtsJobPasswordResult.h
|
||||
include/alibabacloud/dts/model/ModifySubscriptionRequest.h
|
||||
include/alibabacloud/dts/model/ModifySubscriptionResult.h
|
||||
include/alibabacloud/dts/model/ModifySubscriptionObjectRequest.h
|
||||
include/alibabacloud/dts/model/ModifySubscriptionObjectResult.h
|
||||
include/alibabacloud/dts/model/ModifySynchronizationObjectRequest.h
|
||||
include/alibabacloud/dts/model/ModifySynchronizationObjectResult.h
|
||||
include/alibabacloud/dts/model/PreviewSqlRequest.h
|
||||
include/alibabacloud/dts/model/PreviewSqlResult.h
|
||||
include/alibabacloud/dts/model/RenewInstanceRequest.h
|
||||
include/alibabacloud/dts/model/RenewInstanceResult.h
|
||||
include/alibabacloud/dts/model/ReplaceInstanceRequest.h
|
||||
include/alibabacloud/dts/model/ReplaceInstanceResult.h
|
||||
include/alibabacloud/dts/model/ResetDtsJobRequest.h
|
||||
@@ -161,6 +171,8 @@ set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/SwitchSynchronizationEndpointResult.h
|
||||
include/alibabacloud/dts/model/TagResourcesRequest.h
|
||||
include/alibabacloud/dts/model/TagResourcesResult.h
|
||||
include/alibabacloud/dts/model/TransferInstanceClassRequest.h
|
||||
include/alibabacloud/dts/model/TransferInstanceClassResult.h
|
||||
include/alibabacloud/dts/model/TransferPayTypeRequest.h
|
||||
include/alibabacloud/dts/model/TransferPayTypeResult.h
|
||||
include/alibabacloud/dts/model/UntagResourcesRequest.h
|
||||
@@ -178,6 +190,8 @@ set(dts_src
|
||||
src/model/ConfigureMigrationJobResult.cc
|
||||
src/model/ConfigureMigrationJobAlertRequest.cc
|
||||
src/model/ConfigureMigrationJobAlertResult.cc
|
||||
src/model/ConfigureSubscriptionRequest.cc
|
||||
src/model/ConfigureSubscriptionResult.cc
|
||||
src/model/ConfigureSubscriptionInstanceRequest.cc
|
||||
src/model/ConfigureSubscriptionInstanceResult.cc
|
||||
src/model/ConfigureSubscriptionInstanceAlertRequest.cc
|
||||
@@ -188,6 +202,8 @@ set(dts_src
|
||||
src/model/ConfigureSynchronizationJobAlertResult.cc
|
||||
src/model/ConfigureSynchronizationJobReplicatorCompareRequest.cc
|
||||
src/model/ConfigureSynchronizationJobReplicatorCompareResult.cc
|
||||
src/model/CreateConsumerChannelRequest.cc
|
||||
src/model/CreateConsumerChannelResult.cc
|
||||
src/model/CreateConsumerGroupRequest.cc
|
||||
src/model/CreateConsumerGroupResult.cc
|
||||
src/model/CreateDtsInstanceRequest.cc
|
||||
@@ -200,6 +216,8 @@ set(dts_src
|
||||
src/model/CreateSubscriptionInstanceResult.cc
|
||||
src/model/CreateSynchronizationJobRequest.cc
|
||||
src/model/CreateSynchronizationJobResult.cc
|
||||
src/model/DeleteConsumerChannelRequest.cc
|
||||
src/model/DeleteConsumerChannelResult.cc
|
||||
src/model/DeleteConsumerGroupRequest.cc
|
||||
src/model/DeleteConsumerGroupResult.cc
|
||||
src/model/DeleteDtsJobRequest.cc
|
||||
@@ -214,6 +232,8 @@ set(dts_src
|
||||
src/model/DescribeCenVpcResult.cc
|
||||
src/model/DescribeConnectionStatusRequest.cc
|
||||
src/model/DescribeConnectionStatusResult.cc
|
||||
src/model/DescribeConsumerChannelRequest.cc
|
||||
src/model/DescribeConsumerChannelResult.cc
|
||||
src/model/DescribeConsumerGroupRequest.cc
|
||||
src/model/DescribeConsumerGroupResult.cc
|
||||
src/model/DescribeDTSIPRequest.cc
|
||||
@@ -222,8 +242,6 @@ set(dts_src
|
||||
src/model/DescribeDgDatabasesResult.cc
|
||||
src/model/DescribeDtsJobDetailRequest.cc
|
||||
src/model/DescribeDtsJobDetailResult.cc
|
||||
src/model/DescribeDtsJobLogsRequest.cc
|
||||
src/model/DescribeDtsJobLogsResult.cc
|
||||
src/model/DescribeDtsJobsRequest.cc
|
||||
src/model/DescribeDtsJobsResult.cc
|
||||
src/model/DescribeEndpointSwitchStatusRequest.cc
|
||||
@@ -264,6 +282,8 @@ set(dts_src
|
||||
src/model/DescribeSynchronizationObjectModifyStatusResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ModifyConsumerChannelRequest.cc
|
||||
src/model/ModifyConsumerChannelResult.cc
|
||||
src/model/ModifyConsumerGroupPasswordRequest.cc
|
||||
src/model/ModifyConsumerGroupPasswordResult.cc
|
||||
src/model/ModifyConsumptionTimestampRequest.cc
|
||||
@@ -274,12 +294,14 @@ set(dts_src
|
||||
src/model/ModifyDtsJobNameResult.cc
|
||||
src/model/ModifyDtsJobPasswordRequest.cc
|
||||
src/model/ModifyDtsJobPasswordResult.cc
|
||||
src/model/ModifySubscriptionRequest.cc
|
||||
src/model/ModifySubscriptionResult.cc
|
||||
src/model/ModifySubscriptionObjectRequest.cc
|
||||
src/model/ModifySubscriptionObjectResult.cc
|
||||
src/model/ModifySynchronizationObjectRequest.cc
|
||||
src/model/ModifySynchronizationObjectResult.cc
|
||||
src/model/PreviewSqlRequest.cc
|
||||
src/model/PreviewSqlResult.cc
|
||||
src/model/RenewInstanceRequest.cc
|
||||
src/model/RenewInstanceResult.cc
|
||||
src/model/ReplaceInstanceRequest.cc
|
||||
src/model/ReplaceInstanceResult.cc
|
||||
src/model/ResetDtsJobRequest.cc
|
||||
@@ -312,6 +334,8 @@ set(dts_src
|
||||
src/model/SwitchSynchronizationEndpointResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/TransferInstanceClassRequest.cc
|
||||
src/model/TransferInstanceClassResult.cc
|
||||
src/model/TransferPayTypeRequest.cc
|
||||
src/model/TransferPayTypeResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#include "model/ConfigureMigrationJobResult.h"
|
||||
#include "model/ConfigureMigrationJobAlertRequest.h"
|
||||
#include "model/ConfigureMigrationJobAlertResult.h"
|
||||
#include "model/ConfigureSubscriptionRequest.h"
|
||||
#include "model/ConfigureSubscriptionResult.h"
|
||||
#include "model/ConfigureSubscriptionInstanceRequest.h"
|
||||
#include "model/ConfigureSubscriptionInstanceResult.h"
|
||||
#include "model/ConfigureSubscriptionInstanceAlertRequest.h"
|
||||
@@ -38,6 +40,8 @@
|
||||
#include "model/ConfigureSynchronizationJobAlertResult.h"
|
||||
#include "model/ConfigureSynchronizationJobReplicatorCompareRequest.h"
|
||||
#include "model/ConfigureSynchronizationJobReplicatorCompareResult.h"
|
||||
#include "model/CreateConsumerChannelRequest.h"
|
||||
#include "model/CreateConsumerChannelResult.h"
|
||||
#include "model/CreateConsumerGroupRequest.h"
|
||||
#include "model/CreateConsumerGroupResult.h"
|
||||
#include "model/CreateDtsInstanceRequest.h"
|
||||
@@ -50,6 +54,8 @@
|
||||
#include "model/CreateSubscriptionInstanceResult.h"
|
||||
#include "model/CreateSynchronizationJobRequest.h"
|
||||
#include "model/CreateSynchronizationJobResult.h"
|
||||
#include "model/DeleteConsumerChannelRequest.h"
|
||||
#include "model/DeleteConsumerChannelResult.h"
|
||||
#include "model/DeleteConsumerGroupRequest.h"
|
||||
#include "model/DeleteConsumerGroupResult.h"
|
||||
#include "model/DeleteDtsJobRequest.h"
|
||||
@@ -64,6 +70,8 @@
|
||||
#include "model/DescribeCenVpcResult.h"
|
||||
#include "model/DescribeConnectionStatusRequest.h"
|
||||
#include "model/DescribeConnectionStatusResult.h"
|
||||
#include "model/DescribeConsumerChannelRequest.h"
|
||||
#include "model/DescribeConsumerChannelResult.h"
|
||||
#include "model/DescribeConsumerGroupRequest.h"
|
||||
#include "model/DescribeConsumerGroupResult.h"
|
||||
#include "model/DescribeDTSIPRequest.h"
|
||||
@@ -72,8 +80,6 @@
|
||||
#include "model/DescribeDgDatabasesResult.h"
|
||||
#include "model/DescribeDtsJobDetailRequest.h"
|
||||
#include "model/DescribeDtsJobDetailResult.h"
|
||||
#include "model/DescribeDtsJobLogsRequest.h"
|
||||
#include "model/DescribeDtsJobLogsResult.h"
|
||||
#include "model/DescribeDtsJobsRequest.h"
|
||||
#include "model/DescribeDtsJobsResult.h"
|
||||
#include "model/DescribeEndpointSwitchStatusRequest.h"
|
||||
@@ -114,6 +120,8 @@
|
||||
#include "model/DescribeSynchronizationObjectModifyStatusResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyConsumerChannelRequest.h"
|
||||
#include "model/ModifyConsumerChannelResult.h"
|
||||
#include "model/ModifyConsumerGroupPasswordRequest.h"
|
||||
#include "model/ModifyConsumerGroupPasswordResult.h"
|
||||
#include "model/ModifyConsumptionTimestampRequest.h"
|
||||
@@ -124,12 +132,14 @@
|
||||
#include "model/ModifyDtsJobNameResult.h"
|
||||
#include "model/ModifyDtsJobPasswordRequest.h"
|
||||
#include "model/ModifyDtsJobPasswordResult.h"
|
||||
#include "model/ModifySubscriptionRequest.h"
|
||||
#include "model/ModifySubscriptionResult.h"
|
||||
#include "model/ModifySubscriptionObjectRequest.h"
|
||||
#include "model/ModifySubscriptionObjectResult.h"
|
||||
#include "model/ModifySynchronizationObjectRequest.h"
|
||||
#include "model/ModifySynchronizationObjectResult.h"
|
||||
#include "model/PreviewSqlRequest.h"
|
||||
#include "model/PreviewSqlResult.h"
|
||||
#include "model/RenewInstanceRequest.h"
|
||||
#include "model/RenewInstanceResult.h"
|
||||
#include "model/ReplaceInstanceRequest.h"
|
||||
#include "model/ReplaceInstanceResult.h"
|
||||
#include "model/ResetDtsJobRequest.h"
|
||||
@@ -162,6 +172,8 @@
|
||||
#include "model/SwitchSynchronizationEndpointResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/TransferInstanceClassRequest.h"
|
||||
#include "model/TransferInstanceClassResult.h"
|
||||
#include "model/TransferPayTypeRequest.h"
|
||||
#include "model/TransferPayTypeResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
@@ -188,6 +200,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ConfigureMigrationJobAlertResult> ConfigureMigrationJobAlertOutcome;
|
||||
typedef std::future<ConfigureMigrationJobAlertOutcome> ConfigureMigrationJobAlertOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureMigrationJobAlertRequest&, const ConfigureMigrationJobAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureMigrationJobAlertAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigureSubscriptionResult> ConfigureSubscriptionOutcome;
|
||||
typedef std::future<ConfigureSubscriptionOutcome> ConfigureSubscriptionOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureSubscriptionRequest&, const ConfigureSubscriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSubscriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigureSubscriptionInstanceResult> ConfigureSubscriptionInstanceOutcome;
|
||||
typedef std::future<ConfigureSubscriptionInstanceOutcome> ConfigureSubscriptionInstanceOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureSubscriptionInstanceRequest&, const ConfigureSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSubscriptionInstanceAsyncHandler;
|
||||
@@ -203,6 +218,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ConfigureSynchronizationJobReplicatorCompareResult> ConfigureSynchronizationJobReplicatorCompareOutcome;
|
||||
typedef std::future<ConfigureSynchronizationJobReplicatorCompareOutcome> ConfigureSynchronizationJobReplicatorCompareOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureSynchronizationJobReplicatorCompareRequest&, const ConfigureSynchronizationJobReplicatorCompareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSynchronizationJobReplicatorCompareAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateConsumerChannelResult> CreateConsumerChannelOutcome;
|
||||
typedef std::future<CreateConsumerChannelOutcome> CreateConsumerChannelOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::CreateConsumerChannelRequest&, const CreateConsumerChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConsumerChannelAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateConsumerGroupResult> CreateConsumerGroupOutcome;
|
||||
typedef std::future<CreateConsumerGroupOutcome> CreateConsumerGroupOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::CreateConsumerGroupRequest&, const CreateConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConsumerGroupAsyncHandler;
|
||||
@@ -221,6 +239,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateSynchronizationJobResult> CreateSynchronizationJobOutcome;
|
||||
typedef std::future<CreateSynchronizationJobOutcome> CreateSynchronizationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::CreateSynchronizationJobRequest&, const CreateSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSynchronizationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteConsumerChannelResult> DeleteConsumerChannelOutcome;
|
||||
typedef std::future<DeleteConsumerChannelOutcome> DeleteConsumerChannelOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DeleteConsumerChannelRequest&, const DeleteConsumerChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConsumerChannelAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteConsumerGroupResult> DeleteConsumerGroupOutcome;
|
||||
typedef std::future<DeleteConsumerGroupOutcome> DeleteConsumerGroupOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DeleteConsumerGroupRequest&, const DeleteConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConsumerGroupAsyncHandler;
|
||||
@@ -242,6 +263,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeConnectionStatusResult> DescribeConnectionStatusOutcome;
|
||||
typedef std::future<DescribeConnectionStatusOutcome> DescribeConnectionStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeConnectionStatusRequest&, const DescribeConnectionStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConnectionStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeConsumerChannelResult> DescribeConsumerChannelOutcome;
|
||||
typedef std::future<DescribeConsumerChannelOutcome> DescribeConsumerChannelOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeConsumerChannelRequest&, const DescribeConsumerChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConsumerChannelAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeConsumerGroupResult> DescribeConsumerGroupOutcome;
|
||||
typedef std::future<DescribeConsumerGroupOutcome> DescribeConsumerGroupOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeConsumerGroupRequest&, const DescribeConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConsumerGroupAsyncHandler;
|
||||
@@ -254,9 +278,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDtsJobDetailResult> DescribeDtsJobDetailOutcome;
|
||||
typedef std::future<DescribeDtsJobDetailOutcome> DescribeDtsJobDetailOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeDtsJobDetailRequest&, const DescribeDtsJobDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDtsJobDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDtsJobLogsResult> DescribeDtsJobLogsOutcome;
|
||||
typedef std::future<DescribeDtsJobLogsOutcome> DescribeDtsJobLogsOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeDtsJobLogsRequest&, const DescribeDtsJobLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDtsJobLogsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDtsJobsResult> DescribeDtsJobsOutcome;
|
||||
typedef std::future<DescribeDtsJobsOutcome> DescribeDtsJobsOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeDtsJobsRequest&, const DescribeDtsJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDtsJobsAsyncHandler;
|
||||
@@ -317,6 +338,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyConsumerChannelResult> ModifyConsumerChannelOutcome;
|
||||
typedef std::future<ModifyConsumerChannelOutcome> ModifyConsumerChannelOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifyConsumerChannelRequest&, const ModifyConsumerChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyConsumerChannelAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyConsumerGroupPasswordResult> ModifyConsumerGroupPasswordOutcome;
|
||||
typedef std::future<ModifyConsumerGroupPasswordOutcome> ModifyConsumerGroupPasswordOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifyConsumerGroupPasswordRequest&, const ModifyConsumerGroupPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyConsumerGroupPasswordAsyncHandler;
|
||||
@@ -332,15 +356,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyDtsJobPasswordResult> ModifyDtsJobPasswordOutcome;
|
||||
typedef std::future<ModifyDtsJobPasswordOutcome> ModifyDtsJobPasswordOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifyDtsJobPasswordRequest&, const ModifyDtsJobPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDtsJobPasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySubscriptionResult> ModifySubscriptionOutcome;
|
||||
typedef std::future<ModifySubscriptionOutcome> ModifySubscriptionOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifySubscriptionRequest&, const ModifySubscriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySubscriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySubscriptionObjectResult> ModifySubscriptionObjectOutcome;
|
||||
typedef std::future<ModifySubscriptionObjectOutcome> ModifySubscriptionObjectOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifySubscriptionObjectRequest&, const ModifySubscriptionObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySubscriptionObjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySynchronizationObjectResult> ModifySynchronizationObjectOutcome;
|
||||
typedef std::future<ModifySynchronizationObjectOutcome> ModifySynchronizationObjectOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifySynchronizationObjectRequest&, const ModifySynchronizationObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySynchronizationObjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::PreviewSqlResult> PreviewSqlOutcome;
|
||||
typedef std::future<PreviewSqlOutcome> PreviewSqlOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::PreviewSqlRequest&, const PreviewSqlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreviewSqlAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
|
||||
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReplaceInstanceResult> ReplaceInstanceOutcome;
|
||||
typedef std::future<ReplaceInstanceOutcome> ReplaceInstanceOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ReplaceInstanceRequest&, const ReplaceInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReplaceInstanceAsyncHandler;
|
||||
@@ -389,6 +416,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::TransferInstanceClassResult> TransferInstanceClassOutcome;
|
||||
typedef std::future<TransferInstanceClassOutcome> TransferInstanceClassOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::TransferInstanceClassRequest&, const TransferInstanceClassOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransferInstanceClassAsyncHandler;
|
||||
typedef Outcome<Error, Model::TransferPayTypeResult> TransferPayTypeOutcome;
|
||||
typedef std::future<TransferPayTypeOutcome> TransferPayTypeOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::TransferPayTypeRequest&, const TransferPayTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransferPayTypeAsyncHandler;
|
||||
@@ -415,6 +445,9 @@ namespace AlibabaCloud
|
||||
ConfigureMigrationJobAlertOutcome configureMigrationJobAlert(const Model::ConfigureMigrationJobAlertRequest &request)const;
|
||||
void configureMigrationJobAlertAsync(const Model::ConfigureMigrationJobAlertRequest& request, const ConfigureMigrationJobAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureMigrationJobAlertOutcomeCallable configureMigrationJobAlertCallable(const Model::ConfigureMigrationJobAlertRequest& request) const;
|
||||
ConfigureSubscriptionOutcome configureSubscription(const Model::ConfigureSubscriptionRequest &request)const;
|
||||
void configureSubscriptionAsync(const Model::ConfigureSubscriptionRequest& request, const ConfigureSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureSubscriptionOutcomeCallable configureSubscriptionCallable(const Model::ConfigureSubscriptionRequest& request) const;
|
||||
ConfigureSubscriptionInstanceOutcome configureSubscriptionInstance(const Model::ConfigureSubscriptionInstanceRequest &request)const;
|
||||
void configureSubscriptionInstanceAsync(const Model::ConfigureSubscriptionInstanceRequest& request, const ConfigureSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureSubscriptionInstanceOutcomeCallable configureSubscriptionInstanceCallable(const Model::ConfigureSubscriptionInstanceRequest& request) const;
|
||||
@@ -430,6 +463,9 @@ namespace AlibabaCloud
|
||||
ConfigureSynchronizationJobReplicatorCompareOutcome configureSynchronizationJobReplicatorCompare(const Model::ConfigureSynchronizationJobReplicatorCompareRequest &request)const;
|
||||
void configureSynchronizationJobReplicatorCompareAsync(const Model::ConfigureSynchronizationJobReplicatorCompareRequest& request, const ConfigureSynchronizationJobReplicatorCompareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureSynchronizationJobReplicatorCompareOutcomeCallable configureSynchronizationJobReplicatorCompareCallable(const Model::ConfigureSynchronizationJobReplicatorCompareRequest& request) const;
|
||||
CreateConsumerChannelOutcome createConsumerChannel(const Model::CreateConsumerChannelRequest &request)const;
|
||||
void createConsumerChannelAsync(const Model::CreateConsumerChannelRequest& request, const CreateConsumerChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConsumerChannelOutcomeCallable createConsumerChannelCallable(const Model::CreateConsumerChannelRequest& request) const;
|
||||
CreateConsumerGroupOutcome createConsumerGroup(const Model::CreateConsumerGroupRequest &request)const;
|
||||
void createConsumerGroupAsync(const Model::CreateConsumerGroupRequest& request, const CreateConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConsumerGroupOutcomeCallable createConsumerGroupCallable(const Model::CreateConsumerGroupRequest& request) const;
|
||||
@@ -448,6 +484,9 @@ namespace AlibabaCloud
|
||||
CreateSynchronizationJobOutcome createSynchronizationJob(const Model::CreateSynchronizationJobRequest &request)const;
|
||||
void createSynchronizationJobAsync(const Model::CreateSynchronizationJobRequest& request, const CreateSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSynchronizationJobOutcomeCallable createSynchronizationJobCallable(const Model::CreateSynchronizationJobRequest& request) const;
|
||||
DeleteConsumerChannelOutcome deleteConsumerChannel(const Model::DeleteConsumerChannelRequest &request)const;
|
||||
void deleteConsumerChannelAsync(const Model::DeleteConsumerChannelRequest& request, const DeleteConsumerChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConsumerChannelOutcomeCallable deleteConsumerChannelCallable(const Model::DeleteConsumerChannelRequest& request) const;
|
||||
DeleteConsumerGroupOutcome deleteConsumerGroup(const Model::DeleteConsumerGroupRequest &request)const;
|
||||
void deleteConsumerGroupAsync(const Model::DeleteConsumerGroupRequest& request, const DeleteConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConsumerGroupOutcomeCallable deleteConsumerGroupCallable(const Model::DeleteConsumerGroupRequest& request) const;
|
||||
@@ -469,6 +508,9 @@ namespace AlibabaCloud
|
||||
DescribeConnectionStatusOutcome describeConnectionStatus(const Model::DescribeConnectionStatusRequest &request)const;
|
||||
void describeConnectionStatusAsync(const Model::DescribeConnectionStatusRequest& request, const DescribeConnectionStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeConnectionStatusOutcomeCallable describeConnectionStatusCallable(const Model::DescribeConnectionStatusRequest& request) const;
|
||||
DescribeConsumerChannelOutcome describeConsumerChannel(const Model::DescribeConsumerChannelRequest &request)const;
|
||||
void describeConsumerChannelAsync(const Model::DescribeConsumerChannelRequest& request, const DescribeConsumerChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeConsumerChannelOutcomeCallable describeConsumerChannelCallable(const Model::DescribeConsumerChannelRequest& request) const;
|
||||
DescribeConsumerGroupOutcome describeConsumerGroup(const Model::DescribeConsumerGroupRequest &request)const;
|
||||
void describeConsumerGroupAsync(const Model::DescribeConsumerGroupRequest& request, const DescribeConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeConsumerGroupOutcomeCallable describeConsumerGroupCallable(const Model::DescribeConsumerGroupRequest& request) const;
|
||||
@@ -481,9 +523,6 @@ namespace AlibabaCloud
|
||||
DescribeDtsJobDetailOutcome describeDtsJobDetail(const Model::DescribeDtsJobDetailRequest &request)const;
|
||||
void describeDtsJobDetailAsync(const Model::DescribeDtsJobDetailRequest& request, const DescribeDtsJobDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDtsJobDetailOutcomeCallable describeDtsJobDetailCallable(const Model::DescribeDtsJobDetailRequest& request) const;
|
||||
DescribeDtsJobLogsOutcome describeDtsJobLogs(const Model::DescribeDtsJobLogsRequest &request)const;
|
||||
void describeDtsJobLogsAsync(const Model::DescribeDtsJobLogsRequest& request, const DescribeDtsJobLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDtsJobLogsOutcomeCallable describeDtsJobLogsCallable(const Model::DescribeDtsJobLogsRequest& request) const;
|
||||
DescribeDtsJobsOutcome describeDtsJobs(const Model::DescribeDtsJobsRequest &request)const;
|
||||
void describeDtsJobsAsync(const Model::DescribeDtsJobsRequest& request, const DescribeDtsJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDtsJobsOutcomeCallable describeDtsJobsCallable(const Model::DescribeDtsJobsRequest& request) const;
|
||||
@@ -544,6 +583,9 @@ namespace AlibabaCloud
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
ModifyConsumerChannelOutcome modifyConsumerChannel(const Model::ModifyConsumerChannelRequest &request)const;
|
||||
void modifyConsumerChannelAsync(const Model::ModifyConsumerChannelRequest& request, const ModifyConsumerChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyConsumerChannelOutcomeCallable modifyConsumerChannelCallable(const Model::ModifyConsumerChannelRequest& request) const;
|
||||
ModifyConsumerGroupPasswordOutcome modifyConsumerGroupPassword(const Model::ModifyConsumerGroupPasswordRequest &request)const;
|
||||
void modifyConsumerGroupPasswordAsync(const Model::ModifyConsumerGroupPasswordRequest& request, const ModifyConsumerGroupPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyConsumerGroupPasswordOutcomeCallable modifyConsumerGroupPasswordCallable(const Model::ModifyConsumerGroupPasswordRequest& request) const;
|
||||
@@ -559,15 +601,18 @@ namespace AlibabaCloud
|
||||
ModifyDtsJobPasswordOutcome modifyDtsJobPassword(const Model::ModifyDtsJobPasswordRequest &request)const;
|
||||
void modifyDtsJobPasswordAsync(const Model::ModifyDtsJobPasswordRequest& request, const ModifyDtsJobPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDtsJobPasswordOutcomeCallable modifyDtsJobPasswordCallable(const Model::ModifyDtsJobPasswordRequest& request) const;
|
||||
ModifySubscriptionOutcome modifySubscription(const Model::ModifySubscriptionRequest &request)const;
|
||||
void modifySubscriptionAsync(const Model::ModifySubscriptionRequest& request, const ModifySubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySubscriptionOutcomeCallable modifySubscriptionCallable(const Model::ModifySubscriptionRequest& request) const;
|
||||
ModifySubscriptionObjectOutcome modifySubscriptionObject(const Model::ModifySubscriptionObjectRequest &request)const;
|
||||
void modifySubscriptionObjectAsync(const Model::ModifySubscriptionObjectRequest& request, const ModifySubscriptionObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySubscriptionObjectOutcomeCallable modifySubscriptionObjectCallable(const Model::ModifySubscriptionObjectRequest& request) const;
|
||||
ModifySynchronizationObjectOutcome modifySynchronizationObject(const Model::ModifySynchronizationObjectRequest &request)const;
|
||||
void modifySynchronizationObjectAsync(const Model::ModifySynchronizationObjectRequest& request, const ModifySynchronizationObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySynchronizationObjectOutcomeCallable modifySynchronizationObjectCallable(const Model::ModifySynchronizationObjectRequest& request) const;
|
||||
PreviewSqlOutcome previewSql(const Model::PreviewSqlRequest &request)const;
|
||||
void previewSqlAsync(const Model::PreviewSqlRequest& request, const PreviewSqlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PreviewSqlOutcomeCallable previewSqlCallable(const Model::PreviewSqlRequest& request) const;
|
||||
RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const;
|
||||
void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const;
|
||||
ReplaceInstanceOutcome replaceInstance(const Model::ReplaceInstanceRequest &request)const;
|
||||
void replaceInstanceAsync(const Model::ReplaceInstanceRequest& request, const ReplaceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReplaceInstanceOutcomeCallable replaceInstanceCallable(const Model::ReplaceInstanceRequest& request) const;
|
||||
@@ -616,6 +661,9 @@ namespace AlibabaCloud
|
||||
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
TransferInstanceClassOutcome transferInstanceClass(const Model::TransferInstanceClassRequest &request)const;
|
||||
void transferInstanceClassAsync(const Model::TransferInstanceClassRequest& request, const TransferInstanceClassAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TransferInstanceClassOutcomeCallable transferInstanceClassCallable(const Model::TransferInstanceClassRequest& request) const;
|
||||
TransferPayTypeOutcome transferPayType(const Model::TransferPayTypeRequest &request)const;
|
||||
void transferPayTypeAsync(const Model::TransferPayTypeRequest& request, const TransferPayTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TransferPayTypeOutcomeCallable transferPayTypeCallable(const Model::TransferPayTypeRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,132 @@
|
||||
/*
|
||||
* 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_CONFIGURESUBSCRIPTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ConfigureSubscriptionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
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 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 getSourceEndpointIP()const;
|
||||
void setSourceEndpointIP(const std::string& sourceEndpointIP);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
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;
|
||||
void setDelayRuleTime(long delayRuleTime);
|
||||
std::string getSourceEndpointInstanceType()const;
|
||||
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
|
||||
std::string getDtsJobName()const;
|
||||
void setDtsJobName(const std::string& dtsJobName);
|
||||
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 delayPhone_;
|
||||
bool subscriptionDataTypeDML_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
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 sourceEndpointOracleSID_;
|
||||
bool errorNotice_;
|
||||
std::string sourceEndpointRole_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string sourceEndpointEngineName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONREQUEST_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_CONFIGURESUBSCRIPTIONRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONRESULT_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 ConfigureSubscriptionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ConfigureSubscriptionResult();
|
||||
explicit ConfigureSubscriptionResult(const std::string &payload);
|
||||
~ConfigureSubscriptionResult();
|
||||
std::string getDtsJobId()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getDtsInstanceId()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dtsJobId_;
|
||||
std::string httpStatusCode_;
|
||||
std::string errMessage_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CREATECONSUMERCHANNELREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CREATECONSUMERCHANNELREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT CreateConsumerChannelRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateConsumerChannelRequest();
|
||||
~CreateConsumerChannelRequest();
|
||||
|
||||
std::string getConsumerGroupName()const;
|
||||
void setConsumerGroupName(const std::string& consumerGroupName);
|
||||
std::string getConsumerGroupPassword()const;
|
||||
void setConsumerGroupPassword(const std::string& consumerGroupPassword);
|
||||
std::string getConsumerGroupUserName()const;
|
||||
void setConsumerGroupUserName(const std::string& consumerGroupUserName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
|
||||
private:
|
||||
std::string consumerGroupName_;
|
||||
std::string consumerGroupPassword_;
|
||||
std::string consumerGroupUserName_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CREATECONSUMERCHANNELREQUEST_H_
|
||||
@@ -14,42 +14,46 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCESECURITYIPLISTRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCESECURITYIPLISTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CREATECONSUMERCHANNELRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CREATECONSUMERCHANNELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceSecurityIpListResult : public ServiceResult
|
||||
class ALIBABACLOUD_DTS_EXPORT CreateConsumerChannelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SecurityIp
|
||||
{
|
||||
std::string ip;
|
||||
};
|
||||
|
||||
|
||||
DescribeHiTSDBInstanceSecurityIpListResult();
|
||||
explicit DescribeHiTSDBInstanceSecurityIpListResult(const std::string &payload);
|
||||
~DescribeHiTSDBInstanceSecurityIpListResult();
|
||||
std::vector<SecurityIp> getSecurityIpList()const;
|
||||
CreateConsumerChannelResult();
|
||||
explicit CreateConsumerChannelResult(const std::string &payload);
|
||||
~CreateConsumerChannelResult();
|
||||
std::string getConsumerGroupID()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SecurityIp> securityIpList_;
|
||||
std::string consumerGroupID_;
|
||||
std::string httpStatusCode_;
|
||||
std::string errMessage_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCESECURITYIPLISTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CREATECONSUMERCHANNELRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DELETECONSUMERCHANNELREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DELETECONSUMERCHANNELREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DeleteConsumerChannelRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteConsumerChannelRequest();
|
||||
~DeleteConsumerChannelRequest();
|
||||
|
||||
std::string getConsumerGroupId()const;
|
||||
void setConsumerGroupId(const std::string& consumerGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
|
||||
private:
|
||||
std::string consumerGroupId_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DELETECONSUMERCHANNELREQUEST_H_
|
||||
@@ -14,36 +14,44 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCERESULT_H_
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DELETECONSUMERCHANNELRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DELETECONSUMERCHANNELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RestartHiTSDBInstanceResult : public ServiceResult
|
||||
class ALIBABACLOUD_DTS_EXPORT DeleteConsumerChannelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RestartHiTSDBInstanceResult();
|
||||
explicit RestartHiTSDBInstanceResult(const std::string &payload);
|
||||
~RestartHiTSDBInstanceResult();
|
||||
DeleteConsumerChannelResult();
|
||||
explicit DeleteConsumerChannelResult(const std::string &payload);
|
||||
~DeleteConsumerChannelResult();
|
||||
std::string getHttpStatusCode()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string httpStatusCode_;
|
||||
std::string errMessage_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCERESULT_H_
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DELETECONSUMERCHANNELRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBLOGSREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBLOGSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBECONSUMERCHANNELREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBECONSUMERCHANNELREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,19 +28,13 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeDtsJobLogsRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeConsumerChannelRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDtsJobLogsRequest();
|
||||
~DescribeDtsJobLogsRequest();
|
||||
DescribeConsumerChannelRequest();
|
||||
~DescribeConsumerChannelRequest();
|
||||
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getRegionId()const;
|
||||
@@ -49,21 +43,18 @@ namespace AlibabaCloud
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
|
||||
private:
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
std::string type_;
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string dtsJobId_;
|
||||
std::string status_;
|
||||
std::string dtsInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBLOGSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBECONSUMERCHANNELREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBLOGSRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBLOGSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBECONSUMERCHANNELRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DESCRIBECONSUMERCHANNELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,32 +29,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeDtsJobLogsResult : public ServiceResult
|
||||
class ALIBABACLOUD_DTS_EXPORT DescribeConsumerChannelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct JobRunningLog
|
||||
struct ConsumerChannel
|
||||
{
|
||||
std::string contentKey;
|
||||
std::string status;
|
||||
long logDatetime;
|
||||
std::vector<std::string> params;
|
||||
long id;
|
||||
std::string jobId;
|
||||
std::string consumptionCheckpoint;
|
||||
std::string consumerGroupId;
|
||||
std::string consumerGroupUserName;
|
||||
std::string consumerGroupName;
|
||||
long messageDelay;
|
||||
long unconsumedData;
|
||||
};
|
||||
|
||||
|
||||
DescribeDtsJobLogsResult();
|
||||
explicit DescribeDtsJobLogsResult(const std::string &payload);
|
||||
~DescribeDtsJobLogsResult();
|
||||
DescribeConsumerChannelResult();
|
||||
explicit DescribeConsumerChannelResult(const std::string &payload);
|
||||
~DescribeConsumerChannelResult();
|
||||
long getTotalRecordCount()const;
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<JobRunningLog> getJobRunningLogs()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
std::vector<ConsumerChannel> getConsumerChannels()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
@@ -63,16 +61,14 @@ namespace AlibabaCloud
|
||||
long totalRecordCount_;
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
int httpStatusCode_;
|
||||
std::vector<JobRunningLog> jobRunningLogs_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string httpStatusCode_;
|
||||
std::vector<ConsumerChannel> consumerChannels_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBEDTSJOBLOGSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBECONSUMERCHANNELRESULT_H_
|
||||
@@ -101,6 +101,8 @@ namespace AlibabaCloud
|
||||
};
|
||||
DataSynchronization dataSynchronization;
|
||||
Precheck precheck;
|
||||
std::string instanceCreateTime;
|
||||
std::string jobCreateTime;
|
||||
std::string migrationJobName;
|
||||
std::string payType;
|
||||
MigrationMode migrationMode;
|
||||
|
||||
@@ -73,7 +73,6 @@ namespace AlibabaCloud
|
||||
std::string getConsumptionCheckpoint()const;
|
||||
std::string getSubscriptionInstanceName()const;
|
||||
std::string getSubscribeTopic()const;
|
||||
std::string getErrorMessage1()const;
|
||||
std::string getConsumptionClient()const;
|
||||
SourceEndpoint getSourceEndpoint()const;
|
||||
std::string getErrorMessage()const;
|
||||
@@ -96,7 +95,6 @@ namespace AlibabaCloud
|
||||
std::string consumptionCheckpoint_;
|
||||
std::string subscriptionInstanceName_;
|
||||
std::string subscribeTopic_;
|
||||
std::string errorMessage1_;
|
||||
std::string consumptionClient_;
|
||||
SourceEndpoint sourceEndpoint_;
|
||||
std::string errorMessage_;
|
||||
|
||||
@@ -63,6 +63,8 @@ namespace AlibabaCloud
|
||||
};
|
||||
std::string status;
|
||||
SubscriptionHost subscriptionHost;
|
||||
std::string instanceCreateTime;
|
||||
std::string jobCreateTime;
|
||||
std::string endTimestamp;
|
||||
std::string payType;
|
||||
std::string subscriptionInstanceID;
|
||||
|
||||
@@ -115,7 +115,9 @@ namespace AlibabaCloud
|
||||
DataInitializationStatus dataInitializationStatus;
|
||||
std::vector<SynchronizationInstance::SynchronizationObject> synchronizationObjects;
|
||||
std::string synchronizationJobName;
|
||||
std::string instanceCreateTime;
|
||||
std::string createTime;
|
||||
std::string jobCreateTime;
|
||||
std::string payType;
|
||||
std::string delay;
|
||||
PrecheckStatus precheckStatus;
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_MODIFYCONSUMERCHANNELREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_MODIFYCONSUMERCHANNELREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ModifyConsumerChannelRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyConsumerChannelRequest();
|
||||
~ModifyConsumerChannelRequest();
|
||||
|
||||
std::string getConsumerGroupName()const;
|
||||
void setConsumerGroupName(const std::string& consumerGroupName);
|
||||
std::string getConsumerGroupId()const;
|
||||
void setConsumerGroupId(const std::string& consumerGroupId);
|
||||
std::string getConsumerGroupPassword()const;
|
||||
void setConsumerGroupPassword(const std::string& consumerGroupPassword);
|
||||
std::string getConsumerGroupUserName()const;
|
||||
void setConsumerGroupUserName(const std::string& consumerGroupUserName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
|
||||
private:
|
||||
std::string consumerGroupName_;
|
||||
std::string consumerGroupId_;
|
||||
std::string consumerGroupPassword_;
|
||||
std::string consumerGroupUserName_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYCONSUMERCHANNELREQUEST_H_
|
||||
@@ -14,36 +14,44 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCERESULT_H_
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_MODIFYCONSUMERCHANNELRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_MODIFYCONSUMERCHANNELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DeleteHiTSDBInstanceResult : public ServiceResult
|
||||
class ALIBABACLOUD_DTS_EXPORT ModifyConsumerChannelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteHiTSDBInstanceResult();
|
||||
explicit DeleteHiTSDBInstanceResult(const std::string &payload);
|
||||
~DeleteHiTSDBInstanceResult();
|
||||
ModifyConsumerChannelResult();
|
||||
explicit ModifyConsumerChannelResult(const std::string &payload);
|
||||
~ModifyConsumerChannelResult();
|
||||
std::string getHttpStatusCode()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string httpStatusCode_;
|
||||
std::string errMessage_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCERESULT_H_
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYCONSUMERCHANNELRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_MODIFYSUBSCRIPTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_MODIFYSUBSCRIPTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ModifySubscriptionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifySubscriptionRequest();
|
||||
~ModifySubscriptionRequest();
|
||||
|
||||
std::string getDbList()const;
|
||||
void setDbList(const std::string& dbList);
|
||||
bool getSubscriptionDataTypeDDL()const;
|
||||
void setSubscriptionDataTypeDDL(bool subscriptionDataTypeDDL);
|
||||
bool getSubscriptionDataTypeDML()const;
|
||||
void setSubscriptionDataTypeDML(bool subscriptionDataTypeDML);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
|
||||
private:
|
||||
std::string dbList_;
|
||||
bool subscriptionDataTypeDDL_;
|
||||
bool subscriptionDataTypeDML_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYSUBSCRIPTIONREQUEST_H_
|
||||
@@ -14,40 +14,44 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_CREATEHITSDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_CREATEHITSDBINSTANCERESULT_H_
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_MODIFYSUBSCRIPTIONRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_MODIFYSUBSCRIPTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT CreateHiTSDBInstanceResult : public ServiceResult
|
||||
class ALIBABACLOUD_DTS_EXPORT ModifySubscriptionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateHiTSDBInstanceResult();
|
||||
explicit CreateHiTSDBInstanceResult(const std::string &payload);
|
||||
~CreateHiTSDBInstanceResult();
|
||||
std::string getInstanceId()const;
|
||||
long getOrderId()const;
|
||||
ModifySubscriptionResult();
|
||||
explicit ModifySubscriptionResult(const std::string &payload);
|
||||
~ModifySubscriptionResult();
|
||||
std::string getHttpStatusCode()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string instanceId_;
|
||||
long orderId_;
|
||||
std::string httpStatusCode_;
|
||||
std::string errMessage_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_CREATEHITSDBINSTANCERESULT_H_
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_MODIFYSUBSCRIPTIONRESULT_H_
|
||||
60
dts/include/alibabacloud/dts/model/RenewInstanceRequest.h
Normal file
60
dts/include/alibabacloud/dts/model/RenewInstanceRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_RENEWINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_RENEWINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT RenewInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RenewInstanceRequest();
|
||||
~RenewInstanceRequest();
|
||||
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
std::string getBuyCount()const;
|
||||
void setBuyCount(const std::string& buyCount);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getChargeType()const;
|
||||
void setChargeType(const std::string& chargeType);
|
||||
|
||||
private:
|
||||
std::string period_;
|
||||
std::string buyCount_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string chargeType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_RENEWINSTANCEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_PREVIEWSQLRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_PREVIEWSQLRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_RENEWINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_RENEWINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,34 +29,36 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT PreviewSqlResult : public ServiceResult
|
||||
class ALIBABACLOUD_DTS_EXPORT RenewInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PreviewSqlResult();
|
||||
explicit PreviewSqlResult(const std::string &payload);
|
||||
~PreviewSqlResult();
|
||||
std::vector<std::string> getSqlList()const;
|
||||
std::string getValidationException()const;
|
||||
RenewInstanceResult();
|
||||
explicit RenewInstanceResult(const std::string &payload);
|
||||
~RenewInstanceResult();
|
||||
std::string getDtsJobId()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getChargeType()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getStreamGraph()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> sqlList_;
|
||||
std::string validationException_;
|
||||
std::string dtsJobId_;
|
||||
std::string endTime_;
|
||||
std::string instanceId_;
|
||||
std::string chargeType_;
|
||||
int httpStatusCode_;
|
||||
std::string streamGraph_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
@@ -64,4 +66,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_PREVIEWSQLRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_RENEWINSTANCERESULT_H_
|
||||
@@ -35,8 +35,12 @@ namespace AlibabaCloud
|
||||
StartDtsJobRequest();
|
||||
~StartDtsJobRequest();
|
||||
|
||||
std::string getResetCheckpoint()const;
|
||||
void setResetCheckpoint(const std::string& resetCheckpoint);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResumeHoldJob()const;
|
||||
void setResumeHoldJob(const std::string& resumeHoldJob);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
@@ -45,7 +49,9 @@ namespace AlibabaCloud
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string resetCheckpoint_;
|
||||
std::string regionId_;
|
||||
std::string resumeHoldJob_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_PREVIEWSQLREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_PREVIEWSQLREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_TRANSFERINSTANCECLASSREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_TRANSFERINSTANCECLASSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,24 +28,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT PreviewSqlRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_DTS_EXPORT TransferInstanceClassRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PreviewSqlRequest();
|
||||
~PreviewSqlRequest();
|
||||
TransferInstanceClassRequest();
|
||||
~TransferInstanceClassRequest();
|
||||
|
||||
std::string getEtlCalculator()const;
|
||||
void setEtlCalculator(const std::string& etlCalculator);
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getOrderType()const;
|
||||
void setOrderType(const std::string& orderType);
|
||||
|
||||
private:
|
||||
std::string etlCalculator_;
|
||||
std::string instanceClass_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string orderType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_PREVIEWSQLREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_TRANSFERINSTANCECLASSREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_TRANSFERINSTANCECLASSRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_TRANSFERINSTANCECLASSRESULT_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 TransferInstanceClassResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TransferInstanceClassResult();
|
||||
explicit TransferInstanceClassResult(const std::string &payload);
|
||||
~TransferInstanceClassResult();
|
||||
std::string getDtsJobId()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getChargeType()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dtsJobId_;
|
||||
std::string endTime_;
|
||||
std::string instanceId_;
|
||||
std::string chargeType_;
|
||||
int httpStatusCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_TRANSFERINSTANCECLASSRESULT_H_
|
||||
@@ -39,8 +39,6 @@ namespace AlibabaCloud
|
||||
void setPeriod(const std::string& period);
|
||||
std::string getBuyCount()const;
|
||||
void setBuyCount(const std::string& buyCount);
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDtsJobId()const;
|
||||
@@ -51,7 +49,6 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string period_;
|
||||
std::string buyCount_;
|
||||
std::string instanceClass_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string chargeType_;
|
||||
|
||||
@@ -159,6 +159,42 @@ DtsClient::ConfigureMigrationJobAlertOutcomeCallable DtsClient::configureMigrati
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::ConfigureSubscriptionOutcome DtsClient::configureSubscription(const ConfigureSubscriptionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ConfigureSubscriptionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ConfigureSubscriptionOutcome(ConfigureSubscriptionResult(outcome.result()));
|
||||
else
|
||||
return ConfigureSubscriptionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::configureSubscriptionAsync(const ConfigureSubscriptionRequest& request, const ConfigureSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, configureSubscription(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::ConfigureSubscriptionOutcomeCallable DtsClient::configureSubscriptionCallable(const ConfigureSubscriptionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ConfigureSubscriptionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->configureSubscription(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::ConfigureSubscriptionInstanceOutcome DtsClient::configureSubscriptionInstance(const ConfigureSubscriptionInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -339,6 +375,42 @@ DtsClient::ConfigureSynchronizationJobReplicatorCompareOutcomeCallable DtsClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::CreateConsumerChannelOutcome DtsClient::createConsumerChannel(const CreateConsumerChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateConsumerChannelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateConsumerChannelOutcome(CreateConsumerChannelResult(outcome.result()));
|
||||
else
|
||||
return CreateConsumerChannelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::createConsumerChannelAsync(const CreateConsumerChannelRequest& request, const CreateConsumerChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createConsumerChannel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::CreateConsumerChannelOutcomeCallable DtsClient::createConsumerChannelCallable(const CreateConsumerChannelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateConsumerChannelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createConsumerChannel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::CreateConsumerGroupOutcome DtsClient::createConsumerGroup(const CreateConsumerGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -555,6 +627,42 @@ DtsClient::CreateSynchronizationJobOutcomeCallable DtsClient::createSynchronizat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DeleteConsumerChannelOutcome DtsClient::deleteConsumerChannel(const DeleteConsumerChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteConsumerChannelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteConsumerChannelOutcome(DeleteConsumerChannelResult(outcome.result()));
|
||||
else
|
||||
return DeleteConsumerChannelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::deleteConsumerChannelAsync(const DeleteConsumerChannelRequest& request, const DeleteConsumerChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteConsumerChannel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::DeleteConsumerChannelOutcomeCallable DtsClient::deleteConsumerChannelCallable(const DeleteConsumerChannelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteConsumerChannelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteConsumerChannel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DeleteConsumerGroupOutcome DtsClient::deleteConsumerGroup(const DeleteConsumerGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -807,6 +915,42 @@ DtsClient::DescribeConnectionStatusOutcomeCallable DtsClient::describeConnection
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeConsumerChannelOutcome DtsClient::describeConsumerChannel(const DescribeConsumerChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeConsumerChannelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeConsumerChannelOutcome(DescribeConsumerChannelResult(outcome.result()));
|
||||
else
|
||||
return DescribeConsumerChannelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::describeConsumerChannelAsync(const DescribeConsumerChannelRequest& request, const DescribeConsumerChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeConsumerChannel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::DescribeConsumerChannelOutcomeCallable DtsClient::describeConsumerChannelCallable(const DescribeConsumerChannelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeConsumerChannelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeConsumerChannel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeConsumerGroupOutcome DtsClient::describeConsumerGroup(const DescribeConsumerGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -951,42 +1095,6 @@ DtsClient::DescribeDtsJobDetailOutcomeCallable DtsClient::describeDtsJobDetailCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeDtsJobLogsOutcome DtsClient::describeDtsJobLogs(const DescribeDtsJobLogsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDtsJobLogsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDtsJobLogsOutcome(DescribeDtsJobLogsResult(outcome.result()));
|
||||
else
|
||||
return DescribeDtsJobLogsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::describeDtsJobLogsAsync(const DescribeDtsJobLogsRequest& request, const DescribeDtsJobLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDtsJobLogs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::DescribeDtsJobLogsOutcomeCallable DtsClient::describeDtsJobLogsCallable(const DescribeDtsJobLogsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDtsJobLogsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDtsJobLogs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::DescribeDtsJobsOutcome DtsClient::describeDtsJobs(const DescribeDtsJobsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1707,6 +1815,42 @@ DtsClient::ListTagResourcesOutcomeCallable DtsClient::listTagResourcesCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::ModifyConsumerChannelOutcome DtsClient::modifyConsumerChannel(const ModifyConsumerChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyConsumerChannelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyConsumerChannelOutcome(ModifyConsumerChannelResult(outcome.result()));
|
||||
else
|
||||
return ModifyConsumerChannelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::modifyConsumerChannelAsync(const ModifyConsumerChannelRequest& request, const ModifyConsumerChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyConsumerChannel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::ModifyConsumerChannelOutcomeCallable DtsClient::modifyConsumerChannelCallable(const ModifyConsumerChannelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyConsumerChannelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyConsumerChannel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::ModifyConsumerGroupPasswordOutcome DtsClient::modifyConsumerGroupPassword(const ModifyConsumerGroupPasswordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1887,6 +2031,42 @@ DtsClient::ModifyDtsJobPasswordOutcomeCallable DtsClient::modifyDtsJobPasswordCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::ModifySubscriptionOutcome DtsClient::modifySubscription(const ModifySubscriptionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifySubscriptionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifySubscriptionOutcome(ModifySubscriptionResult(outcome.result()));
|
||||
else
|
||||
return ModifySubscriptionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::modifySubscriptionAsync(const ModifySubscriptionRequest& request, const ModifySubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifySubscription(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::ModifySubscriptionOutcomeCallable DtsClient::modifySubscriptionCallable(const ModifySubscriptionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifySubscriptionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifySubscription(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::ModifySubscriptionObjectOutcome DtsClient::modifySubscriptionObject(const ModifySubscriptionObjectRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1959,36 +2139,36 @@ DtsClient::ModifySynchronizationObjectOutcomeCallable DtsClient::modifySynchroni
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::PreviewSqlOutcome DtsClient::previewSql(const PreviewSqlRequest &request) const
|
||||
DtsClient::RenewInstanceOutcome DtsClient::renewInstance(const RenewInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return PreviewSqlOutcome(endpointOutcome.error());
|
||||
return RenewInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return PreviewSqlOutcome(PreviewSqlResult(outcome.result()));
|
||||
return RenewInstanceOutcome(RenewInstanceResult(outcome.result()));
|
||||
else
|
||||
return PreviewSqlOutcome(outcome.error());
|
||||
return RenewInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::previewSqlAsync(const PreviewSqlRequest& request, const PreviewSqlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void DtsClient::renewInstanceAsync(const RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, previewSql(request), context);
|
||||
handler(this, request, renewInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::PreviewSqlOutcomeCallable DtsClient::previewSqlCallable(const PreviewSqlRequest &request) const
|
||||
DtsClient::RenewInstanceOutcomeCallable DtsClient::renewInstanceCallable(const RenewInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<PreviewSqlOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<RenewInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->previewSql(request);
|
||||
return this->renewInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -2571,6 +2751,42 @@ DtsClient::TagResourcesOutcomeCallable DtsClient::tagResourcesCallable(const Tag
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::TransferInstanceClassOutcome DtsClient::transferInstanceClass(const TransferInstanceClassRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TransferInstanceClassOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TransferInstanceClassOutcome(TransferInstanceClassResult(outcome.result()));
|
||||
else
|
||||
return TransferInstanceClassOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DtsClient::transferInstanceClassAsync(const TransferInstanceClassRequest& request, const TransferInstanceClassAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, transferInstanceClass(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DtsClient::TransferInstanceClassOutcomeCallable DtsClient::transferInstanceClassCallable(const TransferInstanceClassRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TransferInstanceClassOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->transferInstanceClass(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DtsClient::TransferPayTypeOutcome DtsClient::transferPayType(const TransferPayTypeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
348
dts/src/model/ConfigureSubscriptionRequest.cc
Normal file
348
dts/src/model/ConfigureSubscriptionRequest.cc
Normal file
@@ -0,0 +1,348 @@
|
||||
/*
|
||||
* 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/ConfigureSubscriptionRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::ConfigureSubscriptionRequest;
|
||||
|
||||
ConfigureSubscriptionRequest::ConfigureSubscriptionRequest() :
|
||||
RpcServiceRequest("dts", "2020-01-01", "ConfigureSubscription")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ConfigureSubscriptionRequest::~ConfigureSubscriptionRequest()
|
||||
{}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointRegion()const
|
||||
{
|
||||
return sourceEndpointRegion_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointRegion(const std::string& sourceEndpointRegion)
|
||||
{
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setParameter("SourceEndpointRegion", sourceEndpointRegion);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getCheckpoint()const
|
||||
{
|
||||
return checkpoint_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setCheckpoint(const std::string& checkpoint)
|
||||
{
|
||||
checkpoint_ = checkpoint;
|
||||
setParameter("Checkpoint", checkpoint);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSubscriptionInstanceVSwitchId()const
|
||||
{
|
||||
return subscriptionInstanceVSwitchId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSubscriptionInstanceVSwitchId(const std::string& subscriptionInstanceVSwitchId)
|
||||
{
|
||||
subscriptionInstanceVSwitchId_ = subscriptionInstanceVSwitchId;
|
||||
setParameter("SubscriptionInstanceVSwitchId", subscriptionInstanceVSwitchId);
|
||||
}
|
||||
|
||||
bool ConfigureSubscriptionRequest::getDelayNotice()const
|
||||
{
|
||||
return delayNotice_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDelayNotice(bool delayNotice)
|
||||
{
|
||||
delayNotice_ = delayNotice;
|
||||
setParameter("DelayNotice", delayNotice ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointInstanceID()const
|
||||
{
|
||||
return sourceEndpointInstanceID_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID)
|
||||
{
|
||||
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
|
||||
setParameter("SourceEndpointInstanceID", sourceEndpointInstanceID);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointUserName()const
|
||||
{
|
||||
return sourceEndpointUserName_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointUserName(const std::string& sourceEndpointUserName)
|
||||
{
|
||||
sourceEndpointUserName_ = sourceEndpointUserName;
|
||||
setParameter("SourceEndpointUserName", sourceEndpointUserName);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointOwnerID()const
|
||||
{
|
||||
return sourceEndpointOwnerID_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointOwnerID(const std::string& sourceEndpointOwnerID)
|
||||
{
|
||||
sourceEndpointOwnerID_ = sourceEndpointOwnerID;
|
||||
setParameter("SourceEndpointOwnerID", sourceEndpointOwnerID);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getDelayPhone()const
|
||||
{
|
||||
return delayPhone_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDelayPhone(const std::string& delayPhone)
|
||||
{
|
||||
delayPhone_ = delayPhone;
|
||||
setParameter("DelayPhone", delayPhone);
|
||||
}
|
||||
|
||||
bool ConfigureSubscriptionRequest::getSubscriptionDataTypeDML()const
|
||||
{
|
||||
return subscriptionDataTypeDML_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSubscriptionDataTypeDML(bool subscriptionDataTypeDML)
|
||||
{
|
||||
subscriptionDataTypeDML_ = subscriptionDataTypeDML;
|
||||
setParameter("SubscriptionDataTypeDML", subscriptionDataTypeDML ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointDatabaseName()const
|
||||
{
|
||||
return sourceEndpointDatabaseName_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName)
|
||||
{
|
||||
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
|
||||
setParameter("SourceEndpointDatabaseName", sourceEndpointDatabaseName);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointIP()const
|
||||
{
|
||||
return sourceEndpointIP_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointIP(const std::string& sourceEndpointIP)
|
||||
{
|
||||
sourceEndpointIP_ = sourceEndpointIP;
|
||||
setParameter("SourceEndpointIP", sourceEndpointIP);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getErrorPhone()const
|
||||
{
|
||||
return errorPhone_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setErrorPhone(const std::string& errorPhone)
|
||||
{
|
||||
errorPhone_ = errorPhone;
|
||||
setParameter("ErrorPhone", errorPhone);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getReserve()const
|
||||
{
|
||||
return reserve_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setReserve(const std::string& reserve)
|
||||
{
|
||||
reserve_ = reserve;
|
||||
setParameter("Reserve", reserve);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDtsJobId(const std::string& dtsJobId)
|
||||
{
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter("DtsJobId", dtsJobId);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getDbList()const
|
||||
{
|
||||
return dbList_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDbList(const std::string& dbList)
|
||||
{
|
||||
dbList_ = dbList;
|
||||
setParameter("DbList", dbList);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSubscriptionInstanceNetworkType()const
|
||||
{
|
||||
return subscriptionInstanceNetworkType_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSubscriptionInstanceNetworkType(const std::string& subscriptionInstanceNetworkType)
|
||||
{
|
||||
subscriptionInstanceNetworkType_ = subscriptionInstanceNetworkType;
|
||||
setParameter("SubscriptionInstanceNetworkType", subscriptionInstanceNetworkType);
|
||||
}
|
||||
|
||||
bool ConfigureSubscriptionRequest::getSubscriptionDataTypeDDL()const
|
||||
{
|
||||
return subscriptionDataTypeDDL_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSubscriptionDataTypeDDL(bool subscriptionDataTypeDDL)
|
||||
{
|
||||
subscriptionDataTypeDDL_ = subscriptionDataTypeDDL;
|
||||
setParameter("SubscriptionDataTypeDDL", subscriptionDataTypeDDL ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointPassword()const
|
||||
{
|
||||
return sourceEndpointPassword_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointPassword(const std::string& sourceEndpointPassword)
|
||||
{
|
||||
sourceEndpointPassword_ = sourceEndpointPassword;
|
||||
setParameter("SourceEndpointPassword", sourceEndpointPassword);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointPort()const
|
||||
{
|
||||
return sourceEndpointPort_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointPort(const std::string& sourceEndpointPort)
|
||||
{
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setParameter("SourceEndpointPort", sourceEndpointPort);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSubscriptionInstanceVPCId()const
|
||||
{
|
||||
return subscriptionInstanceVPCId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSubscriptionInstanceVPCId(const std::string& subscriptionInstanceVPCId)
|
||||
{
|
||||
subscriptionInstanceVPCId_ = subscriptionInstanceVPCId;
|
||||
setParameter("SubscriptionInstanceVPCId", subscriptionInstanceVPCId);
|
||||
}
|
||||
|
||||
long ConfigureSubscriptionRequest::getDelayRuleTime()const
|
||||
{
|
||||
return delayRuleTime_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDelayRuleTime(long delayRuleTime)
|
||||
{
|
||||
delayRuleTime_ = delayRuleTime;
|
||||
setParameter("DelayRuleTime", std::to_string(delayRuleTime));
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointInstanceType()const
|
||||
{
|
||||
return sourceEndpointInstanceType_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType)
|
||||
{
|
||||
sourceEndpointInstanceType_ = sourceEndpointInstanceType;
|
||||
setParameter("SourceEndpointInstanceType", sourceEndpointInstanceType);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getDtsJobName()const
|
||||
{
|
||||
return dtsJobName_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDtsJobName(const std::string& dtsJobName)
|
||||
{
|
||||
dtsJobName_ = dtsJobName;
|
||||
setParameter("DtsJobName", dtsJobName);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointOracleSID()const
|
||||
{
|
||||
return sourceEndpointOracleSID_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID)
|
||||
{
|
||||
sourceEndpointOracleSID_ = sourceEndpointOracleSID;
|
||||
setParameter("SourceEndpointOracleSID", sourceEndpointOracleSID);
|
||||
}
|
||||
|
||||
bool ConfigureSubscriptionRequest::getErrorNotice()const
|
||||
{
|
||||
return errorNotice_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setErrorNotice(bool errorNotice)
|
||||
{
|
||||
errorNotice_ = errorNotice;
|
||||
setParameter("ErrorNotice", errorNotice ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointRole()const
|
||||
{
|
||||
return sourceEndpointRole_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointRole(const std::string& sourceEndpointRole)
|
||||
{
|
||||
sourceEndpointRole_ = sourceEndpointRole;
|
||||
setParameter("SourceEndpointRole", sourceEndpointRole);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getDtsInstanceId()const
|
||||
{
|
||||
return dtsInstanceId_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setDtsInstanceId(const std::string& dtsInstanceId)
|
||||
{
|
||||
dtsInstanceId_ = dtsInstanceId;
|
||||
setParameter("DtsInstanceId", dtsInstanceId);
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionRequest::getSourceEndpointEngineName()const
|
||||
{
|
||||
return sourceEndpointEngineName_;
|
||||
}
|
||||
|
||||
void ConfigureSubscriptionRequest::setSourceEndpointEngineName(const std::string& sourceEndpointEngineName)
|
||||
{
|
||||
sourceEndpointEngineName_ = sourceEndpointEngineName;
|
||||
setParameter("SourceEndpointEngineName", sourceEndpointEngineName);
|
||||
}
|
||||
|
||||
86
dts/src/model/ConfigureSubscriptionResult.cc
Normal file
86
dts/src/model/ConfigureSubscriptionResult.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/ConfigureSubscriptionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dts;
|
||||
using namespace AlibabaCloud::Dts::Model;
|
||||
|
||||
ConfigureSubscriptionResult::ConfigureSubscriptionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ConfigureSubscriptionResult::ConfigureSubscriptionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ConfigureSubscriptionResult::~ConfigureSubscriptionResult()
|
||||
{}
|
||||
|
||||
void ConfigureSubscriptionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
if(!value["DtsJobId"].isNull())
|
||||
dtsJobId_ = value["DtsJobId"].asString();
|
||||
if(!value["DtsInstanceId"].isNull())
|
||||
dtsInstanceId_ = value["DtsInstanceId"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["HttpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionResult::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionResult::getDtsInstanceId()const
|
||||
{
|
||||
return dtsInstanceId_;
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string ConfigureSubscriptionResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
95
dts/src/model/CreateConsumerChannelRequest.cc
Normal file
95
dts/src/model/CreateConsumerChannelRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/CreateConsumerChannelRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::CreateConsumerChannelRequest;
|
||||
|
||||
CreateConsumerChannelRequest::CreateConsumerChannelRequest() :
|
||||
RpcServiceRequest("dts", "2020-01-01", "CreateConsumerChannel")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateConsumerChannelRequest::~CreateConsumerChannelRequest()
|
||||
{}
|
||||
|
||||
std::string CreateConsumerChannelRequest::getConsumerGroupName()const
|
||||
{
|
||||
return consumerGroupName_;
|
||||
}
|
||||
|
||||
void CreateConsumerChannelRequest::setConsumerGroupName(const std::string& consumerGroupName)
|
||||
{
|
||||
consumerGroupName_ = consumerGroupName;
|
||||
setParameter("ConsumerGroupName", consumerGroupName);
|
||||
}
|
||||
|
||||
std::string CreateConsumerChannelRequest::getConsumerGroupPassword()const
|
||||
{
|
||||
return consumerGroupPassword_;
|
||||
}
|
||||
|
||||
void CreateConsumerChannelRequest::setConsumerGroupPassword(const std::string& consumerGroupPassword)
|
||||
{
|
||||
consumerGroupPassword_ = consumerGroupPassword;
|
||||
setParameter("ConsumerGroupPassword", consumerGroupPassword);
|
||||
}
|
||||
|
||||
std::string CreateConsumerChannelRequest::getConsumerGroupUserName()const
|
||||
{
|
||||
return consumerGroupUserName_;
|
||||
}
|
||||
|
||||
void CreateConsumerChannelRequest::setConsumerGroupUserName(const std::string& consumerGroupUserName)
|
||||
{
|
||||
consumerGroupUserName_ = consumerGroupUserName;
|
||||
setParameter("ConsumerGroupUserName", consumerGroupUserName);
|
||||
}
|
||||
|
||||
std::string CreateConsumerChannelRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateConsumerChannelRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateConsumerChannelRequest::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void CreateConsumerChannelRequest::setDtsJobId(const std::string& dtsJobId)
|
||||
{
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter("DtsJobId", dtsJobId);
|
||||
}
|
||||
|
||||
std::string CreateConsumerChannelRequest::getDtsInstanceId()const
|
||||
{
|
||||
return dtsInstanceId_;
|
||||
}
|
||||
|
||||
void CreateConsumerChannelRequest::setDtsInstanceId(const std::string& dtsInstanceId)
|
||||
{
|
||||
dtsInstanceId_ = dtsInstanceId;
|
||||
setParameter("DtsInstanceId", dtsInstanceId);
|
||||
}
|
||||
|
||||
79
dts/src/model/CreateConsumerChannelResult.cc
Normal file
79
dts/src/model/CreateConsumerChannelResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* 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/CreateConsumerChannelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dts;
|
||||
using namespace AlibabaCloud::Dts::Model;
|
||||
|
||||
CreateConsumerChannelResult::CreateConsumerChannelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateConsumerChannelResult::CreateConsumerChannelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateConsumerChannelResult::~CreateConsumerChannelResult()
|
||||
{}
|
||||
|
||||
void CreateConsumerChannelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
if(!value["ConsumerGroupID"].isNull())
|
||||
consumerGroupID_ = value["ConsumerGroupID"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["HttpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateConsumerChannelResult::getConsumerGroupID()const
|
||||
{
|
||||
return consumerGroupID_;
|
||||
}
|
||||
|
||||
std::string CreateConsumerChannelResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreateConsumerChannelResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string CreateConsumerChannelResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string CreateConsumerChannelResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
73
dts/src/model/DeleteConsumerChannelRequest.cc
Normal file
73
dts/src/model/DeleteConsumerChannelRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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/DeleteConsumerChannelRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::DeleteConsumerChannelRequest;
|
||||
|
||||
DeleteConsumerChannelRequest::DeleteConsumerChannelRequest() :
|
||||
RpcServiceRequest("dts", "2020-01-01", "DeleteConsumerChannel")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteConsumerChannelRequest::~DeleteConsumerChannelRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteConsumerChannelRequest::getConsumerGroupId()const
|
||||
{
|
||||
return consumerGroupId_;
|
||||
}
|
||||
|
||||
void DeleteConsumerChannelRequest::setConsumerGroupId(const std::string& consumerGroupId)
|
||||
{
|
||||
consumerGroupId_ = consumerGroupId;
|
||||
setParameter("ConsumerGroupId", consumerGroupId);
|
||||
}
|
||||
|
||||
std::string DeleteConsumerChannelRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteConsumerChannelRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteConsumerChannelRequest::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void DeleteConsumerChannelRequest::setDtsJobId(const std::string& dtsJobId)
|
||||
{
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter("DtsJobId", dtsJobId);
|
||||
}
|
||||
|
||||
std::string DeleteConsumerChannelRequest::getDtsInstanceId()const
|
||||
{
|
||||
return dtsInstanceId_;
|
||||
}
|
||||
|
||||
void DeleteConsumerChannelRequest::setDtsInstanceId(const std::string& dtsInstanceId)
|
||||
{
|
||||
dtsInstanceId_ = dtsInstanceId;
|
||||
setParameter("DtsInstanceId", dtsInstanceId);
|
||||
}
|
||||
|
||||
72
dts/src/model/DeleteConsumerChannelResult.cc
Normal file
72
dts/src/model/DeleteConsumerChannelResult.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/DeleteConsumerChannelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dts;
|
||||
using namespace AlibabaCloud::Dts::Model;
|
||||
|
||||
DeleteConsumerChannelResult::DeleteConsumerChannelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteConsumerChannelResult::DeleteConsumerChannelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteConsumerChannelResult::~DeleteConsumerChannelResult()
|
||||
{}
|
||||
|
||||
void DeleteConsumerChannelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["HttpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteConsumerChannelResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DeleteConsumerChannelResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string DeleteConsumerChannelResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string DeleteConsumerChannelResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
84
dts/src/model/DescribeConsumerChannelRequest.cc
Normal file
84
dts/src/model/DescribeConsumerChannelRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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/DescribeConsumerChannelRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::DescribeConsumerChannelRequest;
|
||||
|
||||
DescribeConsumerChannelRequest::DescribeConsumerChannelRequest() :
|
||||
RpcServiceRequest("dts", "2020-01-01", "DescribeConsumerChannel")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeConsumerChannelRequest::~DescribeConsumerChannelRequest()
|
||||
{}
|
||||
|
||||
int DescribeConsumerChannelRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeConsumerChannelRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeConsumerChannelRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeConsumerChannelRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeConsumerChannelRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeConsumerChannelRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeConsumerChannelRequest::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void DescribeConsumerChannelRequest::setDtsJobId(const std::string& dtsJobId)
|
||||
{
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter("DtsJobId", dtsJobId);
|
||||
}
|
||||
|
||||
std::string DescribeConsumerChannelRequest::getDtsInstanceId()const
|
||||
{
|
||||
return dtsInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeConsumerChannelRequest::setDtsInstanceId(const std::string& dtsInstanceId)
|
||||
{
|
||||
dtsInstanceId_ = dtsInstanceId;
|
||||
setParameter("DtsInstanceId", dtsInstanceId);
|
||||
}
|
||||
|
||||
116
dts/src/model/DescribeConsumerChannelResult.cc
Normal file
116
dts/src/model/DescribeConsumerChannelResult.cc
Normal file
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
* 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/DescribeConsumerChannelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dts;
|
||||
using namespace AlibabaCloud::Dts::Model;
|
||||
|
||||
DescribeConsumerChannelResult::DescribeConsumerChannelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeConsumerChannelResult::DescribeConsumerChannelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeConsumerChannelResult::~DescribeConsumerChannelResult()
|
||||
{}
|
||||
|
||||
void DescribeConsumerChannelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allConsumerChannelsNode = value["ConsumerChannels"]["ConsumerChannel"];
|
||||
for (auto valueConsumerChannelsConsumerChannel : allConsumerChannelsNode)
|
||||
{
|
||||
ConsumerChannel consumerChannelsObject;
|
||||
if(!valueConsumerChannelsConsumerChannel["ConsumerGroupId"].isNull())
|
||||
consumerChannelsObject.consumerGroupId = valueConsumerChannelsConsumerChannel["ConsumerGroupId"].asString();
|
||||
if(!valueConsumerChannelsConsumerChannel["ConsumerGroupName"].isNull())
|
||||
consumerChannelsObject.consumerGroupName = valueConsumerChannelsConsumerChannel["ConsumerGroupName"].asString();
|
||||
if(!valueConsumerChannelsConsumerChannel["ConsumptionCheckpoint"].isNull())
|
||||
consumerChannelsObject.consumptionCheckpoint = valueConsumerChannelsConsumerChannel["ConsumptionCheckpoint"].asString();
|
||||
if(!valueConsumerChannelsConsumerChannel["UnconsumedData"].isNull())
|
||||
consumerChannelsObject.unconsumedData = std::stol(valueConsumerChannelsConsumerChannel["UnconsumedData"].asString());
|
||||
if(!valueConsumerChannelsConsumerChannel["MessageDelay"].isNull())
|
||||
consumerChannelsObject.messageDelay = std::stol(valueConsumerChannelsConsumerChannel["MessageDelay"].asString());
|
||||
if(!valueConsumerChannelsConsumerChannel["ConsumerGroupUserName"].isNull())
|
||||
consumerChannelsObject.consumerGroupUserName = valueConsumerChannelsConsumerChannel["ConsumerGroupUserName"].asString();
|
||||
consumerChannels_.push_back(consumerChannelsObject);
|
||||
}
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["HttpStatusCode"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stol(value["TotalRecordCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribeConsumerChannelResult::getTotalRecordCount()const
|
||||
{
|
||||
return totalRecordCount_;
|
||||
}
|
||||
|
||||
int DescribeConsumerChannelResult::getPageRecordCount()const
|
||||
{
|
||||
return pageRecordCount_;
|
||||
}
|
||||
|
||||
int DescribeConsumerChannelResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeConsumerChannelResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<DescribeConsumerChannelResult::ConsumerChannel> DescribeConsumerChannelResult::getConsumerChannels()const
|
||||
{
|
||||
return consumerChannels_;
|
||||
}
|
||||
|
||||
std::string DescribeConsumerChannelResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string DescribeConsumerChannelResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string DescribeConsumerChannelResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/DescribeDtsJobLogsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::DescribeDtsJobLogsRequest;
|
||||
|
||||
DescribeDtsJobLogsRequest::DescribeDtsJobLogsRequest() :
|
||||
RpcServiceRequest("dts", "2020-01-01", "DescribeDtsJobLogs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDtsJobLogsRequest::~DescribeDtsJobLogsRequest()
|
||||
{}
|
||||
|
||||
long DescribeDtsJobLogsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDtsJobLogsRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long DescribeDtsJobLogsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDtsJobLogsRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobLogsRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void DescribeDtsJobLogsRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
int DescribeDtsJobLogsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeDtsJobLogsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobLogsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDtsJobLogsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeDtsJobLogsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDtsJobLogsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobLogsRequest::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void DescribeDtsJobLogsRequest::setDtsJobId(const std::string& dtsJobId)
|
||||
{
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter("DtsJobId", dtsJobId);
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobLogsRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeDtsJobLogsRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
@@ -1,131 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/DescribeDtsJobLogsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dts;
|
||||
using namespace AlibabaCloud::Dts::Model;
|
||||
|
||||
DescribeDtsJobLogsResult::DescribeDtsJobLogsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDtsJobLogsResult::DescribeDtsJobLogsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDtsJobLogsResult::~DescribeDtsJobLogsResult()
|
||||
{}
|
||||
|
||||
void DescribeDtsJobLogsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allJobRunningLogsNode = value["JobRunningLogs"]["JobRunningLog"];
|
||||
for (auto valueJobRunningLogsJobRunningLog : allJobRunningLogsNode)
|
||||
{
|
||||
JobRunningLog jobRunningLogsObject;
|
||||
if(!valueJobRunningLogsJobRunningLog["Id"].isNull())
|
||||
jobRunningLogsObject.id = std::stol(valueJobRunningLogsJobRunningLog["Id"].asString());
|
||||
if(!valueJobRunningLogsJobRunningLog["JobId"].isNull())
|
||||
jobRunningLogsObject.jobId = valueJobRunningLogsJobRunningLog["JobId"].asString();
|
||||
if(!valueJobRunningLogsJobRunningLog["LogDatetime"].isNull())
|
||||
jobRunningLogsObject.logDatetime = std::stol(valueJobRunningLogsJobRunningLog["LogDatetime"].asString());
|
||||
if(!valueJobRunningLogsJobRunningLog["ContentKey"].isNull())
|
||||
jobRunningLogsObject.contentKey = valueJobRunningLogsJobRunningLog["ContentKey"].asString();
|
||||
if(!valueJobRunningLogsJobRunningLog["Status"].isNull())
|
||||
jobRunningLogsObject.status = valueJobRunningLogsJobRunningLog["Status"].asString();
|
||||
auto allParams = value["Params"]["String"];
|
||||
for (auto value : allParams)
|
||||
jobRunningLogsObject.params.push_back(value.asString());
|
||||
jobRunningLogs_.push_back(jobRunningLogsObject);
|
||||
}
|
||||
if(!value["DynamicCode"].isNull())
|
||||
dynamicCode_ = value["DynamicCode"].asString();
|
||||
if(!value["DynamicMessage"].isNull())
|
||||
dynamicMessage_ = value["DynamicMessage"].asString();
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stol(value["TotalRecordCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribeDtsJobLogsResult::getTotalRecordCount()const
|
||||
{
|
||||
return totalRecordCount_;
|
||||
}
|
||||
|
||||
int DescribeDtsJobLogsResult::getPageRecordCount()const
|
||||
{
|
||||
return pageRecordCount_;
|
||||
}
|
||||
|
||||
int DescribeDtsJobLogsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeDtsJobLogsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDtsJobLogsResult::JobRunningLog> DescribeDtsJobLogsResult::getJobRunningLogs()const
|
||||
{
|
||||
return jobRunningLogs_;
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobLogsResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobLogsResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobLogsResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool DescribeDtsJobLogsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string DescribeDtsJobLogsResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -53,6 +53,10 @@ void DescribeMigrationJobsResult::parse(const std::string &payload)
|
||||
migrationJobsObject.migrationJobStatus = valueMigrationJobsMigrationJob["MigrationJobStatus"].asString();
|
||||
if(!valueMigrationJobsMigrationJob["PayType"].isNull())
|
||||
migrationJobsObject.payType = valueMigrationJobsMigrationJob["PayType"].asString();
|
||||
if(!valueMigrationJobsMigrationJob["JobCreateTime"].isNull())
|
||||
migrationJobsObject.jobCreateTime = valueMigrationJobsMigrationJob["JobCreateTime"].asString();
|
||||
if(!valueMigrationJobsMigrationJob["InstanceCreateTime"].isNull())
|
||||
migrationJobsObject.instanceCreateTime = valueMigrationJobsMigrationJob["InstanceCreateTime"].asString();
|
||||
auto allMigrationObjectNode = valueMigrationJobsMigrationJob["MigrationObject"]["SynchronousObject"];
|
||||
for (auto valueMigrationJobsMigrationJobMigrationObjectSynchronousObject : allMigrationObjectNode)
|
||||
{
|
||||
|
||||
@@ -95,8 +95,6 @@ void DescribeSubscriptionInstanceStatusResult::parse(const std::string &payload)
|
||||
success_ = value["Success"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage1_ = value["ErrorMessage"].asString();
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = value["TaskId"].asString();
|
||||
|
||||
@@ -172,11 +170,6 @@ std::string DescribeSubscriptionInstanceStatusResult::getSubscribeTopic()const
|
||||
return subscribeTopic_;
|
||||
}
|
||||
|
||||
std::string DescribeSubscriptionInstanceStatusResult::getErrorMessage1()const
|
||||
{
|
||||
return errorMessage1_;
|
||||
}
|
||||
|
||||
std::string DescribeSubscriptionInstanceStatusResult::getConsumptionClient()const
|
||||
{
|
||||
return consumptionClient_;
|
||||
|
||||
@@ -63,6 +63,10 @@ void DescribeSubscriptionInstancesResult::parse(const std::string &payload)
|
||||
subscriptionInstancesObject.subscriptionInstanceID = valueSubscriptionInstancesSubscriptionInstance["SubscriptionInstanceID"].asString();
|
||||
if(!valueSubscriptionInstancesSubscriptionInstance["SubscriptionInstanceName"].isNull())
|
||||
subscriptionInstancesObject.subscriptionInstanceName = valueSubscriptionInstancesSubscriptionInstance["SubscriptionInstanceName"].asString();
|
||||
if(!valueSubscriptionInstancesSubscriptionInstance["JobCreateTime"].isNull())
|
||||
subscriptionInstancesObject.jobCreateTime = valueSubscriptionInstancesSubscriptionInstance["JobCreateTime"].asString();
|
||||
if(!valueSubscriptionInstancesSubscriptionInstance["InstanceCreateTime"].isNull())
|
||||
subscriptionInstancesObject.instanceCreateTime = valueSubscriptionInstancesSubscriptionInstance["InstanceCreateTime"].asString();
|
||||
auto allSubscriptionObjectNode = valueSubscriptionInstancesSubscriptionInstance["SubscriptionObject"]["SynchronousObject"];
|
||||
for (auto valueSubscriptionInstancesSubscriptionInstanceSubscriptionObjectSynchronousObject : allSubscriptionObjectNode)
|
||||
{
|
||||
|
||||
@@ -67,6 +67,10 @@ void DescribeSynchronizationJobsResult::parse(const std::string &payload)
|
||||
synchronizationInstancesObject.synchronizationJobId = valueSynchronizationInstancesSynchronizationInstance["SynchronizationJobId"].asString();
|
||||
if(!valueSynchronizationInstancesSynchronizationInstance["SynchronizationJobName"].isNull())
|
||||
synchronizationInstancesObject.synchronizationJobName = valueSynchronizationInstancesSynchronizationInstance["SynchronizationJobName"].asString();
|
||||
if(!valueSynchronizationInstancesSynchronizationInstance["JobCreateTime"].isNull())
|
||||
synchronizationInstancesObject.jobCreateTime = valueSynchronizationInstancesSynchronizationInstance["JobCreateTime"].asString();
|
||||
if(!valueSynchronizationInstancesSynchronizationInstance["InstanceCreateTime"].isNull())
|
||||
synchronizationInstancesObject.instanceCreateTime = valueSynchronizationInstancesSynchronizationInstance["InstanceCreateTime"].asString();
|
||||
auto allTagsNode = valueSynchronizationInstancesSynchronizationInstance["Tags"]["Tag"];
|
||||
for (auto valueSynchronizationInstancesSynchronizationInstanceTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
106
dts/src/model/ModifyConsumerChannelRequest.cc
Normal file
106
dts/src/model/ModifyConsumerChannelRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/ModifyConsumerChannelRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::ModifyConsumerChannelRequest;
|
||||
|
||||
ModifyConsumerChannelRequest::ModifyConsumerChannelRequest() :
|
||||
RpcServiceRequest("dts", "2020-01-01", "ModifyConsumerChannel")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyConsumerChannelRequest::~ModifyConsumerChannelRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyConsumerChannelRequest::getConsumerGroupName()const
|
||||
{
|
||||
return consumerGroupName_;
|
||||
}
|
||||
|
||||
void ModifyConsumerChannelRequest::setConsumerGroupName(const std::string& consumerGroupName)
|
||||
{
|
||||
consumerGroupName_ = consumerGroupName;
|
||||
setParameter("ConsumerGroupName", consumerGroupName);
|
||||
}
|
||||
|
||||
std::string ModifyConsumerChannelRequest::getConsumerGroupId()const
|
||||
{
|
||||
return consumerGroupId_;
|
||||
}
|
||||
|
||||
void ModifyConsumerChannelRequest::setConsumerGroupId(const std::string& consumerGroupId)
|
||||
{
|
||||
consumerGroupId_ = consumerGroupId;
|
||||
setParameter("ConsumerGroupId", consumerGroupId);
|
||||
}
|
||||
|
||||
std::string ModifyConsumerChannelRequest::getConsumerGroupPassword()const
|
||||
{
|
||||
return consumerGroupPassword_;
|
||||
}
|
||||
|
||||
void ModifyConsumerChannelRequest::setConsumerGroupPassword(const std::string& consumerGroupPassword)
|
||||
{
|
||||
consumerGroupPassword_ = consumerGroupPassword;
|
||||
setParameter("ConsumerGroupPassword", consumerGroupPassword);
|
||||
}
|
||||
|
||||
std::string ModifyConsumerChannelRequest::getConsumerGroupUserName()const
|
||||
{
|
||||
return consumerGroupUserName_;
|
||||
}
|
||||
|
||||
void ModifyConsumerChannelRequest::setConsumerGroupUserName(const std::string& consumerGroupUserName)
|
||||
{
|
||||
consumerGroupUserName_ = consumerGroupUserName;
|
||||
setParameter("ConsumerGroupUserName", consumerGroupUserName);
|
||||
}
|
||||
|
||||
std::string ModifyConsumerChannelRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyConsumerChannelRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyConsumerChannelRequest::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void ModifyConsumerChannelRequest::setDtsJobId(const std::string& dtsJobId)
|
||||
{
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter("DtsJobId", dtsJobId);
|
||||
}
|
||||
|
||||
std::string ModifyConsumerChannelRequest::getDtsInstanceId()const
|
||||
{
|
||||
return dtsInstanceId_;
|
||||
}
|
||||
|
||||
void ModifyConsumerChannelRequest::setDtsInstanceId(const std::string& dtsInstanceId)
|
||||
{
|
||||
dtsInstanceId_ = dtsInstanceId;
|
||||
setParameter("DtsInstanceId", dtsInstanceId);
|
||||
}
|
||||
|
||||
72
dts/src/model/ModifyConsumerChannelResult.cc
Normal file
72
dts/src/model/ModifyConsumerChannelResult.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/ModifyConsumerChannelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dts;
|
||||
using namespace AlibabaCloud::Dts::Model;
|
||||
|
||||
ModifyConsumerChannelResult::ModifyConsumerChannelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyConsumerChannelResult::ModifyConsumerChannelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyConsumerChannelResult::~ModifyConsumerChannelResult()
|
||||
{}
|
||||
|
||||
void ModifyConsumerChannelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["HttpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifyConsumerChannelResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ModifyConsumerChannelResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string ModifyConsumerChannelResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string ModifyConsumerChannelResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
95
dts/src/model/ModifySubscriptionRequest.cc
Normal file
95
dts/src/model/ModifySubscriptionRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/ModifySubscriptionRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::ModifySubscriptionRequest;
|
||||
|
||||
ModifySubscriptionRequest::ModifySubscriptionRequest() :
|
||||
RpcServiceRequest("dts", "2020-01-01", "ModifySubscription")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifySubscriptionRequest::~ModifySubscriptionRequest()
|
||||
{}
|
||||
|
||||
std::string ModifySubscriptionRequest::getDbList()const
|
||||
{
|
||||
return dbList_;
|
||||
}
|
||||
|
||||
void ModifySubscriptionRequest::setDbList(const std::string& dbList)
|
||||
{
|
||||
dbList_ = dbList;
|
||||
setParameter("DbList", dbList);
|
||||
}
|
||||
|
||||
bool ModifySubscriptionRequest::getSubscriptionDataTypeDDL()const
|
||||
{
|
||||
return subscriptionDataTypeDDL_;
|
||||
}
|
||||
|
||||
void ModifySubscriptionRequest::setSubscriptionDataTypeDDL(bool subscriptionDataTypeDDL)
|
||||
{
|
||||
subscriptionDataTypeDDL_ = subscriptionDataTypeDDL;
|
||||
setParameter("SubscriptionDataTypeDDL", subscriptionDataTypeDDL ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ModifySubscriptionRequest::getSubscriptionDataTypeDML()const
|
||||
{
|
||||
return subscriptionDataTypeDML_;
|
||||
}
|
||||
|
||||
void ModifySubscriptionRequest::setSubscriptionDataTypeDML(bool subscriptionDataTypeDML)
|
||||
{
|
||||
subscriptionDataTypeDML_ = subscriptionDataTypeDML;
|
||||
setParameter("SubscriptionDataTypeDML", subscriptionDataTypeDML ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifySubscriptionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifySubscriptionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifySubscriptionRequest::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void ModifySubscriptionRequest::setDtsJobId(const std::string& dtsJobId)
|
||||
{
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter("DtsJobId", dtsJobId);
|
||||
}
|
||||
|
||||
std::string ModifySubscriptionRequest::getDtsInstanceId()const
|
||||
{
|
||||
return dtsInstanceId_;
|
||||
}
|
||||
|
||||
void ModifySubscriptionRequest::setDtsInstanceId(const std::string& dtsInstanceId)
|
||||
{
|
||||
dtsInstanceId_ = dtsInstanceId;
|
||||
setParameter("DtsInstanceId", dtsInstanceId);
|
||||
}
|
||||
|
||||
72
dts/src/model/ModifySubscriptionResult.cc
Normal file
72
dts/src/model/ModifySubscriptionResult.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/ModifySubscriptionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dts;
|
||||
using namespace AlibabaCloud::Dts::Model;
|
||||
|
||||
ModifySubscriptionResult::ModifySubscriptionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifySubscriptionResult::ModifySubscriptionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifySubscriptionResult::~ModifySubscriptionResult()
|
||||
{}
|
||||
|
||||
void ModifySubscriptionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["HttpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifySubscriptionResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ModifySubscriptionResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string ModifySubscriptionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string ModifySubscriptionResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/PreviewSqlRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::PreviewSqlRequest;
|
||||
|
||||
PreviewSqlRequest::PreviewSqlRequest() :
|
||||
RpcServiceRequest("dts", "2020-01-01", "PreviewSql")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
PreviewSqlRequest::~PreviewSqlRequest()
|
||||
{}
|
||||
|
||||
std::string PreviewSqlRequest::getEtlCalculator()const
|
||||
{
|
||||
return etlCalculator_;
|
||||
}
|
||||
|
||||
void PreviewSqlRequest::setEtlCalculator(const std::string& etlCalculator)
|
||||
{
|
||||
etlCalculator_ = etlCalculator;
|
||||
setParameter("EtlCalculator", etlCalculator);
|
||||
}
|
||||
|
||||
std::string PreviewSqlRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void PreviewSqlRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
84
dts/src/model/RenewInstanceRequest.cc
Normal file
84
dts/src/model/RenewInstanceRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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/RenewInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::RenewInstanceRequest;
|
||||
|
||||
RenewInstanceRequest::RenewInstanceRequest() :
|
||||
RpcServiceRequest("dts", "2020-01-01", "RenewInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RenewInstanceRequest::~RenewInstanceRequest()
|
||||
{}
|
||||
|
||||
std::string RenewInstanceRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
}
|
||||
|
||||
void RenewInstanceRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", period);
|
||||
}
|
||||
|
||||
std::string RenewInstanceRequest::getBuyCount()const
|
||||
{
|
||||
return buyCount_;
|
||||
}
|
||||
|
||||
void RenewInstanceRequest::setBuyCount(const std::string& buyCount)
|
||||
{
|
||||
buyCount_ = buyCount;
|
||||
setParameter("BuyCount", buyCount);
|
||||
}
|
||||
|
||||
std::string RenewInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void RenewInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string RenewInstanceRequest::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void RenewInstanceRequest::setDtsJobId(const std::string& dtsJobId)
|
||||
{
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter("DtsJobId", dtsJobId);
|
||||
}
|
||||
|
||||
std::string RenewInstanceRequest::getChargeType()const
|
||||
{
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
void RenewInstanceRequest::setChargeType(const std::string& chargeType)
|
||||
{
|
||||
chargeType_ = chargeType;
|
||||
setParameter("ChargeType", chargeType);
|
||||
}
|
||||
|
||||
@@ -14,94 +14,100 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dts/model/PreviewSqlResult.h>
|
||||
#include <alibabacloud/dts/model/RenewInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dts;
|
||||
using namespace AlibabaCloud::Dts::Model;
|
||||
|
||||
PreviewSqlResult::PreviewSqlResult() :
|
||||
RenewInstanceResult::RenewInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
PreviewSqlResult::PreviewSqlResult(const std::string &payload) :
|
||||
RenewInstanceResult::RenewInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
PreviewSqlResult::~PreviewSqlResult()
|
||||
RenewInstanceResult::~RenewInstanceResult()
|
||||
{}
|
||||
|
||||
void PreviewSqlResult::parse(const std::string &payload)
|
||||
void RenewInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSqlList = value["SqlList"]["Sql"];
|
||||
for (const auto &item : allSqlList)
|
||||
sqlList_.push_back(item.asString());
|
||||
if(!value["DynamicCode"].isNull())
|
||||
dynamicCode_ = value["DynamicCode"].asString();
|
||||
if(!value["ChargeType"].isNull())
|
||||
chargeType_ = value["ChargeType"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["DtsJobId"].isNull())
|
||||
dtsJobId_ = value["DtsJobId"].asString();
|
||||
if(!value["DynamicMessage"].isNull())
|
||||
dynamicMessage_ = value["DynamicMessage"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["StreamGraph"].isNull())
|
||||
streamGraph_ = value["StreamGraph"].asString();
|
||||
if(!value["ValidationException"].isNull())
|
||||
validationException_ = value["ValidationException"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> PreviewSqlResult::getSqlList()const
|
||||
std::string RenewInstanceResult::getDtsJobId()const
|
||||
{
|
||||
return sqlList_;
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
std::string PreviewSqlResult::getValidationException()const
|
||||
std::string RenewInstanceResult::getEndTime()const
|
||||
{
|
||||
return validationException_;
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
int PreviewSqlResult::getHttpStatusCode()const
|
||||
std::string RenewInstanceResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string RenewInstanceResult::getChargeType()const
|
||||
{
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
int RenewInstanceResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string PreviewSqlResult::getStreamGraph()const
|
||||
{
|
||||
return streamGraph_;
|
||||
}
|
||||
|
||||
std::string PreviewSqlResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string PreviewSqlResult::getDynamicMessage()const
|
||||
std::string RenewInstanceResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string PreviewSqlResult::getErrMessage()const
|
||||
std::string RenewInstanceResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool PreviewSqlResult::getSuccess()const
|
||||
std::string RenewInstanceResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool RenewInstanceResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string PreviewSqlResult::getErrCode()const
|
||||
std::string RenewInstanceResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
@@ -27,6 +27,17 @@ StartDtsJobRequest::StartDtsJobRequest() :
|
||||
StartDtsJobRequest::~StartDtsJobRequest()
|
||||
{}
|
||||
|
||||
std::string StartDtsJobRequest::getResetCheckpoint()const
|
||||
{
|
||||
return resetCheckpoint_;
|
||||
}
|
||||
|
||||
void StartDtsJobRequest::setResetCheckpoint(const std::string& resetCheckpoint)
|
||||
{
|
||||
resetCheckpoint_ = resetCheckpoint;
|
||||
setParameter("ResetCheckpoint", resetCheckpoint);
|
||||
}
|
||||
|
||||
std::string StartDtsJobRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -38,6 +49,17 @@ void StartDtsJobRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string StartDtsJobRequest::getResumeHoldJob()const
|
||||
{
|
||||
return resumeHoldJob_;
|
||||
}
|
||||
|
||||
void StartDtsJobRequest::setResumeHoldJob(const std::string& resumeHoldJob)
|
||||
{
|
||||
resumeHoldJob_ = resumeHoldJob;
|
||||
setParameter("ResumeHoldJob", resumeHoldJob);
|
||||
}
|
||||
|
||||
std::string StartDtsJobRequest::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
|
||||
73
dts/src/model/TransferInstanceClassRequest.cc
Normal file
73
dts/src/model/TransferInstanceClassRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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/TransferInstanceClassRequest.h>
|
||||
|
||||
using AlibabaCloud::Dts::Model::TransferInstanceClassRequest;
|
||||
|
||||
TransferInstanceClassRequest::TransferInstanceClassRequest() :
|
||||
RpcServiceRequest("dts", "2020-01-01", "TransferInstanceClass")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TransferInstanceClassRequest::~TransferInstanceClassRequest()
|
||||
{}
|
||||
|
||||
std::string TransferInstanceClassRequest::getInstanceClass()const
|
||||
{
|
||||
return instanceClass_;
|
||||
}
|
||||
|
||||
void TransferInstanceClassRequest::setInstanceClass(const std::string& instanceClass)
|
||||
{
|
||||
instanceClass_ = instanceClass;
|
||||
setParameter("InstanceClass", instanceClass);
|
||||
}
|
||||
|
||||
std::string TransferInstanceClassRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void TransferInstanceClassRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string TransferInstanceClassRequest::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
void TransferInstanceClassRequest::setDtsJobId(const std::string& dtsJobId)
|
||||
{
|
||||
dtsJobId_ = dtsJobId;
|
||||
setParameter("DtsJobId", dtsJobId);
|
||||
}
|
||||
|
||||
std::string TransferInstanceClassRequest::getOrderType()const
|
||||
{
|
||||
return orderType_;
|
||||
}
|
||||
|
||||
void TransferInstanceClassRequest::setOrderType(const std::string& orderType)
|
||||
{
|
||||
orderType_ = orderType;
|
||||
setParameter("OrderType", orderType);
|
||||
}
|
||||
|
||||
114
dts/src/model/TransferInstanceClassResult.cc
Normal file
114
dts/src/model/TransferInstanceClassResult.cc
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* 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/TransferInstanceClassResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dts;
|
||||
using namespace AlibabaCloud::Dts::Model;
|
||||
|
||||
TransferInstanceClassResult::TransferInstanceClassResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TransferInstanceClassResult::TransferInstanceClassResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TransferInstanceClassResult::~TransferInstanceClassResult()
|
||||
{}
|
||||
|
||||
void TransferInstanceClassResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["DynamicMessage"].isNull())
|
||||
dynamicMessage_ = value["DynamicMessage"].asString();
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["DtsJobId"].isNull())
|
||||
dtsJobId_ = value["DtsJobId"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["ChargeType"].isNull())
|
||||
chargeType_ = value["ChargeType"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TransferInstanceClassResult::getDtsJobId()const
|
||||
{
|
||||
return dtsJobId_;
|
||||
}
|
||||
|
||||
std::string TransferInstanceClassResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string TransferInstanceClassResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string TransferInstanceClassResult::getChargeType()const
|
||||
{
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
int TransferInstanceClassResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string TransferInstanceClassResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string TransferInstanceClassResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string TransferInstanceClassResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool TransferInstanceClassResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string TransferInstanceClassResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -49,17 +49,6 @@ void TransferPayTypeRequest::setBuyCount(const std::string& buyCount)
|
||||
setParameter("BuyCount", buyCount);
|
||||
}
|
||||
|
||||
std::string TransferPayTypeRequest::getInstanceClass()const
|
||||
{
|
||||
return instanceClass_;
|
||||
}
|
||||
|
||||
void TransferPayTypeRequest::setInstanceClass(const std::string& instanceClass)
|
||||
{
|
||||
instanceClass_ = instanceClass;
|
||||
setParameter("InstanceClass", instanceClass);
|
||||
}
|
||||
|
||||
std::string TransferPayTypeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
|
||||
@@ -21,61 +21,21 @@ set(hitsdb_public_header
|
||||
include/alibabacloud/hitsdb/HitsdbExport.h )
|
||||
|
||||
set(hitsdb_public_header_model
|
||||
include/alibabacloud/hitsdb/model/CreateHiTSDBInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/CreateHiTSDBInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/DeleteHiTSDBInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/DeleteHiTSDBInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceListRequest.h
|
||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceListResult.h
|
||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceSecurityIpListRequest.h
|
||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceSecurityIpListResult.h
|
||||
include/alibabacloud/hitsdb/model/DescribeRegionsRequest.h
|
||||
include/alibabacloud/hitsdb/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/hitsdb/model/DescribeZonesRequest.h
|
||||
include/alibabacloud/hitsdb/model/DescribeZonesResult.h
|
||||
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceClassRequest.h
|
||||
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceClassResult.h
|
||||
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceSecurityIpListRequest.h
|
||||
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceSecurityIpListResult.h
|
||||
include/alibabacloud/hitsdb/model/RenameHiTSDBInstanceAliasRequest.h
|
||||
include/alibabacloud/hitsdb/model/RenameHiTSDBInstanceAliasResult.h
|
||||
include/alibabacloud/hitsdb/model/RenewTSDBInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/RenewTSDBInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/RestartHiTSDBInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/RestartHiTSDBInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/SwitchHiTSDBInstancePublicNetRequest.h
|
||||
include/alibabacloud/hitsdb/model/SwitchHiTSDBInstancePublicNetResult.h )
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceListRequest.h
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceListResult.h )
|
||||
|
||||
set(hitsdb_src
|
||||
src/HitsdbClient.cc
|
||||
src/model/CreateHiTSDBInstanceRequest.cc
|
||||
src/model/CreateHiTSDBInstanceResult.cc
|
||||
src/model/DeleteHiTSDBInstanceRequest.cc
|
||||
src/model/DeleteHiTSDBInstanceResult.cc
|
||||
src/model/DescribeHiTSDBInstanceRequest.cc
|
||||
src/model/DescribeHiTSDBInstanceResult.cc
|
||||
src/model/DescribeHiTSDBInstanceListRequest.cc
|
||||
src/model/DescribeHiTSDBInstanceListResult.cc
|
||||
src/model/DescribeHiTSDBInstanceSecurityIpListRequest.cc
|
||||
src/model/DescribeHiTSDBInstanceSecurityIpListResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DescribeZonesRequest.cc
|
||||
src/model/DescribeZonesResult.cc
|
||||
src/model/ModifyHiTSDBInstanceClassRequest.cc
|
||||
src/model/ModifyHiTSDBInstanceClassResult.cc
|
||||
src/model/ModifyHiTSDBInstanceSecurityIpListRequest.cc
|
||||
src/model/ModifyHiTSDBInstanceSecurityIpListResult.cc
|
||||
src/model/RenameHiTSDBInstanceAliasRequest.cc
|
||||
src/model/RenameHiTSDBInstanceAliasResult.cc
|
||||
src/model/RenewTSDBInstanceRequest.cc
|
||||
src/model/RenewTSDBInstanceResult.cc
|
||||
src/model/RestartHiTSDBInstanceRequest.cc
|
||||
src/model/RestartHiTSDBInstanceResult.cc
|
||||
src/model/SwitchHiTSDBInstancePublicNetRequest.cc
|
||||
src/model/SwitchHiTSDBInstancePublicNetResult.cc )
|
||||
src/model/GetLindormInstanceRequest.cc
|
||||
src/model/GetLindormInstanceResult.cc
|
||||
src/model/GetLindormInstanceListRequest.cc
|
||||
src/model/GetLindormInstanceListResult.cc )
|
||||
|
||||
add_library(hitsdb ${LIB_TYPE}
|
||||
${hitsdb_public_header}
|
||||
|
||||
@@ -22,32 +22,12 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "HitsdbExport.h"
|
||||
#include "model/CreateHiTSDBInstanceRequest.h"
|
||||
#include "model/CreateHiTSDBInstanceResult.h"
|
||||
#include "model/DeleteHiTSDBInstanceRequest.h"
|
||||
#include "model/DeleteHiTSDBInstanceResult.h"
|
||||
#include "model/DescribeHiTSDBInstanceRequest.h"
|
||||
#include "model/DescribeHiTSDBInstanceResult.h"
|
||||
#include "model/DescribeHiTSDBInstanceListRequest.h"
|
||||
#include "model/DescribeHiTSDBInstanceListResult.h"
|
||||
#include "model/DescribeHiTSDBInstanceSecurityIpListRequest.h"
|
||||
#include "model/DescribeHiTSDBInstanceSecurityIpListResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeZonesRequest.h"
|
||||
#include "model/DescribeZonesResult.h"
|
||||
#include "model/ModifyHiTSDBInstanceClassRequest.h"
|
||||
#include "model/ModifyHiTSDBInstanceClassResult.h"
|
||||
#include "model/ModifyHiTSDBInstanceSecurityIpListRequest.h"
|
||||
#include "model/ModifyHiTSDBInstanceSecurityIpListResult.h"
|
||||
#include "model/RenameHiTSDBInstanceAliasRequest.h"
|
||||
#include "model/RenameHiTSDBInstanceAliasResult.h"
|
||||
#include "model/RenewTSDBInstanceRequest.h"
|
||||
#include "model/RenewTSDBInstanceResult.h"
|
||||
#include "model/RestartHiTSDBInstanceRequest.h"
|
||||
#include "model/RestartHiTSDBInstanceResult.h"
|
||||
#include "model/SwitchHiTSDBInstancePublicNetRequest.h"
|
||||
#include "model/SwitchHiTSDBInstancePublicNetResult.h"
|
||||
#include "model/GetLindormInstanceRequest.h"
|
||||
#include "model/GetLindormInstanceResult.h"
|
||||
#include "model/GetLindormInstanceListRequest.h"
|
||||
#include "model/GetLindormInstanceListResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -57,89 +37,29 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_HITSDB_EXPORT HitsdbClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreateHiTSDBInstanceResult> CreateHiTSDBInstanceOutcome;
|
||||
typedef std::future<CreateHiTSDBInstanceOutcome> CreateHiTSDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::CreateHiTSDBInstanceRequest&, const CreateHiTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateHiTSDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteHiTSDBInstanceResult> DeleteHiTSDBInstanceOutcome;
|
||||
typedef std::future<DeleteHiTSDBInstanceOutcome> DeleteHiTSDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DeleteHiTSDBInstanceRequest&, const DeleteHiTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteHiTSDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeHiTSDBInstanceResult> DescribeHiTSDBInstanceOutcome;
|
||||
typedef std::future<DescribeHiTSDBInstanceOutcome> DescribeHiTSDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeHiTSDBInstanceRequest&, const DescribeHiTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHiTSDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeHiTSDBInstanceListResult> DescribeHiTSDBInstanceListOutcome;
|
||||
typedef std::future<DescribeHiTSDBInstanceListOutcome> DescribeHiTSDBInstanceListOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeHiTSDBInstanceListRequest&, const DescribeHiTSDBInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHiTSDBInstanceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeHiTSDBInstanceSecurityIpListResult> DescribeHiTSDBInstanceSecurityIpListOutcome;
|
||||
typedef std::future<DescribeHiTSDBInstanceSecurityIpListOutcome> DescribeHiTSDBInstanceSecurityIpListOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeHiTSDBInstanceSecurityIpListRequest&, const DescribeHiTSDBInstanceSecurityIpListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHiTSDBInstanceSecurityIpListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeZonesResult> DescribeZonesOutcome;
|
||||
typedef std::future<DescribeZonesOutcome> DescribeZonesOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeZonesRequest&, const DescribeZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeZonesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyHiTSDBInstanceClassResult> ModifyHiTSDBInstanceClassOutcome;
|
||||
typedef std::future<ModifyHiTSDBInstanceClassOutcome> ModifyHiTSDBInstanceClassOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::ModifyHiTSDBInstanceClassRequest&, const ModifyHiTSDBInstanceClassOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHiTSDBInstanceClassAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyHiTSDBInstanceSecurityIpListResult> ModifyHiTSDBInstanceSecurityIpListOutcome;
|
||||
typedef std::future<ModifyHiTSDBInstanceSecurityIpListOutcome> ModifyHiTSDBInstanceSecurityIpListOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::ModifyHiTSDBInstanceSecurityIpListRequest&, const ModifyHiTSDBInstanceSecurityIpListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHiTSDBInstanceSecurityIpListAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenameHiTSDBInstanceAliasResult> RenameHiTSDBInstanceAliasOutcome;
|
||||
typedef std::future<RenameHiTSDBInstanceAliasOutcome> RenameHiTSDBInstanceAliasOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::RenameHiTSDBInstanceAliasRequest&, const RenameHiTSDBInstanceAliasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenameHiTSDBInstanceAliasAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenewTSDBInstanceResult> RenewTSDBInstanceOutcome;
|
||||
typedef std::future<RenewTSDBInstanceOutcome> RenewTSDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::RenewTSDBInstanceRequest&, const RenewTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewTSDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartHiTSDBInstanceResult> RestartHiTSDBInstanceOutcome;
|
||||
typedef std::future<RestartHiTSDBInstanceOutcome> RestartHiTSDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::RestartHiTSDBInstanceRequest&, const RestartHiTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartHiTSDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::SwitchHiTSDBInstancePublicNetResult> SwitchHiTSDBInstancePublicNetOutcome;
|
||||
typedef std::future<SwitchHiTSDBInstancePublicNetOutcome> SwitchHiTSDBInstancePublicNetOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::SwitchHiTSDBInstancePublicNetRequest&, const SwitchHiTSDBInstancePublicNetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SwitchHiTSDBInstancePublicNetAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetLindormInstanceResult> GetLindormInstanceOutcome;
|
||||
typedef std::future<GetLindormInstanceOutcome> GetLindormInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::GetLindormInstanceRequest&, const GetLindormInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLindormInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetLindormInstanceListResult> GetLindormInstanceListOutcome;
|
||||
typedef std::future<GetLindormInstanceListOutcome> GetLindormInstanceListOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::GetLindormInstanceListRequest&, const GetLindormInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLindormInstanceListAsyncHandler;
|
||||
|
||||
HitsdbClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
HitsdbClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
HitsdbClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~HitsdbClient();
|
||||
CreateHiTSDBInstanceOutcome createHiTSDBInstance(const Model::CreateHiTSDBInstanceRequest &request)const;
|
||||
void createHiTSDBInstanceAsync(const Model::CreateHiTSDBInstanceRequest& request, const CreateHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateHiTSDBInstanceOutcomeCallable createHiTSDBInstanceCallable(const Model::CreateHiTSDBInstanceRequest& request) const;
|
||||
DeleteHiTSDBInstanceOutcome deleteHiTSDBInstance(const Model::DeleteHiTSDBInstanceRequest &request)const;
|
||||
void deleteHiTSDBInstanceAsync(const Model::DeleteHiTSDBInstanceRequest& request, const DeleteHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteHiTSDBInstanceOutcomeCallable deleteHiTSDBInstanceCallable(const Model::DeleteHiTSDBInstanceRequest& request) const;
|
||||
DescribeHiTSDBInstanceOutcome describeHiTSDBInstance(const Model::DescribeHiTSDBInstanceRequest &request)const;
|
||||
void describeHiTSDBInstanceAsync(const Model::DescribeHiTSDBInstanceRequest& request, const DescribeHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHiTSDBInstanceOutcomeCallable describeHiTSDBInstanceCallable(const Model::DescribeHiTSDBInstanceRequest& request) const;
|
||||
DescribeHiTSDBInstanceListOutcome describeHiTSDBInstanceList(const Model::DescribeHiTSDBInstanceListRequest &request)const;
|
||||
void describeHiTSDBInstanceListAsync(const Model::DescribeHiTSDBInstanceListRequest& request, const DescribeHiTSDBInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHiTSDBInstanceListOutcomeCallable describeHiTSDBInstanceListCallable(const Model::DescribeHiTSDBInstanceListRequest& request) const;
|
||||
DescribeHiTSDBInstanceSecurityIpListOutcome describeHiTSDBInstanceSecurityIpList(const Model::DescribeHiTSDBInstanceSecurityIpListRequest &request)const;
|
||||
void describeHiTSDBInstanceSecurityIpListAsync(const Model::DescribeHiTSDBInstanceSecurityIpListRequest& request, const DescribeHiTSDBInstanceSecurityIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHiTSDBInstanceSecurityIpListOutcomeCallable describeHiTSDBInstanceSecurityIpListCallable(const Model::DescribeHiTSDBInstanceSecurityIpListRequest& request) const;
|
||||
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
|
||||
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
|
||||
DescribeZonesOutcome describeZones(const Model::DescribeZonesRequest &request)const;
|
||||
void describeZonesAsync(const Model::DescribeZonesRequest& request, const DescribeZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeZonesOutcomeCallable describeZonesCallable(const Model::DescribeZonesRequest& request) const;
|
||||
ModifyHiTSDBInstanceClassOutcome modifyHiTSDBInstanceClass(const Model::ModifyHiTSDBInstanceClassRequest &request)const;
|
||||
void modifyHiTSDBInstanceClassAsync(const Model::ModifyHiTSDBInstanceClassRequest& request, const ModifyHiTSDBInstanceClassAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyHiTSDBInstanceClassOutcomeCallable modifyHiTSDBInstanceClassCallable(const Model::ModifyHiTSDBInstanceClassRequest& request) const;
|
||||
ModifyHiTSDBInstanceSecurityIpListOutcome modifyHiTSDBInstanceSecurityIpList(const Model::ModifyHiTSDBInstanceSecurityIpListRequest &request)const;
|
||||
void modifyHiTSDBInstanceSecurityIpListAsync(const Model::ModifyHiTSDBInstanceSecurityIpListRequest& request, const ModifyHiTSDBInstanceSecurityIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyHiTSDBInstanceSecurityIpListOutcomeCallable modifyHiTSDBInstanceSecurityIpListCallable(const Model::ModifyHiTSDBInstanceSecurityIpListRequest& request) const;
|
||||
RenameHiTSDBInstanceAliasOutcome renameHiTSDBInstanceAlias(const Model::RenameHiTSDBInstanceAliasRequest &request)const;
|
||||
void renameHiTSDBInstanceAliasAsync(const Model::RenameHiTSDBInstanceAliasRequest& request, const RenameHiTSDBInstanceAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenameHiTSDBInstanceAliasOutcomeCallable renameHiTSDBInstanceAliasCallable(const Model::RenameHiTSDBInstanceAliasRequest& request) const;
|
||||
RenewTSDBInstanceOutcome renewTSDBInstance(const Model::RenewTSDBInstanceRequest &request)const;
|
||||
void renewTSDBInstanceAsync(const Model::RenewTSDBInstanceRequest& request, const RenewTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewTSDBInstanceOutcomeCallable renewTSDBInstanceCallable(const Model::RenewTSDBInstanceRequest& request) const;
|
||||
RestartHiTSDBInstanceOutcome restartHiTSDBInstance(const Model::RestartHiTSDBInstanceRequest &request)const;
|
||||
void restartHiTSDBInstanceAsync(const Model::RestartHiTSDBInstanceRequest& request, const RestartHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartHiTSDBInstanceOutcomeCallable restartHiTSDBInstanceCallable(const Model::RestartHiTSDBInstanceRequest& request) const;
|
||||
SwitchHiTSDBInstancePublicNetOutcome switchHiTSDBInstancePublicNet(const Model::SwitchHiTSDBInstancePublicNetRequest &request)const;
|
||||
void switchHiTSDBInstancePublicNetAsync(const Model::SwitchHiTSDBInstancePublicNetRequest& request, const SwitchHiTSDBInstancePublicNetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SwitchHiTSDBInstancePublicNetOutcomeCallable switchHiTSDBInstancePublicNetCallable(const Model::SwitchHiTSDBInstancePublicNetRequest& request) const;
|
||||
GetLindormInstanceOutcome getLindormInstance(const Model::GetLindormInstanceRequest &request)const;
|
||||
void getLindormInstanceAsync(const Model::GetLindormInstanceRequest& request, const GetLindormInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLindormInstanceOutcomeCallable getLindormInstanceCallable(const Model::GetLindormInstanceRequest& request) const;
|
||||
GetLindormInstanceListOutcome getLindormInstanceList(const Model::GetLindormInstanceListRequest &request)const;
|
||||
void getLindormInstanceListAsync(const Model::GetLindormInstanceListRequest& request, const GetLindormInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLindormInstanceListOutcomeCallable getLindormInstanceListCallable(const Model::GetLindormInstanceListRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -1,123 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_CREATEHITSDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_CREATEHITSDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT CreateHiTSDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateHiTSDBInstanceRequest();
|
||||
~CreateHiTSDBInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDuration()const;
|
||||
void setDuration(const std::string& duration);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getMaxSeriesPerDatabase()const;
|
||||
void setMaxSeriesPerDatabase(const std::string& maxSeriesPerDatabase);
|
||||
std::string getDiskCategory()const;
|
||||
void setDiskCategory(const std::string& diskCategory);
|
||||
std::string getMaxTimelineLimit()const;
|
||||
void setMaxTimelineLimit(const std::string& maxTimelineLimit);
|
||||
std::string getInstanceStorage()const;
|
||||
void setInstanceStorage(const std::string& instanceStorage);
|
||||
std::string getEngineType()const;
|
||||
void setEngineType(const std::string& engineType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getInstanceAlias()const;
|
||||
void setInstanceAlias(const std::string& instanceAlias);
|
||||
std::string getMaxDatabaseLimit()const;
|
||||
void setMaxDatabaseLimit(const std::string& maxDatabaseLimit);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getInstanceTps()const;
|
||||
void setInstanceTps(const std::string& instanceTps);
|
||||
std::string getVPCId()const;
|
||||
void setVPCId(const std::string& vPCId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getTSDBVersion()const;
|
||||
void setTSDBVersion(const std::string& tSDBVersion);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string instanceClass_;
|
||||
std::string accessKeyId_;
|
||||
std::string duration_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string maxSeriesPerDatabase_;
|
||||
std::string diskCategory_;
|
||||
std::string maxTimelineLimit_;
|
||||
std::string instanceStorage_;
|
||||
std::string engineType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string instanceAlias_;
|
||||
std::string maxDatabaseLimit_;
|
||||
long ownerId_;
|
||||
std::string vSwitchId_;
|
||||
std::string instanceName_;
|
||||
std::string instanceTps_;
|
||||
std::string vPCId_;
|
||||
std::string zoneId_;
|
||||
std::string tSDBVersion_;
|
||||
std::string appKey_;
|
||||
std::string payType_;
|
||||
std::string pricingCycle_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_CREATEHITSDBINSTANCEREQUEST_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DeleteHiTSDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteHiTSDBInstanceRequest();
|
||||
~DeleteHiTSDBInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEREQUEST_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeHiTSDBInstanceRequest();
|
||||
~DescribeHiTSDBInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCEREQUEST_H_
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SecurityIp
|
||||
{
|
||||
std::string ip;
|
||||
};
|
||||
|
||||
|
||||
DescribeHiTSDBInstanceResult();
|
||||
explicit DescribeHiTSDBInstanceResult(const std::string &payload);
|
||||
~DescribeHiTSDBInstanceResult();
|
||||
std::string getAutoRenew()const;
|
||||
std::string getGmtCreated()const;
|
||||
std::string getCpuNumber()const;
|
||||
std::string getInstanceAlias()const;
|
||||
std::string getInstanceStatus()const;
|
||||
std::string getNetworkType()const;
|
||||
std::string getGmtExpire()const;
|
||||
std::string getMemSize()const;
|
||||
long getExpiredTime()const;
|
||||
std::string getMaxTimelineLimit()const;
|
||||
std::string getReverseVpcPort()const;
|
||||
std::string getPaymentType()const;
|
||||
std::string getPublicConnectionString()const;
|
||||
std::string getEngineType()const;
|
||||
std::string getInstanceTps()const;
|
||||
std::string getRDSStatus()const;
|
||||
std::string getStatus()const;
|
||||
std::string getInstanceStorage()const;
|
||||
std::string getZoneId()const;
|
||||
std::string getInstanceId()const;
|
||||
long getCreateTime()const;
|
||||
std::string getDiskCategory()const;
|
||||
std::string getInstanceClass()const;
|
||||
std::string getVswitchId()const;
|
||||
int getSeries()const;
|
||||
std::string getVpcId()const;
|
||||
std::vector<SecurityIp> getSecurityIpList()const;
|
||||
std::string getChargeType()const;
|
||||
std::string getReverseVpcIp()const;
|
||||
std::string getInstanceDescription()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getConnectionString()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string autoRenew_;
|
||||
std::string gmtCreated_;
|
||||
std::string cpuNumber_;
|
||||
std::string instanceAlias_;
|
||||
std::string instanceStatus_;
|
||||
std::string networkType_;
|
||||
std::string gmtExpire_;
|
||||
std::string memSize_;
|
||||
long expiredTime_;
|
||||
std::string maxTimelineLimit_;
|
||||
std::string reverseVpcPort_;
|
||||
std::string paymentType_;
|
||||
std::string publicConnectionString_;
|
||||
std::string engineType_;
|
||||
std::string instanceTps_;
|
||||
std::string rDSStatus_;
|
||||
std::string status_;
|
||||
std::string instanceStorage_;
|
||||
std::string zoneId_;
|
||||
std::string instanceId_;
|
||||
long createTime_;
|
||||
std::string diskCategory_;
|
||||
std::string instanceClass_;
|
||||
std::string vswitchId_;
|
||||
int series_;
|
||||
std::string vpcId_;
|
||||
std::vector<SecurityIp> securityIpList_;
|
||||
std::string chargeType_;
|
||||
std::string reverseVpcIp_;
|
||||
std::string instanceDescription_;
|
||||
std::string regionId_;
|
||||
std::string connectionString_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCERESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCESECURITYIPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCESECURITYIPLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceSecurityIpListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeHiTSDBInstanceSecurityIpListRequest();
|
||||
~DescribeHiTSDBInstanceSecurityIpListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string groupName_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCESECURITYIPLISTREQUEST_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEZONESREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEZONESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeZonesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeZonesRequest();
|
||||
~DescribeZonesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getLanguage()const;
|
||||
void setLanguage(const std::string& language);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string language_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEZONESREQUEST_H_
|
||||
@@ -1,56 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEZONESRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEZONESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeZonesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ZoneModel
|
||||
{
|
||||
std::string zoneId;
|
||||
std::string localName;
|
||||
};
|
||||
|
||||
|
||||
DescribeZonesResult();
|
||||
explicit DescribeZonesResult(const std::string &payload);
|
||||
~DescribeZonesResult();
|
||||
std::vector<ZoneModel> getZoneList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ZoneModel> zoneList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEZONESRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCELISTREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,54 +28,54 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceListRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeHiTSDBInstanceListRequest();
|
||||
~DescribeHiTSDBInstanceListRequest();
|
||||
GetLindormInstanceListRequest();
|
||||
~GetLindormInstanceListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStatusList()const;
|
||||
void setStatusList(const std::string& statusList);
|
||||
int getSupportEngine()const;
|
||||
void setSupportEngine(int supportEngine);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getQueryStr()const;
|
||||
void setQueryStr(const std::string& queryStr);
|
||||
std::string getEngineType()const;
|
||||
void setEngineType(const std::string& engineType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getServiceType()const;
|
||||
void setServiceType(const std::string& serviceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string statusList_;
|
||||
int supportEngine_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string queryStr_;
|
||||
std::string engineType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string appKey_;
|
||||
std::string serviceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCELISTREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCELISTRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCELISTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,44 +29,37 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceListResult : public ServiceResult
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Instance
|
||||
struct LindormInstanceSummary
|
||||
{
|
||||
std::string status;
|
||||
long expiredMilliseconds;
|
||||
std::string instanceStorage;
|
||||
std::string zoneId;
|
||||
std::string instanceId;
|
||||
std::string maxSeriesPerDatabase;
|
||||
long createTime;
|
||||
std::string instanceClass;
|
||||
std::string gmtCreated;
|
||||
std::string lockMode;
|
||||
std::string vswitchId;
|
||||
std::string createTime;
|
||||
std::string payType;
|
||||
std::string vpcId;
|
||||
std::string instanceAlias;
|
||||
std::string userId;
|
||||
std::string instanceStatus;
|
||||
std::string chargeType;
|
||||
std::string networkType;
|
||||
std::string gmtExpire;
|
||||
long expiredTime;
|
||||
std::string paymentType;
|
||||
std::string instanceDescription;
|
||||
std::string serviceType;
|
||||
std::string engineType;
|
||||
std::string regionId;
|
||||
std::string instanceTps;
|
||||
std::string expireTime;
|
||||
long createMilliseconds;
|
||||
long aliUid;
|
||||
};
|
||||
|
||||
|
||||
DescribeHiTSDBInstanceListResult();
|
||||
explicit DescribeHiTSDBInstanceListResult(const std::string &payload);
|
||||
~DescribeHiTSDBInstanceListResult();
|
||||
GetLindormInstanceListResult();
|
||||
explicit GetLindormInstanceListResult(const std::string &payload);
|
||||
~GetLindormInstanceListResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotal()const;
|
||||
std::vector<Instance> getInstanceList()const;
|
||||
std::vector<LindormInstanceSummary> getInstanceList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -74,10 +67,10 @@ namespace AlibabaCloud
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int total_;
|
||||
std::vector<Instance> instanceList_;
|
||||
std::vector<LindormInstanceSummary> instanceList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCELISTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RestartHiTSDBInstanceRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RestartHiTSDBInstanceRequest();
|
||||
~RestartHiTSDBInstanceRequest();
|
||||
GetLindormInstanceRequest();
|
||||
~GetLindormInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
@@ -63,4 +66,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,112 @@
|
||||
/*
|
||||
* 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_HITSDB_MODEL_GETLINDORMINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Engine
|
||||
{
|
||||
std::string memorySize;
|
||||
std::string cpuCount;
|
||||
std::string version;
|
||||
std::string engine;
|
||||
bool isLastVersion;
|
||||
std::string coreCount;
|
||||
};
|
||||
|
||||
|
||||
GetLindormInstanceResult();
|
||||
explicit GetLindormInstanceResult(const std::string &payload);
|
||||
~GetLindormInstanceResult();
|
||||
long getExpiredMilliseconds()const;
|
||||
std::vector<Engine> getEngineList()const;
|
||||
std::string getDiskThreshold()const;
|
||||
bool getEnableBDS()const;
|
||||
bool getAutoRenew()const;
|
||||
std::string getDiskUsage()const;
|
||||
bool getEnableFS()const;
|
||||
std::string getInstanceAlias()const;
|
||||
std::string getInstanceStatus()const;
|
||||
std::string getNetworkType()const;
|
||||
std::string getServiceType()const;
|
||||
int getEngineType()const;
|
||||
long getCreateMilliseconds()const;
|
||||
std::string getInstanceStorage()const;
|
||||
std::string getZoneId()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getCreateTime()const;
|
||||
int getColdStorage()const;
|
||||
std::string getDiskCategory()const;
|
||||
std::string getPayType()const;
|
||||
std::string getDeletionProtection()const;
|
||||
std::string getVswitchId()const;
|
||||
std::string getVpcId()const;
|
||||
bool getEnablePhoenix()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getExpireTime()const;
|
||||
long getAliUid()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long expiredMilliseconds_;
|
||||
std::vector<Engine> engineList_;
|
||||
std::string diskThreshold_;
|
||||
bool enableBDS_;
|
||||
bool autoRenew_;
|
||||
std::string diskUsage_;
|
||||
bool enableFS_;
|
||||
std::string instanceAlias_;
|
||||
std::string instanceStatus_;
|
||||
std::string networkType_;
|
||||
std::string serviceType_;
|
||||
int engineType_;
|
||||
long createMilliseconds_;
|
||||
std::string instanceStorage_;
|
||||
std::string zoneId_;
|
||||
std::string instanceId_;
|
||||
std::string createTime_;
|
||||
int coldStorage_;
|
||||
std::string diskCategory_;
|
||||
std::string payType_;
|
||||
std::string deletionProtection_;
|
||||
std::string vswitchId_;
|
||||
std::string vpcId_;
|
||||
bool enablePhoenix_;
|
||||
std::string regionId_;
|
||||
std::string expireTime_;
|
||||
long aliUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCERESULT_H_
|
||||
@@ -1,75 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCECLASSREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCECLASSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT ModifyHiTSDBInstanceClassRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyHiTSDBInstanceClassRequest();
|
||||
~ModifyHiTSDBInstanceClassRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getInstanceStorage()const;
|
||||
void setInstanceStorage(const std::string& instanceStorage);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string instanceClass_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string instanceStorage_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCECLASSREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCECLASSRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCECLASSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT ModifyHiTSDBInstanceClassResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyHiTSDBInstanceClassResult();
|
||||
explicit ModifyHiTSDBInstanceClassResult(const std::string &payload);
|
||||
~ModifyHiTSDBInstanceClassResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCECLASSRESULT_H_
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCESECURITYIPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCESECURITYIPLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT ModifyHiTSDBInstanceSecurityIpListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyHiTSDBInstanceSecurityIpListRequest();
|
||||
~ModifyHiTSDBInstanceSecurityIpListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getSecurityIpList()const;
|
||||
void setSecurityIpList(const std::string& securityIpList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string groupName_;
|
||||
std::string securityIpList_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCESECURITYIPLISTREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCESECURITYIPLISTRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCESECURITYIPLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT ModifyHiTSDBInstanceSecurityIpListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyHiTSDBInstanceSecurityIpListResult();
|
||||
explicit ModifyHiTSDBInstanceSecurityIpListResult(const std::string &payload);
|
||||
~ModifyHiTSDBInstanceSecurityIpListResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCESECURITYIPLISTRESULT_H_
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RENAMEHITSDBINSTANCEALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RENAMEHITSDBINSTANCEALIASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RenameHiTSDBInstanceAliasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RenameHiTSDBInstanceAliasRequest();
|
||||
~RenameHiTSDBInstanceAliasRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getInstanceAlias()const;
|
||||
void setInstanceAlias(const std::string& instanceAlias);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string instanceAlias_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RENAMEHITSDBINSTANCEALIASREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RENAMEHITSDBINSTANCEALIASRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RENAMEHITSDBINSTANCEALIASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RenameHiTSDBInstanceAliasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RenameHiTSDBInstanceAliasResult();
|
||||
explicit RenameHiTSDBInstanceAliasResult(const std::string &payload);
|
||||
~RenameHiTSDBInstanceAliasResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RENAMEHITSDBINSTANCEALIASRESULT_H_
|
||||
@@ -1,75 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RENEWTSDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RENEWTSDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RenewTSDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RenewTSDBInstanceRequest();
|
||||
~RenewTSDBInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
int duration_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string pricingCycle_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RENEWTSDBINSTANCEREQUEST_H_
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RENEWTSDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RENEWTSDBINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RenewTSDBInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RenewTSDBInstanceResult();
|
||||
explicit RenewTSDBInstanceResult(const std::string &payload);
|
||||
~RenewTSDBInstanceResult();
|
||||
long getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RENEWTSDBINSTANCERESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_SWITCHHITSDBINSTANCEPUBLICNETREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_SWITCHHITSDBINSTANCEPUBLICNETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT SwitchHiTSDBInstancePublicNetRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SwitchHiTSDBInstancePublicNetRequest();
|
||||
~SwitchHiTSDBInstancePublicNetRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
long getSwitchAction()const;
|
||||
void setSwitchAction(long switchAction);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
long switchAction_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_SWITCHHITSDBINSTANCEPUBLICNETREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_SWITCHHITSDBINSTANCEPUBLICNETRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_SWITCHHITSDBINSTANCEPUBLICNETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT SwitchHiTSDBInstancePublicNetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SwitchHiTSDBInstancePublicNetResult();
|
||||
explicit SwitchHiTSDBInstancePublicNetResult(const std::string &payload);
|
||||
~SwitchHiTSDBInstancePublicNetResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_SWITCHHITSDBINSTANCEPUBLICNETRESULT_H_
|
||||
@@ -51,186 +51,6 @@ HitsdbClient::HitsdbClient(const std::string & accessKeyId, const std::string &
|
||||
HitsdbClient::~HitsdbClient()
|
||||
{}
|
||||
|
||||
HitsdbClient::CreateHiTSDBInstanceOutcome HitsdbClient::createHiTSDBInstance(const CreateHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateHiTSDBInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateHiTSDBInstanceOutcome(CreateHiTSDBInstanceResult(outcome.result()));
|
||||
else
|
||||
return CreateHiTSDBInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::createHiTSDBInstanceAsync(const CreateHiTSDBInstanceRequest& request, const CreateHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createHiTSDBInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::CreateHiTSDBInstanceOutcomeCallable HitsdbClient::createHiTSDBInstanceCallable(const CreateHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateHiTSDBInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createHiTSDBInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DeleteHiTSDBInstanceOutcome HitsdbClient::deleteHiTSDBInstance(const DeleteHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteHiTSDBInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteHiTSDBInstanceOutcome(DeleteHiTSDBInstanceResult(outcome.result()));
|
||||
else
|
||||
return DeleteHiTSDBInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::deleteHiTSDBInstanceAsync(const DeleteHiTSDBInstanceRequest& request, const DeleteHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteHiTSDBInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::DeleteHiTSDBInstanceOutcomeCallable HitsdbClient::deleteHiTSDBInstanceCallable(const DeleteHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteHiTSDBInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteHiTSDBInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeHiTSDBInstanceOutcome HitsdbClient::describeHiTSDBInstance(const DescribeHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeHiTSDBInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeHiTSDBInstanceOutcome(DescribeHiTSDBInstanceResult(outcome.result()));
|
||||
else
|
||||
return DescribeHiTSDBInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::describeHiTSDBInstanceAsync(const DescribeHiTSDBInstanceRequest& request, const DescribeHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeHiTSDBInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeHiTSDBInstanceOutcomeCallable HitsdbClient::describeHiTSDBInstanceCallable(const DescribeHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeHiTSDBInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeHiTSDBInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeHiTSDBInstanceListOutcome HitsdbClient::describeHiTSDBInstanceList(const DescribeHiTSDBInstanceListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeHiTSDBInstanceListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeHiTSDBInstanceListOutcome(DescribeHiTSDBInstanceListResult(outcome.result()));
|
||||
else
|
||||
return DescribeHiTSDBInstanceListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::describeHiTSDBInstanceListAsync(const DescribeHiTSDBInstanceListRequest& request, const DescribeHiTSDBInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeHiTSDBInstanceList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeHiTSDBInstanceListOutcomeCallable HitsdbClient::describeHiTSDBInstanceListCallable(const DescribeHiTSDBInstanceListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeHiTSDBInstanceListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeHiTSDBInstanceList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeHiTSDBInstanceSecurityIpListOutcome HitsdbClient::describeHiTSDBInstanceSecurityIpList(const DescribeHiTSDBInstanceSecurityIpListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeHiTSDBInstanceSecurityIpListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeHiTSDBInstanceSecurityIpListOutcome(DescribeHiTSDBInstanceSecurityIpListResult(outcome.result()));
|
||||
else
|
||||
return DescribeHiTSDBInstanceSecurityIpListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::describeHiTSDBInstanceSecurityIpListAsync(const DescribeHiTSDBInstanceSecurityIpListRequest& request, const DescribeHiTSDBInstanceSecurityIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeHiTSDBInstanceSecurityIpList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeHiTSDBInstanceSecurityIpListOutcomeCallable HitsdbClient::describeHiTSDBInstanceSecurityIpListCallable(const DescribeHiTSDBInstanceSecurityIpListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeHiTSDBInstanceSecurityIpListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeHiTSDBInstanceSecurityIpList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeRegionsOutcome HitsdbClient::describeRegions(const DescribeRegionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,252 +87,72 @@ HitsdbClient::DescribeRegionsOutcomeCallable HitsdbClient::describeRegionsCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeZonesOutcome HitsdbClient::describeZones(const DescribeZonesRequest &request) const
|
||||
HitsdbClient::GetLindormInstanceOutcome HitsdbClient::getLindormInstance(const GetLindormInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeZonesOutcome(endpointOutcome.error());
|
||||
return GetLindormInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeZonesOutcome(DescribeZonesResult(outcome.result()));
|
||||
return GetLindormInstanceOutcome(GetLindormInstanceResult(outcome.result()));
|
||||
else
|
||||
return DescribeZonesOutcome(outcome.error());
|
||||
return GetLindormInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::describeZonesAsync(const DescribeZonesRequest& request, const DescribeZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void HitsdbClient::getLindormInstanceAsync(const GetLindormInstanceRequest& request, const GetLindormInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeZones(request), context);
|
||||
handler(this, request, getLindormInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeZonesOutcomeCallable HitsdbClient::describeZonesCallable(const DescribeZonesRequest &request) const
|
||||
HitsdbClient::GetLindormInstanceOutcomeCallable HitsdbClient::getLindormInstanceCallable(const GetLindormInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeZonesOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<GetLindormInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeZones(request);
|
||||
return this->getLindormInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::ModifyHiTSDBInstanceClassOutcome HitsdbClient::modifyHiTSDBInstanceClass(const ModifyHiTSDBInstanceClassRequest &request) const
|
||||
HitsdbClient::GetLindormInstanceListOutcome HitsdbClient::getLindormInstanceList(const GetLindormInstanceListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyHiTSDBInstanceClassOutcome(endpointOutcome.error());
|
||||
return GetLindormInstanceListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyHiTSDBInstanceClassOutcome(ModifyHiTSDBInstanceClassResult(outcome.result()));
|
||||
return GetLindormInstanceListOutcome(GetLindormInstanceListResult(outcome.result()));
|
||||
else
|
||||
return ModifyHiTSDBInstanceClassOutcome(outcome.error());
|
||||
return GetLindormInstanceListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::modifyHiTSDBInstanceClassAsync(const ModifyHiTSDBInstanceClassRequest& request, const ModifyHiTSDBInstanceClassAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void HitsdbClient::getLindormInstanceListAsync(const GetLindormInstanceListRequest& request, const GetLindormInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyHiTSDBInstanceClass(request), context);
|
||||
handler(this, request, getLindormInstanceList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::ModifyHiTSDBInstanceClassOutcomeCallable HitsdbClient::modifyHiTSDBInstanceClassCallable(const ModifyHiTSDBInstanceClassRequest &request) const
|
||||
HitsdbClient::GetLindormInstanceListOutcomeCallable HitsdbClient::getLindormInstanceListCallable(const GetLindormInstanceListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyHiTSDBInstanceClassOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<GetLindormInstanceListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyHiTSDBInstanceClass(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::ModifyHiTSDBInstanceSecurityIpListOutcome HitsdbClient::modifyHiTSDBInstanceSecurityIpList(const ModifyHiTSDBInstanceSecurityIpListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyHiTSDBInstanceSecurityIpListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyHiTSDBInstanceSecurityIpListOutcome(ModifyHiTSDBInstanceSecurityIpListResult(outcome.result()));
|
||||
else
|
||||
return ModifyHiTSDBInstanceSecurityIpListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::modifyHiTSDBInstanceSecurityIpListAsync(const ModifyHiTSDBInstanceSecurityIpListRequest& request, const ModifyHiTSDBInstanceSecurityIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyHiTSDBInstanceSecurityIpList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::ModifyHiTSDBInstanceSecurityIpListOutcomeCallable HitsdbClient::modifyHiTSDBInstanceSecurityIpListCallable(const ModifyHiTSDBInstanceSecurityIpListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyHiTSDBInstanceSecurityIpListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyHiTSDBInstanceSecurityIpList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::RenameHiTSDBInstanceAliasOutcome HitsdbClient::renameHiTSDBInstanceAlias(const RenameHiTSDBInstanceAliasRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RenameHiTSDBInstanceAliasOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RenameHiTSDBInstanceAliasOutcome(RenameHiTSDBInstanceAliasResult(outcome.result()));
|
||||
else
|
||||
return RenameHiTSDBInstanceAliasOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::renameHiTSDBInstanceAliasAsync(const RenameHiTSDBInstanceAliasRequest& request, const RenameHiTSDBInstanceAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, renameHiTSDBInstanceAlias(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::RenameHiTSDBInstanceAliasOutcomeCallable HitsdbClient::renameHiTSDBInstanceAliasCallable(const RenameHiTSDBInstanceAliasRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RenameHiTSDBInstanceAliasOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->renameHiTSDBInstanceAlias(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::RenewTSDBInstanceOutcome HitsdbClient::renewTSDBInstance(const RenewTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RenewTSDBInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RenewTSDBInstanceOutcome(RenewTSDBInstanceResult(outcome.result()));
|
||||
else
|
||||
return RenewTSDBInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::renewTSDBInstanceAsync(const RenewTSDBInstanceRequest& request, const RenewTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, renewTSDBInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::RenewTSDBInstanceOutcomeCallable HitsdbClient::renewTSDBInstanceCallable(const RenewTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RenewTSDBInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->renewTSDBInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::RestartHiTSDBInstanceOutcome HitsdbClient::restartHiTSDBInstance(const RestartHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RestartHiTSDBInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RestartHiTSDBInstanceOutcome(RestartHiTSDBInstanceResult(outcome.result()));
|
||||
else
|
||||
return RestartHiTSDBInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::restartHiTSDBInstanceAsync(const RestartHiTSDBInstanceRequest& request, const RestartHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, restartHiTSDBInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::RestartHiTSDBInstanceOutcomeCallable HitsdbClient::restartHiTSDBInstanceCallable(const RestartHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RestartHiTSDBInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->restartHiTSDBInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::SwitchHiTSDBInstancePublicNetOutcome HitsdbClient::switchHiTSDBInstancePublicNet(const SwitchHiTSDBInstancePublicNetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SwitchHiTSDBInstancePublicNetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SwitchHiTSDBInstancePublicNetOutcome(SwitchHiTSDBInstancePublicNetResult(outcome.result()));
|
||||
else
|
||||
return SwitchHiTSDBInstancePublicNetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::switchHiTSDBInstancePublicNetAsync(const SwitchHiTSDBInstancePublicNetRequest& request, const SwitchHiTSDBInstancePublicNetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, switchHiTSDBInstancePublicNet(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::SwitchHiTSDBInstancePublicNetOutcomeCallable HitsdbClient::switchHiTSDBInstancePublicNetCallable(const SwitchHiTSDBInstancePublicNetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SwitchHiTSDBInstancePublicNetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->switchHiTSDBInstancePublicNet(request);
|
||||
return this->getLindormInstanceList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
|
||||
@@ -1,315 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/CreateHiTSDBInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::CreateHiTSDBInstanceRequest;
|
||||
|
||||
CreateHiTSDBInstanceRequest::CreateHiTSDBInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "CreateHiTSDBInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateHiTSDBInstanceRequest::~CreateHiTSDBInstanceRequest()
|
||||
{}
|
||||
|
||||
long CreateHiTSDBInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getInstanceClass()const
|
||||
{
|
||||
return instanceClass_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setInstanceClass(const std::string& instanceClass)
|
||||
{
|
||||
instanceClass_ = instanceClass;
|
||||
setParameter("InstanceClass", instanceClass);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getDuration()const
|
||||
{
|
||||
return duration_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setDuration(const std::string& duration)
|
||||
{
|
||||
duration_ = duration;
|
||||
setParameter("Duration", duration);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getMaxSeriesPerDatabase()const
|
||||
{
|
||||
return maxSeriesPerDatabase_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setMaxSeriesPerDatabase(const std::string& maxSeriesPerDatabase)
|
||||
{
|
||||
maxSeriesPerDatabase_ = maxSeriesPerDatabase;
|
||||
setParameter("MaxSeriesPerDatabase", maxSeriesPerDatabase);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getDiskCategory()const
|
||||
{
|
||||
return diskCategory_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setDiskCategory(const std::string& diskCategory)
|
||||
{
|
||||
diskCategory_ = diskCategory;
|
||||
setParameter("DiskCategory", diskCategory);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getMaxTimelineLimit()const
|
||||
{
|
||||
return maxTimelineLimit_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setMaxTimelineLimit(const std::string& maxTimelineLimit)
|
||||
{
|
||||
maxTimelineLimit_ = maxTimelineLimit;
|
||||
setParameter("MaxTimelineLimit", maxTimelineLimit);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getInstanceStorage()const
|
||||
{
|
||||
return instanceStorage_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setInstanceStorage(const std::string& instanceStorage)
|
||||
{
|
||||
instanceStorage_ = instanceStorage;
|
||||
setParameter("InstanceStorage", instanceStorage);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getEngineType()const
|
||||
{
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setEngineType(const std::string& engineType)
|
||||
{
|
||||
engineType_ = engineType;
|
||||
setParameter("EngineType", engineType);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getInstanceAlias()const
|
||||
{
|
||||
return instanceAlias_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setInstanceAlias(const std::string& instanceAlias)
|
||||
{
|
||||
instanceAlias_ = instanceAlias;
|
||||
setParameter("InstanceAlias", instanceAlias);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getMaxDatabaseLimit()const
|
||||
{
|
||||
return maxDatabaseLimit_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setMaxDatabaseLimit(const std::string& maxDatabaseLimit)
|
||||
{
|
||||
maxDatabaseLimit_ = maxDatabaseLimit;
|
||||
setParameter("MaxDatabaseLimit", maxDatabaseLimit);
|
||||
}
|
||||
|
||||
long CreateHiTSDBInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setInstanceName(const std::string& instanceName)
|
||||
{
|
||||
instanceName_ = instanceName;
|
||||
setParameter("InstanceName", instanceName);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getInstanceTps()const
|
||||
{
|
||||
return instanceTps_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setInstanceTps(const std::string& instanceTps)
|
||||
{
|
||||
instanceTps_ = instanceTps;
|
||||
setParameter("InstanceTps", instanceTps);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getVPCId()const
|
||||
{
|
||||
return vPCId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setVPCId(const std::string& vPCId)
|
||||
{
|
||||
vPCId_ = vPCId;
|
||||
setParameter("VPCId", vPCId);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getTSDBVersion()const
|
||||
{
|
||||
return tSDBVersion_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setTSDBVersion(const std::string& tSDBVersion)
|
||||
{
|
||||
tSDBVersion_ = tSDBVersion;
|
||||
setParameter("TSDBVersion", tSDBVersion);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setPayType(const std::string& payType)
|
||||
{
|
||||
payType_ = payType;
|
||||
setParameter("PayType", payType);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getPricingCycle()const
|
||||
{
|
||||
return pricingCycle_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setPricingCycle(const std::string& pricingCycle)
|
||||
{
|
||||
pricingCycle_ = pricingCycle;
|
||||
setParameter("PricingCycle", pricingCycle);
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/CreateHiTSDBInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
CreateHiTSDBInstanceResult::CreateHiTSDBInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateHiTSDBInstanceResult::CreateHiTSDBInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateHiTSDBInstanceResult::~CreateHiTSDBInstanceResult()
|
||||
{}
|
||||
|
||||
void CreateHiTSDBInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = std::stol(value["OrderId"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
long CreateHiTSDBInstanceResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DeleteHiTSDBInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DeleteHiTSDBInstanceRequest;
|
||||
|
||||
DeleteHiTSDBInstanceRequest::DeleteHiTSDBInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "DeleteHiTSDBInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteHiTSDBInstanceRequest::~DeleteHiTSDBInstanceRequest()
|
||||
{}
|
||||
|
||||
long DeleteHiTSDBInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteHiTSDBInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteHiTSDBInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteHiTSDBInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteHiTSDBInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteHiTSDBInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteHiTSDBInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DeleteHiTSDBInstanceRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DeleteHiTSDBInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
DeleteHiTSDBInstanceResult::DeleteHiTSDBInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteHiTSDBInstanceResult::DeleteHiTSDBInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteHiTSDBInstanceResult::~DeleteHiTSDBInstanceResult()
|
||||
{}
|
||||
|
||||
void DeleteHiTSDBInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,161 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DescribeHiTSDBInstanceListRequest;
|
||||
|
||||
DescribeHiTSDBInstanceListRequest::DescribeHiTSDBInstanceListRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "DescribeHiTSDBInstanceList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeHiTSDBInstanceListRequest::~DescribeHiTSDBInstanceListRequest()
|
||||
{}
|
||||
|
||||
long DescribeHiTSDBInstanceListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getStatusList()const
|
||||
{
|
||||
return statusList_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setStatusList(const std::string& statusList)
|
||||
{
|
||||
statusList_ = statusList;
|
||||
setParameter("StatusList", statusList);
|
||||
}
|
||||
|
||||
int DescribeHiTSDBInstanceListRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
int DescribeHiTSDBInstanceListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getQueryStr()const
|
||||
{
|
||||
return queryStr_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setQueryStr(const std::string& queryStr)
|
||||
{
|
||||
queryStr_ = queryStr;
|
||||
setParameter("QueryStr", queryStr);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getEngineType()const
|
||||
{
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setEngineType(const std::string& engineType)
|
||||
{
|
||||
engineType_ = engineType;
|
||||
setParameter("EngineType", engineType);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeHiTSDBInstanceListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
@@ -1,122 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
DescribeHiTSDBInstanceListResult::DescribeHiTSDBInstanceListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeHiTSDBInstanceListResult::DescribeHiTSDBInstanceListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeHiTSDBInstanceListResult::~DescribeHiTSDBInstanceListResult()
|
||||
{}
|
||||
|
||||
void DescribeHiTSDBInstanceListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allInstanceListNode = value["InstanceList"]["Instance"];
|
||||
for (auto valueInstanceListInstance : allInstanceListNode)
|
||||
{
|
||||
Instance instanceListObject;
|
||||
if(!valueInstanceListInstance["InstanceId"].isNull())
|
||||
instanceListObject.instanceId = valueInstanceListInstance["InstanceId"].asString();
|
||||
if(!valueInstanceListInstance["InstanceAlias"].isNull())
|
||||
instanceListObject.instanceAlias = valueInstanceListInstance["InstanceAlias"].asString();
|
||||
if(!valueInstanceListInstance["InstanceDescription"].isNull())
|
||||
instanceListObject.instanceDescription = valueInstanceListInstance["InstanceDescription"].asString();
|
||||
if(!valueInstanceListInstance["UserId"].isNull())
|
||||
instanceListObject.userId = valueInstanceListInstance["UserId"].asString();
|
||||
if(!valueInstanceListInstance["RegionId"].isNull())
|
||||
instanceListObject.regionId = valueInstanceListInstance["RegionId"].asString();
|
||||
if(!valueInstanceListInstance["ZoneId"].isNull())
|
||||
instanceListObject.zoneId = valueInstanceListInstance["ZoneId"].asString();
|
||||
if(!valueInstanceListInstance["InstanceStatus"].isNull())
|
||||
instanceListObject.instanceStatus = valueInstanceListInstance["InstanceStatus"].asString();
|
||||
if(!valueInstanceListInstance["ChargeType"].isNull())
|
||||
instanceListObject.chargeType = valueInstanceListInstance["ChargeType"].asString();
|
||||
if(!valueInstanceListInstance["NetworkType"].isNull())
|
||||
instanceListObject.networkType = valueInstanceListInstance["NetworkType"].asString();
|
||||
if(!valueInstanceListInstance["GmtCreated"].isNull())
|
||||
instanceListObject.gmtCreated = valueInstanceListInstance["GmtCreated"].asString();
|
||||
if(!valueInstanceListInstance["GmtExpire"].isNull())
|
||||
instanceListObject.gmtExpire = valueInstanceListInstance["GmtExpire"].asString();
|
||||
if(!valueInstanceListInstance["InstanceClass"].isNull())
|
||||
instanceListObject.instanceClass = valueInstanceListInstance["InstanceClass"].asString();
|
||||
if(!valueInstanceListInstance["InstanceStorage"].isNull())
|
||||
instanceListObject.instanceStorage = valueInstanceListInstance["InstanceStorage"].asString();
|
||||
if(!valueInstanceListInstance["InstanceTps"].isNull())
|
||||
instanceListObject.instanceTps = valueInstanceListInstance["InstanceTps"].asString();
|
||||
if(!valueInstanceListInstance["LockMode"].isNull())
|
||||
instanceListObject.lockMode = valueInstanceListInstance["LockMode"].asString();
|
||||
if(!valueInstanceListInstance["EngineType"].isNull())
|
||||
instanceListObject.engineType = valueInstanceListInstance["EngineType"].asString();
|
||||
if(!valueInstanceListInstance["MaxSeriesPerDatabase"].isNull())
|
||||
instanceListObject.maxSeriesPerDatabase = valueInstanceListInstance["MaxSeriesPerDatabase"].asString();
|
||||
if(!valueInstanceListInstance["VpcId"].isNull())
|
||||
instanceListObject.vpcId = valueInstanceListInstance["VpcId"].asString();
|
||||
if(!valueInstanceListInstance["VswitchId"].isNull())
|
||||
instanceListObject.vswitchId = valueInstanceListInstance["VswitchId"].asString();
|
||||
if(!valueInstanceListInstance["Status"].isNull())
|
||||
instanceListObject.status = valueInstanceListInstance["Status"].asString();
|
||||
if(!valueInstanceListInstance["PaymentType"].isNull())
|
||||
instanceListObject.paymentType = valueInstanceListInstance["PaymentType"].asString();
|
||||
if(!valueInstanceListInstance["CreateTime"].isNull())
|
||||
instanceListObject.createTime = std::stol(valueInstanceListInstance["CreateTime"].asString());
|
||||
if(!valueInstanceListInstance["ExpiredTime"].isNull())
|
||||
instanceListObject.expiredTime = std::stol(valueInstanceListInstance["ExpiredTime"].asString());
|
||||
instanceList_.push_back(instanceListObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stoi(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeHiTSDBInstanceListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeHiTSDBInstanceListResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeHiTSDBInstanceListResult::getTotal()const
|
||||
{
|
||||
return total_;
|
||||
}
|
||||
|
||||
std::vector<DescribeHiTSDBInstanceListResult::Instance> DescribeHiTSDBInstanceListResult::getInstanceList()const
|
||||
{
|
||||
return instanceList_;
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DescribeHiTSDBInstanceRequest;
|
||||
|
||||
DescribeHiTSDBInstanceRequest::DescribeHiTSDBInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "DescribeHiTSDBInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeHiTSDBInstanceRequest::~DescribeHiTSDBInstanceRequest()
|
||||
{}
|
||||
|
||||
long DescribeHiTSDBInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeHiTSDBInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
@@ -1,274 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
DescribeHiTSDBInstanceResult::DescribeHiTSDBInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeHiTSDBInstanceResult::DescribeHiTSDBInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeHiTSDBInstanceResult::~DescribeHiTSDBInstanceResult()
|
||||
{}
|
||||
|
||||
void DescribeHiTSDBInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSecurityIpListNode = value["SecurityIpList"]["SecurityIp"];
|
||||
for (auto valueSecurityIpListSecurityIp : allSecurityIpListNode)
|
||||
{
|
||||
SecurityIp securityIpListObject;
|
||||
if(!valueSecurityIpListSecurityIp["Ip"].isNull())
|
||||
securityIpListObject.ip = valueSecurityIpListSecurityIp["Ip"].asString();
|
||||
securityIpList_.push_back(securityIpListObject);
|
||||
}
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["InstanceAlias"].isNull())
|
||||
instanceAlias_ = value["InstanceAlias"].asString();
|
||||
if(!value["InstanceDescription"].isNull())
|
||||
instanceDescription_ = value["InstanceDescription"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
if(!value["ZoneId"].isNull())
|
||||
zoneId_ = value["ZoneId"].asString();
|
||||
if(!value["InstanceStatus"].isNull())
|
||||
instanceStatus_ = value["InstanceStatus"].asString();
|
||||
if(!value["ChargeType"].isNull())
|
||||
chargeType_ = value["ChargeType"].asString();
|
||||
if(!value["NetworkType"].isNull())
|
||||
networkType_ = value["NetworkType"].asString();
|
||||
if(!value["GmtCreated"].isNull())
|
||||
gmtCreated_ = value["GmtCreated"].asString();
|
||||
if(!value["GmtExpire"].isNull())
|
||||
gmtExpire_ = value["GmtExpire"].asString();
|
||||
if(!value["InstanceClass"].isNull())
|
||||
instanceClass_ = value["InstanceClass"].asString();
|
||||
if(!value["MaxTimelineLimit"].isNull())
|
||||
maxTimelineLimit_ = value["MaxTimelineLimit"].asString();
|
||||
if(!value["InstanceStorage"].isNull())
|
||||
instanceStorage_ = value["InstanceStorage"].asString();
|
||||
if(!value["InstanceTps"].isNull())
|
||||
instanceTps_ = value["InstanceTps"].asString();
|
||||
if(!value["ReverseVpcIp"].isNull())
|
||||
reverseVpcIp_ = value["ReverseVpcIp"].asString();
|
||||
if(!value["ReverseVpcPort"].isNull())
|
||||
reverseVpcPort_ = value["ReverseVpcPort"].asString();
|
||||
if(!value["VpcId"].isNull())
|
||||
vpcId_ = value["VpcId"].asString();
|
||||
if(!value["VswitchId"].isNull())
|
||||
vswitchId_ = value["VswitchId"].asString();
|
||||
if(!value["ConnectionString"].isNull())
|
||||
connectionString_ = value["ConnectionString"].asString();
|
||||
if(!value["PublicConnectionString"].isNull())
|
||||
publicConnectionString_ = value["PublicConnectionString"].asString();
|
||||
if(!value["AutoRenew"].isNull())
|
||||
autoRenew_ = value["AutoRenew"].asString();
|
||||
if(!value["EngineType"].isNull())
|
||||
engineType_ = value["EngineType"].asString();
|
||||
if(!value["CpuNumber"].isNull())
|
||||
cpuNumber_ = value["CpuNumber"].asString();
|
||||
if(!value["MemSize"].isNull())
|
||||
memSize_ = value["MemSize"].asString();
|
||||
if(!value["Series"].isNull())
|
||||
series_ = std::stoi(value["Series"].asString());
|
||||
if(!value["RDSStatus"].isNull())
|
||||
rDSStatus_ = value["RDSStatus"].asString();
|
||||
if(!value["DiskCategory"].isNull())
|
||||
diskCategory_ = value["DiskCategory"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["PaymentType"].isNull())
|
||||
paymentType_ = value["PaymentType"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = std::stol(value["CreateTime"].asString());
|
||||
if(!value["ExpiredTime"].isNull())
|
||||
expiredTime_ = std::stol(value["ExpiredTime"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getGmtCreated()const
|
||||
{
|
||||
return gmtCreated_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getCpuNumber()const
|
||||
{
|
||||
return cpuNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceAlias()const
|
||||
{
|
||||
return instanceAlias_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceStatus()const
|
||||
{
|
||||
return instanceStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getNetworkType()const
|
||||
{
|
||||
return networkType_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getGmtExpire()const
|
||||
{
|
||||
return gmtExpire_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getMemSize()const
|
||||
{
|
||||
return memSize_;
|
||||
}
|
||||
|
||||
long DescribeHiTSDBInstanceResult::getExpiredTime()const
|
||||
{
|
||||
return expiredTime_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getMaxTimelineLimit()const
|
||||
{
|
||||
return maxTimelineLimit_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getReverseVpcPort()const
|
||||
{
|
||||
return reverseVpcPort_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getPaymentType()const
|
||||
{
|
||||
return paymentType_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getPublicConnectionString()const
|
||||
{
|
||||
return publicConnectionString_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getEngineType()const
|
||||
{
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceTps()const
|
||||
{
|
||||
return instanceTps_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getRDSStatus()const
|
||||
{
|
||||
return rDSStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceStorage()const
|
||||
{
|
||||
return instanceStorage_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
long DescribeHiTSDBInstanceResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getDiskCategory()const
|
||||
{
|
||||
return diskCategory_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceClass()const
|
||||
{
|
||||
return instanceClass_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getVswitchId()const
|
||||
{
|
||||
return vswitchId_;
|
||||
}
|
||||
|
||||
int DescribeHiTSDBInstanceResult::getSeries()const
|
||||
{
|
||||
return series_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
std::vector<DescribeHiTSDBInstanceResult::SecurityIp> DescribeHiTSDBInstanceResult::getSecurityIpList()const
|
||||
{
|
||||
return securityIpList_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getChargeType()const
|
||||
{
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getReverseVpcIp()const
|
||||
{
|
||||
return reverseVpcIp_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceDescription()const
|
||||
{
|
||||
return instanceDescription_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getConnectionString()const
|
||||
{
|
||||
return connectionString_;
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceSecurityIpListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DescribeHiTSDBInstanceSecurityIpListRequest;
|
||||
|
||||
DescribeHiTSDBInstanceSecurityIpListRequest::DescribeHiTSDBInstanceSecurityIpListRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "DescribeHiTSDBInstanceSecurityIpList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeHiTSDBInstanceSecurityIpListRequest::~DescribeHiTSDBInstanceSecurityIpListRequest()
|
||||
{}
|
||||
|
||||
long DescribeHiTSDBInstanceSecurityIpListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceSecurityIpListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceSecurityIpListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceSecurityIpListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceSecurityIpListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeHiTSDBInstanceSecurityIpListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceSecurityIpListRequest::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setGroupName(const std::string& groupName)
|
||||
{
|
||||
groupName_ = groupName;
|
||||
setParameter("GroupName", groupName);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceSecurityIpListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceSecurityIpListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
DescribeHiTSDBInstanceSecurityIpListResult::DescribeHiTSDBInstanceSecurityIpListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeHiTSDBInstanceSecurityIpListResult::DescribeHiTSDBInstanceSecurityIpListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeHiTSDBInstanceSecurityIpListResult::~DescribeHiTSDBInstanceSecurityIpListResult()
|
||||
{}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSecurityIpListNode = value["SecurityIpList"]["SecurityIp"];
|
||||
for (auto valueSecurityIpListSecurityIp : allSecurityIpListNode)
|
||||
{
|
||||
SecurityIp securityIpListObject;
|
||||
if(!valueSecurityIpListSecurityIp["Ip"].isNull())
|
||||
securityIpListObject.ip = valueSecurityIpListSecurityIp["Ip"].asString();
|
||||
securityIpList_.push_back(securityIpListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeHiTSDBInstanceSecurityIpListResult::SecurityIp> DescribeHiTSDBInstanceSecurityIpListResult::getSecurityIpList()const
|
||||
{
|
||||
return securityIpList_;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Hitsdb::Model::DescribeRegionsRequest;
|
||||
|
||||
DescribeRegionsRequest::DescribeRegionsRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "DescribeRegions")
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "DescribeRegions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeZonesRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DescribeZonesRequest;
|
||||
|
||||
DescribeZonesRequest::DescribeZonesRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "DescribeZones")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeZonesRequest::~DescribeZonesRequest()
|
||||
{}
|
||||
|
||||
long DescribeZonesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeZonesRequest::getLanguage()const
|
||||
{
|
||||
return language_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setLanguage(const std::string& language)
|
||||
{
|
||||
language_ = language;
|
||||
setParameter("Language", language);
|
||||
}
|
||||
|
||||
std::string DescribeZonesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeZonesRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeZonesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeZonesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeZonesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeZonesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
DescribeZonesResult::DescribeZonesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeZonesResult::DescribeZonesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeZonesResult::~DescribeZonesResult()
|
||||
{}
|
||||
|
||||
void DescribeZonesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allZoneListNode = value["ZoneList"]["ZoneModel"];
|
||||
for (auto valueZoneListZoneModel : allZoneListNode)
|
||||
{
|
||||
ZoneModel zoneListObject;
|
||||
if(!valueZoneListZoneModel["ZoneId"].isNull())
|
||||
zoneListObject.zoneId = valueZoneListZoneModel["ZoneId"].asString();
|
||||
if(!valueZoneListZoneModel["LocalName"].isNull())
|
||||
zoneListObject.localName = valueZoneListZoneModel["LocalName"].asString();
|
||||
zoneList_.push_back(zoneListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeZonesResult::ZoneModel> DescribeZonesResult::getZoneList()const
|
||||
{
|
||||
return zoneList_;
|
||||
}
|
||||
|
||||
161
hitsdb/src/model/GetLindormInstanceListRequest.cc
Normal file
161
hitsdb/src/model/GetLindormInstanceListRequest.cc
Normal file
@@ -0,0 +1,161 @@
|
||||
/*
|
||||
* 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/hitsdb/model/GetLindormInstanceListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceListRequest;
|
||||
|
||||
GetLindormInstanceListRequest::GetLindormInstanceListRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstanceList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetLindormInstanceListRequest::~GetLindormInstanceListRequest()
|
||||
{}
|
||||
|
||||
long GetLindormInstanceListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int GetLindormInstanceListRequest::getSupportEngine()const
|
||||
{
|
||||
return supportEngine_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setSupportEngine(int supportEngine)
|
||||
{
|
||||
supportEngine_ = supportEngine;
|
||||
setParameter("SupportEngine", std::to_string(supportEngine));
|
||||
}
|
||||
|
||||
int GetLindormInstanceListRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int GetLindormInstanceListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getQueryStr()const
|
||||
{
|
||||
return queryStr_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setQueryStr(const std::string& queryStr)
|
||||
{
|
||||
queryStr_ = queryStr;
|
||||
setParameter("QueryStr", queryStr);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long GetLindormInstanceListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getServiceType()const
|
||||
{
|
||||
return serviceType_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setServiceType(const std::string& serviceType)
|
||||
{
|
||||
serviceType_ = serviceType;
|
||||
setParameter("ServiceType", serviceType);
|
||||
}
|
||||
|
||||
108
hitsdb/src/model/GetLindormInstanceListResult.cc
Normal file
108
hitsdb/src/model/GetLindormInstanceListResult.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/GetLindormInstanceListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
GetLindormInstanceListResult::GetLindormInstanceListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetLindormInstanceListResult::GetLindormInstanceListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetLindormInstanceListResult::~GetLindormInstanceListResult()
|
||||
{}
|
||||
|
||||
void GetLindormInstanceListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allInstanceListNode = value["InstanceList"]["LindormInstanceSummary"];
|
||||
for (auto valueInstanceListLindormInstanceSummary : allInstanceListNode)
|
||||
{
|
||||
LindormInstanceSummary instanceListObject;
|
||||
if(!valueInstanceListLindormInstanceSummary["InstanceId"].isNull())
|
||||
instanceListObject.instanceId = valueInstanceListLindormInstanceSummary["InstanceId"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["InstanceAlias"].isNull())
|
||||
instanceListObject.instanceAlias = valueInstanceListLindormInstanceSummary["InstanceAlias"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["RegionId"].isNull())
|
||||
instanceListObject.regionId = valueInstanceListLindormInstanceSummary["RegionId"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["ZoneId"].isNull())
|
||||
instanceListObject.zoneId = valueInstanceListLindormInstanceSummary["ZoneId"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["InstanceStatus"].isNull())
|
||||
instanceListObject.instanceStatus = valueInstanceListLindormInstanceSummary["InstanceStatus"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["PayType"].isNull())
|
||||
instanceListObject.payType = valueInstanceListLindormInstanceSummary["PayType"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["NetworkType"].isNull())
|
||||
instanceListObject.networkType = valueInstanceListLindormInstanceSummary["NetworkType"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["CreateTime"].isNull())
|
||||
instanceListObject.createTime = valueInstanceListLindormInstanceSummary["CreateTime"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["ExpireTime"].isNull())
|
||||
instanceListObject.expireTime = valueInstanceListLindormInstanceSummary["ExpireTime"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["InstanceStorage"].isNull())
|
||||
instanceListObject.instanceStorage = valueInstanceListLindormInstanceSummary["InstanceStorage"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["ServiceType"].isNull())
|
||||
instanceListObject.serviceType = valueInstanceListLindormInstanceSummary["ServiceType"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["EngineType"].isNull())
|
||||
instanceListObject.engineType = valueInstanceListLindormInstanceSummary["EngineType"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["AliUid"].isNull())
|
||||
instanceListObject.aliUid = std::stol(valueInstanceListLindormInstanceSummary["AliUid"].asString());
|
||||
if(!valueInstanceListLindormInstanceSummary["VpcId"].isNull())
|
||||
instanceListObject.vpcId = valueInstanceListLindormInstanceSummary["VpcId"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["CreateMilliseconds"].isNull())
|
||||
instanceListObject.createMilliseconds = std::stol(valueInstanceListLindormInstanceSummary["CreateMilliseconds"].asString());
|
||||
if(!valueInstanceListLindormInstanceSummary["ExpiredMilliseconds"].isNull())
|
||||
instanceListObject.expiredMilliseconds = std::stol(valueInstanceListLindormInstanceSummary["ExpiredMilliseconds"].asString());
|
||||
instanceList_.push_back(instanceListObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stoi(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
int GetLindormInstanceListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int GetLindormInstanceListResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int GetLindormInstanceListResult::getTotal()const
|
||||
{
|
||||
return total_;
|
||||
}
|
||||
|
||||
std::vector<GetLindormInstanceListResult::LindormInstanceSummary> GetLindormInstanceListResult::getInstanceList()const
|
||||
{
|
||||
return instanceList_;
|
||||
}
|
||||
|
||||
117
hitsdb/src/model/GetLindormInstanceRequest.cc
Normal file
117
hitsdb/src/model/GetLindormInstanceRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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/hitsdb/model/GetLindormInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceRequest;
|
||||
|
||||
GetLindormInstanceRequest::GetLindormInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetLindormInstanceRequest::~GetLindormInstanceRequest()
|
||||
{}
|
||||
|
||||
long GetLindormInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long GetLindormInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
249
hitsdb/src/model/GetLindormInstanceResult.cc
Normal file
249
hitsdb/src/model/GetLindormInstanceResult.cc
Normal file
@@ -0,0 +1,249 @@
|
||||
/*
|
||||
* 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/hitsdb/model/GetLindormInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
GetLindormInstanceResult::GetLindormInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetLindormInstanceResult::GetLindormInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetLindormInstanceResult::~GetLindormInstanceResult()
|
||||
{}
|
||||
|
||||
void GetLindormInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEngineListNode = value["EngineList"]["Engine"];
|
||||
for (auto valueEngineListEngine : allEngineListNode)
|
||||
{
|
||||
Engine engineListObject;
|
||||
if(!valueEngineListEngine["Engine"].isNull())
|
||||
engineListObject.engine = valueEngineListEngine["Engine"].asString();
|
||||
if(!valueEngineListEngine["Version"].isNull())
|
||||
engineListObject.version = valueEngineListEngine["Version"].asString();
|
||||
if(!valueEngineListEngine["CpuCount"].isNull())
|
||||
engineListObject.cpuCount = valueEngineListEngine["CpuCount"].asString();
|
||||
if(!valueEngineListEngine["MemorySize"].isNull())
|
||||
engineListObject.memorySize = valueEngineListEngine["MemorySize"].asString();
|
||||
if(!valueEngineListEngine["CoreCount"].isNull())
|
||||
engineListObject.coreCount = valueEngineListEngine["CoreCount"].asString();
|
||||
if(!valueEngineListEngine["IsLastVersion"].isNull())
|
||||
engineListObject.isLastVersion = valueEngineListEngine["IsLastVersion"].asString() == "true";
|
||||
engineList_.push_back(engineListObject);
|
||||
}
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["InstanceAlias"].isNull())
|
||||
instanceAlias_ = value["InstanceAlias"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
if(!value["ZoneId"].isNull())
|
||||
zoneId_ = value["ZoneId"].asString();
|
||||
if(!value["InstanceStatus"].isNull())
|
||||
instanceStatus_ = value["InstanceStatus"].asString();
|
||||
if(!value["PayType"].isNull())
|
||||
payType_ = value["PayType"].asString();
|
||||
if(!value["NetworkType"].isNull())
|
||||
networkType_ = value["NetworkType"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["ExpireTime"].isNull())
|
||||
expireTime_ = value["ExpireTime"].asString();
|
||||
if(!value["InstanceStorage"].isNull())
|
||||
instanceStorage_ = value["InstanceStorage"].asString();
|
||||
if(!value["VpcId"].isNull())
|
||||
vpcId_ = value["VpcId"].asString();
|
||||
if(!value["VswitchId"].isNull())
|
||||
vswitchId_ = value["VswitchId"].asString();
|
||||
if(!value["AutoRenew"].isNull())
|
||||
autoRenew_ = value["AutoRenew"].asString() == "true";
|
||||
if(!value["EngineType"].isNull())
|
||||
engineType_ = std::stoi(value["EngineType"].asString());
|
||||
if(!value["ServiceType"].isNull())
|
||||
serviceType_ = value["ServiceType"].asString();
|
||||
if(!value["DeletionProtection"].isNull())
|
||||
deletionProtection_ = value["DeletionProtection"].asString();
|
||||
if(!value["DiskCategory"].isNull())
|
||||
diskCategory_ = value["DiskCategory"].asString();
|
||||
if(!value["ColdStorage"].isNull())
|
||||
coldStorage_ = std::stoi(value["ColdStorage"].asString());
|
||||
if(!value["EnableBDS"].isNull())
|
||||
enableBDS_ = value["EnableBDS"].asString() == "true";
|
||||
if(!value["AliUid"].isNull())
|
||||
aliUid_ = std::stol(value["AliUid"].asString());
|
||||
if(!value["EnableFS"].isNull())
|
||||
enableFS_ = value["EnableFS"].asString() == "true";
|
||||
if(!value["EnablePhoenix"].isNull())
|
||||
enablePhoenix_ = value["EnablePhoenix"].asString() == "true";
|
||||
if(!value["DiskUsage"].isNull())
|
||||
diskUsage_ = value["DiskUsage"].asString();
|
||||
if(!value["DiskThreshold"].isNull())
|
||||
diskThreshold_ = value["DiskThreshold"].asString();
|
||||
if(!value["CreateMilliseconds"].isNull())
|
||||
createMilliseconds_ = std::stol(value["CreateMilliseconds"].asString());
|
||||
if(!value["ExpiredMilliseconds"].isNull())
|
||||
expiredMilliseconds_ = std::stol(value["ExpiredMilliseconds"].asString());
|
||||
|
||||
}
|
||||
|
||||
long GetLindormInstanceResult::getExpiredMilliseconds()const
|
||||
{
|
||||
return expiredMilliseconds_;
|
||||
}
|
||||
|
||||
std::vector<GetLindormInstanceResult::Engine> GetLindormInstanceResult::getEngineList()const
|
||||
{
|
||||
return engineList_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getDiskThreshold()const
|
||||
{
|
||||
return diskThreshold_;
|
||||
}
|
||||
|
||||
bool GetLindormInstanceResult::getEnableBDS()const
|
||||
{
|
||||
return enableBDS_;
|
||||
}
|
||||
|
||||
bool GetLindormInstanceResult::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getDiskUsage()const
|
||||
{
|
||||
return diskUsage_;
|
||||
}
|
||||
|
||||
bool GetLindormInstanceResult::getEnableFS()const
|
||||
{
|
||||
return enableFS_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getInstanceAlias()const
|
||||
{
|
||||
return instanceAlias_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getInstanceStatus()const
|
||||
{
|
||||
return instanceStatus_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getNetworkType()const
|
||||
{
|
||||
return networkType_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getServiceType()const
|
||||
{
|
||||
return serviceType_;
|
||||
}
|
||||
|
||||
int GetLindormInstanceResult::getEngineType()const
|
||||
{
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
long GetLindormInstanceResult::getCreateMilliseconds()const
|
||||
{
|
||||
return createMilliseconds_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getInstanceStorage()const
|
||||
{
|
||||
return instanceStorage_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
int GetLindormInstanceResult::getColdStorage()const
|
||||
{
|
||||
return coldStorage_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getDiskCategory()const
|
||||
{
|
||||
return diskCategory_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getDeletionProtection()const
|
||||
{
|
||||
return deletionProtection_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getVswitchId()const
|
||||
{
|
||||
return vswitchId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
bool GetLindormInstanceResult::getEnablePhoenix()const
|
||||
{
|
||||
return enablePhoenix_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getExpireTime()const
|
||||
{
|
||||
return expireTime_;
|
||||
}
|
||||
|
||||
long GetLindormInstanceResult::getAliUid()const
|
||||
{
|
||||
return aliUid_;
|
||||
}
|
||||
|
||||
@@ -1,139 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/ModifyHiTSDBInstanceClassRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::ModifyHiTSDBInstanceClassRequest;
|
||||
|
||||
ModifyHiTSDBInstanceClassRequest::ModifyHiTSDBInstanceClassRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "ModifyHiTSDBInstanceClass")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyHiTSDBInstanceClassRequest::~ModifyHiTSDBInstanceClassRequest()
|
||||
{}
|
||||
|
||||
long ModifyHiTSDBInstanceClassRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getInstanceClass()const
|
||||
{
|
||||
return instanceClass_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setInstanceClass(const std::string& instanceClass)
|
||||
{
|
||||
instanceClass_ = instanceClass;
|
||||
setParameter("InstanceClass", instanceClass);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getInstanceStorage()const
|
||||
{
|
||||
return instanceStorage_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setInstanceStorage(const std::string& instanceStorage)
|
||||
{
|
||||
instanceStorage_ = instanceStorage;
|
||||
setParameter("InstanceStorage", instanceStorage);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyHiTSDBInstanceClassRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/ModifyHiTSDBInstanceClassResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
ModifyHiTSDBInstanceClassResult::ModifyHiTSDBInstanceClassResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyHiTSDBInstanceClassResult::ModifyHiTSDBInstanceClassResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyHiTSDBInstanceClassResult::~ModifyHiTSDBInstanceClassResult()
|
||||
{}
|
||||
|
||||
void ModifyHiTSDBInstanceClassResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,128 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/ModifyHiTSDBInstanceSecurityIpListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::ModifyHiTSDBInstanceSecurityIpListRequest;
|
||||
|
||||
ModifyHiTSDBInstanceSecurityIpListRequest::ModifyHiTSDBInstanceSecurityIpListRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "ModifyHiTSDBInstanceSecurityIpList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyHiTSDBInstanceSecurityIpListRequest::~ModifyHiTSDBInstanceSecurityIpListRequest()
|
||||
{}
|
||||
|
||||
long ModifyHiTSDBInstanceSecurityIpListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyHiTSDBInstanceSecurityIpListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setGroupName(const std::string& groupName)
|
||||
{
|
||||
groupName_ = groupName;
|
||||
setParameter("GroupName", groupName);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getSecurityIpList()const
|
||||
{
|
||||
return securityIpList_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setSecurityIpList(const std::string& securityIpList)
|
||||
{
|
||||
securityIpList_ = securityIpList;
|
||||
setParameter("SecurityIpList", securityIpList);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user