Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1a9328f7e | ||
|
|
54d2d73410 | ||
|
|
80e1de8211 | ||
|
|
08230d3328 | ||
|
|
517de0ab21 | ||
|
|
c1cb2b567a | ||
|
|
76073f9272 | ||
|
|
fd462547f3 | ||
|
|
5c65a87e3a | ||
|
|
acd143c294 | ||
|
|
ec00b5d969 | ||
|
|
18e5c75e02 | ||
|
|
0db2a87588 | ||
|
|
973d0d3250 | ||
|
|
8936a9504e | ||
|
|
22a5112af0 | ||
|
|
99ae87ba10 | ||
|
|
b0c5f8414d | ||
|
|
b3e689b905 |
60
CHANGELOG
60
CHANGELOG
@@ -1,3 +1,63 @@
|
||||
2019-11-26 Version 1.36.198
|
||||
- Supported API BindInstanceDomains.
|
||||
- Supported API UnbindInstanceDomains.
|
||||
- Supported API AddCustomLine.
|
||||
- Supported API UpdateCustomLine.
|
||||
- Supported API DeleteCustomLines.
|
||||
- Supported API DescribeCustomLine.
|
||||
- Supported API DescribeCustomLines.
|
||||
|
||||
2019-11-25 Version 1.36.197
|
||||
- Generated 2019-10-30 for `aliyuncvc`.
|
||||
|
||||
2019-11-25 Version 1.36.196
|
||||
- One or more people can be subscribed when creating tasks.
|
||||
|
||||
2019-11-21 Version 1.36.195
|
||||
- Add ConvertPayType.
|
||||
- Add ConvertLogstashPayType.
|
||||
|
||||
2019-11-21 Version 1.36.194
|
||||
- Generated 2017-10-11 for `Chatbot`.
|
||||
|
||||
2019-11-21 Version 1.36.193
|
||||
- Generated 2017-10-11 for `Chatbot`.
|
||||
|
||||
2019-11-21 Version 1.36.192
|
||||
- Generated 2019-10-30 for `aliyuncvc`.
|
||||
|
||||
2019-11-20 Version 1.36.191
|
||||
- Update Nlp Automl SDK.
|
||||
|
||||
2019-11-20 Version 1.36.190
|
||||
- Add new OpenAPI.
|
||||
|
||||
2019-11-20 Version 1.36.189
|
||||
- Add new pop api.
|
||||
|
||||
2019-11-20 Version 1.36.188
|
||||
- Generated 2014-05-26 for `Ecs`.
|
||||
|
||||
2019-11-20 Version 1.36.187
|
||||
- Generated 2018-04-12 for `EHPC`.
|
||||
|
||||
2019-11-20 Version 1.36.186
|
||||
- Supported ecsDemand CreateDemand, ModifyDemand, DeleteDemand API.
|
||||
- Modify ecsDemand DescribesDemands API.
|
||||
|
||||
2019-11-20 Version 1.36.185
|
||||
- Generated 2019-01-01 for `HBase`.
|
||||
|
||||
2019-11-20 Version 1.36.184
|
||||
- Add API ReportVoipProblems.
|
||||
- Add API QueryVoipNumberBindINfos.
|
||||
|
||||
2019-11-15 Version 1.36.183
|
||||
- Nlp Automl SDK.
|
||||
|
||||
2019-11-15 Version 1.36.182
|
||||
- Sync cdn APIs.
|
||||
|
||||
2019-11-15 Version 1.36.181
|
||||
- Fixed bugs.
|
||||
|
||||
|
||||
@@ -21,8 +21,12 @@ set(alidns_public_header
|
||||
include/alibabacloud/alidns/AlidnsExport.h )
|
||||
|
||||
set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/AddCustomLineRequest.h
|
||||
include/alibabacloud/alidns/model/AddCustomLineResult.h
|
||||
include/alibabacloud/alidns/model/AddDomainRequest.h
|
||||
include/alibabacloud/alidns/model/AddDomainResult.h
|
||||
include/alibabacloud/alidns/model/AddDomainBackupRequest.h
|
||||
include/alibabacloud/alidns/model/AddDomainBackupResult.h
|
||||
include/alibabacloud/alidns/model/AddDomainGroupRequest.h
|
||||
include/alibabacloud/alidns/model/AddDomainGroupResult.h
|
||||
include/alibabacloud/alidns/model/AddDomainRecordRequest.h
|
||||
@@ -35,10 +39,14 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/AddGtmMonitorResult.h
|
||||
include/alibabacloud/alidns/model/AddGtmRecoveryPlanRequest.h
|
||||
include/alibabacloud/alidns/model/AddGtmRecoveryPlanResult.h
|
||||
include/alibabacloud/alidns/model/BindInstanceDomainsRequest.h
|
||||
include/alibabacloud/alidns/model/BindInstanceDomainsResult.h
|
||||
include/alibabacloud/alidns/model/ChangeDomainGroupRequest.h
|
||||
include/alibabacloud/alidns/model/ChangeDomainGroupResult.h
|
||||
include/alibabacloud/alidns/model/ChangeDomainOfDnsProductRequest.h
|
||||
include/alibabacloud/alidns/model/ChangeDomainOfDnsProductResult.h
|
||||
include/alibabacloud/alidns/model/DeleteCustomLinesRequest.h
|
||||
include/alibabacloud/alidns/model/DeleteCustomLinesResult.h
|
||||
include/alibabacloud/alidns/model/DeleteDomainRequest.h
|
||||
include/alibabacloud/alidns/model/DeleteDomainResult.h
|
||||
include/alibabacloud/alidns/model/DeleteDomainGroupRequest.h
|
||||
@@ -57,6 +65,10 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/DescribeBatchResultCountResult.h
|
||||
include/alibabacloud/alidns/model/DescribeBatchResultDetailRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeBatchResultDetailResult.h
|
||||
include/alibabacloud/alidns/model/DescribeCustomLineRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeCustomLineResult.h
|
||||
include/alibabacloud/alidns/model/DescribeCustomLinesRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeCustomLinesResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsProductInstanceRequest.h
|
||||
@@ -123,6 +135,8 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/DescribeSubDomainRecordsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeSupportLinesRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeSupportLinesResult.h
|
||||
include/alibabacloud/alidns/model/DescribeTransferDomainsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeTransferDomainsResult.h
|
||||
include/alibabacloud/alidns/model/ExecuteGtmRecoveryPlanRequest.h
|
||||
include/alibabacloud/alidns/model/ExecuteGtmRecoveryPlanResult.h
|
||||
include/alibabacloud/alidns/model/GetMainDomainNameRequest.h
|
||||
@@ -143,6 +157,12 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/SetGtmAccessModeResult.h
|
||||
include/alibabacloud/alidns/model/SetGtmMonitorStatusRequest.h
|
||||
include/alibabacloud/alidns/model/SetGtmMonitorStatusResult.h
|
||||
include/alibabacloud/alidns/model/TransferDomainRequest.h
|
||||
include/alibabacloud/alidns/model/TransferDomainResult.h
|
||||
include/alibabacloud/alidns/model/UnbindInstanceDomainsRequest.h
|
||||
include/alibabacloud/alidns/model/UnbindInstanceDomainsResult.h
|
||||
include/alibabacloud/alidns/model/UpdateCustomLineRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateCustomLineResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateDNSSLBWeightResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDomainGroupRequest.h
|
||||
@@ -166,8 +186,12 @@ set(alidns_public_header_model
|
||||
|
||||
set(alidns_src
|
||||
src/AlidnsClient.cc
|
||||
src/model/AddCustomLineRequest.cc
|
||||
src/model/AddCustomLineResult.cc
|
||||
src/model/AddDomainRequest.cc
|
||||
src/model/AddDomainResult.cc
|
||||
src/model/AddDomainBackupRequest.cc
|
||||
src/model/AddDomainBackupResult.cc
|
||||
src/model/AddDomainGroupRequest.cc
|
||||
src/model/AddDomainGroupResult.cc
|
||||
src/model/AddDomainRecordRequest.cc
|
||||
@@ -180,10 +204,14 @@ set(alidns_src
|
||||
src/model/AddGtmMonitorResult.cc
|
||||
src/model/AddGtmRecoveryPlanRequest.cc
|
||||
src/model/AddGtmRecoveryPlanResult.cc
|
||||
src/model/BindInstanceDomainsRequest.cc
|
||||
src/model/BindInstanceDomainsResult.cc
|
||||
src/model/ChangeDomainGroupRequest.cc
|
||||
src/model/ChangeDomainGroupResult.cc
|
||||
src/model/ChangeDomainOfDnsProductRequest.cc
|
||||
src/model/ChangeDomainOfDnsProductResult.cc
|
||||
src/model/DeleteCustomLinesRequest.cc
|
||||
src/model/DeleteCustomLinesResult.cc
|
||||
src/model/DeleteDomainRequest.cc
|
||||
src/model/DeleteDomainResult.cc
|
||||
src/model/DeleteDomainGroupRequest.cc
|
||||
@@ -202,6 +230,10 @@ set(alidns_src
|
||||
src/model/DescribeBatchResultCountResult.cc
|
||||
src/model/DescribeBatchResultDetailRequest.cc
|
||||
src/model/DescribeBatchResultDetailResult.cc
|
||||
src/model/DescribeCustomLineRequest.cc
|
||||
src/model/DescribeCustomLineResult.cc
|
||||
src/model/DescribeCustomLinesRequest.cc
|
||||
src/model/DescribeCustomLinesResult.cc
|
||||
src/model/DescribeDNSSLBSubDomainsRequest.cc
|
||||
src/model/DescribeDNSSLBSubDomainsResult.cc
|
||||
src/model/DescribeDnsProductInstanceRequest.cc
|
||||
@@ -268,6 +300,8 @@ set(alidns_src
|
||||
src/model/DescribeSubDomainRecordsResult.cc
|
||||
src/model/DescribeSupportLinesRequest.cc
|
||||
src/model/DescribeSupportLinesResult.cc
|
||||
src/model/DescribeTransferDomainsRequest.cc
|
||||
src/model/DescribeTransferDomainsResult.cc
|
||||
src/model/ExecuteGtmRecoveryPlanRequest.cc
|
||||
src/model/ExecuteGtmRecoveryPlanResult.cc
|
||||
src/model/GetMainDomainNameRequest.cc
|
||||
@@ -288,6 +322,12 @@ set(alidns_src
|
||||
src/model/SetGtmAccessModeResult.cc
|
||||
src/model/SetGtmMonitorStatusRequest.cc
|
||||
src/model/SetGtmMonitorStatusResult.cc
|
||||
src/model/TransferDomainRequest.cc
|
||||
src/model/TransferDomainResult.cc
|
||||
src/model/UnbindInstanceDomainsRequest.cc
|
||||
src/model/UnbindInstanceDomainsResult.cc
|
||||
src/model/UpdateCustomLineRequest.cc
|
||||
src/model/UpdateCustomLineResult.cc
|
||||
src/model/UpdateDNSSLBWeightRequest.cc
|
||||
src/model/UpdateDNSSLBWeightResult.cc
|
||||
src/model/UpdateDomainGroupRequest.cc
|
||||
|
||||
@@ -22,8 +22,12 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "AlidnsExport.h"
|
||||
#include "model/AddCustomLineRequest.h"
|
||||
#include "model/AddCustomLineResult.h"
|
||||
#include "model/AddDomainRequest.h"
|
||||
#include "model/AddDomainResult.h"
|
||||
#include "model/AddDomainBackupRequest.h"
|
||||
#include "model/AddDomainBackupResult.h"
|
||||
#include "model/AddDomainGroupRequest.h"
|
||||
#include "model/AddDomainGroupResult.h"
|
||||
#include "model/AddDomainRecordRequest.h"
|
||||
@@ -36,10 +40,14 @@
|
||||
#include "model/AddGtmMonitorResult.h"
|
||||
#include "model/AddGtmRecoveryPlanRequest.h"
|
||||
#include "model/AddGtmRecoveryPlanResult.h"
|
||||
#include "model/BindInstanceDomainsRequest.h"
|
||||
#include "model/BindInstanceDomainsResult.h"
|
||||
#include "model/ChangeDomainGroupRequest.h"
|
||||
#include "model/ChangeDomainGroupResult.h"
|
||||
#include "model/ChangeDomainOfDnsProductRequest.h"
|
||||
#include "model/ChangeDomainOfDnsProductResult.h"
|
||||
#include "model/DeleteCustomLinesRequest.h"
|
||||
#include "model/DeleteCustomLinesResult.h"
|
||||
#include "model/DeleteDomainRequest.h"
|
||||
#include "model/DeleteDomainResult.h"
|
||||
#include "model/DeleteDomainGroupRequest.h"
|
||||
@@ -58,6 +66,10 @@
|
||||
#include "model/DescribeBatchResultCountResult.h"
|
||||
#include "model/DescribeBatchResultDetailRequest.h"
|
||||
#include "model/DescribeBatchResultDetailResult.h"
|
||||
#include "model/DescribeCustomLineRequest.h"
|
||||
#include "model/DescribeCustomLineResult.h"
|
||||
#include "model/DescribeCustomLinesRequest.h"
|
||||
#include "model/DescribeCustomLinesResult.h"
|
||||
#include "model/DescribeDNSSLBSubDomainsRequest.h"
|
||||
#include "model/DescribeDNSSLBSubDomainsResult.h"
|
||||
#include "model/DescribeDnsProductInstanceRequest.h"
|
||||
@@ -124,6 +136,8 @@
|
||||
#include "model/DescribeSubDomainRecordsResult.h"
|
||||
#include "model/DescribeSupportLinesRequest.h"
|
||||
#include "model/DescribeSupportLinesResult.h"
|
||||
#include "model/DescribeTransferDomainsRequest.h"
|
||||
#include "model/DescribeTransferDomainsResult.h"
|
||||
#include "model/ExecuteGtmRecoveryPlanRequest.h"
|
||||
#include "model/ExecuteGtmRecoveryPlanResult.h"
|
||||
#include "model/GetMainDomainNameRequest.h"
|
||||
@@ -144,6 +158,12 @@
|
||||
#include "model/SetGtmAccessModeResult.h"
|
||||
#include "model/SetGtmMonitorStatusRequest.h"
|
||||
#include "model/SetGtmMonitorStatusResult.h"
|
||||
#include "model/TransferDomainRequest.h"
|
||||
#include "model/TransferDomainResult.h"
|
||||
#include "model/UnbindInstanceDomainsRequest.h"
|
||||
#include "model/UnbindInstanceDomainsResult.h"
|
||||
#include "model/UpdateCustomLineRequest.h"
|
||||
#include "model/UpdateCustomLineResult.h"
|
||||
#include "model/UpdateDNSSLBWeightRequest.h"
|
||||
#include "model/UpdateDNSSLBWeightResult.h"
|
||||
#include "model/UpdateDomainGroupRequest.h"
|
||||
@@ -173,9 +193,15 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AlidnsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AddCustomLineResult> AddCustomLineOutcome;
|
||||
typedef std::future<AddCustomLineOutcome> AddCustomLineOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddCustomLineRequest&, const AddCustomLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCustomLineAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddDomainResult> AddDomainOutcome;
|
||||
typedef std::future<AddDomainOutcome> AddDomainOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddDomainRequest&, const AddDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddDomainBackupResult> AddDomainBackupOutcome;
|
||||
typedef std::future<AddDomainBackupOutcome> AddDomainBackupOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddDomainBackupRequest&, const AddDomainBackupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDomainBackupAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddDomainGroupResult> AddDomainGroupOutcome;
|
||||
typedef std::future<AddDomainGroupOutcome> AddDomainGroupOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddDomainGroupRequest&, const AddDomainGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDomainGroupAsyncHandler;
|
||||
@@ -194,12 +220,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddGtmRecoveryPlanResult> AddGtmRecoveryPlanOutcome;
|
||||
typedef std::future<AddGtmRecoveryPlanOutcome> AddGtmRecoveryPlanOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddGtmRecoveryPlanRequest&, const AddGtmRecoveryPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddGtmRecoveryPlanAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindInstanceDomainsResult> BindInstanceDomainsOutcome;
|
||||
typedef std::future<BindInstanceDomainsOutcome> BindInstanceDomainsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::BindInstanceDomainsRequest&, const BindInstanceDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindInstanceDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChangeDomainGroupResult> ChangeDomainGroupOutcome;
|
||||
typedef std::future<ChangeDomainGroupOutcome> ChangeDomainGroupOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::ChangeDomainGroupRequest&, const ChangeDomainGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeDomainGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChangeDomainOfDnsProductResult> ChangeDomainOfDnsProductOutcome;
|
||||
typedef std::future<ChangeDomainOfDnsProductOutcome> ChangeDomainOfDnsProductOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::ChangeDomainOfDnsProductRequest&, const ChangeDomainOfDnsProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeDomainOfDnsProductAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCustomLinesResult> DeleteCustomLinesOutcome;
|
||||
typedef std::future<DeleteCustomLinesOutcome> DeleteCustomLinesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DeleteCustomLinesRequest&, const DeleteCustomLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomLinesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDomainResult> DeleteDomainOutcome;
|
||||
typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DeleteDomainRequest&, const DeleteDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainAsyncHandler;
|
||||
@@ -227,6 +259,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeBatchResultDetailResult> DescribeBatchResultDetailOutcome;
|
||||
typedef std::future<DescribeBatchResultDetailOutcome> DescribeBatchResultDetailOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeBatchResultDetailRequest&, const DescribeBatchResultDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBatchResultDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCustomLineResult> DescribeCustomLineOutcome;
|
||||
typedef std::future<DescribeCustomLineOutcome> DescribeCustomLineOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeCustomLineRequest&, const DescribeCustomLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCustomLineAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCustomLinesResult> DescribeCustomLinesOutcome;
|
||||
typedef std::future<DescribeCustomLinesOutcome> DescribeCustomLinesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeCustomLinesRequest&, const DescribeCustomLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCustomLinesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDNSSLBSubDomainsResult> DescribeDNSSLBSubDomainsOutcome;
|
||||
typedef std::future<DescribeDNSSLBSubDomainsOutcome> DescribeDNSSLBSubDomainsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDNSSLBSubDomainsRequest&, const DescribeDNSSLBSubDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDNSSLBSubDomainsAsyncHandler;
|
||||
@@ -326,6 +364,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeSupportLinesResult> DescribeSupportLinesOutcome;
|
||||
typedef std::future<DescribeSupportLinesOutcome> DescribeSupportLinesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeSupportLinesRequest&, const DescribeSupportLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSupportLinesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTransferDomainsResult> DescribeTransferDomainsOutcome;
|
||||
typedef std::future<DescribeTransferDomainsOutcome> DescribeTransferDomainsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeTransferDomainsRequest&, const DescribeTransferDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTransferDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExecuteGtmRecoveryPlanResult> ExecuteGtmRecoveryPlanOutcome;
|
||||
typedef std::future<ExecuteGtmRecoveryPlanOutcome> ExecuteGtmRecoveryPlanOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::ExecuteGtmRecoveryPlanRequest&, const ExecuteGtmRecoveryPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExecuteGtmRecoveryPlanAsyncHandler;
|
||||
@@ -356,6 +397,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetGtmMonitorStatusResult> SetGtmMonitorStatusOutcome;
|
||||
typedef std::future<SetGtmMonitorStatusOutcome> SetGtmMonitorStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::SetGtmMonitorStatusRequest&, const SetGtmMonitorStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetGtmMonitorStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::TransferDomainResult> TransferDomainOutcome;
|
||||
typedef std::future<TransferDomainOutcome> TransferDomainOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::TransferDomainRequest&, const TransferDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransferDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnbindInstanceDomainsResult> UnbindInstanceDomainsOutcome;
|
||||
typedef std::future<UnbindInstanceDomainsOutcome> UnbindInstanceDomainsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UnbindInstanceDomainsRequest&, const UnbindInstanceDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindInstanceDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateCustomLineResult> UpdateCustomLineOutcome;
|
||||
typedef std::future<UpdateCustomLineOutcome> UpdateCustomLineOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateCustomLineRequest&, const UpdateCustomLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCustomLineAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDNSSLBWeightResult> UpdateDNSSLBWeightOutcome;
|
||||
typedef std::future<UpdateDNSSLBWeightOutcome> UpdateDNSSLBWeightOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDNSSLBWeightRequest&, const UpdateDNSSLBWeightOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDNSSLBWeightAsyncHandler;
|
||||
@@ -391,9 +441,15 @@ namespace AlibabaCloud
|
||||
AlidnsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AlidnsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AlidnsClient();
|
||||
AddCustomLineOutcome addCustomLine(const Model::AddCustomLineRequest &request)const;
|
||||
void addCustomLineAsync(const Model::AddCustomLineRequest& request, const AddCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddCustomLineOutcomeCallable addCustomLineCallable(const Model::AddCustomLineRequest& request) const;
|
||||
AddDomainOutcome addDomain(const Model::AddDomainRequest &request)const;
|
||||
void addDomainAsync(const Model::AddDomainRequest& request, const AddDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddDomainOutcomeCallable addDomainCallable(const Model::AddDomainRequest& request) const;
|
||||
AddDomainBackupOutcome addDomainBackup(const Model::AddDomainBackupRequest &request)const;
|
||||
void addDomainBackupAsync(const Model::AddDomainBackupRequest& request, const AddDomainBackupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddDomainBackupOutcomeCallable addDomainBackupCallable(const Model::AddDomainBackupRequest& request) const;
|
||||
AddDomainGroupOutcome addDomainGroup(const Model::AddDomainGroupRequest &request)const;
|
||||
void addDomainGroupAsync(const Model::AddDomainGroupRequest& request, const AddDomainGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddDomainGroupOutcomeCallable addDomainGroupCallable(const Model::AddDomainGroupRequest& request) const;
|
||||
@@ -412,12 +468,18 @@ namespace AlibabaCloud
|
||||
AddGtmRecoveryPlanOutcome addGtmRecoveryPlan(const Model::AddGtmRecoveryPlanRequest &request)const;
|
||||
void addGtmRecoveryPlanAsync(const Model::AddGtmRecoveryPlanRequest& request, const AddGtmRecoveryPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddGtmRecoveryPlanOutcomeCallable addGtmRecoveryPlanCallable(const Model::AddGtmRecoveryPlanRequest& request) const;
|
||||
BindInstanceDomainsOutcome bindInstanceDomains(const Model::BindInstanceDomainsRequest &request)const;
|
||||
void bindInstanceDomainsAsync(const Model::BindInstanceDomainsRequest& request, const BindInstanceDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindInstanceDomainsOutcomeCallable bindInstanceDomainsCallable(const Model::BindInstanceDomainsRequest& request) const;
|
||||
ChangeDomainGroupOutcome changeDomainGroup(const Model::ChangeDomainGroupRequest &request)const;
|
||||
void changeDomainGroupAsync(const Model::ChangeDomainGroupRequest& request, const ChangeDomainGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeDomainGroupOutcomeCallable changeDomainGroupCallable(const Model::ChangeDomainGroupRequest& request) const;
|
||||
ChangeDomainOfDnsProductOutcome changeDomainOfDnsProduct(const Model::ChangeDomainOfDnsProductRequest &request)const;
|
||||
void changeDomainOfDnsProductAsync(const Model::ChangeDomainOfDnsProductRequest& request, const ChangeDomainOfDnsProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeDomainOfDnsProductOutcomeCallable changeDomainOfDnsProductCallable(const Model::ChangeDomainOfDnsProductRequest& request) const;
|
||||
DeleteCustomLinesOutcome deleteCustomLines(const Model::DeleteCustomLinesRequest &request)const;
|
||||
void deleteCustomLinesAsync(const Model::DeleteCustomLinesRequest& request, const DeleteCustomLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCustomLinesOutcomeCallable deleteCustomLinesCallable(const Model::DeleteCustomLinesRequest& request) const;
|
||||
DeleteDomainOutcome deleteDomain(const Model::DeleteDomainRequest &request)const;
|
||||
void deleteDomainAsync(const Model::DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDomainOutcomeCallable deleteDomainCallable(const Model::DeleteDomainRequest& request) const;
|
||||
@@ -445,6 +507,12 @@ namespace AlibabaCloud
|
||||
DescribeBatchResultDetailOutcome describeBatchResultDetail(const Model::DescribeBatchResultDetailRequest &request)const;
|
||||
void describeBatchResultDetailAsync(const Model::DescribeBatchResultDetailRequest& request, const DescribeBatchResultDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeBatchResultDetailOutcomeCallable describeBatchResultDetailCallable(const Model::DescribeBatchResultDetailRequest& request) const;
|
||||
DescribeCustomLineOutcome describeCustomLine(const Model::DescribeCustomLineRequest &request)const;
|
||||
void describeCustomLineAsync(const Model::DescribeCustomLineRequest& request, const DescribeCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCustomLineOutcomeCallable describeCustomLineCallable(const Model::DescribeCustomLineRequest& request) const;
|
||||
DescribeCustomLinesOutcome describeCustomLines(const Model::DescribeCustomLinesRequest &request)const;
|
||||
void describeCustomLinesAsync(const Model::DescribeCustomLinesRequest& request, const DescribeCustomLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCustomLinesOutcomeCallable describeCustomLinesCallable(const Model::DescribeCustomLinesRequest& request) const;
|
||||
DescribeDNSSLBSubDomainsOutcome describeDNSSLBSubDomains(const Model::DescribeDNSSLBSubDomainsRequest &request)const;
|
||||
void describeDNSSLBSubDomainsAsync(const Model::DescribeDNSSLBSubDomainsRequest& request, const DescribeDNSSLBSubDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDNSSLBSubDomainsOutcomeCallable describeDNSSLBSubDomainsCallable(const Model::DescribeDNSSLBSubDomainsRequest& request) const;
|
||||
@@ -544,6 +612,9 @@ namespace AlibabaCloud
|
||||
DescribeSupportLinesOutcome describeSupportLines(const Model::DescribeSupportLinesRequest &request)const;
|
||||
void describeSupportLinesAsync(const Model::DescribeSupportLinesRequest& request, const DescribeSupportLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSupportLinesOutcomeCallable describeSupportLinesCallable(const Model::DescribeSupportLinesRequest& request) const;
|
||||
DescribeTransferDomainsOutcome describeTransferDomains(const Model::DescribeTransferDomainsRequest &request)const;
|
||||
void describeTransferDomainsAsync(const Model::DescribeTransferDomainsRequest& request, const DescribeTransferDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTransferDomainsOutcomeCallable describeTransferDomainsCallable(const Model::DescribeTransferDomainsRequest& request) const;
|
||||
ExecuteGtmRecoveryPlanOutcome executeGtmRecoveryPlan(const Model::ExecuteGtmRecoveryPlanRequest &request)const;
|
||||
void executeGtmRecoveryPlanAsync(const Model::ExecuteGtmRecoveryPlanRequest& request, const ExecuteGtmRecoveryPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExecuteGtmRecoveryPlanOutcomeCallable executeGtmRecoveryPlanCallable(const Model::ExecuteGtmRecoveryPlanRequest& request) const;
|
||||
@@ -574,6 +645,15 @@ namespace AlibabaCloud
|
||||
SetGtmMonitorStatusOutcome setGtmMonitorStatus(const Model::SetGtmMonitorStatusRequest &request)const;
|
||||
void setGtmMonitorStatusAsync(const Model::SetGtmMonitorStatusRequest& request, const SetGtmMonitorStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetGtmMonitorStatusOutcomeCallable setGtmMonitorStatusCallable(const Model::SetGtmMonitorStatusRequest& request) const;
|
||||
TransferDomainOutcome transferDomain(const Model::TransferDomainRequest &request)const;
|
||||
void transferDomainAsync(const Model::TransferDomainRequest& request, const TransferDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TransferDomainOutcomeCallable transferDomainCallable(const Model::TransferDomainRequest& request) const;
|
||||
UnbindInstanceDomainsOutcome unbindInstanceDomains(const Model::UnbindInstanceDomainsRequest &request)const;
|
||||
void unbindInstanceDomainsAsync(const Model::UnbindInstanceDomainsRequest& request, const UnbindInstanceDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindInstanceDomainsOutcomeCallable unbindInstanceDomainsCallable(const Model::UnbindInstanceDomainsRequest& request) const;
|
||||
UpdateCustomLineOutcome updateCustomLine(const Model::UpdateCustomLineRequest &request)const;
|
||||
void updateCustomLineAsync(const Model::UpdateCustomLineRequest& request, const UpdateCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateCustomLineOutcomeCallable updateCustomLineCallable(const Model::UpdateCustomLineRequest& request) const;
|
||||
UpdateDNSSLBWeightOutcome updateDNSSLBWeight(const Model::UpdateDNSSLBWeightRequest &request)const;
|
||||
void updateDNSSLBWeightAsync(const Model::UpdateDNSSLBWeightRequest& request, const UpdateDNSSLBWeightAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDNSSLBWeightOutcomeCallable updateDNSSLBWeightCallable(const Model::UpdateDNSSLBWeightRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDCUSTOMLINEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDCUSTOMLINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddCustomLineRequest : public RpcServiceRequest
|
||||
{
|
||||
struct IpSegment
|
||||
{
|
||||
std::string endIp;
|
||||
std::string startIp;
|
||||
};
|
||||
|
||||
public:
|
||||
AddCustomLineRequest();
|
||||
~AddCustomLineRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::vector<IpSegment> getIpSegment()const;
|
||||
void setIpSegment(const std::vector<IpSegment>& ipSegment);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLineName()const;
|
||||
void setLineName(const std::string& lineName);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::vector<IpSegment> ipSegment_;
|
||||
std::string userClientIp_;
|
||||
std::string lineName_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDCUSTOMLINEREQUEST_H_
|
||||
@@ -14,38 +14,40 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTMODELRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTMODELRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDCUSTOMLINERESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDCUSTOMLINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeletePredictModelResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddCustomLineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePredictModelResult();
|
||||
explicit DeletePredictModelResult(const std::string &payload);
|
||||
~DeletePredictModelResult();
|
||||
std::string getModelId()const;
|
||||
AddCustomLineResult();
|
||||
explicit AddCustomLineResult(const std::string &payload);
|
||||
~AddCustomLineResult();
|
||||
long getLineId()const;
|
||||
std::string getLineCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string modelId_;
|
||||
long lineId_;
|
||||
std::string lineCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTMODELRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDCUSTOMLINERESULT_H_
|
||||
@@ -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_ALIDNS_MODEL_ADDDOMAINBACKUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINBACKUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddDomainBackupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddDomainBackupRequest();
|
||||
~AddDomainBackupRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getPeriodType()const;
|
||||
void setPeriodType(const std::string& periodType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string periodType_;
|
||||
std::string accessKeyId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINBACKUPREQUEST_H_
|
||||
@@ -14,38 +14,40 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_CREATECHANNELTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATECHANNELTOKENRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINBACKUPRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINBACKUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateChannelTokenResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddDomainBackupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateChannelTokenResult();
|
||||
explicit CreateChannelTokenResult(const std::string &payload);
|
||||
~CreateChannelTokenResult();
|
||||
std::string getChannelToken()const;
|
||||
AddDomainBackupResult();
|
||||
explicit AddDomainBackupResult(const std::string &payload);
|
||||
~AddDomainBackupResult();
|
||||
std::string getPeriodType()const;
|
||||
std::string getDomainName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string channelToken_;
|
||||
std::string periodType_;
|
||||
std::string domainName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATECHANNELTOKENRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINBACKUPRESULT_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_ALIDNS_MODEL_BINDINSTANCEDOMAINSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_BINDINSTANCEDOMAINSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT BindInstanceDomainsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BindInstanceDomainsRequest();
|
||||
~BindInstanceDomainsRequest();
|
||||
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainNames_;
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_BINDINSTANCEDOMAINSREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_ALIDNS_MODEL_BINDINSTANCEDOMAINSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_BINDINSTANCEDOMAINSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT BindInstanceDomainsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BindInstanceDomainsResult();
|
||||
explicit BindInstanceDomainsResult(const std::string &payload);
|
||||
~BindInstanceDomainsResult();
|
||||
int getFailedCount()const;
|
||||
int getSuccessCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int failedCount_;
|
||||
int successCount_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_BINDINSTANCEDOMAINSRESULT_H_
|
||||
@@ -14,41 +14,41 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTTEMPLATEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeletePredictTemplateRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DeleteCustomLinesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeletePredictTemplateRequest();
|
||||
~DeletePredictTemplateRequest();
|
||||
DeleteCustomLinesRequest();
|
||||
~DeleteCustomLinesRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateId()const;
|
||||
void setTemplateId(const std::string& templateId);
|
||||
std::string getLineIds()const;
|
||||
void setLineIds(const std::string& lineIds);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string templateId_;
|
||||
std::string lineIds_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTTEMPLATEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteTrainDatasResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DeleteCustomLinesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTrainDatasResult();
|
||||
explicit DeleteTrainDatasResult(const std::string &payload);
|
||||
~DeleteTrainDatasResult();
|
||||
DeleteCustomLinesResult();
|
||||
explicit DeleteCustomLinesResult(const std::string &payload);
|
||||
~DeleteCustomLinesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESRESULT_H_
|
||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
||||
void setLang(const std::string& lang);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string batchType_;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
long taskId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_ALIDNS_MODEL_DESCRIBECUSTOMLINEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeCustomLineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCustomLineRequest();
|
||||
~DescribeCustomLineRequest();
|
||||
|
||||
long getLineId()const;
|
||||
void setLineId(long lineId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
long lineId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINEREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINERESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeCustomLineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct IpSegment
|
||||
{
|
||||
std::string startIp;
|
||||
std::string endIp;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeCustomLineResult();
|
||||
explicit DescribeCustomLineResult(const std::string &payload);
|
||||
~DescribeCustomLineResult();
|
||||
std::vector<IpSegment> getIpSegmentList()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getCreateTime()const;
|
||||
long getId()const;
|
||||
std::string getIpSegments()const;
|
||||
long getCreateTimestamp()const;
|
||||
std::string getCode()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<IpSegment> ipSegmentList_;
|
||||
std::string domainName_;
|
||||
std::string createTime_;
|
||||
long id_;
|
||||
std::string ipSegments_;
|
||||
long createTimestamp_;
|
||||
std::string code_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINERESULT_H_
|
||||
@@ -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_ALIDNS_MODEL_DESCRIBECUSTOMLINESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeCustomLinesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCustomLinesRequest();
|
||||
~DescribeCustomLinesRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long pageNumber_;
|
||||
std::string userClientIp_;
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINESREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeCustomLinesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CustomLine
|
||||
{
|
||||
struct IpSegment
|
||||
{
|
||||
std::string startIp;
|
||||
std::string endIp;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<CustomLine::IpSegment> ipSegmentList;
|
||||
std::string createTime;
|
||||
long id;
|
||||
std::string ipSegments;
|
||||
long createTimestamp;
|
||||
std::string code;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeCustomLinesResult();
|
||||
explicit DescribeCustomLinesResult(const std::string &payload);
|
||||
~DescribeCustomLinesResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotalPages()const;
|
||||
std::vector<CustomLine> getCustomLines()const;
|
||||
int getTotalItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int totalPages_;
|
||||
std::vector<CustomLine> customLines_;
|
||||
int totalItems_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINESRESULT_H_
|
||||
@@ -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_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeTransferDomainsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTransferDomainsRequest();
|
||||
~DescribeTransferDomainsRequest();
|
||||
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getTransferType()const;
|
||||
void setTransferType(const std::string& transferType);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
long pageNumber_;
|
||||
std::string transferType_;
|
||||
std::string userClientIp_;
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSREQUEST_H_
|
||||
@@ -14,55 +14,53 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBETAGSRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBETAGSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeTagsResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeTransferDomainsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
struct DomainTransfer
|
||||
{
|
||||
std::string description;
|
||||
std::string tagName;
|
||||
std::string projectId;
|
||||
std::string tagId;
|
||||
std::string creationTime;
|
||||
int count;
|
||||
std::string domainName;
|
||||
std::string createTime;
|
||||
long fromUserId;
|
||||
long id;
|
||||
long createTimestamp;
|
||||
long targetUserId;
|
||||
};
|
||||
|
||||
|
||||
DescribeTagsResult();
|
||||
explicit DescribeTagsResult(const std::string &payload);
|
||||
~DescribeTagsResult();
|
||||
long getTotalNum()const;
|
||||
DescribeTransferDomainsResult();
|
||||
explicit DescribeTransferDomainsResult(const std::string &payload);
|
||||
~DescribeTransferDomainsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getCurrentPage()const;
|
||||
std::string getNextPageToken()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<DomainTransfer> getDomainTransfers()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalNum_;
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long currentPage_;
|
||||
std::string nextPageToken_;
|
||||
std::vector<Tag> tags_;
|
||||
long pageNumber_;
|
||||
std::vector<DomainTransfer> domainTransfers_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBETAGSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSRESULT_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_ALIDNS_MODEL_TRANSFERDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_TRANSFERDOMAINREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT TransferDomainRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TransferDomainRequest();
|
||||
~TransferDomainRequest();
|
||||
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getTargetUserId()const;
|
||||
void setTargetUserId(long targetUserId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainNames_;
|
||||
std::string remark_;
|
||||
std::string accessKeyId_;
|
||||
long targetUserId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_TRANSFERDOMAINREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_UPDATETASKPARAMRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_UPDATETASKPARAMRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_TRANSFERDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_TRANSFERDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT UpdateTaskParamResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT TransferDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateTaskParamResult();
|
||||
explicit UpdateTaskParamResult(const std::string &payload);
|
||||
~UpdateTaskParamResult();
|
||||
TransferDomainResult();
|
||||
explicit TransferDomainResult(const std::string &payload);
|
||||
~TransferDomainResult();
|
||||
long getTaskId()const;
|
||||
|
||||
protected:
|
||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_UPDATETASKPARAMRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_TRANSFERDOMAINRESULT_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_ALIDNS_MODEL_UNBINDINSTANCEDOMAINSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UNBINDINSTANCEDOMAINSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT UnbindInstanceDomainsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnbindInstanceDomainsRequest();
|
||||
~UnbindInstanceDomainsRequest();
|
||||
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainNames_;
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UNBINDINSTANCEDOMAINSREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_ALIDNS_MODEL_UNBINDINSTANCEDOMAINSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UNBINDINSTANCEDOMAINSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT UnbindInstanceDomainsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnbindInstanceDomainsResult();
|
||||
explicit UnbindInstanceDomainsResult(const std::string &payload);
|
||||
~UnbindInstanceDomainsResult();
|
||||
int getFailedCount()const;
|
||||
int getSuccessCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int failedCount_;
|
||||
int successCount_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UNBINDINSTANCEDOMAINSRESULT_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATECUSTOMLINEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UPDATECUSTOMLINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT UpdateCustomLineRequest : public RpcServiceRequest
|
||||
{
|
||||
struct IpSegment
|
||||
{
|
||||
std::string endIp;
|
||||
std::string startIp;
|
||||
};
|
||||
|
||||
public:
|
||||
UpdateCustomLineRequest();
|
||||
~UpdateCustomLineRequest();
|
||||
|
||||
long getLineId()const;
|
||||
void setLineId(long lineId);
|
||||
std::vector<IpSegment> getIpSegment()const;
|
||||
void setIpSegment(const std::vector<IpSegment>& ipSegment);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLineName()const;
|
||||
void setLineName(const std::string& lineName);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
long lineId_;
|
||||
std::vector<IpSegment> ipSegment_;
|
||||
std::string userClientIp_;
|
||||
std::string lineName_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATECUSTOMLINEREQUEST_H_
|
||||
@@ -14,38 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETETAGRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETETAGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATECUSTOMLINERESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UPDATECUSTOMLINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteTagResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT UpdateCustomLineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTagResult();
|
||||
explicit DeleteTagResult(const std::string &payload);
|
||||
~DeleteTagResult();
|
||||
std::string getTagId()const;
|
||||
UpdateCustomLineResult();
|
||||
explicit UpdateCustomLineResult(const std::string &payload);
|
||||
~UpdateCustomLineResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string tagId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETETAGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATECUSTOMLINERESULT_H_
|
||||
@@ -51,6 +51,42 @@ AlidnsClient::AlidnsClient(const std::string & accessKeyId, const std::string &
|
||||
AlidnsClient::~AlidnsClient()
|
||||
{}
|
||||
|
||||
AlidnsClient::AddCustomLineOutcome AlidnsClient::addCustomLine(const AddCustomLineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddCustomLineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddCustomLineOutcome(AddCustomLineResult(outcome.result()));
|
||||
else
|
||||
return AddCustomLineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::addCustomLineAsync(const AddCustomLineRequest& request, const AddCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addCustomLine(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::AddCustomLineOutcomeCallable AlidnsClient::addCustomLineCallable(const AddCustomLineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddCustomLineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addCustomLine(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::AddDomainOutcome AlidnsClient::addDomain(const AddDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -87,6 +123,42 @@ AlidnsClient::AddDomainOutcomeCallable AlidnsClient::addDomainCallable(const Add
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::AddDomainBackupOutcome AlidnsClient::addDomainBackup(const AddDomainBackupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddDomainBackupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddDomainBackupOutcome(AddDomainBackupResult(outcome.result()));
|
||||
else
|
||||
return AddDomainBackupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::addDomainBackupAsync(const AddDomainBackupRequest& request, const AddDomainBackupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addDomainBackup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::AddDomainBackupOutcomeCallable AlidnsClient::addDomainBackupCallable(const AddDomainBackupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddDomainBackupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addDomainBackup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::AddDomainGroupOutcome AlidnsClient::addDomainGroup(const AddDomainGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -303,6 +375,42 @@ AlidnsClient::AddGtmRecoveryPlanOutcomeCallable AlidnsClient::addGtmRecoveryPlan
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::BindInstanceDomainsOutcome AlidnsClient::bindInstanceDomains(const BindInstanceDomainsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BindInstanceDomainsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BindInstanceDomainsOutcome(BindInstanceDomainsResult(outcome.result()));
|
||||
else
|
||||
return BindInstanceDomainsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::bindInstanceDomainsAsync(const BindInstanceDomainsRequest& request, const BindInstanceDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, bindInstanceDomains(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::BindInstanceDomainsOutcomeCallable AlidnsClient::bindInstanceDomainsCallable(const BindInstanceDomainsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BindInstanceDomainsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->bindInstanceDomains(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::ChangeDomainGroupOutcome AlidnsClient::changeDomainGroup(const ChangeDomainGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +483,42 @@ AlidnsClient::ChangeDomainOfDnsProductOutcomeCallable AlidnsClient::changeDomain
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DeleteCustomLinesOutcome AlidnsClient::deleteCustomLines(const DeleteCustomLinesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteCustomLinesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteCustomLinesOutcome(DeleteCustomLinesResult(outcome.result()));
|
||||
else
|
||||
return DeleteCustomLinesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::deleteCustomLinesAsync(const DeleteCustomLinesRequest& request, const DeleteCustomLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteCustomLines(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DeleteCustomLinesOutcomeCallable AlidnsClient::deleteCustomLinesCallable(const DeleteCustomLinesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteCustomLinesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteCustomLines(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DeleteDomainOutcome AlidnsClient::deleteDomain(const DeleteDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -699,6 +843,78 @@ AlidnsClient::DescribeBatchResultDetailOutcomeCallable AlidnsClient::describeBat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeCustomLineOutcome AlidnsClient::describeCustomLine(const DescribeCustomLineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCustomLineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCustomLineOutcome(DescribeCustomLineResult(outcome.result()));
|
||||
else
|
||||
return DescribeCustomLineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeCustomLineAsync(const DescribeCustomLineRequest& request, const DescribeCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCustomLine(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeCustomLineOutcomeCallable AlidnsClient::describeCustomLineCallable(const DescribeCustomLineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCustomLineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCustomLine(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeCustomLinesOutcome AlidnsClient::describeCustomLines(const DescribeCustomLinesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCustomLinesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCustomLinesOutcome(DescribeCustomLinesResult(outcome.result()));
|
||||
else
|
||||
return DescribeCustomLinesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeCustomLinesAsync(const DescribeCustomLinesRequest& request, const DescribeCustomLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCustomLines(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeCustomLinesOutcomeCallable AlidnsClient::describeCustomLinesCallable(const DescribeCustomLinesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCustomLinesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCustomLines(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeDNSSLBSubDomainsOutcome AlidnsClient::describeDNSSLBSubDomains(const DescribeDNSSLBSubDomainsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1887,6 +2103,42 @@ AlidnsClient::DescribeSupportLinesOutcomeCallable AlidnsClient::describeSupportL
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeTransferDomainsOutcome AlidnsClient::describeTransferDomains(const DescribeTransferDomainsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeTransferDomainsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeTransferDomainsOutcome(DescribeTransferDomainsResult(outcome.result()));
|
||||
else
|
||||
return DescribeTransferDomainsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeTransferDomainsAsync(const DescribeTransferDomainsRequest& request, const DescribeTransferDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeTransferDomains(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeTransferDomainsOutcomeCallable AlidnsClient::describeTransferDomainsCallable(const DescribeTransferDomainsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeTransferDomainsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeTransferDomains(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::ExecuteGtmRecoveryPlanOutcome AlidnsClient::executeGtmRecoveryPlan(const ExecuteGtmRecoveryPlanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2247,6 +2499,114 @@ AlidnsClient::SetGtmMonitorStatusOutcomeCallable AlidnsClient::setGtmMonitorStat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::TransferDomainOutcome AlidnsClient::transferDomain(const TransferDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TransferDomainOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TransferDomainOutcome(TransferDomainResult(outcome.result()));
|
||||
else
|
||||
return TransferDomainOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::transferDomainAsync(const TransferDomainRequest& request, const TransferDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, transferDomain(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::TransferDomainOutcomeCallable AlidnsClient::transferDomainCallable(const TransferDomainRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TransferDomainOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->transferDomain(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::UnbindInstanceDomainsOutcome AlidnsClient::unbindInstanceDomains(const UnbindInstanceDomainsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UnbindInstanceDomainsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UnbindInstanceDomainsOutcome(UnbindInstanceDomainsResult(outcome.result()));
|
||||
else
|
||||
return UnbindInstanceDomainsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::unbindInstanceDomainsAsync(const UnbindInstanceDomainsRequest& request, const UnbindInstanceDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, unbindInstanceDomains(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::UnbindInstanceDomainsOutcomeCallable AlidnsClient::unbindInstanceDomainsCallable(const UnbindInstanceDomainsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UnbindInstanceDomainsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->unbindInstanceDomains(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateCustomLineOutcome AlidnsClient::updateCustomLine(const UpdateCustomLineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateCustomLineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateCustomLineOutcome(UpdateCustomLineResult(outcome.result()));
|
||||
else
|
||||
return UpdateCustomLineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::updateCustomLineAsync(const UpdateCustomLineRequest& request, const UpdateCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateCustomLine(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateCustomLineOutcomeCallable AlidnsClient::updateCustomLineCallable(const UpdateCustomLineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateCustomLineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateCustomLine(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateDNSSLBWeightOutcome AlidnsClient::updateDNSSLBWeight(const UpdateDNSSLBWeightRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
89
alidns/src/model/AddCustomLineRequest.cc
Normal file
89
alidns/src/model/AddCustomLineRequest.cc
Normal file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* 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/alidns/model/AddCustomLineRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddCustomLineRequest;
|
||||
|
||||
AddCustomLineRequest::AddCustomLineRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddCustomLine")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCustomLineRequest::~AddCustomLineRequest()
|
||||
{}
|
||||
|
||||
std::string AddCustomLineRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::vector<AddCustomLineRequest::IpSegment> AddCustomLineRequest::getIpSegment()const
|
||||
{
|
||||
return ipSegment_;
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setIpSegment(const std::vector<IpSegment>& ipSegment)
|
||||
{
|
||||
ipSegment_ = ipSegment;
|
||||
for(int dep1 = 0; dep1!= ipSegment.size(); dep1++) {
|
||||
auto ipSegmentObj = ipSegment.at(dep1);
|
||||
std::string ipSegmentObjStr = "IpSegment." + std::to_string(dep1);
|
||||
setCoreParameter(ipSegmentObjStr + ".EndIp", ipSegmentObj.endIp);
|
||||
setCoreParameter(ipSegmentObjStr + ".StartIp", ipSegmentObj.startIp);
|
||||
}
|
||||
}
|
||||
|
||||
std::string AddCustomLineRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string AddCustomLineRequest::getLineName()const
|
||||
{
|
||||
return lineName_;
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setLineName(const std::string& lineName)
|
||||
{
|
||||
lineName_ = lineName;
|
||||
setCoreParameter("LineName", lineName);
|
||||
}
|
||||
|
||||
std::string AddCustomLineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
58
alidns/src/model/AddCustomLineResult.cc
Normal file
58
alidns/src/model/AddCustomLineResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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/alidns/model/AddCustomLineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
AddCustomLineResult::AddCustomLineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCustomLineResult::AddCustomLineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCustomLineResult::~AddCustomLineResult()
|
||||
{}
|
||||
|
||||
void AddCustomLineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["LineId"].isNull())
|
||||
lineId_ = std::stol(value["LineId"].asString());
|
||||
if(!value["LineCode"].isNull())
|
||||
lineCode_ = value["LineCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
long AddCustomLineResult::getLineId()const
|
||||
{
|
||||
return lineId_;
|
||||
}
|
||||
|
||||
std::string AddCustomLineResult::getLineCode()const
|
||||
{
|
||||
return lineCode_;
|
||||
}
|
||||
|
||||
84
alidns/src/model/AddDomainBackupRequest.cc
Normal file
84
alidns/src/model/AddDomainBackupRequest.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/alidns/model/AddDomainBackupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDomainBackupRequest;
|
||||
|
||||
AddDomainBackupRequest::AddDomainBackupRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDomainBackup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDomainBackupRequest::~AddDomainBackupRequest()
|
||||
{}
|
||||
|
||||
std::string AddDomainBackupRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string AddDomainBackupRequest::getPeriodType()const
|
||||
{
|
||||
return periodType_;
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setPeriodType(const std::string& periodType)
|
||||
{
|
||||
periodType_ = periodType;
|
||||
setCoreParameter("PeriodType", periodType);
|
||||
}
|
||||
|
||||
std::string AddDomainBackupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddDomainBackupRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string AddDomainBackupRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
58
alidns/src/model/AddDomainBackupResult.cc
Normal file
58
alidns/src/model/AddDomainBackupResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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/alidns/model/AddDomainBackupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
AddDomainBackupResult::AddDomainBackupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddDomainBackupResult::AddDomainBackupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddDomainBackupResult::~AddDomainBackupResult()
|
||||
{}
|
||||
|
||||
void AddDomainBackupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["PeriodType"].isNull())
|
||||
periodType_ = value["PeriodType"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddDomainBackupResult::getPeriodType()const
|
||||
{
|
||||
return periodType_;
|
||||
}
|
||||
|
||||
std::string AddDomainBackupResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
@@ -101,13 +101,12 @@ std::vector<AddGtmAddressPoolRequest::Addr> AddGtmAddressPoolRequest::getAddr()c
|
||||
void AddGtmAddressPoolRequest::setAddr(const std::vector<Addr>& addr)
|
||||
{
|
||||
addr_ = addr;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= addr.size(); i++) {
|
||||
auto obj = addr.at(i);
|
||||
std::string str ="Addr."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Mode", obj.mode);
|
||||
setCoreParameter(str + ".LbaWeight", std::to_string(obj.lbaWeight));
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
for(int dep1 = 0; dep1!= addr.size(); dep1++) {
|
||||
auto addrObj = addr.at(dep1);
|
||||
std::string addrObjStr = "Addr." + std::to_string(dep1);
|
||||
setCoreParameter(addrObjStr + ".Mode", addrObj.mode);
|
||||
setCoreParameter(addrObjStr + ".LbaWeight", std::to_string(addrObj.lbaWeight));
|
||||
setCoreParameter(addrObjStr + ".Value", addrObj.value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -185,12 +184,11 @@ std::vector<AddGtmAddressPoolRequest::IspCityNode> AddGtmAddressPoolRequest::get
|
||||
void AddGtmAddressPoolRequest::setIspCityNode(const std::vector<IspCityNode>& ispCityNode)
|
||||
{
|
||||
ispCityNode_ = ispCityNode;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= ispCityNode.size(); i++) {
|
||||
auto obj = ispCityNode.at(i);
|
||||
std::string str ="IspCityNode."+ std::to_string(i);
|
||||
setCoreParameter(str + ".CityCode", obj.cityCode);
|
||||
setCoreParameter(str + ".IspCode", obj.ispCode);
|
||||
for(int dep1 = 0; dep1!= ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = "IspCityNode." + std::to_string(dep1);
|
||||
setCoreParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setCoreParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -123,12 +123,11 @@ std::vector<AddGtmMonitorRequest::IspCityNode> AddGtmMonitorRequest::getIspCityN
|
||||
void AddGtmMonitorRequest::setIspCityNode(const std::vector<IspCityNode>& ispCityNode)
|
||||
{
|
||||
ispCityNode_ = ispCityNode;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= ispCityNode.size(); i++) {
|
||||
auto obj = ispCityNode.at(i);
|
||||
std::string str ="IspCityNode."+ std::to_string(i);
|
||||
setCoreParameter(str + ".CityCode", obj.cityCode);
|
||||
setCoreParameter(str + ".IspCode", obj.ispCode);
|
||||
for(int dep1 = 0; dep1!= ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = "IspCityNode." + std::to_string(dep1);
|
||||
setCoreParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setCoreParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
73
alidns/src/model/BindInstanceDomainsRequest.cc
Normal file
73
alidns/src/model/BindInstanceDomainsRequest.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/alidns/model/BindInstanceDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::BindInstanceDomainsRequest;
|
||||
|
||||
BindInstanceDomainsRequest::BindInstanceDomainsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "BindInstanceDomains")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BindInstanceDomainsRequest::~BindInstanceDomainsRequest()
|
||||
{}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setCoreParameter("DomainNames", domainNames);
|
||||
}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
58
alidns/src/model/BindInstanceDomainsResult.cc
Normal file
58
alidns/src/model/BindInstanceDomainsResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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/alidns/model/BindInstanceDomainsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
BindInstanceDomainsResult::BindInstanceDomainsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BindInstanceDomainsResult::BindInstanceDomainsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BindInstanceDomainsResult::~BindInstanceDomainsResult()
|
||||
{}
|
||||
|
||||
void BindInstanceDomainsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SuccessCount"].isNull())
|
||||
successCount_ = std::stoi(value["SuccessCount"].asString());
|
||||
if(!value["FailedCount"].isNull())
|
||||
failedCount_ = std::stoi(value["FailedCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int BindInstanceDomainsResult::getFailedCount()const
|
||||
{
|
||||
return failedCount_;
|
||||
}
|
||||
|
||||
int BindInstanceDomainsResult::getSuccessCount()const
|
||||
{
|
||||
return successCount_;
|
||||
}
|
||||
|
||||
62
alidns/src/model/DeleteCustomLinesRequest.cc
Normal file
62
alidns/src/model/DeleteCustomLinesRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteCustomLinesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteCustomLinesRequest;
|
||||
|
||||
DeleteCustomLinesRequest::DeleteCustomLinesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteCustomLines")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCustomLinesRequest::~DeleteCustomLinesRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCustomLinesRequest::getLineIds()const
|
||||
{
|
||||
return lineIds_;
|
||||
}
|
||||
|
||||
void DeleteCustomLinesRequest::setLineIds(const std::string& lineIds)
|
||||
{
|
||||
lineIds_ = lineIds;
|
||||
setCoreParameter("LineIds", lineIds);
|
||||
}
|
||||
|
||||
std::string DeleteCustomLinesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DeleteCustomLinesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DeleteCustomLinesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteCustomLinesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/DeleteTrainDatasTagResult.h>
|
||||
#include <alibabacloud/alidns/model/DeleteCustomLinesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DeleteTrainDatasTagResult::DeleteTrainDatasTagResult() :
|
||||
DeleteCustomLinesResult::DeleteCustomLinesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTrainDatasTagResult::DeleteTrainDatasTagResult(const std::string &payload) :
|
||||
DeleteCustomLinesResult::DeleteCustomLinesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTrainDatasTagResult::~DeleteTrainDatasTagResult()
|
||||
DeleteCustomLinesResult::~DeleteCustomLinesResult()
|
||||
{}
|
||||
|
||||
void DeleteTrainDatasTagResult::parse(const std::string &payload)
|
||||
void DeleteCustomLinesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -93,3 +93,14 @@ void DescribeBatchResultDetailRequest::setTaskId(long taskId)
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
std::string DescribeBatchResultDetailRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeBatchResultDetailRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setCoreParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
62
alidns/src/model/DescribeCustomLineRequest.cc
Normal file
62
alidns/src/model/DescribeCustomLineRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeCustomLineRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeCustomLineRequest;
|
||||
|
||||
DescribeCustomLineRequest::DescribeCustomLineRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeCustomLine")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCustomLineRequest::~DescribeCustomLineRequest()
|
||||
{}
|
||||
|
||||
long DescribeCustomLineRequest::getLineId()const
|
||||
{
|
||||
return lineId_;
|
||||
}
|
||||
|
||||
void DescribeCustomLineRequest::setLineId(long lineId)
|
||||
{
|
||||
lineId_ = lineId;
|
||||
setCoreParameter("LineId", std::to_string(lineId));
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeCustomLineRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeCustomLineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
110
alidns/src/model/DescribeCustomLineResult.cc
Normal file
110
alidns/src/model/DescribeCustomLineResult.cc
Normal file
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
* 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/alidns/model/DescribeCustomLineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeCustomLineResult::DescribeCustomLineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCustomLineResult::DescribeCustomLineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCustomLineResult::~DescribeCustomLineResult()
|
||||
{}
|
||||
|
||||
void DescribeCustomLineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allIpSegmentListNode = value["IpSegmentList"]["IpSegment"];
|
||||
for (auto valueIpSegmentListIpSegment : allIpSegmentListNode)
|
||||
{
|
||||
IpSegment ipSegmentListObject;
|
||||
if(!valueIpSegmentListIpSegment["Name"].isNull())
|
||||
ipSegmentListObject.name = valueIpSegmentListIpSegment["Name"].asString();
|
||||
if(!valueIpSegmentListIpSegment["StartIp"].isNull())
|
||||
ipSegmentListObject.startIp = valueIpSegmentListIpSegment["StartIp"].asString();
|
||||
if(!valueIpSegmentListIpSegment["EndIp"].isNull())
|
||||
ipSegmentListObject.endIp = valueIpSegmentListIpSegment["EndIp"].asString();
|
||||
ipSegmentList_.push_back(ipSegmentListObject);
|
||||
}
|
||||
if(!value["Id"].isNull())
|
||||
id_ = std::stol(value["Id"].asString());
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["CreateTimestamp"].isNull())
|
||||
createTimestamp_ = std::stol(value["CreateTimestamp"].asString());
|
||||
if(!value["IpSegments"].isNull())
|
||||
ipSegments_ = value["IpSegments"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeCustomLineResult::IpSegment> DescribeCustomLineResult::getIpSegmentList()const
|
||||
{
|
||||
return ipSegmentList_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
long DescribeCustomLineResult::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineResult::getIpSegments()const
|
||||
{
|
||||
return ipSegments_;
|
||||
}
|
||||
|
||||
long DescribeCustomLineResult::getCreateTimestamp()const
|
||||
{
|
||||
return createTimestamp_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
84
alidns/src/model/DescribeCustomLinesRequest.cc
Normal file
84
alidns/src/model/DescribeCustomLinesRequest.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/alidns/model/DescribeCustomLinesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeCustomLinesRequest;
|
||||
|
||||
DescribeCustomLinesRequest::DescribeCustomLinesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeCustomLines")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCustomLinesRequest::~DescribeCustomLinesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCustomLinesRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeCustomLinesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeCustomLinesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long DescribeCustomLinesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCustomLinesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
107
alidns/src/model/DescribeCustomLinesResult.cc
Normal file
107
alidns/src/model/DescribeCustomLinesResult.cc
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeCustomLinesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeCustomLinesResult::DescribeCustomLinesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCustomLinesResult::DescribeCustomLinesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCustomLinesResult::~DescribeCustomLinesResult()
|
||||
{}
|
||||
|
||||
void DescribeCustomLinesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCustomLinesNode = value["CustomLines"]["CustomLine"];
|
||||
for (auto valueCustomLinesCustomLine : allCustomLinesNode)
|
||||
{
|
||||
CustomLine customLinesObject;
|
||||
if(!valueCustomLinesCustomLine["Id"].isNull())
|
||||
customLinesObject.id = std::stol(valueCustomLinesCustomLine["Id"].asString());
|
||||
if(!valueCustomLinesCustomLine["Name"].isNull())
|
||||
customLinesObject.name = valueCustomLinesCustomLine["Name"].asString();
|
||||
if(!valueCustomLinesCustomLine["CreateTime"].isNull())
|
||||
customLinesObject.createTime = valueCustomLinesCustomLine["CreateTime"].asString();
|
||||
if(!valueCustomLinesCustomLine["CreateTimestamp"].isNull())
|
||||
customLinesObject.createTimestamp = std::stol(valueCustomLinesCustomLine["CreateTimestamp"].asString());
|
||||
if(!valueCustomLinesCustomLine["IpSegments"].isNull())
|
||||
customLinesObject.ipSegments = valueCustomLinesCustomLine["IpSegments"].asString();
|
||||
if(!valueCustomLinesCustomLine["Code"].isNull())
|
||||
customLinesObject.code = valueCustomLinesCustomLine["Code"].asString();
|
||||
auto allIpSegmentListNode = allCustomLinesNode["IpSegmentList"]["IpSegment"];
|
||||
for (auto allCustomLinesNodeIpSegmentListIpSegment : allIpSegmentListNode)
|
||||
{
|
||||
CustomLine::IpSegment ipSegmentListObject;
|
||||
if(!allCustomLinesNodeIpSegmentListIpSegment["Name"].isNull())
|
||||
ipSegmentListObject.name = allCustomLinesNodeIpSegmentListIpSegment["Name"].asString();
|
||||
if(!allCustomLinesNodeIpSegmentListIpSegment["StartIp"].isNull())
|
||||
ipSegmentListObject.startIp = allCustomLinesNodeIpSegmentListIpSegment["StartIp"].asString();
|
||||
if(!allCustomLinesNodeIpSegmentListIpSegment["EndIp"].isNull())
|
||||
ipSegmentListObject.endIp = allCustomLinesNodeIpSegmentListIpSegment["EndIp"].asString();
|
||||
customLinesObject.ipSegmentList.push_back(ipSegmentListObject);
|
||||
}
|
||||
customLines_.push_back(customLinesObject);
|
||||
}
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeCustomLinesResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeCustomLinesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeCustomLinesResult::getTotalPages()const
|
||||
{
|
||||
return totalPages_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCustomLinesResult::CustomLine> DescribeCustomLinesResult::getCustomLines()const
|
||||
{
|
||||
return customLines_;
|
||||
}
|
||||
|
||||
int DescribeCustomLinesResult::getTotalItems()const
|
||||
{
|
||||
return totalItems_;
|
||||
}
|
||||
|
||||
84
alidns/src/model/DescribeTransferDomainsRequest.cc
Normal file
84
alidns/src/model/DescribeTransferDomainsRequest.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/alidns/model/DescribeTransferDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeTransferDomainsRequest;
|
||||
|
||||
DescribeTransferDomainsRequest::DescribeTransferDomainsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeTransferDomains")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeTransferDomainsRequest::~DescribeTransferDomainsRequest()
|
||||
{}
|
||||
|
||||
long DescribeTransferDomainsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeTransferDomainsRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeTransferDomainsRequest::getTransferType()const
|
||||
{
|
||||
return transferType_;
|
||||
}
|
||||
|
||||
void DescribeTransferDomainsRequest::setTransferType(const std::string& transferType)
|
||||
{
|
||||
transferType_ = transferType;
|
||||
setCoreParameter("TransferType", transferType);
|
||||
}
|
||||
|
||||
std::string DescribeTransferDomainsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeTransferDomainsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long DescribeTransferDomainsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeTransferDomainsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeTransferDomainsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeTransferDomainsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
88
alidns/src/model/DescribeTransferDomainsResult.cc
Normal file
88
alidns/src/model/DescribeTransferDomainsResult.cc
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* 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/alidns/model/DescribeTransferDomainsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeTransferDomainsResult::DescribeTransferDomainsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTransferDomainsResult::DescribeTransferDomainsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTransferDomainsResult::~DescribeTransferDomainsResult()
|
||||
{}
|
||||
|
||||
void DescribeTransferDomainsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainTransfersNode = value["DomainTransfers"]["DomainTransfer"];
|
||||
for (auto valueDomainTransfersDomainTransfer : allDomainTransfersNode)
|
||||
{
|
||||
DomainTransfer domainTransfersObject;
|
||||
if(!valueDomainTransfersDomainTransfer["DomainName"].isNull())
|
||||
domainTransfersObject.domainName = valueDomainTransfersDomainTransfer["DomainName"].asString();
|
||||
if(!valueDomainTransfersDomainTransfer["CreateTime"].isNull())
|
||||
domainTransfersObject.createTime = valueDomainTransfersDomainTransfer["CreateTime"].asString();
|
||||
if(!valueDomainTransfersDomainTransfer["CreateTimestamp"].isNull())
|
||||
domainTransfersObject.createTimestamp = std::stol(valueDomainTransfersDomainTransfer["CreateTimestamp"].asString());
|
||||
if(!valueDomainTransfersDomainTransfer["FromUserId"].isNull())
|
||||
domainTransfersObject.fromUserId = std::stol(valueDomainTransfersDomainTransfer["FromUserId"].asString());
|
||||
if(!valueDomainTransfersDomainTransfer["TargetUserId"].isNull())
|
||||
domainTransfersObject.targetUserId = std::stol(valueDomainTransfersDomainTransfer["TargetUserId"].asString());
|
||||
if(!valueDomainTransfersDomainTransfer["Id"].isNull())
|
||||
domainTransfersObject.id = std::stol(valueDomainTransfersDomainTransfer["Id"].asString());
|
||||
domainTransfers_.push_back(domainTransfersObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribeTransferDomainsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
long DescribeTransferDomainsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribeTransferDomainsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeTransferDomainsResult::DomainTransfer> DescribeTransferDomainsResult::getDomainTransfers()const
|
||||
{
|
||||
return domainTransfers_;
|
||||
}
|
||||
|
||||
@@ -35,20 +35,19 @@ std::vector<OperateBatchDomainRequest::DomainRecordInfo> OperateBatchDomainReque
|
||||
void OperateBatchDomainRequest::setDomainRecordInfo(const std::vector<DomainRecordInfo>& domainRecordInfo)
|
||||
{
|
||||
domainRecordInfo_ = domainRecordInfo;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= domainRecordInfo.size(); i++) {
|
||||
auto obj = domainRecordInfo.at(i);
|
||||
std::string str ="DomainRecordInfo."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Rr", obj.rr);
|
||||
setCoreParameter(str + ".NewType", obj.newType);
|
||||
setCoreParameter(str + ".NewValue", obj.newValue);
|
||||
setCoreParameter(str + ".Line", obj.line);
|
||||
setCoreParameter(str + ".Domain", obj.domain);
|
||||
setCoreParameter(str + ".Type", obj.type);
|
||||
setCoreParameter(str + ".Priority", std::to_string(obj.priority));
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Ttl", std::to_string(obj.ttl));
|
||||
setCoreParameter(str + ".NewRr", obj.newRr);
|
||||
for(int dep1 = 0; dep1!= domainRecordInfo.size(); dep1++) {
|
||||
auto domainRecordInfoObj = domainRecordInfo.at(dep1);
|
||||
std::string domainRecordInfoObjStr = "DomainRecordInfo." + std::to_string(dep1);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Rr", domainRecordInfoObj.rr);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".NewType", domainRecordInfoObj.newType);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".NewValue", domainRecordInfoObj.newValue);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Line", domainRecordInfoObj.line);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Domain", domainRecordInfoObj.domain);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Type", domainRecordInfoObj.type);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Priority", std::to_string(domainRecordInfoObj.priority));
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Value", domainRecordInfoObj.value);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Ttl", std::to_string(domainRecordInfoObj.ttl));
|
||||
setCoreParameter(domainRecordInfoObjStr + ".NewRr", domainRecordInfoObj.newRr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
95
alidns/src/model/TransferDomainRequest.cc
Normal file
95
alidns/src/model/TransferDomainRequest.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/alidns/model/TransferDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::TransferDomainRequest;
|
||||
|
||||
TransferDomainRequest::TransferDomainRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "TransferDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TransferDomainRequest::~TransferDomainRequest()
|
||||
{}
|
||||
|
||||
std::string TransferDomainRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
void TransferDomainRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setCoreParameter("DomainNames", domainNames);
|
||||
}
|
||||
|
||||
std::string TransferDomainRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void TransferDomainRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string TransferDomainRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void TransferDomainRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long TransferDomainRequest::getTargetUserId()const
|
||||
{
|
||||
return targetUserId_;
|
||||
}
|
||||
|
||||
void TransferDomainRequest::setTargetUserId(long targetUserId)
|
||||
{
|
||||
targetUserId_ = targetUserId;
|
||||
setCoreParameter("TargetUserId", std::to_string(targetUserId));
|
||||
}
|
||||
|
||||
std::string TransferDomainRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void TransferDomainRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string TransferDomainRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void TransferDomainRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
@@ -14,38 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/TrainProjectResult.h>
|
||||
#include <alibabacloud/alidns/model/TransferDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
TrainProjectResult::TrainProjectResult() :
|
||||
TransferDomainResult::TransferDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TrainProjectResult::TrainProjectResult(const std::string &payload) :
|
||||
TransferDomainResult::TransferDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TrainProjectResult::~TrainProjectResult()
|
||||
TransferDomainResult::~TransferDomainResult()
|
||||
{}
|
||||
|
||||
void TrainProjectResult::parse(const std::string &payload)
|
||||
void TransferDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["IterationId"].isNull())
|
||||
iterationId_ = value["IterationId"].asString();
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = std::stol(value["TaskId"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string TrainProjectResult::getIterationId()const
|
||||
long TransferDomainResult::getTaskId()const
|
||||
{
|
||||
return iterationId_;
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
73
alidns/src/model/UnbindInstanceDomainsRequest.cc
Normal file
73
alidns/src/model/UnbindInstanceDomainsRequest.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/alidns/model/UnbindInstanceDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::UnbindInstanceDomainsRequest;
|
||||
|
||||
UnbindInstanceDomainsRequest::UnbindInstanceDomainsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "UnbindInstanceDomains")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UnbindInstanceDomainsRequest::~UnbindInstanceDomainsRequest()
|
||||
{}
|
||||
|
||||
std::string UnbindInstanceDomainsRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
void UnbindInstanceDomainsRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setCoreParameter("DomainNames", domainNames);
|
||||
}
|
||||
|
||||
std::string UnbindInstanceDomainsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void UnbindInstanceDomainsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string UnbindInstanceDomainsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void UnbindInstanceDomainsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string UnbindInstanceDomainsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void UnbindInstanceDomainsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
58
alidns/src/model/UnbindInstanceDomainsResult.cc
Normal file
58
alidns/src/model/UnbindInstanceDomainsResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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/alidns/model/UnbindInstanceDomainsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
UnbindInstanceDomainsResult::UnbindInstanceDomainsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UnbindInstanceDomainsResult::UnbindInstanceDomainsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UnbindInstanceDomainsResult::~UnbindInstanceDomainsResult()
|
||||
{}
|
||||
|
||||
void UnbindInstanceDomainsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SuccessCount"].isNull())
|
||||
successCount_ = std::stoi(value["SuccessCount"].asString());
|
||||
if(!value["FailedCount"].isNull())
|
||||
failedCount_ = std::stoi(value["FailedCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int UnbindInstanceDomainsResult::getFailedCount()const
|
||||
{
|
||||
return failedCount_;
|
||||
}
|
||||
|
||||
int UnbindInstanceDomainsResult::getSuccessCount()const
|
||||
{
|
||||
return successCount_;
|
||||
}
|
||||
|
||||
89
alidns/src/model/UpdateCustomLineRequest.cc
Normal file
89
alidns/src/model/UpdateCustomLineRequest.cc
Normal file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* 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/alidns/model/UpdateCustomLineRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::UpdateCustomLineRequest;
|
||||
|
||||
UpdateCustomLineRequest::UpdateCustomLineRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "UpdateCustomLine")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateCustomLineRequest::~UpdateCustomLineRequest()
|
||||
{}
|
||||
|
||||
long UpdateCustomLineRequest::getLineId()const
|
||||
{
|
||||
return lineId_;
|
||||
}
|
||||
|
||||
void UpdateCustomLineRequest::setLineId(long lineId)
|
||||
{
|
||||
lineId_ = lineId;
|
||||
setCoreParameter("LineId", std::to_string(lineId));
|
||||
}
|
||||
|
||||
std::vector<UpdateCustomLineRequest::IpSegment> UpdateCustomLineRequest::getIpSegment()const
|
||||
{
|
||||
return ipSegment_;
|
||||
}
|
||||
|
||||
void UpdateCustomLineRequest::setIpSegment(const std::vector<IpSegment>& ipSegment)
|
||||
{
|
||||
ipSegment_ = ipSegment;
|
||||
for(int dep1 = 0; dep1!= ipSegment.size(); dep1++) {
|
||||
auto ipSegmentObj = ipSegment.at(dep1);
|
||||
std::string ipSegmentObjStr = "IpSegment." + std::to_string(dep1);
|
||||
setCoreParameter(ipSegmentObjStr + ".EndIp", ipSegmentObj.endIp);
|
||||
setCoreParameter(ipSegmentObjStr + ".StartIp", ipSegmentObj.startIp);
|
||||
}
|
||||
}
|
||||
|
||||
std::string UpdateCustomLineRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void UpdateCustomLineRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string UpdateCustomLineRequest::getLineName()const
|
||||
{
|
||||
return lineName_;
|
||||
}
|
||||
|
||||
void UpdateCustomLineRequest::setLineName(const std::string& lineName)
|
||||
{
|
||||
lineName_ = lineName;
|
||||
setCoreParameter("LineName", lineName);
|
||||
}
|
||||
|
||||
std::string UpdateCustomLineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void UpdateCustomLineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/DeleteTrainDatasResult.h>
|
||||
#include <alibabacloud/alidns/model/UpdateCustomLineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DeleteTrainDatasResult::DeleteTrainDatasResult() :
|
||||
UpdateCustomLineResult::UpdateCustomLineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTrainDatasResult::DeleteTrainDatasResult(const std::string &payload) :
|
||||
UpdateCustomLineResult::UpdateCustomLineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTrainDatasResult::~DeleteTrainDatasResult()
|
||||
UpdateCustomLineResult::~UpdateCustomLineResult()
|
||||
{}
|
||||
|
||||
void DeleteTrainDatasResult::parse(const std::string &payload)
|
||||
void UpdateCustomLineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -101,13 +101,12 @@ std::vector<UpdateGtmAddressPoolRequest::Addr> UpdateGtmAddressPoolRequest::getA
|
||||
void UpdateGtmAddressPoolRequest::setAddr(const std::vector<Addr>& addr)
|
||||
{
|
||||
addr_ = addr;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= addr.size(); i++) {
|
||||
auto obj = addr.at(i);
|
||||
std::string str ="Addr."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Mode", obj.mode);
|
||||
setCoreParameter(str + ".LbaWeight", std::to_string(obj.lbaWeight));
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
for(int dep1 = 0; dep1!= addr.size(); dep1++) {
|
||||
auto addrObj = addr.at(dep1);
|
||||
std::string addrObjStr = "Addr." + std::to_string(dep1);
|
||||
setCoreParameter(addrObjStr + ".Mode", addrObj.mode);
|
||||
setCoreParameter(addrObjStr + ".LbaWeight", std::to_string(addrObj.lbaWeight));
|
||||
setCoreParameter(addrObjStr + ".Value", addrObj.value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -123,12 +123,11 @@ std::vector<UpdateGtmMonitorRequest::IspCityNode> UpdateGtmMonitorRequest::getIs
|
||||
void UpdateGtmMonitorRequest::setIspCityNode(const std::vector<IspCityNode>& ispCityNode)
|
||||
{
|
||||
ispCityNode_ = ispCityNode;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= ispCityNode.size(); i++) {
|
||||
auto obj = ispCityNode.at(i);
|
||||
std::string str ="IspCityNode."+ std::to_string(i);
|
||||
setCoreParameter(str + ".CityCode", obj.cityCode);
|
||||
setCoreParameter(str + ".IspCode", obj.ispCode);
|
||||
for(int dep1 = 0; dep1!= ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = "IspCityNode." + std::to_string(dep1);
|
||||
setCoreParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setCoreParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
ActivatePerspectiveRequest();
|
||||
~ActivatePerspectiveRequest();
|
||||
|
||||
std::string getPerspectiveId()const;
|
||||
void setPerspectiveId(const std::string& perspectiveId);
|
||||
std::string getPerspectiveId()const;
|
||||
void setPerspectiveId(const std::string& perspectiveId);
|
||||
|
||||
private:
|
||||
std::string perspectiveId_;
|
||||
std::string perspectiveId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
AddSynonymRequest();
|
||||
~AddSynonymRequest();
|
||||
|
||||
std::string getSynonym()const;
|
||||
void setSynonym(const std::string& synonym);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getSynonym()const;
|
||||
void setSynonym(const std::string& synonym);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string synonym_;
|
||||
std::string coreWordName_;
|
||||
std::string synonym_;
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
AppendEntityMemberRequest();
|
||||
~AppendEntityMemberRequest();
|
||||
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
std::string getMember()const;
|
||||
void setMember(const std::string& member);
|
||||
std::string getApplyType()const;
|
||||
void setApplyType(const std::string& applyType);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
std::string getMember()const;
|
||||
void setMember(const std::string& member);
|
||||
std::string getApplyType()const;
|
||||
void setApplyType(const std::string& applyType);
|
||||
|
||||
private:
|
||||
long entityId_;
|
||||
std::string member_;
|
||||
std::string applyType_;
|
||||
long entityId_;
|
||||
std::string member_;
|
||||
std::string applyType_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
CreateCategoryRequest();
|
||||
~CreateCategoryRequest();
|
||||
|
||||
long getParentCategoryId()const;
|
||||
void setParentCategoryId(long parentCategoryId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
long getParentCategoryId()const;
|
||||
void setParentCategoryId(long parentCategoryId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
long parentCategoryId_;
|
||||
std::string name_;
|
||||
long parentCategoryId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
CreateCoreWordRequest();
|
||||
~CreateCoreWordRequest();
|
||||
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string coreWordName_;
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
CreateDialogRequest();
|
||||
~CreateDialogRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getDialogName()const;
|
||||
void setDialogName(const std::string& dialogName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getDialogName()const;
|
||||
void setDialogName(const std::string& dialogName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string dialogName_;
|
||||
std::string instanceId_;
|
||||
std::string description_;
|
||||
std::string dialogName_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,23 +35,23 @@ namespace AlibabaCloud
|
||||
CreateEntityRequest();
|
||||
~CreateEntityRequest();
|
||||
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
std::string getRegex()const;
|
||||
void setRegex(const std::string& regex);
|
||||
std::string getEntityType()const;
|
||||
void setEntityType(const std::string& entityType);
|
||||
std::string getMembers()const;
|
||||
void setMembers(const std::string& members);
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
std::string getRegex()const;
|
||||
void setRegex(const std::string& regex);
|
||||
std::string getEntityType()const;
|
||||
void setEntityType(const std::string& entityType);
|
||||
std::string getMembers()const;
|
||||
void setMembers(const std::string& members);
|
||||
|
||||
private:
|
||||
std::string entityName_;
|
||||
long dialogId_;
|
||||
std::string regex_;
|
||||
std::string entityType_;
|
||||
std::string members_;
|
||||
std::string entityName_;
|
||||
long dialogId_;
|
||||
std::string regex_;
|
||||
std::string entityType_;
|
||||
std::string members_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
CreateIntentRequest();
|
||||
~CreateIntentRequest();
|
||||
|
||||
std::string getIntentDefinition()const;
|
||||
void setIntentDefinition(const std::string& intentDefinition);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
std::string getIntentDefinition()const;
|
||||
void setIntentDefinition(const std::string& intentDefinition);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
std::string intentDefinition_;
|
||||
long dialogId_;
|
||||
std::string intentDefinition_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
CreateKnowledgeRequest();
|
||||
~CreateKnowledgeRequest();
|
||||
|
||||
std::string getKnowledge()const;
|
||||
void setKnowledge(const std::string& knowledge);
|
||||
std::string getKnowledge()const;
|
||||
void setKnowledge(const std::string& knowledge);
|
||||
|
||||
private:
|
||||
std::string knowledge_;
|
||||
std::string knowledge_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
CreatePerspectiveRequest();
|
||||
~CreatePerspectiveRequest();
|
||||
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteCategoryRequest();
|
||||
~DeleteCategoryRequest();
|
||||
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
long categoryId_;
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteCoreWordRequest();
|
||||
~DeleteCoreWordRequest();
|
||||
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string coreWordName_;
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteDialogRequest();
|
||||
~DeleteDialogRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteEntityRequest();
|
||||
~DeleteEntityRequest();
|
||||
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
|
||||
private:
|
||||
long entityId_;
|
||||
long entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteIntentRequest();
|
||||
~DeleteIntentRequest();
|
||||
|
||||
long getIntentId()const;
|
||||
void setIntentId(long intentId);
|
||||
long getIntentId()const;
|
||||
void setIntentId(long intentId);
|
||||
|
||||
private:
|
||||
long intentId_;
|
||||
long intentId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteKnowledgeRequest();
|
||||
~DeleteKnowledgeRequest();
|
||||
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
|
||||
private:
|
||||
long knowledgeId_;
|
||||
long knowledgeId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeCategoryRequest();
|
||||
~DescribeCategoryRequest();
|
||||
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
long categoryId_;
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeCoreWordRequest();
|
||||
~DescribeCoreWordRequest();
|
||||
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string coreWordName_;
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeDialogFlowRequest();
|
||||
~DescribeDialogFlowRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -75,8 +75,8 @@ namespace AlibabaCloud
|
||||
std::string function;
|
||||
std::string aliyunFunction;
|
||||
std::string type;
|
||||
std::vector<SwitchItem> _switch;
|
||||
std::string description;
|
||||
std::vector<SwitchItem> switch;
|
||||
std::string params;
|
||||
std::string endPoint;
|
||||
std::string code;
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeDialogRequest();
|
||||
~DescribeDialogRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeEntitiesRequest();
|
||||
~DescribeEntitiesRequest();
|
||||
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
|
||||
private:
|
||||
long entityId_;
|
||||
long entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeIntentRequest();
|
||||
~DescribeIntentRequest();
|
||||
|
||||
long getIntentId()const;
|
||||
void setIntentId(long intentId);
|
||||
long getIntentId()const;
|
||||
void setIntentId(long intentId);
|
||||
|
||||
private:
|
||||
long intentId_;
|
||||
long intentId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeKnowledgeRequest();
|
||||
~DescribeKnowledgeRequest();
|
||||
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
|
||||
private:
|
||||
long knowledgeId_;
|
||||
long knowledgeId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribePerspectiveRequest();
|
||||
~DescribePerspectiveRequest();
|
||||
|
||||
std::string getPerspectiveId()const;
|
||||
void setPerspectiveId(const std::string& perspectiveId);
|
||||
std::string getPerspectiveId()const;
|
||||
void setPerspectiveId(const std::string& perspectiveId);
|
||||
|
||||
private:
|
||||
std::string perspectiveId_;
|
||||
std::string perspectiveId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DisableDialogFlowRequest();
|
||||
~DisableDialogFlowRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DisableKnowledgeRequest();
|
||||
~DisableKnowledgeRequest();
|
||||
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
|
||||
private:
|
||||
long knowledgeId_;
|
||||
long knowledgeId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
||||
FeedbackRequest();
|
||||
~FeedbackRequest();
|
||||
|
||||
std::string getFeedback()const;
|
||||
void setFeedback(const std::string& feedback);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getMessageId()const;
|
||||
void setMessageId(const std::string& messageId);
|
||||
std::string getSessionId()const;
|
||||
void setSessionId(const std::string& sessionId);
|
||||
std::string getFeedback()const;
|
||||
void setFeedback(const std::string& feedback);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getMessageId()const;
|
||||
void setMessageId(const std::string& messageId);
|
||||
std::string getSessionId()const;
|
||||
void setSessionId(const std::string& sessionId);
|
||||
|
||||
private:
|
||||
std::string feedback_;
|
||||
std::string instanceId_;
|
||||
std::string messageId_;
|
||||
std::string sessionId_;
|
||||
std::string feedback_;
|
||||
std::string instanceId_;
|
||||
std::string messageId_;
|
||||
std::string sessionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
MoveKnowledgeCategoryRequest();
|
||||
~MoveKnowledgeCategoryRequest();
|
||||
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
long knowledgeId_;
|
||||
long categoryId_;
|
||||
long knowledgeId_;
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
PublishDialogFlowRequest();
|
||||
~PublishDialogFlowRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
PublishKnowledgeRequest();
|
||||
~PublishKnowledgeRequest();
|
||||
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
|
||||
private:
|
||||
long knowledgeId_;
|
||||
long knowledgeId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
QueryCategoriesRequest();
|
||||
~QueryCategoriesRequest();
|
||||
|
||||
bool getShowChildrens()const;
|
||||
void setShowChildrens(bool showChildrens);
|
||||
long getParentCategoryId()const;
|
||||
void setParentCategoryId(long parentCategoryId);
|
||||
bool getShowChildrens()const;
|
||||
void setShowChildrens(bool showChildrens);
|
||||
long getParentCategoryId()const;
|
||||
void setParentCategoryId(long parentCategoryId);
|
||||
|
||||
private:
|
||||
bool showChildrens_;
|
||||
long parentCategoryId_;
|
||||
bool showChildrens_;
|
||||
long parentCategoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
||||
QueryCoreWordsRequest();
|
||||
~QueryCoreWordsRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getSynonym()const;
|
||||
void setSynonym(const std::string& synonym);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getSynonym()const;
|
||||
void setSynonym(const std::string& synonym);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string synonym_;
|
||||
int pageSize_;
|
||||
std::string coreWordName_;
|
||||
int pageNumber_;
|
||||
std::string synonym_;
|
||||
int pageSize_;
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
||||
QueryDialogsRequest();
|
||||
~QueryDialogsRequest();
|
||||
|
||||
std::string getDialogName()const;
|
||||
void setDialogName(const std::string& dialogName);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDialogName()const;
|
||||
void setDialogName(const std::string& dialogName);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string dialogName_;
|
||||
int pageNumber_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::string dialogName_;
|
||||
int pageNumber_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
||||
QueryEntitiesRequest();
|
||||
~QueryEntitiesRequest();
|
||||
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string entityName_;
|
||||
long dialogId_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string entityName_;
|
||||
long dialogId_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
||||
QueryIntentsRequest();
|
||||
~QueryIntentsRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getIntentName()const;
|
||||
void setIntentName(const std::string& intentName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getIntentName()const;
|
||||
void setIntentName(const std::string& intentName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
int pageNumber_;
|
||||
std::string intentName_;
|
||||
int pageSize_;
|
||||
long dialogId_;
|
||||
int pageNumber_;
|
||||
std::string intentName_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,23 +35,23 @@ namespace AlibabaCloud
|
||||
QueryKnowledgesRequest();
|
||||
~QueryKnowledgesRequest();
|
||||
|
||||
std::string getKnowledgeTitle()const;
|
||||
void setKnowledgeTitle(const std::string& knowledgeTitle);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
std::string getKnowledgeTitle()const;
|
||||
void setKnowledgeTitle(const std::string& knowledgeTitle);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
std::string knowledgeTitle_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string coreWordName_;
|
||||
long categoryId_;
|
||||
std::string knowledgeTitle_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string coreWordName_;
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
QuerySystemEntitiesRequest();
|
||||
~QuerySystemEntitiesRequest();
|
||||
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
|
||||
private:
|
||||
std::string entityName_;
|
||||
std::string entityName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
RemoveEntityMemberRequest();
|
||||
~RemoveEntityMemberRequest();
|
||||
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
std::string getRemoveType()const;
|
||||
void setRemoveType(const std::string& removeType);
|
||||
std::string getMember()const;
|
||||
void setMember(const std::string& member);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
std::string getRemoveType()const;
|
||||
void setRemoveType(const std::string& removeType);
|
||||
std::string getMember()const;
|
||||
void setMember(const std::string& member);
|
||||
|
||||
private:
|
||||
long entityId_;
|
||||
std::string removeType_;
|
||||
std::string member_;
|
||||
long entityId_;
|
||||
std::string removeType_;
|
||||
std::string member_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
RemoveSynonymRequest();
|
||||
~RemoveSynonymRequest();
|
||||
|
||||
std::string getSynonym()const;
|
||||
void setSynonym(const std::string& synonym);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getSynonym()const;
|
||||
void setSynonym(const std::string& synonym);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string synonym_;
|
||||
std::string coreWordName_;
|
||||
std::string synonym_;
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
TestDialogFlowRequest();
|
||||
~TestDialogFlowRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
UpdateCategoryRequest();
|
||||
~UpdateCategoryRequest();
|
||||
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
long categoryId_;
|
||||
std::string name_;
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
UpdateCoreWordRequest();
|
||||
~UpdateCoreWordRequest();
|
||||
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getCoreWordCode()const;
|
||||
void setCoreWordCode(const std::string& coreWordCode);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getCoreWordCode()const;
|
||||
void setCoreWordCode(const std::string& coreWordCode);
|
||||
|
||||
private:
|
||||
std::string coreWordName_;
|
||||
std::string coreWordCode_;
|
||||
std::string coreWordName_;
|
||||
std::string coreWordCode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
UpdateDialogFlowRequest();
|
||||
~UpdateDialogFlowRequest();
|
||||
|
||||
std::string getModuleDefinition()const;
|
||||
void setModuleDefinition(const std::string& moduleDefinition);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
std::string getModuleDefinition()const;
|
||||
void setModuleDefinition(const std::string& moduleDefinition);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
std::string moduleDefinition_;
|
||||
long dialogId_;
|
||||
std::string moduleDefinition_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
UpdateDialogRequest();
|
||||
~UpdateDialogRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
std::string getDialogName()const;
|
||||
void setDialogName(const std::string& dialogName);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
std::string getDialogName()const;
|
||||
void setDialogName(const std::string& dialogName);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
long dialogId_;
|
||||
std::string dialogName_;
|
||||
std::string description_;
|
||||
long dialogId_;
|
||||
std::string dialogName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,23 +35,23 @@ namespace AlibabaCloud
|
||||
UpdateEntityRequest();
|
||||
~UpdateEntityRequest();
|
||||
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
std::string getRegex()const;
|
||||
void setRegex(const std::string& regex);
|
||||
std::string getEntityType()const;
|
||||
void setEntityType(const std::string& entityType);
|
||||
std::string getMembers()const;
|
||||
void setMembers(const std::string& members);
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
std::string getRegex()const;
|
||||
void setRegex(const std::string& regex);
|
||||
std::string getEntityType()const;
|
||||
void setEntityType(const std::string& entityType);
|
||||
std::string getMembers()const;
|
||||
void setMembers(const std::string& members);
|
||||
|
||||
private:
|
||||
std::string entityName_;
|
||||
long entityId_;
|
||||
std::string regex_;
|
||||
std::string entityType_;
|
||||
std::string members_;
|
||||
std::string entityName_;
|
||||
long entityId_;
|
||||
std::string regex_;
|
||||
std::string entityType_;
|
||||
std::string members_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
UpdateIntentRequest();
|
||||
~UpdateIntentRequest();
|
||||
|
||||
std::string getIntentDefinition()const;
|
||||
void setIntentDefinition(const std::string& intentDefinition);
|
||||
long getIntentId()const;
|
||||
void setIntentId(long intentId);
|
||||
std::string getIntentDefinition()const;
|
||||
void setIntentDefinition(const std::string& intentDefinition);
|
||||
long getIntentId()const;
|
||||
void setIntentId(long intentId);
|
||||
|
||||
private:
|
||||
std::string intentDefinition_;
|
||||
long intentId_;
|
||||
std::string intentDefinition_;
|
||||
long intentId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
UpdateKnowledgeRequest();
|
||||
~UpdateKnowledgeRequest();
|
||||
|
||||
std::string getKnowledge()const;
|
||||
void setKnowledge(const std::string& knowledge);
|
||||
std::string getKnowledge()const;
|
||||
void setKnowledge(const std::string& knowledge);
|
||||
|
||||
private:
|
||||
std::string knowledge_;
|
||||
std::string knowledge_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user