Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0c0379235 | ||
|
|
f3e060235c | ||
|
|
ec69dc6bc1 | ||
|
|
c89b84b7de | ||
|
|
9b0afb4553 | ||
|
|
3d0a6fad54 |
19
CHANGELOG
19
CHANGELOG
@@ -1,3 +1,22 @@
|
||||
2021-07-02 Version: 1.36.804
|
||||
- Release AnalyzeChestVessel.
|
||||
|
||||
2021-06-28 Version: 1.36.803
|
||||
- Edit ListRetcodeApps.
|
||||
- Edit SearchRetcodeAppByPage.
|
||||
|
||||
2021-06-28 Version: 1.36.802
|
||||
- Support GetSQLReviewOptimizeDetail,ListSQLReviewOriginSQL Order API.
|
||||
|
||||
2021-06-25 Version: 1.36.801
|
||||
- Supported new features for outbound.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
@@ -54,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::vector<std::string> groupingFields;
|
||||
long groupWaitTime;
|
||||
long groupId;
|
||||
long repeatInterval;
|
||||
};
|
||||
struct NotifyRule
|
||||
{
|
||||
@@ -66,7 +67,9 @@ namespace AlibabaCloud
|
||||
std::vector<std::string> notifyChannels;
|
||||
std::vector<NotifyRule::NotifyObject> notifyObjects;
|
||||
};
|
||||
bool isRecover;
|
||||
std::vector<GroupRule> groupRules;
|
||||
std::string dispatchType;
|
||||
std::string state;
|
||||
long ruleId;
|
||||
LabelMatchExpressionGrid labelMatchExpressionGrid;
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct RetcodeApp
|
||||
{
|
||||
std::string retcodeAppType;
|
||||
long appId;
|
||||
std::string pid;
|
||||
std::string appName;
|
||||
|
||||
@@ -79,6 +79,7 @@ namespace AlibabaCloud
|
||||
long noticeEndTime;
|
||||
};
|
||||
std::string status;
|
||||
bool hostByAlertManager;
|
||||
MetricParam metricParam;
|
||||
int alertVersion;
|
||||
long taskId;
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct RetcodeApp
|
||||
{
|
||||
std::string retcodeAppType;
|
||||
std::string type;
|
||||
long appId;
|
||||
std::string userId;
|
||||
|
||||
@@ -46,6 +46,10 @@ void DescribeDispatchRuleResult::parse(const std::string &payload)
|
||||
dispatchRule_.name = dispatchRuleNode["Name"].asString();
|
||||
if(!dispatchRuleNode["State"].isNull())
|
||||
dispatchRule_.state = dispatchRuleNode["State"].asString();
|
||||
if(!dispatchRuleNode["DispatchType"].isNull())
|
||||
dispatchRule_.dispatchType = dispatchRuleNode["DispatchType"].asString();
|
||||
if(!dispatchRuleNode["IsRecover"].isNull())
|
||||
dispatchRule_.isRecover = dispatchRuleNode["IsRecover"].asString() == "true";
|
||||
auto allGroupRulesNode = dispatchRuleNode["GroupRules"]["GroupRule"];
|
||||
for (auto dispatchRuleNodeGroupRulesGroupRule : allGroupRulesNode)
|
||||
{
|
||||
@@ -56,6 +60,8 @@ void DescribeDispatchRuleResult::parse(const std::string &payload)
|
||||
groupRuleObject.groupWaitTime = std::stol(dispatchRuleNodeGroupRulesGroupRule["GroupWaitTime"].asString());
|
||||
if(!dispatchRuleNodeGroupRulesGroupRule["GroupInterval"].isNull())
|
||||
groupRuleObject.groupInterval = std::stol(dispatchRuleNodeGroupRulesGroupRule["GroupInterval"].asString());
|
||||
if(!dispatchRuleNodeGroupRulesGroupRule["RepeatInterval"].isNull())
|
||||
groupRuleObject.repeatInterval = std::stol(dispatchRuleNodeGroupRulesGroupRule["RepeatInterval"].asString());
|
||||
auto allGroupingFields = value["GroupingFields"]["GroupingField"];
|
||||
for (auto value : allGroupingFields)
|
||||
groupRuleObject.groupingFields.push_back(value.asString());
|
||||
|
||||
@@ -49,6 +49,8 @@ void ListRetcodeAppsResult::parse(const std::string &payload)
|
||||
retcodeAppsObject.pid = valueRetcodeAppsRetcodeApp["Pid"].asString();
|
||||
if(!valueRetcodeAppsRetcodeApp["AppName"].isNull())
|
||||
retcodeAppsObject.appName = valueRetcodeAppsRetcodeApp["AppName"].asString();
|
||||
if(!valueRetcodeAppsRetcodeApp["RetcodeAppType"].isNull())
|
||||
retcodeAppsObject.retcodeAppType = valueRetcodeAppsRetcodeApp["RetcodeAppType"].asString();
|
||||
retcodeApps_.push_back(retcodeAppsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -82,6 +82,8 @@ void SearchAlertRulesResult::parse(const std::string &payload)
|
||||
alertRuleEntityObject.title = pageBeanNodeAlertRulesAlertRuleEntity["Title"].asString();
|
||||
if(!pageBeanNodeAlertRulesAlertRuleEntity["ContactGroupIds"].isNull())
|
||||
alertRuleEntityObject.contactGroupIds = pageBeanNodeAlertRulesAlertRuleEntity["ContactGroupIds"].asString();
|
||||
if(!pageBeanNodeAlertRulesAlertRuleEntity["HostByAlertManager"].isNull())
|
||||
alertRuleEntityObject.hostByAlertManager = pageBeanNodeAlertRulesAlertRuleEntity["HostByAlertManager"].asString() == "true";
|
||||
auto alarmContextNode = value["AlarmContext"];
|
||||
if(!alarmContextNode["AlarmContentTemplate"].isNull())
|
||||
alertRuleEntityObject.alarmContext.alarmContentTemplate = alarmContextNode["AlarmContentTemplate"].asString();
|
||||
|
||||
@@ -66,6 +66,8 @@ void SearchRetcodeAppByPageResult::parse(const std::string &payload)
|
||||
retcodeAppObject.createTime = std::stol(pageBeanNodeRetcodeAppsRetcodeApp["CreateTime"].asString());
|
||||
if(!pageBeanNodeRetcodeAppsRetcodeApp["UpdateTime"].isNull())
|
||||
retcodeAppObject.updateTime = std::stol(pageBeanNodeRetcodeAppsRetcodeApp["UpdateTime"].asString());
|
||||
if(!pageBeanNodeRetcodeAppsRetcodeApp["RetcodeAppType"].isNull())
|
||||
retcodeAppObject.retcodeAppType = pageBeanNodeRetcodeAppsRetcodeApp["RetcodeAppType"].asString();
|
||||
pageBean_.retcodeApps.push_back(retcodeAppObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -101,6 +101,8 @@ set(dms-enterprise_public_header_model
|
||||
include/alibabacloud/dms-enterprise/model/GetPhysicalDatabaseResult.h
|
||||
include/alibabacloud/dms-enterprise/model/GetSQLReviewCheckResultStatusRequest.h
|
||||
include/alibabacloud/dms-enterprise/model/GetSQLReviewCheckResultStatusResult.h
|
||||
include/alibabacloud/dms-enterprise/model/GetSQLReviewOptimizeDetailRequest.h
|
||||
include/alibabacloud/dms-enterprise/model/GetSQLReviewOptimizeDetailResult.h
|
||||
include/alibabacloud/dms-enterprise/model/GetStructSyncExecSqlDetailRequest.h
|
||||
include/alibabacloud/dms-enterprise/model/GetStructSyncExecSqlDetailResult.h
|
||||
include/alibabacloud/dms-enterprise/model/GetStructSyncJobAnalyzeResultRequest.h
|
||||
@@ -268,6 +270,8 @@ set(dms-enterprise_src
|
||||
src/model/GetPhysicalDatabaseResult.cc
|
||||
src/model/GetSQLReviewCheckResultStatusRequest.cc
|
||||
src/model/GetSQLReviewCheckResultStatusResult.cc
|
||||
src/model/GetSQLReviewOptimizeDetailRequest.cc
|
||||
src/model/GetSQLReviewOptimizeDetailResult.cc
|
||||
src/model/GetStructSyncExecSqlDetailRequest.cc
|
||||
src/model/GetStructSyncExecSqlDetailResult.cc
|
||||
src/model/GetStructSyncJobAnalyzeResultRequest.cc
|
||||
|
||||
@@ -102,6 +102,8 @@
|
||||
#include "model/GetPhysicalDatabaseResult.h"
|
||||
#include "model/GetSQLReviewCheckResultStatusRequest.h"
|
||||
#include "model/GetSQLReviewCheckResultStatusResult.h"
|
||||
#include "model/GetSQLReviewOptimizeDetailRequest.h"
|
||||
#include "model/GetSQLReviewOptimizeDetailResult.h"
|
||||
#include "model/GetStructSyncExecSqlDetailRequest.h"
|
||||
#include "model/GetStructSyncExecSqlDetailResult.h"
|
||||
#include "model/GetStructSyncJobAnalyzeResultRequest.h"
|
||||
@@ -315,6 +317,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetSQLReviewCheckResultStatusResult> GetSQLReviewCheckResultStatusOutcome;
|
||||
typedef std::future<GetSQLReviewCheckResultStatusOutcome> GetSQLReviewCheckResultStatusOutcomeCallable;
|
||||
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetSQLReviewCheckResultStatusRequest&, const GetSQLReviewCheckResultStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSQLReviewCheckResultStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSQLReviewOptimizeDetailResult> GetSQLReviewOptimizeDetailOutcome;
|
||||
typedef std::future<GetSQLReviewOptimizeDetailOutcome> GetSQLReviewOptimizeDetailOutcomeCallable;
|
||||
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetSQLReviewOptimizeDetailRequest&, const GetSQLReviewOptimizeDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSQLReviewOptimizeDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetStructSyncExecSqlDetailResult> GetStructSyncExecSqlDetailOutcome;
|
||||
typedef std::future<GetStructSyncExecSqlDetailOutcome> GetStructSyncExecSqlDetailOutcomeCallable;
|
||||
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetStructSyncExecSqlDetailRequest&, const GetStructSyncExecSqlDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStructSyncExecSqlDetailAsyncHandler;
|
||||
@@ -566,6 +571,9 @@ namespace AlibabaCloud
|
||||
GetSQLReviewCheckResultStatusOutcome getSQLReviewCheckResultStatus(const Model::GetSQLReviewCheckResultStatusRequest &request)const;
|
||||
void getSQLReviewCheckResultStatusAsync(const Model::GetSQLReviewCheckResultStatusRequest& request, const GetSQLReviewCheckResultStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSQLReviewCheckResultStatusOutcomeCallable getSQLReviewCheckResultStatusCallable(const Model::GetSQLReviewCheckResultStatusRequest& request) const;
|
||||
GetSQLReviewOptimizeDetailOutcome getSQLReviewOptimizeDetail(const Model::GetSQLReviewOptimizeDetailRequest &request)const;
|
||||
void getSQLReviewOptimizeDetailAsync(const Model::GetSQLReviewOptimizeDetailRequest& request, const GetSQLReviewOptimizeDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSQLReviewOptimizeDetailOutcomeCallable getSQLReviewOptimizeDetailCallable(const Model::GetSQLReviewOptimizeDetailRequest& request) const;
|
||||
GetStructSyncExecSqlDetailOutcome getStructSyncExecSqlDetail(const Model::GetStructSyncExecSqlDetailRequest &request)const;
|
||||
void getStructSyncExecSqlDetailAsync(const Model::GetStructSyncExecSqlDetailRequest& request, const GetStructSyncExecSqlDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetStructSyncExecSqlDetailOutcomeCallable getStructSyncExecSqlDetailCallable(const Model::GetStructSyncExecSqlDetailRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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_DMS_ENTERPRISE_MODEL_GETSQLREVIEWOPTIMIZEDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSQLREVIEWOPTIMIZEDETAILREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dms_enterprise {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetSQLReviewOptimizeDetailRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetSQLReviewOptimizeDetailRequest();
|
||||
~GetSQLReviewOptimizeDetailRequest();
|
||||
std::string getSQLReviewQueryKey() const;
|
||||
void setSQLReviewQueryKey(const std::string &sQLReviewQueryKey);
|
||||
long getTid() const;
|
||||
void setTid(long tid);
|
||||
|
||||
private:
|
||||
std::string sQLReviewQueryKey_;
|
||||
long tid_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dms_enterprise
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSQLREVIEWOPTIMIZEDETAILREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSQLREVIEWOPTIMIZEDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSQLREVIEWOPTIMIZEDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dms_enterprise
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetSQLReviewOptimizeDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OptimizeDetail
|
||||
{
|
||||
struct QualityResult
|
||||
{
|
||||
struct ResultsItem
|
||||
{
|
||||
struct ScriptsItem
|
||||
{
|
||||
std::string tableName;
|
||||
std::string content;
|
||||
std::string opType;
|
||||
};
|
||||
std::vector<std::string> messages;
|
||||
std::vector<ResultsItem::ScriptsItem> scripts;
|
||||
std::string feedback;
|
||||
std::string comments;
|
||||
std::string ruleType;
|
||||
std::string ruleName;
|
||||
};
|
||||
bool occurError;
|
||||
std::vector<ResultsItem> results;
|
||||
std::string errorMessage;
|
||||
};
|
||||
int instanceId;
|
||||
std::string queryKey;
|
||||
int dbId;
|
||||
std::string sqlType;
|
||||
QualityResult qualityResult;
|
||||
};
|
||||
|
||||
|
||||
GetSQLReviewOptimizeDetailResult();
|
||||
explicit GetSQLReviewOptimizeDetailResult(const std::string &payload);
|
||||
~GetSQLReviewOptimizeDetailResult();
|
||||
OptimizeDetail getOptimizeDetail()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
OptimizeDetail optimizeDetail_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETSQLREVIEWOPTIMIZEDETAILRESULT_H_
|
||||
@@ -34,13 +34,16 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct OriginSQLListItem
|
||||
{
|
||||
std::string sqlHash;
|
||||
std::string statusDesc;
|
||||
std::string sQLContent;
|
||||
std::string checkedTime;
|
||||
std::string fileName;
|
||||
std::string checkStatus;
|
||||
long fileId;
|
||||
std::string reviewSummary;
|
||||
long sQLId;
|
||||
std::string sQLReviewQueryKey;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1491,6 +1491,42 @@ Dms_enterpriseClient::GetSQLReviewCheckResultStatusOutcomeCallable Dms_enterpris
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetSQLReviewOptimizeDetailOutcome Dms_enterpriseClient::getSQLReviewOptimizeDetail(const GetSQLReviewOptimizeDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetSQLReviewOptimizeDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetSQLReviewOptimizeDetailOutcome(GetSQLReviewOptimizeDetailResult(outcome.result()));
|
||||
else
|
||||
return GetSQLReviewOptimizeDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dms_enterpriseClient::getSQLReviewOptimizeDetailAsync(const GetSQLReviewOptimizeDetailRequest& request, const GetSQLReviewOptimizeDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getSQLReviewOptimizeDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetSQLReviewOptimizeDetailOutcomeCallable Dms_enterpriseClient::getSQLReviewOptimizeDetailCallable(const GetSQLReviewOptimizeDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetSQLReviewOptimizeDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getSQLReviewOptimizeDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetStructSyncExecSqlDetailOutcome Dms_enterpriseClient::getStructSyncExecSqlDetail(const GetStructSyncExecSqlDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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/dms-enterprise/model/GetSQLReviewOptimizeDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Dms_enterprise::Model::GetSQLReviewOptimizeDetailRequest;
|
||||
|
||||
GetSQLReviewOptimizeDetailRequest::GetSQLReviewOptimizeDetailRequest()
|
||||
: RpcServiceRequest("dms-enterprise", "2018-11-01", "GetSQLReviewOptimizeDetail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetSQLReviewOptimizeDetailRequest::~GetSQLReviewOptimizeDetailRequest() {}
|
||||
|
||||
std::string GetSQLReviewOptimizeDetailRequest::getSQLReviewQueryKey() const {
|
||||
return sQLReviewQueryKey_;
|
||||
}
|
||||
|
||||
void GetSQLReviewOptimizeDetailRequest::setSQLReviewQueryKey(const std::string &sQLReviewQueryKey) {
|
||||
sQLReviewQueryKey_ = sQLReviewQueryKey;
|
||||
setParameter(std::string("SQLReviewQueryKey"), sQLReviewQueryKey);
|
||||
}
|
||||
|
||||
long GetSQLReviewOptimizeDetailRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void GetSQLReviewOptimizeDetailRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
113
dms-enterprise/src/model/GetSQLReviewOptimizeDetailResult.cc
Normal file
113
dms-enterprise/src/model/GetSQLReviewOptimizeDetailResult.cc
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* 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/dms-enterprise/model/GetSQLReviewOptimizeDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dms_enterprise;
|
||||
using namespace AlibabaCloud::Dms_enterprise::Model;
|
||||
|
||||
GetSQLReviewOptimizeDetailResult::GetSQLReviewOptimizeDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetSQLReviewOptimizeDetailResult::GetSQLReviewOptimizeDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetSQLReviewOptimizeDetailResult::~GetSQLReviewOptimizeDetailResult()
|
||||
{}
|
||||
|
||||
void GetSQLReviewOptimizeDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto optimizeDetailNode = value["OptimizeDetail"];
|
||||
if(!optimizeDetailNode["QueryKey"].isNull())
|
||||
optimizeDetail_.queryKey = optimizeDetailNode["QueryKey"].asString();
|
||||
if(!optimizeDetailNode["InstanceId"].isNull())
|
||||
optimizeDetail_.instanceId = std::stoi(optimizeDetailNode["InstanceId"].asString());
|
||||
if(!optimizeDetailNode["DbId"].isNull())
|
||||
optimizeDetail_.dbId = std::stoi(optimizeDetailNode["DbId"].asString());
|
||||
if(!optimizeDetailNode["SqlType"].isNull())
|
||||
optimizeDetail_.sqlType = optimizeDetailNode["SqlType"].asString();
|
||||
auto qualityResultNode = optimizeDetailNode["QualityResult"];
|
||||
if(!qualityResultNode["ErrorMessage"].isNull())
|
||||
optimizeDetail_.qualityResult.errorMessage = qualityResultNode["ErrorMessage"].asString();
|
||||
if(!qualityResultNode["OccurError"].isNull())
|
||||
optimizeDetail_.qualityResult.occurError = qualityResultNode["OccurError"].asString() == "true";
|
||||
auto allResultsNode = qualityResultNode["Results"]["ResultsItem"];
|
||||
for (auto qualityResultNodeResultsResultsItem : allResultsNode)
|
||||
{
|
||||
OptimizeDetail::QualityResult::ResultsItem resultsItemObject;
|
||||
if(!qualityResultNodeResultsResultsItem["RuleName"].isNull())
|
||||
resultsItemObject.ruleName = qualityResultNodeResultsResultsItem["RuleName"].asString();
|
||||
if(!qualityResultNodeResultsResultsItem["Feedback"].isNull())
|
||||
resultsItemObject.feedback = qualityResultNodeResultsResultsItem["Feedback"].asString();
|
||||
if(!qualityResultNodeResultsResultsItem["Comments"].isNull())
|
||||
resultsItemObject.comments = qualityResultNodeResultsResultsItem["Comments"].asString();
|
||||
if(!qualityResultNodeResultsResultsItem["RuleType"].isNull())
|
||||
resultsItemObject.ruleType = qualityResultNodeResultsResultsItem["RuleType"].asString();
|
||||
auto allScriptsNode = qualityResultNodeResultsResultsItem["Scripts"]["ScriptsItem"];
|
||||
for (auto qualityResultNodeResultsResultsItemScriptsScriptsItem : allScriptsNode)
|
||||
{
|
||||
OptimizeDetail::QualityResult::ResultsItem::ScriptsItem scriptsObject;
|
||||
if(!qualityResultNodeResultsResultsItemScriptsScriptsItem["OpType"].isNull())
|
||||
scriptsObject.opType = qualityResultNodeResultsResultsItemScriptsScriptsItem["OpType"].asString();
|
||||
if(!qualityResultNodeResultsResultsItemScriptsScriptsItem["Content"].isNull())
|
||||
scriptsObject.content = qualityResultNodeResultsResultsItemScriptsScriptsItem["Content"].asString();
|
||||
if(!qualityResultNodeResultsResultsItemScriptsScriptsItem["TableName"].isNull())
|
||||
scriptsObject.tableName = qualityResultNodeResultsResultsItemScriptsScriptsItem["TableName"].asString();
|
||||
resultsItemObject.scripts.push_back(scriptsObject);
|
||||
}
|
||||
auto allMessages = value["Messages"]["Messages"];
|
||||
for (auto value : allMessages)
|
||||
resultsItemObject.messages.push_back(value.asString());
|
||||
optimizeDetail_.qualityResult.results.push_back(resultsItemObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
GetSQLReviewOptimizeDetailResult::OptimizeDetail GetSQLReviewOptimizeDetailResult::getOptimizeDetail()const
|
||||
{
|
||||
return optimizeDetail_;
|
||||
}
|
||||
|
||||
std::string GetSQLReviewOptimizeDetailResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetSQLReviewOptimizeDetailResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool GetSQLReviewOptimizeDetailResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -57,6 +57,12 @@ void ListSQLReviewOriginSQLResult::parse(const std::string &payload)
|
||||
originSQLListObject.statusDesc = valueOriginSQLListOriginSQLListItem["StatusDesc"].asString();
|
||||
if(!valueOriginSQLListOriginSQLListItem["CheckedTime"].isNull())
|
||||
originSQLListObject.checkedTime = valueOriginSQLListOriginSQLListItem["CheckedTime"].asString();
|
||||
if(!valueOriginSQLListOriginSQLListItem["SqlHash"].isNull())
|
||||
originSQLListObject.sqlHash = valueOriginSQLListOriginSQLListItem["SqlHash"].asString();
|
||||
if(!valueOriginSQLListOriginSQLListItem["ReviewSummary"].isNull())
|
||||
originSQLListObject.reviewSummary = valueOriginSQLListOriginSQLListItem["ReviewSummary"].asString();
|
||||
if(!valueOriginSQLListOriginSQLListItem["SQLReviewQueryKey"].isNull())
|
||||
originSQLListObject.sQLReviewQueryKey = valueOriginSQLListOriginSQLListItem["SQLReviewQueryKey"].asString();
|
||||
originSQLList_.push_back(originSQLListObject);
|
||||
}
|
||||
if(!value["ErrorCode"].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_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CREATECONSUMERCHANNELRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CREATECONSUMERCHANNELRESULT_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 CreateConsumerChannelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
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::string consumerGroupID_;
|
||||
std::string httpStatusCode_;
|
||||
std::string errMessage_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#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_
|
||||
@@ -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_DELETECONSUMERCHANNELRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_DELETECONSUMERCHANNELRESULT_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 DeleteConsumerChannelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
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_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_
|
||||
@@ -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_MODIFYCONSUMERCHANNELRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_MODIFYCONSUMERCHANNELRESULT_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 ModifyConsumerChannelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
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_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_
|
||||
@@ -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_MODIFYSUBSCRIPTIONRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_MODIFYSUBSCRIPTIONRESULT_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 ModifySubscriptionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
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 httpStatusCode_;
|
||||
std::string errMessage_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#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_;
|
||||
|
||||
@@ -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_TRANSFERINSTANCECLASSREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_TRANSFERINSTANCECLASSREQUEST_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 TransferInstanceClassRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TransferInstanceClassRequest();
|
||||
~TransferInstanceClassRequest();
|
||||
|
||||
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 instanceClass_;
|
||||
std::string regionId_;
|
||||
std::string dtsJobId_;
|
||||
std::string orderType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#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,6 +21,8 @@ set(imageprocess_public_header
|
||||
include/alibabacloud/imageprocess/ImageprocessExport.h )
|
||||
|
||||
set(imageprocess_public_header_model
|
||||
include/alibabacloud/imageprocess/model/AnalyzeChestVesselRequest.h
|
||||
include/alibabacloud/imageprocess/model/AnalyzeChestVesselResult.h
|
||||
include/alibabacloud/imageprocess/model/CalcCACSRequest.h
|
||||
include/alibabacloud/imageprocess/model/CalcCACSResult.h
|
||||
include/alibabacloud/imageprocess/model/ClassifyFNFRequest.h
|
||||
@@ -54,6 +56,8 @@ set(imageprocess_public_header_model
|
||||
|
||||
set(imageprocess_src
|
||||
src/ImageprocessClient.cc
|
||||
src/model/AnalyzeChestVesselRequest.cc
|
||||
src/model/AnalyzeChestVesselResult.cc
|
||||
src/model/CalcCACSRequest.cc
|
||||
src/model/CalcCACSResult.cc
|
||||
src/model/ClassifyFNFRequest.cc
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "ImageprocessExport.h"
|
||||
#include "model/AnalyzeChestVesselRequest.h"
|
||||
#include "model/AnalyzeChestVesselResult.h"
|
||||
#include "model/CalcCACSRequest.h"
|
||||
#include "model/CalcCACSResult.h"
|
||||
#include "model/ClassifyFNFRequest.h"
|
||||
@@ -61,6 +63,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT ImageprocessClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AnalyzeChestVesselResult> AnalyzeChestVesselOutcome;
|
||||
typedef std::future<AnalyzeChestVesselOutcome> AnalyzeChestVesselOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::AnalyzeChestVesselRequest&, const AnalyzeChestVesselOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AnalyzeChestVesselAsyncHandler;
|
||||
typedef Outcome<Error, Model::CalcCACSResult> CalcCACSOutcome;
|
||||
typedef std::future<CalcCACSOutcome> CalcCACSOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::CalcCACSRequest&, const CalcCACSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CalcCACSAsyncHandler;
|
||||
@@ -111,6 +116,9 @@ namespace AlibabaCloud
|
||||
ImageprocessClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
ImageprocessClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~ImageprocessClient();
|
||||
AnalyzeChestVesselOutcome analyzeChestVessel(const Model::AnalyzeChestVesselRequest &request)const;
|
||||
void analyzeChestVesselAsync(const Model::AnalyzeChestVesselRequest& request, const AnalyzeChestVesselAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AnalyzeChestVesselOutcomeCallable analyzeChestVesselCallable(const Model::AnalyzeChestVesselRequest& request) const;
|
||||
CalcCACSOutcome calcCACS(const Model::CalcCACSRequest &request)const;
|
||||
void calcCACSAsync(const Model::CalcCACSRequest& request, const CalcCACSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CalcCACSOutcomeCallable calcCACSCallable(const Model::CalcCACSRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT AnalyzeChestVesselRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct URLList
|
||||
{
|
||||
std::string uRL;
|
||||
};
|
||||
|
||||
public:
|
||||
AnalyzeChestVesselRequest();
|
||||
~AnalyzeChestVesselRequest();
|
||||
|
||||
std::string getDataSourceType()const;
|
||||
void setDataSourceType(const std::string& dataSourceType);
|
||||
std::string getOrgName()const;
|
||||
void setOrgName(const std::string& orgName);
|
||||
std::string getDataFormat()const;
|
||||
void setDataFormat(const std::string& dataFormat);
|
||||
std::vector<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& uRLList);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::string orgName_;
|
||||
std::string dataFormat_;
|
||||
std::vector<URLList> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELRESULT_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT AnalyzeChestVesselResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct AortaInfo
|
||||
{
|
||||
float maxArea;
|
||||
std::vector<std::string> area;
|
||||
float maxDiameter;
|
||||
long labelValue;
|
||||
std::vector<std::string> coordinates;
|
||||
long maxAreaIndex;
|
||||
};
|
||||
struct PulmonaryInfo
|
||||
{
|
||||
float maxArea;
|
||||
float maxDiameter;
|
||||
long labelValue;
|
||||
std::vector<std::string> coordinates1;
|
||||
long maxAreaIndex;
|
||||
std::vector<std::string> area2;
|
||||
float nearestAortaArea;
|
||||
};
|
||||
PulmonaryInfo pulmonaryInfo;
|
||||
AortaInfo aortaInfo;
|
||||
std::string resultURL;
|
||||
};
|
||||
|
||||
|
||||
AnalyzeChestVesselResult();
|
||||
explicit AnalyzeChestVesselResult(const std::string &payload);
|
||||
~AnalyzeChestVesselResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELRESULT_H_
|
||||
@@ -36,8 +36,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct DetectionsItem
|
||||
{
|
||||
std::string fractureCategory;
|
||||
float fractureConfidence;
|
||||
std::string fractureCategory;
|
||||
std::vector<std::string> coordinateImage;
|
||||
std::vector<std::string> coordinates;
|
||||
std::string fractureLocation;
|
||||
|
||||
@@ -51,6 +51,42 @@ ImageprocessClient::ImageprocessClient(const std::string & accessKeyId, const st
|
||||
ImageprocessClient::~ImageprocessClient()
|
||||
{}
|
||||
|
||||
ImageprocessClient::AnalyzeChestVesselOutcome ImageprocessClient::analyzeChestVessel(const AnalyzeChestVesselRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AnalyzeChestVesselOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AnalyzeChestVesselOutcome(AnalyzeChestVesselResult(outcome.result()));
|
||||
else
|
||||
return AnalyzeChestVesselOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ImageprocessClient::analyzeChestVesselAsync(const AnalyzeChestVesselRequest& request, const AnalyzeChestVesselAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, analyzeChestVessel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ImageprocessClient::AnalyzeChestVesselOutcomeCallable ImageprocessClient::analyzeChestVesselCallable(const AnalyzeChestVesselRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AnalyzeChestVesselOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->analyzeChestVessel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ImageprocessClient::CalcCACSOutcome ImageprocessClient::calcCACS(const CalcCACSRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
99
imageprocess/src/model/AnalyzeChestVesselRequest.cc
Normal file
99
imageprocess/src/model/AnalyzeChestVesselRequest.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/AnalyzeChestVesselRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::AnalyzeChestVesselRequest;
|
||||
|
||||
AnalyzeChestVesselRequest::AnalyzeChestVesselRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "AnalyzeChestVessel")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AnalyzeChestVesselRequest::~AnalyzeChestVesselRequest()
|
||||
{}
|
||||
|
||||
std::string AnalyzeChestVesselRequest::getDataSourceType()const
|
||||
{
|
||||
return dataSourceType_;
|
||||
}
|
||||
|
||||
void AnalyzeChestVesselRequest::setDataSourceType(const std::string& dataSourceType)
|
||||
{
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter("DataSourceType", dataSourceType);
|
||||
}
|
||||
|
||||
std::string AnalyzeChestVesselRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
void AnalyzeChestVesselRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
std::string AnalyzeChestVesselRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
void AnalyzeChestVesselRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
std::vector<AnalyzeChestVesselRequest::URLList> AnalyzeChestVesselRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
void AnalyzeChestVesselRequest::setURLList(const std::vector<URLList>& uRLList)
|
||||
{
|
||||
uRLList_ = uRLList;
|
||||
for(int dep1 = 0; dep1!= uRLList.size(); dep1++) {
|
||||
auto uRLListObj = uRLList.at(dep1);
|
||||
std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1);
|
||||
setParameter(uRLListObjStr + ".URL", uRLListObj.uRL);
|
||||
}
|
||||
}
|
||||
|
||||
std::string AnalyzeChestVesselRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void AnalyzeChestVesselRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
bool AnalyzeChestVesselRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
void AnalyzeChestVesselRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
98
imageprocess/src/model/AnalyzeChestVesselResult.cc
Normal file
98
imageprocess/src/model/AnalyzeChestVesselResult.cc
Normal file
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* 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/imageprocess/model/AnalyzeChestVesselResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Imageprocess;
|
||||
using namespace AlibabaCloud::Imageprocess::Model;
|
||||
|
||||
AnalyzeChestVesselResult::AnalyzeChestVesselResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AnalyzeChestVesselResult::AnalyzeChestVesselResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AnalyzeChestVesselResult::~AnalyzeChestVesselResult()
|
||||
{}
|
||||
|
||||
void AnalyzeChestVesselResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["ResultURL"].isNull())
|
||||
data_.resultURL = dataNode["ResultURL"].asString();
|
||||
auto aortaInfoNode = dataNode["AortaInfo"];
|
||||
if(!aortaInfoNode["MaxAreaIndex"].isNull())
|
||||
data_.aortaInfo.maxAreaIndex = std::stol(aortaInfoNode["MaxAreaIndex"].asString());
|
||||
if(!aortaInfoNode["MaxArea"].isNull())
|
||||
data_.aortaInfo.maxArea = std::stof(aortaInfoNode["MaxArea"].asString());
|
||||
if(!aortaInfoNode["MaxDiameter"].isNull())
|
||||
data_.aortaInfo.maxDiameter = std::stof(aortaInfoNode["MaxDiameter"].asString());
|
||||
if(!aortaInfoNode["LabelValue"].isNull())
|
||||
data_.aortaInfo.labelValue = std::stol(aortaInfoNode["LabelValue"].asString());
|
||||
auto allCoordinates = aortaInfoNode["Coordinates"]["coordinates"];
|
||||
for (auto value : allCoordinates)
|
||||
data_.aortaInfo.coordinates.push_back(value.asString());
|
||||
auto allArea = aortaInfoNode["Area"]["area"];
|
||||
for (auto value : allArea)
|
||||
data_.aortaInfo.area.push_back(value.asString());
|
||||
auto pulmonaryInfoNode = dataNode["PulmonaryInfo"];
|
||||
if(!pulmonaryInfoNode["MaxAreaIndex"].isNull())
|
||||
data_.pulmonaryInfo.maxAreaIndex = std::stol(pulmonaryInfoNode["MaxAreaIndex"].asString());
|
||||
if(!pulmonaryInfoNode["MaxArea"].isNull())
|
||||
data_.pulmonaryInfo.maxArea = std::stof(pulmonaryInfoNode["MaxArea"].asString());
|
||||
if(!pulmonaryInfoNode["MaxDiameter"].isNull())
|
||||
data_.pulmonaryInfo.maxDiameter = std::stof(pulmonaryInfoNode["MaxDiameter"].asString());
|
||||
if(!pulmonaryInfoNode["LabelValue"].isNull())
|
||||
data_.pulmonaryInfo.labelValue = std::stol(pulmonaryInfoNode["LabelValue"].asString());
|
||||
if(!pulmonaryInfoNode["NearestAortaArea"].isNull())
|
||||
data_.pulmonaryInfo.nearestAortaArea = std::stof(pulmonaryInfoNode["NearestAortaArea"].asString());
|
||||
auto allCoordinates1 = pulmonaryInfoNode["Coordinates"]["coordinates"];
|
||||
for (auto value : allCoordinates1)
|
||||
data_.pulmonaryInfo.coordinates1.push_back(value.asString());
|
||||
auto allArea2 = pulmonaryInfoNode["Area"]["area"];
|
||||
for (auto value : allArea2)
|
||||
data_.pulmonaryInfo.area2.push_back(value.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AnalyzeChestVesselResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
AnalyzeChestVesselResult::Data AnalyzeChestVesselResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string AnalyzeChestVesselResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -46,22 +46,22 @@ void DetectRibFractureResult::parse(const std::string &payload)
|
||||
for (auto dataNodeDetectionsDetectionsItem : allDetectionsNode)
|
||||
{
|
||||
Data::DetectionsItem detectionsItemObject;
|
||||
if(!dataNodeDetectionsDetectionsItem["FractureCategory"].isNull())
|
||||
detectionsItemObject.fractureCategory = dataNodeDetectionsDetectionsItem["FractureCategory"].asString();
|
||||
if(!dataNodeDetectionsDetectionsItem["FractureId"].isNull())
|
||||
detectionsItemObject.fractureId = std::stoi(dataNodeDetectionsDetectionsItem["FractureId"].asString());
|
||||
if(!dataNodeDetectionsDetectionsItem["FractureConfidence"].isNull())
|
||||
detectionsItemObject.fractureConfidence = std::stof(dataNodeDetectionsDetectionsItem["FractureConfidence"].asString());
|
||||
if(!dataNodeDetectionsDetectionsItem["FractureCategory"].isNull())
|
||||
detectionsItemObject.fractureCategory = dataNodeDetectionsDetectionsItem["FractureCategory"].asString();
|
||||
if(!dataNodeDetectionsDetectionsItem["FractureLocation"].isNull())
|
||||
detectionsItemObject.fractureLocation = dataNodeDetectionsDetectionsItem["FractureLocation"].asString();
|
||||
if(!dataNodeDetectionsDetectionsItem["FractureSegment"].isNull())
|
||||
detectionsItemObject.fractureSegment = std::stol(dataNodeDetectionsDetectionsItem["FractureSegment"].asString());
|
||||
if(!dataNodeDetectionsDetectionsItem["FractureId"].isNull())
|
||||
detectionsItemObject.fractureId = std::stoi(dataNodeDetectionsDetectionsItem["FractureId"].asString());
|
||||
auto allCoordinateImage = value["CoordinateImage"]["CoordinateImage"];
|
||||
for (auto value : allCoordinateImage)
|
||||
detectionsItemObject.coordinateImage.push_back(value.asString());
|
||||
auto allCoordinates = value["Coordinates"]["Coordinates"];
|
||||
for (auto value : allCoordinates)
|
||||
detectionsItemObject.coordinates.push_back(value.asString());
|
||||
auto allCoordinateImage = value["CoordinateImage"]["CoordinateImage"];
|
||||
for (auto value : allCoordinateImage)
|
||||
detectionsItemObject.coordinateImage.push_back(value.asString());
|
||||
data_.detections.push_back(detectionsItemObject);
|
||||
}
|
||||
auto allOrigin = dataNode["Origin"]["Origin"];
|
||||
|
||||
@@ -25,8 +25,12 @@ set(outboundbot_public_header_model
|
||||
include/alibabacloud/outboundbot/model/AssignJobsResult.h
|
||||
include/alibabacloud/outboundbot/model/CancelJobsRequest.h
|
||||
include/alibabacloud/outboundbot/model/CancelJobsResult.h
|
||||
include/alibabacloud/outboundbot/model/ChangeResourceGroupRequest.h
|
||||
include/alibabacloud/outboundbot/model/ChangeResourceGroupResult.h
|
||||
include/alibabacloud/outboundbot/model/CreateBatchJobsRequest.h
|
||||
include/alibabacloud/outboundbot/model/CreateBatchJobsResult.h
|
||||
include/alibabacloud/outboundbot/model/CreateBatchRepeatJobRequest.h
|
||||
include/alibabacloud/outboundbot/model/CreateBatchRepeatJobResult.h
|
||||
include/alibabacloud/outboundbot/model/CreateDialogueFlowRequest.h
|
||||
include/alibabacloud/outboundbot/model/CreateDialogueFlowResult.h
|
||||
include/alibabacloud/outboundbot/model/CreateGlobalQuestionRequest.h
|
||||
@@ -35,8 +39,12 @@ set(outboundbot_public_header_model
|
||||
include/alibabacloud/outboundbot/model/CreateInstanceResult.h
|
||||
include/alibabacloud/outboundbot/model/CreateIntentRequest.h
|
||||
include/alibabacloud/outboundbot/model/CreateIntentResult.h
|
||||
include/alibabacloud/outboundbot/model/CreateJobDataParsingTaskRequest.h
|
||||
include/alibabacloud/outboundbot/model/CreateJobDataParsingTaskResult.h
|
||||
include/alibabacloud/outboundbot/model/CreateJobGroupRequest.h
|
||||
include/alibabacloud/outboundbot/model/CreateJobGroupResult.h
|
||||
include/alibabacloud/outboundbot/model/CreateJobGroupExportTaskRequest.h
|
||||
include/alibabacloud/outboundbot/model/CreateJobGroupExportTaskResult.h
|
||||
include/alibabacloud/outboundbot/model/CreateOutboundCallNumberRequest.h
|
||||
include/alibabacloud/outboundbot/model/CreateOutboundCallNumberResult.h
|
||||
include/alibabacloud/outboundbot/model/CreateScriptRequest.h
|
||||
@@ -45,6 +53,10 @@ set(outboundbot_public_header_model
|
||||
include/alibabacloud/outboundbot/model/CreateScriptWaveformResult.h
|
||||
include/alibabacloud/outboundbot/model/CreateTagRequest.h
|
||||
include/alibabacloud/outboundbot/model/CreateTagResult.h
|
||||
include/alibabacloud/outboundbot/model/DeleteContactBlockListRequest.h
|
||||
include/alibabacloud/outboundbot/model/DeleteContactBlockListResult.h
|
||||
include/alibabacloud/outboundbot/model/DeleteContactWhiteListRequest.h
|
||||
include/alibabacloud/outboundbot/model/DeleteContactWhiteListResult.h
|
||||
include/alibabacloud/outboundbot/model/DeleteDialogueFlowRequest.h
|
||||
include/alibabacloud/outboundbot/model/DeleteDialogueFlowResult.h
|
||||
include/alibabacloud/outboundbot/model/DeleteGlobalQuestionRequest.h
|
||||
@@ -61,16 +73,28 @@ set(outboundbot_public_header_model
|
||||
include/alibabacloud/outboundbot/model/DeleteScriptResult.h
|
||||
include/alibabacloud/outboundbot/model/DeleteScriptWaveformRequest.h
|
||||
include/alibabacloud/outboundbot/model/DeleteScriptWaveformResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeDialogueNodeStatisticsRequest.h
|
||||
include/alibabacloud/outboundbot/model/DescribeDialogueNodeStatisticsResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeDsReportsRequest.h
|
||||
include/alibabacloud/outboundbot/model/DescribeDsReportsResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeGlobalQuestionRequest.h
|
||||
include/alibabacloud/outboundbot/model/DescribeGlobalQuestionResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeGroupExecutingInfoRequest.h
|
||||
include/alibabacloud/outboundbot/model/DescribeGroupExecutingInfoResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeInstanceRequest.h
|
||||
include/alibabacloud/outboundbot/model/DescribeInstanceResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeIntentRequest.h
|
||||
include/alibabacloud/outboundbot/model/DescribeIntentResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeIntentStatisticsRequest.h
|
||||
include/alibabacloud/outboundbot/model/DescribeIntentStatisticsResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeJobRequest.h
|
||||
include/alibabacloud/outboundbot/model/DescribeJobResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeJobDataParsingTaskProgressRequest.h
|
||||
include/alibabacloud/outboundbot/model/DescribeJobDataParsingTaskProgressResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeJobGroupRequest.h
|
||||
include/alibabacloud/outboundbot/model/DescribeJobGroupResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeJobGroupExportTaskProgressRequest.h
|
||||
include/alibabacloud/outboundbot/model/DescribeJobGroupExportTaskProgressResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeScriptRequest.h
|
||||
include/alibabacloud/outboundbot/model/DescribeScriptResult.h
|
||||
include/alibabacloud/outboundbot/model/DescribeScriptVoiceConfigRequest.h
|
||||
@@ -89,6 +113,28 @@ set(outboundbot_public_header_model
|
||||
include/alibabacloud/outboundbot/model/DuplicateScriptResult.h
|
||||
include/alibabacloud/outboundbot/model/ExportScriptRequest.h
|
||||
include/alibabacloud/outboundbot/model/ExportScriptResult.h
|
||||
include/alibabacloud/outboundbot/model/GetAfterAnswerDelayPlaybackRequest.h
|
||||
include/alibabacloud/outboundbot/model/GetAfterAnswerDelayPlaybackResult.h
|
||||
include/alibabacloud/outboundbot/model/GetAsrServerInfoRequest.h
|
||||
include/alibabacloud/outboundbot/model/GetAsrServerInfoResult.h
|
||||
include/alibabacloud/outboundbot/model/GetBaseStrategyPeriodRequest.h
|
||||
include/alibabacloud/outboundbot/model/GetBaseStrategyPeriodResult.h
|
||||
include/alibabacloud/outboundbot/model/GetContactBlockListRequest.h
|
||||
include/alibabacloud/outboundbot/model/GetContactBlockListResult.h
|
||||
include/alibabacloud/outboundbot/model/GetContactWhiteListRequest.h
|
||||
include/alibabacloud/outboundbot/model/GetContactWhiteListResult.h
|
||||
include/alibabacloud/outboundbot/model/GetEffectiveDaysRequest.h
|
||||
include/alibabacloud/outboundbot/model/GetEffectiveDaysResult.h
|
||||
include/alibabacloud/outboundbot/model/GetEmptyNumberNoMoreCallsInfoRequest.h
|
||||
include/alibabacloud/outboundbot/model/GetEmptyNumberNoMoreCallsInfoResult.h
|
||||
include/alibabacloud/outboundbot/model/GetMaxAttemptsPerDayRequest.h
|
||||
include/alibabacloud/outboundbot/model/GetMaxAttemptsPerDayResult.h
|
||||
include/alibabacloud/outboundbot/model/GetSummaryInfoRequest.h
|
||||
include/alibabacloud/outboundbot/model/GetSummaryInfoResult.h
|
||||
include/alibabacloud/outboundbot/model/GetTaskByUuidRequest.h
|
||||
include/alibabacloud/outboundbot/model/GetTaskByUuidResult.h
|
||||
include/alibabacloud/outboundbot/model/GetVersionRequest.h
|
||||
include/alibabacloud/outboundbot/model/GetVersionResult.h
|
||||
include/alibabacloud/outboundbot/model/ImportScriptRequest.h
|
||||
include/alibabacloud/outboundbot/model/ImportScriptResult.h
|
||||
include/alibabacloud/outboundbot/model/InflightTaskTimeoutRequest.h
|
||||
@@ -103,14 +149,16 @@ set(outboundbot_public_header_model
|
||||
include/alibabacloud/outboundbot/model/ListIntentsResult.h
|
||||
include/alibabacloud/outboundbot/model/ListJobGroupsRequest.h
|
||||
include/alibabacloud/outboundbot/model/ListJobGroupsResult.h
|
||||
include/alibabacloud/outboundbot/model/ListJobGroupsAsyncRequest.h
|
||||
include/alibabacloud/outboundbot/model/ListJobGroupsAsyncResult.h
|
||||
include/alibabacloud/outboundbot/model/ListJobsRequest.h
|
||||
include/alibabacloud/outboundbot/model/ListJobsResult.h
|
||||
include/alibabacloud/outboundbot/model/ListJobsByGroupRequest.h
|
||||
include/alibabacloud/outboundbot/model/ListJobsByGroupResult.h
|
||||
include/alibabacloud/outboundbot/model/ListMediaRequest.h
|
||||
include/alibabacloud/outboundbot/model/ListMediaResult.h
|
||||
include/alibabacloud/outboundbot/model/ListOutboundCallNumbersRequest.h
|
||||
include/alibabacloud/outboundbot/model/ListOutboundCallNumbersResult.h
|
||||
include/alibabacloud/outboundbot/model/ListResourceTagsRequest.h
|
||||
include/alibabacloud/outboundbot/model/ListResourceTagsResult.h
|
||||
include/alibabacloud/outboundbot/model/ListSchedulerInstancesRequest.h
|
||||
include/alibabacloud/outboundbot/model/ListSchedulerInstancesResult.h
|
||||
include/alibabacloud/outboundbot/model/ListScriptPublishHistoriesRequest.h
|
||||
@@ -119,12 +167,16 @@ set(outboundbot_public_header_model
|
||||
include/alibabacloud/outboundbot/model/ListScriptVoiceConfigsResult.h
|
||||
include/alibabacloud/outboundbot/model/ListScriptsRequest.h
|
||||
include/alibabacloud/outboundbot/model/ListScriptsResult.h
|
||||
include/alibabacloud/outboundbot/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/outboundbot/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/outboundbot/model/ListTagsRequest.h
|
||||
include/alibabacloud/outboundbot/model/ListTagsResult.h
|
||||
include/alibabacloud/outboundbot/model/ModifyBatchJobsRequest.h
|
||||
include/alibabacloud/outboundbot/model/ModifyBatchJobsResult.h
|
||||
include/alibabacloud/outboundbot/model/ModifyDialogueFlowRequest.h
|
||||
include/alibabacloud/outboundbot/model/ModifyDialogueFlowResult.h
|
||||
include/alibabacloud/outboundbot/model/ModifyEmptyNumberNoMoreCallsInfoRequest.h
|
||||
include/alibabacloud/outboundbot/model/ModifyEmptyNumberNoMoreCallsInfoResult.h
|
||||
include/alibabacloud/outboundbot/model/ModifyGlobalQuestionRequest.h
|
||||
include/alibabacloud/outboundbot/model/ModifyGlobalQuestionResult.h
|
||||
include/alibabacloud/outboundbot/model/ModifyInstanceRequest.h
|
||||
@@ -149,6 +201,8 @@ set(outboundbot_public_header_model
|
||||
include/alibabacloud/outboundbot/model/PublishScriptForDebugResult.h
|
||||
include/alibabacloud/outboundbot/model/QueryJobsRequest.h
|
||||
include/alibabacloud/outboundbot/model/QueryJobsResult.h
|
||||
include/alibabacloud/outboundbot/model/QueryJobsWithResultRequest.h
|
||||
include/alibabacloud/outboundbot/model/QueryJobsWithResultResult.h
|
||||
include/alibabacloud/outboundbot/model/QueryScriptWaveformsRequest.h
|
||||
include/alibabacloud/outboundbot/model/QueryScriptWaveformsResult.h
|
||||
include/alibabacloud/outboundbot/model/QueryScriptsByStatusRequest.h
|
||||
@@ -159,6 +213,18 @@ set(outboundbot_public_header_model
|
||||
include/alibabacloud/outboundbot/model/ResumeJobsResult.h
|
||||
include/alibabacloud/outboundbot/model/RollbackScriptRequest.h
|
||||
include/alibabacloud/outboundbot/model/RollbackScriptResult.h
|
||||
include/alibabacloud/outboundbot/model/SaveAfterAnswerDelayPlaybackRequest.h
|
||||
include/alibabacloud/outboundbot/model/SaveAfterAnswerDelayPlaybackResult.h
|
||||
include/alibabacloud/outboundbot/model/SaveBaseStrategyPeriodRequest.h
|
||||
include/alibabacloud/outboundbot/model/SaveBaseStrategyPeriodResult.h
|
||||
include/alibabacloud/outboundbot/model/SaveContactBlockListRequest.h
|
||||
include/alibabacloud/outboundbot/model/SaveContactBlockListResult.h
|
||||
include/alibabacloud/outboundbot/model/SaveContactWhiteListRequest.h
|
||||
include/alibabacloud/outboundbot/model/SaveContactWhiteListResult.h
|
||||
include/alibabacloud/outboundbot/model/SaveEffectiveDaysRequest.h
|
||||
include/alibabacloud/outboundbot/model/SaveEffectiveDaysResult.h
|
||||
include/alibabacloud/outboundbot/model/SaveMaxAttemptsPerDayRequest.h
|
||||
include/alibabacloud/outboundbot/model/SaveMaxAttemptsPerDayResult.h
|
||||
include/alibabacloud/outboundbot/model/StartJobRequest.h
|
||||
include/alibabacloud/outboundbot/model/StartJobResult.h
|
||||
include/alibabacloud/outboundbot/model/SubmitBatchJobsRequest.h
|
||||
@@ -167,10 +233,18 @@ set(outboundbot_public_header_model
|
||||
include/alibabacloud/outboundbot/model/SubmitRecordingResult.h
|
||||
include/alibabacloud/outboundbot/model/SubmitScriptReviewRequest.h
|
||||
include/alibabacloud/outboundbot/model/SubmitScriptReviewResult.h
|
||||
include/alibabacloud/outboundbot/model/SuspendCallRequest.h
|
||||
include/alibabacloud/outboundbot/model/SuspendCallResult.h
|
||||
include/alibabacloud/outboundbot/model/SuspendCallWithFileRequest.h
|
||||
include/alibabacloud/outboundbot/model/SuspendCallWithFileResult.h
|
||||
include/alibabacloud/outboundbot/model/SuspendJobsRequest.h
|
||||
include/alibabacloud/outboundbot/model/SuspendJobsResult.h
|
||||
include/alibabacloud/outboundbot/model/TagResourcesRequest.h
|
||||
include/alibabacloud/outboundbot/model/TagResourcesResult.h
|
||||
include/alibabacloud/outboundbot/model/TaskPreparingRequest.h
|
||||
include/alibabacloud/outboundbot/model/TaskPreparingResult.h
|
||||
include/alibabacloud/outboundbot/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/outboundbot/model/UntagResourcesResult.h
|
||||
include/alibabacloud/outboundbot/model/WithdrawScriptReviewRequest.h
|
||||
include/alibabacloud/outboundbot/model/WithdrawScriptReviewResult.h )
|
||||
|
||||
@@ -180,8 +254,12 @@ set(outboundbot_src
|
||||
src/model/AssignJobsResult.cc
|
||||
src/model/CancelJobsRequest.cc
|
||||
src/model/CancelJobsResult.cc
|
||||
src/model/ChangeResourceGroupRequest.cc
|
||||
src/model/ChangeResourceGroupResult.cc
|
||||
src/model/CreateBatchJobsRequest.cc
|
||||
src/model/CreateBatchJobsResult.cc
|
||||
src/model/CreateBatchRepeatJobRequest.cc
|
||||
src/model/CreateBatchRepeatJobResult.cc
|
||||
src/model/CreateDialogueFlowRequest.cc
|
||||
src/model/CreateDialogueFlowResult.cc
|
||||
src/model/CreateGlobalQuestionRequest.cc
|
||||
@@ -190,8 +268,12 @@ set(outboundbot_src
|
||||
src/model/CreateInstanceResult.cc
|
||||
src/model/CreateIntentRequest.cc
|
||||
src/model/CreateIntentResult.cc
|
||||
src/model/CreateJobDataParsingTaskRequest.cc
|
||||
src/model/CreateJobDataParsingTaskResult.cc
|
||||
src/model/CreateJobGroupRequest.cc
|
||||
src/model/CreateJobGroupResult.cc
|
||||
src/model/CreateJobGroupExportTaskRequest.cc
|
||||
src/model/CreateJobGroupExportTaskResult.cc
|
||||
src/model/CreateOutboundCallNumberRequest.cc
|
||||
src/model/CreateOutboundCallNumberResult.cc
|
||||
src/model/CreateScriptRequest.cc
|
||||
@@ -200,6 +282,10 @@ set(outboundbot_src
|
||||
src/model/CreateScriptWaveformResult.cc
|
||||
src/model/CreateTagRequest.cc
|
||||
src/model/CreateTagResult.cc
|
||||
src/model/DeleteContactBlockListRequest.cc
|
||||
src/model/DeleteContactBlockListResult.cc
|
||||
src/model/DeleteContactWhiteListRequest.cc
|
||||
src/model/DeleteContactWhiteListResult.cc
|
||||
src/model/DeleteDialogueFlowRequest.cc
|
||||
src/model/DeleteDialogueFlowResult.cc
|
||||
src/model/DeleteGlobalQuestionRequest.cc
|
||||
@@ -216,16 +302,28 @@ set(outboundbot_src
|
||||
src/model/DeleteScriptResult.cc
|
||||
src/model/DeleteScriptWaveformRequest.cc
|
||||
src/model/DeleteScriptWaveformResult.cc
|
||||
src/model/DescribeDialogueNodeStatisticsRequest.cc
|
||||
src/model/DescribeDialogueNodeStatisticsResult.cc
|
||||
src/model/DescribeDsReportsRequest.cc
|
||||
src/model/DescribeDsReportsResult.cc
|
||||
src/model/DescribeGlobalQuestionRequest.cc
|
||||
src/model/DescribeGlobalQuestionResult.cc
|
||||
src/model/DescribeGroupExecutingInfoRequest.cc
|
||||
src/model/DescribeGroupExecutingInfoResult.cc
|
||||
src/model/DescribeInstanceRequest.cc
|
||||
src/model/DescribeInstanceResult.cc
|
||||
src/model/DescribeIntentRequest.cc
|
||||
src/model/DescribeIntentResult.cc
|
||||
src/model/DescribeIntentStatisticsRequest.cc
|
||||
src/model/DescribeIntentStatisticsResult.cc
|
||||
src/model/DescribeJobRequest.cc
|
||||
src/model/DescribeJobResult.cc
|
||||
src/model/DescribeJobDataParsingTaskProgressRequest.cc
|
||||
src/model/DescribeJobDataParsingTaskProgressResult.cc
|
||||
src/model/DescribeJobGroupRequest.cc
|
||||
src/model/DescribeJobGroupResult.cc
|
||||
src/model/DescribeJobGroupExportTaskProgressRequest.cc
|
||||
src/model/DescribeJobGroupExportTaskProgressResult.cc
|
||||
src/model/DescribeScriptRequest.cc
|
||||
src/model/DescribeScriptResult.cc
|
||||
src/model/DescribeScriptVoiceConfigRequest.cc
|
||||
@@ -244,6 +342,28 @@ set(outboundbot_src
|
||||
src/model/DuplicateScriptResult.cc
|
||||
src/model/ExportScriptRequest.cc
|
||||
src/model/ExportScriptResult.cc
|
||||
src/model/GetAfterAnswerDelayPlaybackRequest.cc
|
||||
src/model/GetAfterAnswerDelayPlaybackResult.cc
|
||||
src/model/GetAsrServerInfoRequest.cc
|
||||
src/model/GetAsrServerInfoResult.cc
|
||||
src/model/GetBaseStrategyPeriodRequest.cc
|
||||
src/model/GetBaseStrategyPeriodResult.cc
|
||||
src/model/GetContactBlockListRequest.cc
|
||||
src/model/GetContactBlockListResult.cc
|
||||
src/model/GetContactWhiteListRequest.cc
|
||||
src/model/GetContactWhiteListResult.cc
|
||||
src/model/GetEffectiveDaysRequest.cc
|
||||
src/model/GetEffectiveDaysResult.cc
|
||||
src/model/GetEmptyNumberNoMoreCallsInfoRequest.cc
|
||||
src/model/GetEmptyNumberNoMoreCallsInfoResult.cc
|
||||
src/model/GetMaxAttemptsPerDayRequest.cc
|
||||
src/model/GetMaxAttemptsPerDayResult.cc
|
||||
src/model/GetSummaryInfoRequest.cc
|
||||
src/model/GetSummaryInfoResult.cc
|
||||
src/model/GetTaskByUuidRequest.cc
|
||||
src/model/GetTaskByUuidResult.cc
|
||||
src/model/GetVersionRequest.cc
|
||||
src/model/GetVersionResult.cc
|
||||
src/model/ImportScriptRequest.cc
|
||||
src/model/ImportScriptResult.cc
|
||||
src/model/InflightTaskTimeoutRequest.cc
|
||||
@@ -258,14 +378,16 @@ set(outboundbot_src
|
||||
src/model/ListIntentsResult.cc
|
||||
src/model/ListJobGroupsRequest.cc
|
||||
src/model/ListJobGroupsResult.cc
|
||||
src/model/ListJobGroupsAsyncRequest.cc
|
||||
src/model/ListJobGroupsAsyncResult.cc
|
||||
src/model/ListJobsRequest.cc
|
||||
src/model/ListJobsResult.cc
|
||||
src/model/ListJobsByGroupRequest.cc
|
||||
src/model/ListJobsByGroupResult.cc
|
||||
src/model/ListMediaRequest.cc
|
||||
src/model/ListMediaResult.cc
|
||||
src/model/ListOutboundCallNumbersRequest.cc
|
||||
src/model/ListOutboundCallNumbersResult.cc
|
||||
src/model/ListResourceTagsRequest.cc
|
||||
src/model/ListResourceTagsResult.cc
|
||||
src/model/ListSchedulerInstancesRequest.cc
|
||||
src/model/ListSchedulerInstancesResult.cc
|
||||
src/model/ListScriptPublishHistoriesRequest.cc
|
||||
@@ -274,12 +396,16 @@ set(outboundbot_src
|
||||
src/model/ListScriptVoiceConfigsResult.cc
|
||||
src/model/ListScriptsRequest.cc
|
||||
src/model/ListScriptsResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ListTagsRequest.cc
|
||||
src/model/ListTagsResult.cc
|
||||
src/model/ModifyBatchJobsRequest.cc
|
||||
src/model/ModifyBatchJobsResult.cc
|
||||
src/model/ModifyDialogueFlowRequest.cc
|
||||
src/model/ModifyDialogueFlowResult.cc
|
||||
src/model/ModifyEmptyNumberNoMoreCallsInfoRequest.cc
|
||||
src/model/ModifyEmptyNumberNoMoreCallsInfoResult.cc
|
||||
src/model/ModifyGlobalQuestionRequest.cc
|
||||
src/model/ModifyGlobalQuestionResult.cc
|
||||
src/model/ModifyInstanceRequest.cc
|
||||
@@ -304,6 +430,8 @@ set(outboundbot_src
|
||||
src/model/PublishScriptForDebugResult.cc
|
||||
src/model/QueryJobsRequest.cc
|
||||
src/model/QueryJobsResult.cc
|
||||
src/model/QueryJobsWithResultRequest.cc
|
||||
src/model/QueryJobsWithResultResult.cc
|
||||
src/model/QueryScriptWaveformsRequest.cc
|
||||
src/model/QueryScriptWaveformsResult.cc
|
||||
src/model/QueryScriptsByStatusRequest.cc
|
||||
@@ -314,6 +442,18 @@ set(outboundbot_src
|
||||
src/model/ResumeJobsResult.cc
|
||||
src/model/RollbackScriptRequest.cc
|
||||
src/model/RollbackScriptResult.cc
|
||||
src/model/SaveAfterAnswerDelayPlaybackRequest.cc
|
||||
src/model/SaveAfterAnswerDelayPlaybackResult.cc
|
||||
src/model/SaveBaseStrategyPeriodRequest.cc
|
||||
src/model/SaveBaseStrategyPeriodResult.cc
|
||||
src/model/SaveContactBlockListRequest.cc
|
||||
src/model/SaveContactBlockListResult.cc
|
||||
src/model/SaveContactWhiteListRequest.cc
|
||||
src/model/SaveContactWhiteListResult.cc
|
||||
src/model/SaveEffectiveDaysRequest.cc
|
||||
src/model/SaveEffectiveDaysResult.cc
|
||||
src/model/SaveMaxAttemptsPerDayRequest.cc
|
||||
src/model/SaveMaxAttemptsPerDayResult.cc
|
||||
src/model/StartJobRequest.cc
|
||||
src/model/StartJobResult.cc
|
||||
src/model/SubmitBatchJobsRequest.cc
|
||||
@@ -322,10 +462,18 @@ set(outboundbot_src
|
||||
src/model/SubmitRecordingResult.cc
|
||||
src/model/SubmitScriptReviewRequest.cc
|
||||
src/model/SubmitScriptReviewResult.cc
|
||||
src/model/SuspendCallRequest.cc
|
||||
src/model/SuspendCallResult.cc
|
||||
src/model/SuspendCallWithFileRequest.cc
|
||||
src/model/SuspendCallWithFileResult.cc
|
||||
src/model/SuspendJobsRequest.cc
|
||||
src/model/SuspendJobsResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/TaskPreparingRequest.cc
|
||||
src/model/TaskPreparingResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/WithdrawScriptReviewRequest.cc
|
||||
src/model/WithdrawScriptReviewResult.cc )
|
||||
|
||||
|
||||
@@ -26,8 +26,12 @@
|
||||
#include "model/AssignJobsResult.h"
|
||||
#include "model/CancelJobsRequest.h"
|
||||
#include "model/CancelJobsResult.h"
|
||||
#include "model/ChangeResourceGroupRequest.h"
|
||||
#include "model/ChangeResourceGroupResult.h"
|
||||
#include "model/CreateBatchJobsRequest.h"
|
||||
#include "model/CreateBatchJobsResult.h"
|
||||
#include "model/CreateBatchRepeatJobRequest.h"
|
||||
#include "model/CreateBatchRepeatJobResult.h"
|
||||
#include "model/CreateDialogueFlowRequest.h"
|
||||
#include "model/CreateDialogueFlowResult.h"
|
||||
#include "model/CreateGlobalQuestionRequest.h"
|
||||
@@ -36,8 +40,12 @@
|
||||
#include "model/CreateInstanceResult.h"
|
||||
#include "model/CreateIntentRequest.h"
|
||||
#include "model/CreateIntentResult.h"
|
||||
#include "model/CreateJobDataParsingTaskRequest.h"
|
||||
#include "model/CreateJobDataParsingTaskResult.h"
|
||||
#include "model/CreateJobGroupRequest.h"
|
||||
#include "model/CreateJobGroupResult.h"
|
||||
#include "model/CreateJobGroupExportTaskRequest.h"
|
||||
#include "model/CreateJobGroupExportTaskResult.h"
|
||||
#include "model/CreateOutboundCallNumberRequest.h"
|
||||
#include "model/CreateOutboundCallNumberResult.h"
|
||||
#include "model/CreateScriptRequest.h"
|
||||
@@ -46,6 +54,10 @@
|
||||
#include "model/CreateScriptWaveformResult.h"
|
||||
#include "model/CreateTagRequest.h"
|
||||
#include "model/CreateTagResult.h"
|
||||
#include "model/DeleteContactBlockListRequest.h"
|
||||
#include "model/DeleteContactBlockListResult.h"
|
||||
#include "model/DeleteContactWhiteListRequest.h"
|
||||
#include "model/DeleteContactWhiteListResult.h"
|
||||
#include "model/DeleteDialogueFlowRequest.h"
|
||||
#include "model/DeleteDialogueFlowResult.h"
|
||||
#include "model/DeleteGlobalQuestionRequest.h"
|
||||
@@ -62,16 +74,28 @@
|
||||
#include "model/DeleteScriptResult.h"
|
||||
#include "model/DeleteScriptWaveformRequest.h"
|
||||
#include "model/DeleteScriptWaveformResult.h"
|
||||
#include "model/DescribeDialogueNodeStatisticsRequest.h"
|
||||
#include "model/DescribeDialogueNodeStatisticsResult.h"
|
||||
#include "model/DescribeDsReportsRequest.h"
|
||||
#include "model/DescribeDsReportsResult.h"
|
||||
#include "model/DescribeGlobalQuestionRequest.h"
|
||||
#include "model/DescribeGlobalQuestionResult.h"
|
||||
#include "model/DescribeGroupExecutingInfoRequest.h"
|
||||
#include "model/DescribeGroupExecutingInfoResult.h"
|
||||
#include "model/DescribeInstanceRequest.h"
|
||||
#include "model/DescribeInstanceResult.h"
|
||||
#include "model/DescribeIntentRequest.h"
|
||||
#include "model/DescribeIntentResult.h"
|
||||
#include "model/DescribeIntentStatisticsRequest.h"
|
||||
#include "model/DescribeIntentStatisticsResult.h"
|
||||
#include "model/DescribeJobRequest.h"
|
||||
#include "model/DescribeJobResult.h"
|
||||
#include "model/DescribeJobDataParsingTaskProgressRequest.h"
|
||||
#include "model/DescribeJobDataParsingTaskProgressResult.h"
|
||||
#include "model/DescribeJobGroupRequest.h"
|
||||
#include "model/DescribeJobGroupResult.h"
|
||||
#include "model/DescribeJobGroupExportTaskProgressRequest.h"
|
||||
#include "model/DescribeJobGroupExportTaskProgressResult.h"
|
||||
#include "model/DescribeScriptRequest.h"
|
||||
#include "model/DescribeScriptResult.h"
|
||||
#include "model/DescribeScriptVoiceConfigRequest.h"
|
||||
@@ -90,6 +114,28 @@
|
||||
#include "model/DuplicateScriptResult.h"
|
||||
#include "model/ExportScriptRequest.h"
|
||||
#include "model/ExportScriptResult.h"
|
||||
#include "model/GetAfterAnswerDelayPlaybackRequest.h"
|
||||
#include "model/GetAfterAnswerDelayPlaybackResult.h"
|
||||
#include "model/GetAsrServerInfoRequest.h"
|
||||
#include "model/GetAsrServerInfoResult.h"
|
||||
#include "model/GetBaseStrategyPeriodRequest.h"
|
||||
#include "model/GetBaseStrategyPeriodResult.h"
|
||||
#include "model/GetContactBlockListRequest.h"
|
||||
#include "model/GetContactBlockListResult.h"
|
||||
#include "model/GetContactWhiteListRequest.h"
|
||||
#include "model/GetContactWhiteListResult.h"
|
||||
#include "model/GetEffectiveDaysRequest.h"
|
||||
#include "model/GetEffectiveDaysResult.h"
|
||||
#include "model/GetEmptyNumberNoMoreCallsInfoRequest.h"
|
||||
#include "model/GetEmptyNumberNoMoreCallsInfoResult.h"
|
||||
#include "model/GetMaxAttemptsPerDayRequest.h"
|
||||
#include "model/GetMaxAttemptsPerDayResult.h"
|
||||
#include "model/GetSummaryInfoRequest.h"
|
||||
#include "model/GetSummaryInfoResult.h"
|
||||
#include "model/GetTaskByUuidRequest.h"
|
||||
#include "model/GetTaskByUuidResult.h"
|
||||
#include "model/GetVersionRequest.h"
|
||||
#include "model/GetVersionResult.h"
|
||||
#include "model/ImportScriptRequest.h"
|
||||
#include "model/ImportScriptResult.h"
|
||||
#include "model/InflightTaskTimeoutRequest.h"
|
||||
@@ -104,14 +150,16 @@
|
||||
#include "model/ListIntentsResult.h"
|
||||
#include "model/ListJobGroupsRequest.h"
|
||||
#include "model/ListJobGroupsResult.h"
|
||||
#include "model/ListJobGroupsAsyncRequest.h"
|
||||
#include "model/ListJobGroupsAsyncResult.h"
|
||||
#include "model/ListJobsRequest.h"
|
||||
#include "model/ListJobsResult.h"
|
||||
#include "model/ListJobsByGroupRequest.h"
|
||||
#include "model/ListJobsByGroupResult.h"
|
||||
#include "model/ListMediaRequest.h"
|
||||
#include "model/ListMediaResult.h"
|
||||
#include "model/ListOutboundCallNumbersRequest.h"
|
||||
#include "model/ListOutboundCallNumbersResult.h"
|
||||
#include "model/ListResourceTagsRequest.h"
|
||||
#include "model/ListResourceTagsResult.h"
|
||||
#include "model/ListSchedulerInstancesRequest.h"
|
||||
#include "model/ListSchedulerInstancesResult.h"
|
||||
#include "model/ListScriptPublishHistoriesRequest.h"
|
||||
@@ -120,12 +168,16 @@
|
||||
#include "model/ListScriptVoiceConfigsResult.h"
|
||||
#include "model/ListScriptsRequest.h"
|
||||
#include "model/ListScriptsResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ListTagsRequest.h"
|
||||
#include "model/ListTagsResult.h"
|
||||
#include "model/ModifyBatchJobsRequest.h"
|
||||
#include "model/ModifyBatchJobsResult.h"
|
||||
#include "model/ModifyDialogueFlowRequest.h"
|
||||
#include "model/ModifyDialogueFlowResult.h"
|
||||
#include "model/ModifyEmptyNumberNoMoreCallsInfoRequest.h"
|
||||
#include "model/ModifyEmptyNumberNoMoreCallsInfoResult.h"
|
||||
#include "model/ModifyGlobalQuestionRequest.h"
|
||||
#include "model/ModifyGlobalQuestionResult.h"
|
||||
#include "model/ModifyInstanceRequest.h"
|
||||
@@ -150,6 +202,8 @@
|
||||
#include "model/PublishScriptForDebugResult.h"
|
||||
#include "model/QueryJobsRequest.h"
|
||||
#include "model/QueryJobsResult.h"
|
||||
#include "model/QueryJobsWithResultRequest.h"
|
||||
#include "model/QueryJobsWithResultResult.h"
|
||||
#include "model/QueryScriptWaveformsRequest.h"
|
||||
#include "model/QueryScriptWaveformsResult.h"
|
||||
#include "model/QueryScriptsByStatusRequest.h"
|
||||
@@ -160,6 +214,18 @@
|
||||
#include "model/ResumeJobsResult.h"
|
||||
#include "model/RollbackScriptRequest.h"
|
||||
#include "model/RollbackScriptResult.h"
|
||||
#include "model/SaveAfterAnswerDelayPlaybackRequest.h"
|
||||
#include "model/SaveAfterAnswerDelayPlaybackResult.h"
|
||||
#include "model/SaveBaseStrategyPeriodRequest.h"
|
||||
#include "model/SaveBaseStrategyPeriodResult.h"
|
||||
#include "model/SaveContactBlockListRequest.h"
|
||||
#include "model/SaveContactBlockListResult.h"
|
||||
#include "model/SaveContactWhiteListRequest.h"
|
||||
#include "model/SaveContactWhiteListResult.h"
|
||||
#include "model/SaveEffectiveDaysRequest.h"
|
||||
#include "model/SaveEffectiveDaysResult.h"
|
||||
#include "model/SaveMaxAttemptsPerDayRequest.h"
|
||||
#include "model/SaveMaxAttemptsPerDayResult.h"
|
||||
#include "model/StartJobRequest.h"
|
||||
#include "model/StartJobResult.h"
|
||||
#include "model/SubmitBatchJobsRequest.h"
|
||||
@@ -168,10 +234,18 @@
|
||||
#include "model/SubmitRecordingResult.h"
|
||||
#include "model/SubmitScriptReviewRequest.h"
|
||||
#include "model/SubmitScriptReviewResult.h"
|
||||
#include "model/SuspendCallRequest.h"
|
||||
#include "model/SuspendCallResult.h"
|
||||
#include "model/SuspendCallWithFileRequest.h"
|
||||
#include "model/SuspendCallWithFileResult.h"
|
||||
#include "model/SuspendJobsRequest.h"
|
||||
#include "model/SuspendJobsResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/TaskPreparingRequest.h"
|
||||
#include "model/TaskPreparingResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/WithdrawScriptReviewRequest.h"
|
||||
#include "model/WithdrawScriptReviewResult.h"
|
||||
|
||||
@@ -189,9 +263,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CancelJobsResult> CancelJobsOutcome;
|
||||
typedef std::future<CancelJobsOutcome> CancelJobsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CancelJobsRequest&, const CancelJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChangeResourceGroupResult> ChangeResourceGroupOutcome;
|
||||
typedef std::future<ChangeResourceGroupOutcome> ChangeResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ChangeResourceGroupRequest&, const ChangeResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResourceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateBatchJobsResult> CreateBatchJobsOutcome;
|
||||
typedef std::future<CreateBatchJobsOutcome> CreateBatchJobsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CreateBatchJobsRequest&, const CreateBatchJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBatchJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateBatchRepeatJobResult> CreateBatchRepeatJobOutcome;
|
||||
typedef std::future<CreateBatchRepeatJobOutcome> CreateBatchRepeatJobOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CreateBatchRepeatJobRequest&, const CreateBatchRepeatJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBatchRepeatJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDialogueFlowResult> CreateDialogueFlowOutcome;
|
||||
typedef std::future<CreateDialogueFlowOutcome> CreateDialogueFlowOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CreateDialogueFlowRequest&, const CreateDialogueFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDialogueFlowAsyncHandler;
|
||||
@@ -204,9 +284,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateIntentResult> CreateIntentOutcome;
|
||||
typedef std::future<CreateIntentOutcome> CreateIntentOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CreateIntentRequest&, const CreateIntentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateIntentAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateJobDataParsingTaskResult> CreateJobDataParsingTaskOutcome;
|
||||
typedef std::future<CreateJobDataParsingTaskOutcome> CreateJobDataParsingTaskOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CreateJobDataParsingTaskRequest&, const CreateJobDataParsingTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateJobDataParsingTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateJobGroupResult> CreateJobGroupOutcome;
|
||||
typedef std::future<CreateJobGroupOutcome> CreateJobGroupOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CreateJobGroupRequest&, const CreateJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateJobGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateJobGroupExportTaskResult> CreateJobGroupExportTaskOutcome;
|
||||
typedef std::future<CreateJobGroupExportTaskOutcome> CreateJobGroupExportTaskOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CreateJobGroupExportTaskRequest&, const CreateJobGroupExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateJobGroupExportTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateOutboundCallNumberResult> CreateOutboundCallNumberOutcome;
|
||||
typedef std::future<CreateOutboundCallNumberOutcome> CreateOutboundCallNumberOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CreateOutboundCallNumberRequest&, const CreateOutboundCallNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOutboundCallNumberAsyncHandler;
|
||||
@@ -219,6 +305,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateTagResult> CreateTagOutcome;
|
||||
typedef std::future<CreateTagOutcome> CreateTagOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::CreateTagRequest&, const CreateTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteContactBlockListResult> DeleteContactBlockListOutcome;
|
||||
typedef std::future<DeleteContactBlockListOutcome> DeleteContactBlockListOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DeleteContactBlockListRequest&, const DeleteContactBlockListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteContactBlockListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteContactWhiteListResult> DeleteContactWhiteListOutcome;
|
||||
typedef std::future<DeleteContactWhiteListOutcome> DeleteContactWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DeleteContactWhiteListRequest&, const DeleteContactWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteContactWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDialogueFlowResult> DeleteDialogueFlowOutcome;
|
||||
typedef std::future<DeleteDialogueFlowOutcome> DeleteDialogueFlowOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DeleteDialogueFlowRequest&, const DeleteDialogueFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDialogueFlowAsyncHandler;
|
||||
@@ -243,21 +335,39 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteScriptWaveformResult> DeleteScriptWaveformOutcome;
|
||||
typedef std::future<DeleteScriptWaveformOutcome> DeleteScriptWaveformOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DeleteScriptWaveformRequest&, const DeleteScriptWaveformOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteScriptWaveformAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDialogueNodeStatisticsResult> DescribeDialogueNodeStatisticsOutcome;
|
||||
typedef std::future<DescribeDialogueNodeStatisticsOutcome> DescribeDialogueNodeStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DescribeDialogueNodeStatisticsRequest&, const DescribeDialogueNodeStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDialogueNodeStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDsReportsResult> DescribeDsReportsOutcome;
|
||||
typedef std::future<DescribeDsReportsOutcome> DescribeDsReportsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DescribeDsReportsRequest&, const DescribeDsReportsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDsReportsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeGlobalQuestionResult> DescribeGlobalQuestionOutcome;
|
||||
typedef std::future<DescribeGlobalQuestionOutcome> DescribeGlobalQuestionOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DescribeGlobalQuestionRequest&, const DescribeGlobalQuestionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGlobalQuestionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeGroupExecutingInfoResult> DescribeGroupExecutingInfoOutcome;
|
||||
typedef std::future<DescribeGroupExecutingInfoOutcome> DescribeGroupExecutingInfoOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DescribeGroupExecutingInfoRequest&, const DescribeGroupExecutingInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGroupExecutingInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeInstanceResult> DescribeInstanceOutcome;
|
||||
typedef std::future<DescribeInstanceOutcome> DescribeInstanceOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DescribeInstanceRequest&, const DescribeInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeIntentResult> DescribeIntentOutcome;
|
||||
typedef std::future<DescribeIntentOutcome> DescribeIntentOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DescribeIntentRequest&, const DescribeIntentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIntentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeIntentStatisticsResult> DescribeIntentStatisticsOutcome;
|
||||
typedef std::future<DescribeIntentStatisticsOutcome> DescribeIntentStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DescribeIntentStatisticsRequest&, const DescribeIntentStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIntentStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeJobResult> DescribeJobOutcome;
|
||||
typedef std::future<DescribeJobOutcome> DescribeJobOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DescribeJobRequest&, const DescribeJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeJobDataParsingTaskProgressResult> DescribeJobDataParsingTaskProgressOutcome;
|
||||
typedef std::future<DescribeJobDataParsingTaskProgressOutcome> DescribeJobDataParsingTaskProgressOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DescribeJobDataParsingTaskProgressRequest&, const DescribeJobDataParsingTaskProgressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeJobDataParsingTaskProgressAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeJobGroupResult> DescribeJobGroupOutcome;
|
||||
typedef std::future<DescribeJobGroupOutcome> DescribeJobGroupOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DescribeJobGroupRequest&, const DescribeJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeJobGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeJobGroupExportTaskProgressResult> DescribeJobGroupExportTaskProgressOutcome;
|
||||
typedef std::future<DescribeJobGroupExportTaskProgressOutcome> DescribeJobGroupExportTaskProgressOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DescribeJobGroupExportTaskProgressRequest&, const DescribeJobGroupExportTaskProgressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeJobGroupExportTaskProgressAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeScriptResult> DescribeScriptOutcome;
|
||||
typedef std::future<DescribeScriptOutcome> DescribeScriptOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::DescribeScriptRequest&, const DescribeScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeScriptAsyncHandler;
|
||||
@@ -285,6 +395,39 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ExportScriptResult> ExportScriptOutcome;
|
||||
typedef std::future<ExportScriptOutcome> ExportScriptOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ExportScriptRequest&, const ExportScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportScriptAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAfterAnswerDelayPlaybackResult> GetAfterAnswerDelayPlaybackOutcome;
|
||||
typedef std::future<GetAfterAnswerDelayPlaybackOutcome> GetAfterAnswerDelayPlaybackOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetAfterAnswerDelayPlaybackRequest&, const GetAfterAnswerDelayPlaybackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAfterAnswerDelayPlaybackAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAsrServerInfoResult> GetAsrServerInfoOutcome;
|
||||
typedef std::future<GetAsrServerInfoOutcome> GetAsrServerInfoOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetAsrServerInfoRequest&, const GetAsrServerInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAsrServerInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetBaseStrategyPeriodResult> GetBaseStrategyPeriodOutcome;
|
||||
typedef std::future<GetBaseStrategyPeriodOutcome> GetBaseStrategyPeriodOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetBaseStrategyPeriodRequest&, const GetBaseStrategyPeriodOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBaseStrategyPeriodAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetContactBlockListResult> GetContactBlockListOutcome;
|
||||
typedef std::future<GetContactBlockListOutcome> GetContactBlockListOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetContactBlockListRequest&, const GetContactBlockListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetContactBlockListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetContactWhiteListResult> GetContactWhiteListOutcome;
|
||||
typedef std::future<GetContactWhiteListOutcome> GetContactWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetContactWhiteListRequest&, const GetContactWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetContactWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetEffectiveDaysResult> GetEffectiveDaysOutcome;
|
||||
typedef std::future<GetEffectiveDaysOutcome> GetEffectiveDaysOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetEffectiveDaysRequest&, const GetEffectiveDaysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEffectiveDaysAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetEmptyNumberNoMoreCallsInfoResult> GetEmptyNumberNoMoreCallsInfoOutcome;
|
||||
typedef std::future<GetEmptyNumberNoMoreCallsInfoOutcome> GetEmptyNumberNoMoreCallsInfoOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetEmptyNumberNoMoreCallsInfoRequest&, const GetEmptyNumberNoMoreCallsInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEmptyNumberNoMoreCallsInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMaxAttemptsPerDayResult> GetMaxAttemptsPerDayOutcome;
|
||||
typedef std::future<GetMaxAttemptsPerDayOutcome> GetMaxAttemptsPerDayOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetMaxAttemptsPerDayRequest&, const GetMaxAttemptsPerDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMaxAttemptsPerDayAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSummaryInfoResult> GetSummaryInfoOutcome;
|
||||
typedef std::future<GetSummaryInfoOutcome> GetSummaryInfoOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetSummaryInfoRequest&, const GetSummaryInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSummaryInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTaskByUuidResult> GetTaskByUuidOutcome;
|
||||
typedef std::future<GetTaskByUuidOutcome> GetTaskByUuidOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetTaskByUuidRequest&, const GetTaskByUuidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTaskByUuidAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetVersionResult> GetVersionOutcome;
|
||||
typedef std::future<GetVersionOutcome> GetVersionOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::GetVersionRequest&, const GetVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ImportScriptResult> ImportScriptOutcome;
|
||||
typedef std::future<ImportScriptOutcome> ImportScriptOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ImportScriptRequest&, const ImportScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImportScriptAsyncHandler;
|
||||
@@ -306,18 +449,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListJobGroupsResult> ListJobGroupsOutcome;
|
||||
typedef std::future<ListJobGroupsOutcome> ListJobGroupsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListJobGroupsRequest&, const ListJobGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListJobGroupsAsyncResult> ListJobGroupsAsyncOutcome;
|
||||
typedef std::future<ListJobGroupsAsyncOutcome> ListJobGroupsAsyncOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListJobGroupsAsyncRequest&, const ListJobGroupsAsyncOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobGroupsAsyncAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListJobsResult> ListJobsOutcome;
|
||||
typedef std::future<ListJobsOutcome> ListJobsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListJobsRequest&, const ListJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListJobsByGroupResult> ListJobsByGroupOutcome;
|
||||
typedef std::future<ListJobsByGroupOutcome> ListJobsByGroupOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListJobsByGroupRequest&, const ListJobsByGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobsByGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMediaResult> ListMediaOutcome;
|
||||
typedef std::future<ListMediaOutcome> ListMediaOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListMediaRequest&, const ListMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMediaAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListOutboundCallNumbersResult> ListOutboundCallNumbersOutcome;
|
||||
typedef std::future<ListOutboundCallNumbersOutcome> ListOutboundCallNumbersOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListOutboundCallNumbersRequest&, const ListOutboundCallNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOutboundCallNumbersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListResourceTagsResult> ListResourceTagsOutcome;
|
||||
typedef std::future<ListResourceTagsOutcome> ListResourceTagsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListResourceTagsRequest&, const ListResourceTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListResourceTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSchedulerInstancesResult> ListSchedulerInstancesOutcome;
|
||||
typedef std::future<ListSchedulerInstancesOutcome> ListSchedulerInstancesOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListSchedulerInstancesRequest&, const ListSchedulerInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSchedulerInstancesAsyncHandler;
|
||||
@@ -330,6 +476,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListScriptsResult> ListScriptsOutcome;
|
||||
typedef std::future<ListScriptsOutcome> ListScriptsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListScriptsRequest&, const ListScriptsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScriptsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagsResult> ListTagsOutcome;
|
||||
typedef std::future<ListTagsOutcome> ListTagsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ListTagsRequest&, const ListTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagsAsyncHandler;
|
||||
@@ -339,6 +488,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyDialogueFlowResult> ModifyDialogueFlowOutcome;
|
||||
typedef std::future<ModifyDialogueFlowOutcome> ModifyDialogueFlowOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ModifyDialogueFlowRequest&, const ModifyDialogueFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDialogueFlowAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyEmptyNumberNoMoreCallsInfoResult> ModifyEmptyNumberNoMoreCallsInfoOutcome;
|
||||
typedef std::future<ModifyEmptyNumberNoMoreCallsInfoOutcome> ModifyEmptyNumberNoMoreCallsInfoOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ModifyEmptyNumberNoMoreCallsInfoRequest&, const ModifyEmptyNumberNoMoreCallsInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEmptyNumberNoMoreCallsInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyGlobalQuestionResult> ModifyGlobalQuestionOutcome;
|
||||
typedef std::future<ModifyGlobalQuestionOutcome> ModifyGlobalQuestionOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::ModifyGlobalQuestionRequest&, const ModifyGlobalQuestionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyGlobalQuestionAsyncHandler;
|
||||
@@ -375,6 +527,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryJobsResult> QueryJobsOutcome;
|
||||
typedef std::future<QueryJobsOutcome> QueryJobsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::QueryJobsRequest&, const QueryJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryJobsWithResultResult> QueryJobsWithResultOutcome;
|
||||
typedef std::future<QueryJobsWithResultOutcome> QueryJobsWithResultOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::QueryJobsWithResultRequest&, const QueryJobsWithResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryJobsWithResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryScriptWaveformsResult> QueryScriptWaveformsOutcome;
|
||||
typedef std::future<QueryScriptWaveformsOutcome> QueryScriptWaveformsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::QueryScriptWaveformsRequest&, const QueryScriptWaveformsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryScriptWaveformsAsyncHandler;
|
||||
@@ -390,6 +545,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RollbackScriptResult> RollbackScriptOutcome;
|
||||
typedef std::future<RollbackScriptOutcome> RollbackScriptOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::RollbackScriptRequest&, const RollbackScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackScriptAsyncHandler;
|
||||
typedef Outcome<Error, Model::SaveAfterAnswerDelayPlaybackResult> SaveAfterAnswerDelayPlaybackOutcome;
|
||||
typedef std::future<SaveAfterAnswerDelayPlaybackOutcome> SaveAfterAnswerDelayPlaybackOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::SaveAfterAnswerDelayPlaybackRequest&, const SaveAfterAnswerDelayPlaybackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveAfterAnswerDelayPlaybackAsyncHandler;
|
||||
typedef Outcome<Error, Model::SaveBaseStrategyPeriodResult> SaveBaseStrategyPeriodOutcome;
|
||||
typedef std::future<SaveBaseStrategyPeriodOutcome> SaveBaseStrategyPeriodOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::SaveBaseStrategyPeriodRequest&, const SaveBaseStrategyPeriodOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveBaseStrategyPeriodAsyncHandler;
|
||||
typedef Outcome<Error, Model::SaveContactBlockListResult> SaveContactBlockListOutcome;
|
||||
typedef std::future<SaveContactBlockListOutcome> SaveContactBlockListOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::SaveContactBlockListRequest&, const SaveContactBlockListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveContactBlockListAsyncHandler;
|
||||
typedef Outcome<Error, Model::SaveContactWhiteListResult> SaveContactWhiteListOutcome;
|
||||
typedef std::future<SaveContactWhiteListOutcome> SaveContactWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::SaveContactWhiteListRequest&, const SaveContactWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveContactWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::SaveEffectiveDaysResult> SaveEffectiveDaysOutcome;
|
||||
typedef std::future<SaveEffectiveDaysOutcome> SaveEffectiveDaysOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::SaveEffectiveDaysRequest&, const SaveEffectiveDaysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveEffectiveDaysAsyncHandler;
|
||||
typedef Outcome<Error, Model::SaveMaxAttemptsPerDayResult> SaveMaxAttemptsPerDayOutcome;
|
||||
typedef std::future<SaveMaxAttemptsPerDayOutcome> SaveMaxAttemptsPerDayOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::SaveMaxAttemptsPerDayRequest&, const SaveMaxAttemptsPerDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveMaxAttemptsPerDayAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartJobResult> StartJobOutcome;
|
||||
typedef std::future<StartJobOutcome> StartJobOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::StartJobRequest&, const StartJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartJobAsyncHandler;
|
||||
@@ -402,12 +575,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SubmitScriptReviewResult> SubmitScriptReviewOutcome;
|
||||
typedef std::future<SubmitScriptReviewOutcome> SubmitScriptReviewOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::SubmitScriptReviewRequest&, const SubmitScriptReviewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitScriptReviewAsyncHandler;
|
||||
typedef Outcome<Error, Model::SuspendCallResult> SuspendCallOutcome;
|
||||
typedef std::future<SuspendCallOutcome> SuspendCallOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::SuspendCallRequest&, const SuspendCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::SuspendCallWithFileResult> SuspendCallWithFileOutcome;
|
||||
typedef std::future<SuspendCallWithFileOutcome> SuspendCallWithFileOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::SuspendCallWithFileRequest&, const SuspendCallWithFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendCallWithFileAsyncHandler;
|
||||
typedef Outcome<Error, Model::SuspendJobsResult> SuspendJobsOutcome;
|
||||
typedef std::future<SuspendJobsOutcome> SuspendJobsOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::SuspendJobsRequest&, const SuspendJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::TaskPreparingResult> TaskPreparingOutcome;
|
||||
typedef std::future<TaskPreparingOutcome> TaskPreparingOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::TaskPreparingRequest&, const TaskPreparingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaskPreparingAsyncHandler;
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::WithdrawScriptReviewResult> WithdrawScriptReviewOutcome;
|
||||
typedef std::future<WithdrawScriptReviewOutcome> WithdrawScriptReviewOutcomeCallable;
|
||||
typedef std::function<void(const OutboundBotClient*, const Model::WithdrawScriptReviewRequest&, const WithdrawScriptReviewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WithdrawScriptReviewAsyncHandler;
|
||||
@@ -422,9 +607,15 @@ namespace AlibabaCloud
|
||||
CancelJobsOutcome cancelJobs(const Model::CancelJobsRequest &request)const;
|
||||
void cancelJobsAsync(const Model::CancelJobsRequest& request, const CancelJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelJobsOutcomeCallable cancelJobsCallable(const Model::CancelJobsRequest& request) const;
|
||||
ChangeResourceGroupOutcome changeResourceGroup(const Model::ChangeResourceGroupRequest &request)const;
|
||||
void changeResourceGroupAsync(const Model::ChangeResourceGroupRequest& request, const ChangeResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeResourceGroupOutcomeCallable changeResourceGroupCallable(const Model::ChangeResourceGroupRequest& request) const;
|
||||
CreateBatchJobsOutcome createBatchJobs(const Model::CreateBatchJobsRequest &request)const;
|
||||
void createBatchJobsAsync(const Model::CreateBatchJobsRequest& request, const CreateBatchJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateBatchJobsOutcomeCallable createBatchJobsCallable(const Model::CreateBatchJobsRequest& request) const;
|
||||
CreateBatchRepeatJobOutcome createBatchRepeatJob(const Model::CreateBatchRepeatJobRequest &request)const;
|
||||
void createBatchRepeatJobAsync(const Model::CreateBatchRepeatJobRequest& request, const CreateBatchRepeatJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateBatchRepeatJobOutcomeCallable createBatchRepeatJobCallable(const Model::CreateBatchRepeatJobRequest& request) const;
|
||||
CreateDialogueFlowOutcome createDialogueFlow(const Model::CreateDialogueFlowRequest &request)const;
|
||||
void createDialogueFlowAsync(const Model::CreateDialogueFlowRequest& request, const CreateDialogueFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDialogueFlowOutcomeCallable createDialogueFlowCallable(const Model::CreateDialogueFlowRequest& request) const;
|
||||
@@ -437,9 +628,15 @@ namespace AlibabaCloud
|
||||
CreateIntentOutcome createIntent(const Model::CreateIntentRequest &request)const;
|
||||
void createIntentAsync(const Model::CreateIntentRequest& request, const CreateIntentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateIntentOutcomeCallable createIntentCallable(const Model::CreateIntentRequest& request) const;
|
||||
CreateJobDataParsingTaskOutcome createJobDataParsingTask(const Model::CreateJobDataParsingTaskRequest &request)const;
|
||||
void createJobDataParsingTaskAsync(const Model::CreateJobDataParsingTaskRequest& request, const CreateJobDataParsingTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateJobDataParsingTaskOutcomeCallable createJobDataParsingTaskCallable(const Model::CreateJobDataParsingTaskRequest& request) const;
|
||||
CreateJobGroupOutcome createJobGroup(const Model::CreateJobGroupRequest &request)const;
|
||||
void createJobGroupAsync(const Model::CreateJobGroupRequest& request, const CreateJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateJobGroupOutcomeCallable createJobGroupCallable(const Model::CreateJobGroupRequest& request) const;
|
||||
CreateJobGroupExportTaskOutcome createJobGroupExportTask(const Model::CreateJobGroupExportTaskRequest &request)const;
|
||||
void createJobGroupExportTaskAsync(const Model::CreateJobGroupExportTaskRequest& request, const CreateJobGroupExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateJobGroupExportTaskOutcomeCallable createJobGroupExportTaskCallable(const Model::CreateJobGroupExportTaskRequest& request) const;
|
||||
CreateOutboundCallNumberOutcome createOutboundCallNumber(const Model::CreateOutboundCallNumberRequest &request)const;
|
||||
void createOutboundCallNumberAsync(const Model::CreateOutboundCallNumberRequest& request, const CreateOutboundCallNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateOutboundCallNumberOutcomeCallable createOutboundCallNumberCallable(const Model::CreateOutboundCallNumberRequest& request) const;
|
||||
@@ -452,6 +649,12 @@ namespace AlibabaCloud
|
||||
CreateTagOutcome createTag(const Model::CreateTagRequest &request)const;
|
||||
void createTagAsync(const Model::CreateTagRequest& request, const CreateTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTagOutcomeCallable createTagCallable(const Model::CreateTagRequest& request) const;
|
||||
DeleteContactBlockListOutcome deleteContactBlockList(const Model::DeleteContactBlockListRequest &request)const;
|
||||
void deleteContactBlockListAsync(const Model::DeleteContactBlockListRequest& request, const DeleteContactBlockListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteContactBlockListOutcomeCallable deleteContactBlockListCallable(const Model::DeleteContactBlockListRequest& request) const;
|
||||
DeleteContactWhiteListOutcome deleteContactWhiteList(const Model::DeleteContactWhiteListRequest &request)const;
|
||||
void deleteContactWhiteListAsync(const Model::DeleteContactWhiteListRequest& request, const DeleteContactWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteContactWhiteListOutcomeCallable deleteContactWhiteListCallable(const Model::DeleteContactWhiteListRequest& request) const;
|
||||
DeleteDialogueFlowOutcome deleteDialogueFlow(const Model::DeleteDialogueFlowRequest &request)const;
|
||||
void deleteDialogueFlowAsync(const Model::DeleteDialogueFlowRequest& request, const DeleteDialogueFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDialogueFlowOutcomeCallable deleteDialogueFlowCallable(const Model::DeleteDialogueFlowRequest& request) const;
|
||||
@@ -476,21 +679,39 @@ namespace AlibabaCloud
|
||||
DeleteScriptWaveformOutcome deleteScriptWaveform(const Model::DeleteScriptWaveformRequest &request)const;
|
||||
void deleteScriptWaveformAsync(const Model::DeleteScriptWaveformRequest& request, const DeleteScriptWaveformAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteScriptWaveformOutcomeCallable deleteScriptWaveformCallable(const Model::DeleteScriptWaveformRequest& request) const;
|
||||
DescribeDialogueNodeStatisticsOutcome describeDialogueNodeStatistics(const Model::DescribeDialogueNodeStatisticsRequest &request)const;
|
||||
void describeDialogueNodeStatisticsAsync(const Model::DescribeDialogueNodeStatisticsRequest& request, const DescribeDialogueNodeStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDialogueNodeStatisticsOutcomeCallable describeDialogueNodeStatisticsCallable(const Model::DescribeDialogueNodeStatisticsRequest& request) const;
|
||||
DescribeDsReportsOutcome describeDsReports(const Model::DescribeDsReportsRequest &request)const;
|
||||
void describeDsReportsAsync(const Model::DescribeDsReportsRequest& request, const DescribeDsReportsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDsReportsOutcomeCallable describeDsReportsCallable(const Model::DescribeDsReportsRequest& request) const;
|
||||
DescribeGlobalQuestionOutcome describeGlobalQuestion(const Model::DescribeGlobalQuestionRequest &request)const;
|
||||
void describeGlobalQuestionAsync(const Model::DescribeGlobalQuestionRequest& request, const DescribeGlobalQuestionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGlobalQuestionOutcomeCallable describeGlobalQuestionCallable(const Model::DescribeGlobalQuestionRequest& request) const;
|
||||
DescribeGroupExecutingInfoOutcome describeGroupExecutingInfo(const Model::DescribeGroupExecutingInfoRequest &request)const;
|
||||
void describeGroupExecutingInfoAsync(const Model::DescribeGroupExecutingInfoRequest& request, const DescribeGroupExecutingInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGroupExecutingInfoOutcomeCallable describeGroupExecutingInfoCallable(const Model::DescribeGroupExecutingInfoRequest& request) const;
|
||||
DescribeInstanceOutcome describeInstance(const Model::DescribeInstanceRequest &request)const;
|
||||
void describeInstanceAsync(const Model::DescribeInstanceRequest& request, const DescribeInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInstanceOutcomeCallable describeInstanceCallable(const Model::DescribeInstanceRequest& request) const;
|
||||
DescribeIntentOutcome describeIntent(const Model::DescribeIntentRequest &request)const;
|
||||
void describeIntentAsync(const Model::DescribeIntentRequest& request, const DescribeIntentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeIntentOutcomeCallable describeIntentCallable(const Model::DescribeIntentRequest& request) const;
|
||||
DescribeIntentStatisticsOutcome describeIntentStatistics(const Model::DescribeIntentStatisticsRequest &request)const;
|
||||
void describeIntentStatisticsAsync(const Model::DescribeIntentStatisticsRequest& request, const DescribeIntentStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeIntentStatisticsOutcomeCallable describeIntentStatisticsCallable(const Model::DescribeIntentStatisticsRequest& request) const;
|
||||
DescribeJobOutcome describeJob(const Model::DescribeJobRequest &request)const;
|
||||
void describeJobAsync(const Model::DescribeJobRequest& request, const DescribeJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeJobOutcomeCallable describeJobCallable(const Model::DescribeJobRequest& request) const;
|
||||
DescribeJobDataParsingTaskProgressOutcome describeJobDataParsingTaskProgress(const Model::DescribeJobDataParsingTaskProgressRequest &request)const;
|
||||
void describeJobDataParsingTaskProgressAsync(const Model::DescribeJobDataParsingTaskProgressRequest& request, const DescribeJobDataParsingTaskProgressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeJobDataParsingTaskProgressOutcomeCallable describeJobDataParsingTaskProgressCallable(const Model::DescribeJobDataParsingTaskProgressRequest& request) const;
|
||||
DescribeJobGroupOutcome describeJobGroup(const Model::DescribeJobGroupRequest &request)const;
|
||||
void describeJobGroupAsync(const Model::DescribeJobGroupRequest& request, const DescribeJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeJobGroupOutcomeCallable describeJobGroupCallable(const Model::DescribeJobGroupRequest& request) const;
|
||||
DescribeJobGroupExportTaskProgressOutcome describeJobGroupExportTaskProgress(const Model::DescribeJobGroupExportTaskProgressRequest &request)const;
|
||||
void describeJobGroupExportTaskProgressAsync(const Model::DescribeJobGroupExportTaskProgressRequest& request, const DescribeJobGroupExportTaskProgressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeJobGroupExportTaskProgressOutcomeCallable describeJobGroupExportTaskProgressCallable(const Model::DescribeJobGroupExportTaskProgressRequest& request) const;
|
||||
DescribeScriptOutcome describeScript(const Model::DescribeScriptRequest &request)const;
|
||||
void describeScriptAsync(const Model::DescribeScriptRequest& request, const DescribeScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeScriptOutcomeCallable describeScriptCallable(const Model::DescribeScriptRequest& request) const;
|
||||
@@ -518,6 +739,39 @@ namespace AlibabaCloud
|
||||
ExportScriptOutcome exportScript(const Model::ExportScriptRequest &request)const;
|
||||
void exportScriptAsync(const Model::ExportScriptRequest& request, const ExportScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExportScriptOutcomeCallable exportScriptCallable(const Model::ExportScriptRequest& request) const;
|
||||
GetAfterAnswerDelayPlaybackOutcome getAfterAnswerDelayPlayback(const Model::GetAfterAnswerDelayPlaybackRequest &request)const;
|
||||
void getAfterAnswerDelayPlaybackAsync(const Model::GetAfterAnswerDelayPlaybackRequest& request, const GetAfterAnswerDelayPlaybackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAfterAnswerDelayPlaybackOutcomeCallable getAfterAnswerDelayPlaybackCallable(const Model::GetAfterAnswerDelayPlaybackRequest& request) const;
|
||||
GetAsrServerInfoOutcome getAsrServerInfo(const Model::GetAsrServerInfoRequest &request)const;
|
||||
void getAsrServerInfoAsync(const Model::GetAsrServerInfoRequest& request, const GetAsrServerInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAsrServerInfoOutcomeCallable getAsrServerInfoCallable(const Model::GetAsrServerInfoRequest& request) const;
|
||||
GetBaseStrategyPeriodOutcome getBaseStrategyPeriod(const Model::GetBaseStrategyPeriodRequest &request)const;
|
||||
void getBaseStrategyPeriodAsync(const Model::GetBaseStrategyPeriodRequest& request, const GetBaseStrategyPeriodAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetBaseStrategyPeriodOutcomeCallable getBaseStrategyPeriodCallable(const Model::GetBaseStrategyPeriodRequest& request) const;
|
||||
GetContactBlockListOutcome getContactBlockList(const Model::GetContactBlockListRequest &request)const;
|
||||
void getContactBlockListAsync(const Model::GetContactBlockListRequest& request, const GetContactBlockListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetContactBlockListOutcomeCallable getContactBlockListCallable(const Model::GetContactBlockListRequest& request) const;
|
||||
GetContactWhiteListOutcome getContactWhiteList(const Model::GetContactWhiteListRequest &request)const;
|
||||
void getContactWhiteListAsync(const Model::GetContactWhiteListRequest& request, const GetContactWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetContactWhiteListOutcomeCallable getContactWhiteListCallable(const Model::GetContactWhiteListRequest& request) const;
|
||||
GetEffectiveDaysOutcome getEffectiveDays(const Model::GetEffectiveDaysRequest &request)const;
|
||||
void getEffectiveDaysAsync(const Model::GetEffectiveDaysRequest& request, const GetEffectiveDaysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetEffectiveDaysOutcomeCallable getEffectiveDaysCallable(const Model::GetEffectiveDaysRequest& request) const;
|
||||
GetEmptyNumberNoMoreCallsInfoOutcome getEmptyNumberNoMoreCallsInfo(const Model::GetEmptyNumberNoMoreCallsInfoRequest &request)const;
|
||||
void getEmptyNumberNoMoreCallsInfoAsync(const Model::GetEmptyNumberNoMoreCallsInfoRequest& request, const GetEmptyNumberNoMoreCallsInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetEmptyNumberNoMoreCallsInfoOutcomeCallable getEmptyNumberNoMoreCallsInfoCallable(const Model::GetEmptyNumberNoMoreCallsInfoRequest& request) const;
|
||||
GetMaxAttemptsPerDayOutcome getMaxAttemptsPerDay(const Model::GetMaxAttemptsPerDayRequest &request)const;
|
||||
void getMaxAttemptsPerDayAsync(const Model::GetMaxAttemptsPerDayRequest& request, const GetMaxAttemptsPerDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMaxAttemptsPerDayOutcomeCallable getMaxAttemptsPerDayCallable(const Model::GetMaxAttemptsPerDayRequest& request) const;
|
||||
GetSummaryInfoOutcome getSummaryInfo(const Model::GetSummaryInfoRequest &request)const;
|
||||
void getSummaryInfoAsync(const Model::GetSummaryInfoRequest& request, const GetSummaryInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSummaryInfoOutcomeCallable getSummaryInfoCallable(const Model::GetSummaryInfoRequest& request) const;
|
||||
GetTaskByUuidOutcome getTaskByUuid(const Model::GetTaskByUuidRequest &request)const;
|
||||
void getTaskByUuidAsync(const Model::GetTaskByUuidRequest& request, const GetTaskByUuidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTaskByUuidOutcomeCallable getTaskByUuidCallable(const Model::GetTaskByUuidRequest& request) const;
|
||||
GetVersionOutcome getVersion(const Model::GetVersionRequest &request)const;
|
||||
void getVersionAsync(const Model::GetVersionRequest& request, const GetVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetVersionOutcomeCallable getVersionCallable(const Model::GetVersionRequest& request) const;
|
||||
ImportScriptOutcome importScript(const Model::ImportScriptRequest &request)const;
|
||||
void importScriptAsync(const Model::ImportScriptRequest& request, const ImportScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ImportScriptOutcomeCallable importScriptCallable(const Model::ImportScriptRequest& request) const;
|
||||
@@ -539,18 +793,21 @@ namespace AlibabaCloud
|
||||
ListJobGroupsOutcome listJobGroups(const Model::ListJobGroupsRequest &request)const;
|
||||
void listJobGroupsAsync(const Model::ListJobGroupsRequest& request, const ListJobGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListJobGroupsOutcomeCallable listJobGroupsCallable(const Model::ListJobGroupsRequest& request) const;
|
||||
ListJobGroupsAsyncOutcome listJobGroupsAsync(const Model::ListJobGroupsAsyncRequest &request)const;
|
||||
void listJobGroupsAsyncAsync(const Model::ListJobGroupsAsyncRequest& request, const ListJobGroupsAsyncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListJobGroupsAsyncOutcomeCallable listJobGroupsAsyncCallable(const Model::ListJobGroupsAsyncRequest& request) const;
|
||||
ListJobsOutcome listJobs(const Model::ListJobsRequest &request)const;
|
||||
void listJobsAsync(const Model::ListJobsRequest& request, const ListJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListJobsOutcomeCallable listJobsCallable(const Model::ListJobsRequest& request) const;
|
||||
ListJobsByGroupOutcome listJobsByGroup(const Model::ListJobsByGroupRequest &request)const;
|
||||
void listJobsByGroupAsync(const Model::ListJobsByGroupRequest& request, const ListJobsByGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListJobsByGroupOutcomeCallable listJobsByGroupCallable(const Model::ListJobsByGroupRequest& request) const;
|
||||
ListMediaOutcome listMedia(const Model::ListMediaRequest &request)const;
|
||||
void listMediaAsync(const Model::ListMediaRequest& request, const ListMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMediaOutcomeCallable listMediaCallable(const Model::ListMediaRequest& request) const;
|
||||
ListOutboundCallNumbersOutcome listOutboundCallNumbers(const Model::ListOutboundCallNumbersRequest &request)const;
|
||||
void listOutboundCallNumbersAsync(const Model::ListOutboundCallNumbersRequest& request, const ListOutboundCallNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListOutboundCallNumbersOutcomeCallable listOutboundCallNumbersCallable(const Model::ListOutboundCallNumbersRequest& request) const;
|
||||
ListResourceTagsOutcome listResourceTags(const Model::ListResourceTagsRequest &request)const;
|
||||
void listResourceTagsAsync(const Model::ListResourceTagsRequest& request, const ListResourceTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListResourceTagsOutcomeCallable listResourceTagsCallable(const Model::ListResourceTagsRequest& request) const;
|
||||
ListSchedulerInstancesOutcome listSchedulerInstances(const Model::ListSchedulerInstancesRequest &request)const;
|
||||
void listSchedulerInstancesAsync(const Model::ListSchedulerInstancesRequest& request, const ListSchedulerInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSchedulerInstancesOutcomeCallable listSchedulerInstancesCallable(const Model::ListSchedulerInstancesRequest& request) const;
|
||||
@@ -563,6 +820,9 @@ namespace AlibabaCloud
|
||||
ListScriptsOutcome listScripts(const Model::ListScriptsRequest &request)const;
|
||||
void listScriptsAsync(const Model::ListScriptsRequest& request, const ListScriptsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListScriptsOutcomeCallable listScriptsCallable(const Model::ListScriptsRequest& request) const;
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
ListTagsOutcome listTags(const Model::ListTagsRequest &request)const;
|
||||
void listTagsAsync(const Model::ListTagsRequest& request, const ListTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagsOutcomeCallable listTagsCallable(const Model::ListTagsRequest& request) const;
|
||||
@@ -572,6 +832,9 @@ namespace AlibabaCloud
|
||||
ModifyDialogueFlowOutcome modifyDialogueFlow(const Model::ModifyDialogueFlowRequest &request)const;
|
||||
void modifyDialogueFlowAsync(const Model::ModifyDialogueFlowRequest& request, const ModifyDialogueFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDialogueFlowOutcomeCallable modifyDialogueFlowCallable(const Model::ModifyDialogueFlowRequest& request) const;
|
||||
ModifyEmptyNumberNoMoreCallsInfoOutcome modifyEmptyNumberNoMoreCallsInfo(const Model::ModifyEmptyNumberNoMoreCallsInfoRequest &request)const;
|
||||
void modifyEmptyNumberNoMoreCallsInfoAsync(const Model::ModifyEmptyNumberNoMoreCallsInfoRequest& request, const ModifyEmptyNumberNoMoreCallsInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyEmptyNumberNoMoreCallsInfoOutcomeCallable modifyEmptyNumberNoMoreCallsInfoCallable(const Model::ModifyEmptyNumberNoMoreCallsInfoRequest& request) const;
|
||||
ModifyGlobalQuestionOutcome modifyGlobalQuestion(const Model::ModifyGlobalQuestionRequest &request)const;
|
||||
void modifyGlobalQuestionAsync(const Model::ModifyGlobalQuestionRequest& request, const ModifyGlobalQuestionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyGlobalQuestionOutcomeCallable modifyGlobalQuestionCallable(const Model::ModifyGlobalQuestionRequest& request) const;
|
||||
@@ -608,6 +871,9 @@ namespace AlibabaCloud
|
||||
QueryJobsOutcome queryJobs(const Model::QueryJobsRequest &request)const;
|
||||
void queryJobsAsync(const Model::QueryJobsRequest& request, const QueryJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryJobsOutcomeCallable queryJobsCallable(const Model::QueryJobsRequest& request) const;
|
||||
QueryJobsWithResultOutcome queryJobsWithResult(const Model::QueryJobsWithResultRequest &request)const;
|
||||
void queryJobsWithResultAsync(const Model::QueryJobsWithResultRequest& request, const QueryJobsWithResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryJobsWithResultOutcomeCallable queryJobsWithResultCallable(const Model::QueryJobsWithResultRequest& request) const;
|
||||
QueryScriptWaveformsOutcome queryScriptWaveforms(const Model::QueryScriptWaveformsRequest &request)const;
|
||||
void queryScriptWaveformsAsync(const Model::QueryScriptWaveformsRequest& request, const QueryScriptWaveformsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryScriptWaveformsOutcomeCallable queryScriptWaveformsCallable(const Model::QueryScriptWaveformsRequest& request) const;
|
||||
@@ -623,6 +889,24 @@ namespace AlibabaCloud
|
||||
RollbackScriptOutcome rollbackScript(const Model::RollbackScriptRequest &request)const;
|
||||
void rollbackScriptAsync(const Model::RollbackScriptRequest& request, const RollbackScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RollbackScriptOutcomeCallable rollbackScriptCallable(const Model::RollbackScriptRequest& request) const;
|
||||
SaveAfterAnswerDelayPlaybackOutcome saveAfterAnswerDelayPlayback(const Model::SaveAfterAnswerDelayPlaybackRequest &request)const;
|
||||
void saveAfterAnswerDelayPlaybackAsync(const Model::SaveAfterAnswerDelayPlaybackRequest& request, const SaveAfterAnswerDelayPlaybackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveAfterAnswerDelayPlaybackOutcomeCallable saveAfterAnswerDelayPlaybackCallable(const Model::SaveAfterAnswerDelayPlaybackRequest& request) const;
|
||||
SaveBaseStrategyPeriodOutcome saveBaseStrategyPeriod(const Model::SaveBaseStrategyPeriodRequest &request)const;
|
||||
void saveBaseStrategyPeriodAsync(const Model::SaveBaseStrategyPeriodRequest& request, const SaveBaseStrategyPeriodAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveBaseStrategyPeriodOutcomeCallable saveBaseStrategyPeriodCallable(const Model::SaveBaseStrategyPeriodRequest& request) const;
|
||||
SaveContactBlockListOutcome saveContactBlockList(const Model::SaveContactBlockListRequest &request)const;
|
||||
void saveContactBlockListAsync(const Model::SaveContactBlockListRequest& request, const SaveContactBlockListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveContactBlockListOutcomeCallable saveContactBlockListCallable(const Model::SaveContactBlockListRequest& request) const;
|
||||
SaveContactWhiteListOutcome saveContactWhiteList(const Model::SaveContactWhiteListRequest &request)const;
|
||||
void saveContactWhiteListAsync(const Model::SaveContactWhiteListRequest& request, const SaveContactWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveContactWhiteListOutcomeCallable saveContactWhiteListCallable(const Model::SaveContactWhiteListRequest& request) const;
|
||||
SaveEffectiveDaysOutcome saveEffectiveDays(const Model::SaveEffectiveDaysRequest &request)const;
|
||||
void saveEffectiveDaysAsync(const Model::SaveEffectiveDaysRequest& request, const SaveEffectiveDaysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveEffectiveDaysOutcomeCallable saveEffectiveDaysCallable(const Model::SaveEffectiveDaysRequest& request) const;
|
||||
SaveMaxAttemptsPerDayOutcome saveMaxAttemptsPerDay(const Model::SaveMaxAttemptsPerDayRequest &request)const;
|
||||
void saveMaxAttemptsPerDayAsync(const Model::SaveMaxAttemptsPerDayRequest& request, const SaveMaxAttemptsPerDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveMaxAttemptsPerDayOutcomeCallable saveMaxAttemptsPerDayCallable(const Model::SaveMaxAttemptsPerDayRequest& request) const;
|
||||
StartJobOutcome startJob(const Model::StartJobRequest &request)const;
|
||||
void startJobAsync(const Model::StartJobRequest& request, const StartJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartJobOutcomeCallable startJobCallable(const Model::StartJobRequest& request) const;
|
||||
@@ -635,12 +919,24 @@ namespace AlibabaCloud
|
||||
SubmitScriptReviewOutcome submitScriptReview(const Model::SubmitScriptReviewRequest &request)const;
|
||||
void submitScriptReviewAsync(const Model::SubmitScriptReviewRequest& request, const SubmitScriptReviewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitScriptReviewOutcomeCallable submitScriptReviewCallable(const Model::SubmitScriptReviewRequest& request) const;
|
||||
SuspendCallOutcome suspendCall(const Model::SuspendCallRequest &request)const;
|
||||
void suspendCallAsync(const Model::SuspendCallRequest& request, const SuspendCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SuspendCallOutcomeCallable suspendCallCallable(const Model::SuspendCallRequest& request) const;
|
||||
SuspendCallWithFileOutcome suspendCallWithFile(const Model::SuspendCallWithFileRequest &request)const;
|
||||
void suspendCallWithFileAsync(const Model::SuspendCallWithFileRequest& request, const SuspendCallWithFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SuspendCallWithFileOutcomeCallable suspendCallWithFileCallable(const Model::SuspendCallWithFileRequest& request) const;
|
||||
SuspendJobsOutcome suspendJobs(const Model::SuspendJobsRequest &request)const;
|
||||
void suspendJobsAsync(const Model::SuspendJobsRequest& request, const SuspendJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SuspendJobsOutcomeCallable suspendJobsCallable(const Model::SuspendJobsRequest& request) const;
|
||||
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
TaskPreparingOutcome taskPreparing(const Model::TaskPreparingRequest &request)const;
|
||||
void taskPreparingAsync(const Model::TaskPreparingRequest& request, const TaskPreparingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TaskPreparingOutcomeCallable taskPreparingCallable(const Model::TaskPreparingRequest& request) const;
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
WithdrawScriptReviewOutcome withdrawScriptReview(const Model::WithdrawScriptReviewRequest &request)const;
|
||||
void withdrawScriptReviewAsync(const Model::WithdrawScriptReviewRequest& request, const WithdrawScriptReviewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
WithdrawScriptReviewOutcomeCallable withdrawScriptReviewCallable(const Model::WithdrawScriptReviewRequest& request) const;
|
||||
|
||||
@@ -41,17 +41,26 @@ namespace AlibabaCloud
|
||||
void setCallingNumber(const std::vector<std::string>& callingNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRosterType()const;
|
||||
void setRosterType(const std::string& rosterType);
|
||||
std::string getJobDataParsingTaskId()const;
|
||||
void setJobDataParsingTaskId(const std::string& jobDataParsingTaskId);
|
||||
std::string getStrategyJson()const;
|
||||
void setStrategyJson(const std::string& strategyJson);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
bool getIsAsynchrony()const;
|
||||
void setIsAsynchrony(bool isAsynchrony);
|
||||
|
||||
private:
|
||||
std::vector<std::string> jobsJson_;
|
||||
std::vector<std::string> callingNumber_;
|
||||
std::string instanceId_;
|
||||
std::string rosterType_;
|
||||
std::string jobDataParsingTaskId_;
|
||||
std::string strategyJson_;
|
||||
std::string jobGroupId_;
|
||||
bool isAsynchrony_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace AlibabaCloud
|
||||
AssignJobsResult();
|
||||
explicit AssignJobsResult(const std::string &payload);
|
||||
~AssignJobsResult();
|
||||
std::vector<std::string> getJobsId()const;
|
||||
std::string getJobGroupId()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
@@ -46,6 +47,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> jobsId_;
|
||||
std::string jobGroupId_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/outboundbot/OutboundBotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace OutboundBot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT ChangeResourceGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ChangeResourceGroupRequest();
|
||||
~ChangeResourceGroupRequest();
|
||||
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
std::string getNewResourceGroupId()const;
|
||||
void setNewResourceGroupId(const std::string& newResourceGroupId);
|
||||
|
||||
private:
|
||||
std::string resourceId_;
|
||||
std::string newResourceGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CHANGERESOURCEGROUPREQUEST_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_OUTBOUNDBOT_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/outboundbot/OutboundBotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace OutboundBot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT ChangeResourceGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ChangeResourceGroupResult();
|
||||
explicit ChangeResourceGroupResult(const std::string &payload);
|
||||
~ChangeResourceGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CHANGERESOURCEGROUPRESULT_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_OUTBOUNDBOT_MODEL_CREATEBATCHREPEATJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEBATCHREPEATJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/outboundbot/OutboundBotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace OutboundBot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT CreateBatchRepeatJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateBatchRepeatJobRequest();
|
||||
~CreateBatchRepeatJobRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getScriptId()const;
|
||||
void setScriptId(const std::string& scriptId);
|
||||
std::vector<std::string> getCallingNumber()const;
|
||||
void setCallingNumber(const std::vector<std::string>& callingNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getFilterStatus()const;
|
||||
void setFilterStatus(const std::string& filterStatus);
|
||||
std::string getStrategyJson()const;
|
||||
void setStrategyJson(const std::string& strategyJson);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getSourceGroupId()const;
|
||||
void setSourceGroupId(const std::string& sourceGroupId);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string scriptId_;
|
||||
std::vector<std::string> callingNumber_;
|
||||
std::string instanceId_;
|
||||
std::string filterStatus_;
|
||||
std::string strategyJson_;
|
||||
std::string name_;
|
||||
std::string sourceGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEBATCHREPEATJOBREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTMEDIARESULT_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTMEDIARESULT_H_
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEBATCHREPEATJOBRESULT_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEBATCHREPEATJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,24 +29,20 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT ListMediaResult : public ServiceResult
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT CreateBatchRepeatJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Media
|
||||
struct JobGroup
|
||||
{
|
||||
std::string mediaId;
|
||||
std::string name;
|
||||
std::string id;
|
||||
};
|
||||
|
||||
|
||||
ListMediaResult();
|
||||
explicit ListMediaResult(const std::string &payload);
|
||||
~ListMediaResult();
|
||||
std::vector<Media> getMediaList()const;
|
||||
int getTotalCount()const;
|
||||
CreateBatchRepeatJobResult();
|
||||
explicit CreateBatchRepeatJobResult(const std::string &payload);
|
||||
~CreateBatchRepeatJobResult();
|
||||
JobGroup getJobGroup()const;
|
||||
std::string getMessage()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -54,11 +50,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Media> mediaList_;
|
||||
int totalCount_;
|
||||
JobGroup jobGroup_;
|
||||
std::string message_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
@@ -67,4 +60,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_LISTMEDIARESULT_H_
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEBATCHREPEATJOBRESULT_H_
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setMaxConcurrentConversation(int maxConcurrentConversation);
|
||||
std::string getSecretKey()const;
|
||||
void setSecretKey(const std::string& secretKey);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getEndpoint()const;
|
||||
void setEndpoint(const std::string& endpoint);
|
||||
std::string getInstanceName()const;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
int maxConcurrentConversation_;
|
||||
std::string secretKey_;
|
||||
std::string resourceGroupId_;
|
||||
std::string endpoint_;
|
||||
std::string instanceName_;
|
||||
std::string callCenterInstanceId_;
|
||||
|
||||
@@ -40,15 +40,19 @@ namespace AlibabaCloud
|
||||
std::string endpoint;
|
||||
std::string accessKey;
|
||||
};
|
||||
std::string instanceName;
|
||||
std::string owner;
|
||||
int maxConcurrentConversation;
|
||||
std::string ownerName;
|
||||
std::string resourceGroupId;
|
||||
std::string instanceId;
|
||||
long creatorId;
|
||||
std::string callCenterInstanceId;
|
||||
std::string instanceName;
|
||||
int maxConcurrentConversation;
|
||||
long creationTime;
|
||||
std::string instanceDescription;
|
||||
std::string nluServiceType;
|
||||
NluProfile nluProfile;
|
||||
std::string callCenterInstanceId;
|
||||
std::string creatorName;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEJOBDATAPARSINGTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEJOBDATAPARSINGTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/outboundbot/OutboundBotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace OutboundBot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT CreateJobDataParsingTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateJobDataParsingTaskRequest();
|
||||
~CreateJobDataParsingTaskRequest();
|
||||
|
||||
std::string getJobFilePath()const;
|
||||
void setJobFilePath(const std::string& jobFilePath);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string jobFilePath_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEJOBDATAPARSINGTASKREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEJOBDATAPARSINGTASKRESULT_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEJOBDATAPARSINGTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/outboundbot/OutboundBotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace OutboundBot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT CreateJobDataParsingTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateJobDataParsingTaskResult();
|
||||
explicit CreateJobDataParsingTaskResult(const std::string &payload);
|
||||
~CreateJobDataParsingTaskResult();
|
||||
std::string getJobDataParsingTaskId()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string jobDataParsingTaskId_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEJOBDATAPARSINGTASKRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEJOBGROUPEXPORTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEJOBGROUPEXPORTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/outboundbot/OutboundBotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace OutboundBot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT CreateJobGroupExportTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateJobGroupExportTaskRequest();
|
||||
~CreateJobGroupExportTaskRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
std::vector<std::string> getOption()const;
|
||||
void setOption(const std::vector<std::string>& option);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string jobGroupId_;
|
||||
std::vector<std::string> option_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEJOBGROUPEXPORTTASKREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEJOBGROUPEXPORTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEJOBGROUPEXPORTTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/outboundbot/OutboundBotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace OutboundBot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT CreateJobGroupExportTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateJobGroupExportTaskResult();
|
||||
explicit CreateJobGroupExportTaskResult(const std::string &payload);
|
||||
~CreateJobGroupExportTaskResult();
|
||||
std::string getTaskId()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string taskId_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_CREATEJOBGROUPEXPORTTASKRESULT_H_
|
||||
@@ -34,6 +34,12 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct JobGroup
|
||||
{
|
||||
struct ExportProgress
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string fileHttpUrl;
|
||||
};
|
||||
struct Strategy
|
||||
{
|
||||
struct TimeFrame
|
||||
@@ -57,13 +63,19 @@ namespace AlibabaCloud
|
||||
std::string routingStrategy;
|
||||
std::vector<std::string> repeatDays;
|
||||
};
|
||||
std::string jobGroupId;
|
||||
std::string status;
|
||||
std::string modifyTime;
|
||||
std::string jobDataParsingTaskId;
|
||||
std::string scenarioId;
|
||||
std::string jobGroupName;
|
||||
std::string scriptVersion;
|
||||
std::string jobGroupDescription;
|
||||
std::string jobGroupId;
|
||||
std::string scriptName;
|
||||
long creationTime;
|
||||
Strategy strategy;
|
||||
std::string jobFilePath;
|
||||
std::string jobGroupDescription;
|
||||
ExportProgress exportProgress;
|
||||
std::vector<std::string> callingNumbers;
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETECONTACTBLOCKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETECONTACTBLOCKLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/outboundbot/OutboundBotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace OutboundBot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DeleteContactBlockListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteContactBlockListRequest();
|
||||
~DeleteContactBlockListRequest();
|
||||
|
||||
std::string getContactBlockListId()const;
|
||||
void setContactBlockListId(const std::string& contactBlockListId);
|
||||
std::string get_Operator()const;
|
||||
void set_Operator(const std::string& _operator);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string contactBlockListId_;
|
||||
std::string _operator_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETECONTACTBLOCKLISTREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETECONTACTBLOCKLISTRESULT_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETECONTACTBLOCKLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/outboundbot/OutboundBotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace OutboundBot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DeleteContactBlockListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteContactBlockListResult();
|
||||
explicit DeleteContactBlockListResult(const std::string &payload);
|
||||
~DeleteContactBlockListResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
int getAffectedRows()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
int affectedRows_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETECONTACTBLOCKLISTRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETECONTACTWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETECONTACTWHITELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/outboundbot/OutboundBotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace OutboundBot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DeleteContactWhiteListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteContactWhiteListRequest();
|
||||
~DeleteContactWhiteListRequest();
|
||||
|
||||
std::string get_Operator()const;
|
||||
void set_Operator(const std::string& _operator);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getContactWhiteListId()const;
|
||||
void setContactWhiteListId(const std::string& contactWhiteListId);
|
||||
|
||||
private:
|
||||
std::string _operator_;
|
||||
std::string instanceId_;
|
||||
std::string contactWhiteListId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DELETECONTACTWHITELISTREQUEST_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user