Compare commits

..

31 Commits

Author SHA1 Message Date
sdk-team
87fc3376cb Support Document Translation. 2020-04-29 16:47:05 +08:00
sdk-team
f6ec6326cb Sync cdn APIs. 2020-04-29 16:35:08 +08:00
sdk-team
bd43e54271 Add Scdn APIS. 2020-04-29 16:10:26 +08:00
wb-hx510875
f16150baca fix : code patch
1. fixed code about delete char*
2. free curl_slist
3. added lock for EndpointProvider::LoadLocalEndpoints()
2020-04-28 16:41:32 +08:00
sdk-team
a51834c8d0 Generated 2019-03-15 for fnf. 2020-04-28 15:43:32 +08:00
sdk-team
23bea0505a Add CompareFaceVerify API. 2020-04-28 15:40:24 +08:00
sdk-team
8c15acf5c8 Support watermark. 2020-04-27 20:40:39 +08:00
sdk-team
00cb41817f Describe describeAvailableResource. 2020-04-27 20:35:05 +08:00
sdk-team
f90eac2a6c ContrastFaceVerify Return SubCode. 2020-04-27 17:52:10 +08:00
sdk-team
f69779be3f Generated 2019-01-01 for Cassandra. 2020-04-27 14:39:32 +08:00
sdk-team
feab9dcc06 New api publish. 2020-04-26 16:18:38 +08:00
sdk-team
d1c3599e3d Generated 2015-01-01 for R-kvstore. 2020-04-25 16:36:42 +08:00
sdk-team
f1483f8582 Publish apis for ledger instances. 2020-04-24 16:05:24 +08:00
sdk-team
d005611f56 Publish apis for ledger instances. 2020-04-24 16:01:11 +08:00
sdk-team
7e80260525 GetUser API return user execute query count information. 2020-04-23 22:37:56 +08:00
sdk-team
4aa00d49d1 Fixed bugs for MassPush API. 2020-04-23 17:51:52 +08:00
sdk-team
a1dd7e1dbd Add location info. 2020-04-23 10:38:48 +08:00
sdk-team
e6cff897c5 Support groupId operations. 2020-04-23 10:35:18 +08:00
sdk-team
4d493b157c Generated 2019-01-01 for Cassandra. 2020-04-22 17:17:11 +08:00
sdk-team
8a1c79417e Supported API for DescribeTags. 2020-04-21 11:02:12 +08:00
sdk-team
ad02a00036 Supported PackageDesign Apis. 2020-04-21 10:51:59 +08:00
sdk-team
3dd38f70c2 Add Statistics API. 2020-04-21 09:54:00 +08:00
sdk-team
cc6cea96e4 Add TemplateId. 2020-04-20 16:31:50 +08:00
sdk-team
f819d8866c Fix FaceContrastPicture. 2020-04-20 14:55:57 +08:00
sdk-team
d53a27c55f Add kibana network white Ips. 2020-04-20 14:25:18 +08:00
sdk-team
112b1d25da Multimedia poc modified. 2020-04-19 18:02:55 +08:00
sdk-team
f51d79f1b9 DescribeInstanceTypes support TotalEniQueueQuantity. 2020-04-17 17:56:20 +08:00
sdk-team
e53482d9c6 Modify SubmitSmarttagJob. 2020-04-16 19:47:18 +08:00
sdk-team
b004f4b9fa Add ModifyWhiteIps. 2020-04-16 18:17:53 +08:00
sdk-team
c9cf723562 Add BatchOptimization param in Stop and Start Instances. 2020-04-16 18:06:50 +08:00
sdk-team
b1020d412c Add features for open api. 2020-04-16 14:55:14 +08:00
569 changed files with 24486 additions and 9794 deletions

111
CHANGELOG
View File

@@ -1,3 +1,114 @@
2020-04-29 Version: 1.36.388
- Support Document Translation.
- Support Lanuage Detection.
2020-04-29 Version: 1.36.387
- Sync cdn APIs.
2020-04-29 Version: 1.36.386
- Add Scdn APIS.
- Sync cdn APIS.
2020-04-28 Version: 1.36.385
- Generated 2019-03-15 for `fnf`.
2020-04-28 Version: 1.36.384
- Add CompareFaceVerify API.
2020-04-27 Version: 1.36.383
- Support watermark.
2020-04-27 Version: 1.36.382
- Describe describeAvailableResource.
2020-04-27 Version: 1.36.381
- ContrastFaceVerify Return SubCode.
2020-04-27 Version: 1.36.380
- Generated 2019-01-01 for `Cassandra`.
2020-04-26 Version: 1.36.379
- New api publish.
2020-04-25 Version: 1.36.378
- Generated 2015-01-01 for `R-kvstore`.
- Add RestoreTime for CreateInstance API.
2020-04-24 Version: 1.36.377
- Publish apis for ledger instances.
- Publish apis for members.
- Publish apis for time anchors.
- Publish apis for endpoints.
2020-04-24 Version: 1.36.376
- Publish apis for ledger instances.
- Publish apis for members.
- Publish apis for time anchors.
- Publish apis for endpoints.
2020-04-23 Version: 1.36.375
- GetUser API return user execute query count information.
2020-04-23 Version: 1.36.374
- Fixed bugs for MassPush API.
2020-04-23 Version: 1.36.373
- Add location info.
2020-04-23 Version: 1.36.372
- Support groupId operations.
2020-04-22 Version: 1.36.371
- Generated 2019-01-01 for `Cassandra`.
2020-04-21 Version: 1.36.370
- Supported API for DescribeTags.
- Supported API for ListTagResources.
- Supported API for TagResources.
- Supported API for UntagResources.
2020-04-21 Version: 1.36.369
- Supported PackageDesign Apis.
- Supported Api ListPackageDesignModelTypes.
- Supported Api PreviewModelForPackageDesign.
- Supported Api RenderImageForPackageDesign.
- Supported Api GetRenderResult.
2020-04-21 Version: 1.36.368
- Add Statistics API.
2020-04-20 Version: 1.36.367
- Add TemplateId.
2020-04-20 Version: 1.36.366
- Fix FaceContrastPicture.
2020-04-20 Version: 1.36.365
- Add kibana network white Ips.
2020-04-19 Version: 1.36.364
- Multimedia poc modified.
2020-04-17 Version: 1.36.363
- DescribeInstanceTypes support TotalEniQueueQuantity.
2020-04-16 Version: 1.36.362
- Modify `SubmitSmarttagJob`.
2020-04-16 Version: 1.36.361
- Add ModifyWhiteIps.
2020-04-16 Version: 1.36.360
- Add BatchOptimization param in Stop and Start Instances.
- Add RemoveSymbols in GetInstanceConsoleOutput.
- Add ImageFamily in ModifyImageAttribute.
- Customize InstanceType on DedicatedHosts is supported.
- Add StorageCapacityUnit interfaces.
- Add param Tag in CreateAutoSnapshotPolicy.
2020-04-16 Version: 1.36.359
- Add features for open api.
2020-04-15 Version: 1.36.358
- Add pre train service api.

View File

@@ -1 +1 @@
1.36.358
1.36.388

View File

@@ -141,6 +141,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/DescribeTagsRequest.h
include/alibabacloud/alidns/model/DescribeTagsResult.h
include/alibabacloud/alidns/model/DescribeTransferDomainsRequest.h
include/alibabacloud/alidns/model/DescribeTransferDomainsResult.h
include/alibabacloud/alidns/model/ExecuteGtmRecoveryPlanRequest.h
@@ -149,6 +151,8 @@ set(alidns_public_header_model
include/alibabacloud/alidns/model/GetMainDomainNameResult.h
include/alibabacloud/alidns/model/GetTxtRecordForVerifyRequest.h
include/alibabacloud/alidns/model/GetTxtRecordForVerifyResult.h
include/alibabacloud/alidns/model/ListTagResourcesRequest.h
include/alibabacloud/alidns/model/ListTagResourcesResult.h
include/alibabacloud/alidns/model/ModifyHichinaDomainDNSRequest.h
include/alibabacloud/alidns/model/ModifyHichinaDomainDNSResult.h
include/alibabacloud/alidns/model/OperateBatchDomainRequest.h
@@ -169,10 +173,14 @@ 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/TagResourcesRequest.h
include/alibabacloud/alidns/model/TagResourcesResult.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/UntagResourcesRequest.h
include/alibabacloud/alidns/model/UntagResourcesResult.h
include/alibabacloud/alidns/model/UpdateCustomLineRequest.h
include/alibabacloud/alidns/model/UpdateCustomLineResult.h
include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h
@@ -318,6 +326,8 @@ set(alidns_src
src/model/DescribeSubDomainRecordsResult.cc
src/model/DescribeSupportLinesRequest.cc
src/model/DescribeSupportLinesResult.cc
src/model/DescribeTagsRequest.cc
src/model/DescribeTagsResult.cc
src/model/DescribeTransferDomainsRequest.cc
src/model/DescribeTransferDomainsResult.cc
src/model/ExecuteGtmRecoveryPlanRequest.cc
@@ -326,6 +336,8 @@ set(alidns_src
src/model/GetMainDomainNameResult.cc
src/model/GetTxtRecordForVerifyRequest.cc
src/model/GetTxtRecordForVerifyResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ModifyHichinaDomainDNSRequest.cc
src/model/ModifyHichinaDomainDNSResult.cc
src/model/OperateBatchDomainRequest.cc
@@ -346,10 +358,14 @@ set(alidns_src
src/model/SetGtmAccessModeResult.cc
src/model/SetGtmMonitorStatusRequest.cc
src/model/SetGtmMonitorStatusResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/TransferDomainRequest.cc
src/model/TransferDomainResult.cc
src/model/UnbindInstanceDomainsRequest.cc
src/model/UnbindInstanceDomainsResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc
src/model/UpdateCustomLineRequest.cc
src/model/UpdateCustomLineResult.cc
src/model/UpdateDNSSLBWeightRequest.cc

View File

@@ -142,6 +142,8 @@
#include "model/DescribeSubDomainRecordsResult.h"
#include "model/DescribeSupportLinesRequest.h"
#include "model/DescribeSupportLinesResult.h"
#include "model/DescribeTagsRequest.h"
#include "model/DescribeTagsResult.h"
#include "model/DescribeTransferDomainsRequest.h"
#include "model/DescribeTransferDomainsResult.h"
#include "model/ExecuteGtmRecoveryPlanRequest.h"
@@ -150,6 +152,8 @@
#include "model/GetMainDomainNameResult.h"
#include "model/GetTxtRecordForVerifyRequest.h"
#include "model/GetTxtRecordForVerifyResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ModifyHichinaDomainDNSRequest.h"
#include "model/ModifyHichinaDomainDNSResult.h"
#include "model/OperateBatchDomainRequest.h"
@@ -170,10 +174,14 @@
#include "model/SetGtmAccessModeResult.h"
#include "model/SetGtmMonitorStatusRequest.h"
#include "model/SetGtmMonitorStatusResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/TransferDomainRequest.h"
#include "model/TransferDomainResult.h"
#include "model/UnbindInstanceDomainsRequest.h"
#include "model/UnbindInstanceDomainsResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
#include "model/UpdateCustomLineRequest.h"
#include "model/UpdateCustomLineResult.h"
#include "model/UpdateDNSSLBWeightRequest.h"
@@ -385,6 +393,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::DescribeTagsResult> DescribeTagsOutcome;
typedef std::future<DescribeTagsOutcome> DescribeTagsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeTagsRequest&, const DescribeTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTagsAsyncHandler;
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;
@@ -397,6 +408,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetTxtRecordForVerifyResult> GetTxtRecordForVerifyOutcome;
typedef std::future<GetTxtRecordForVerifyOutcome> GetTxtRecordForVerifyOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::GetTxtRecordForVerifyRequest&, const GetTxtRecordForVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTxtRecordForVerifyAsyncHandler;
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
typedef Outcome<Error, Model::ModifyHichinaDomainDNSResult> ModifyHichinaDomainDNSOutcome;
typedef std::future<ModifyHichinaDomainDNSOutcome> ModifyHichinaDomainDNSOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::ModifyHichinaDomainDNSRequest&, const ModifyHichinaDomainDNSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHichinaDomainDNSAsyncHandler;
@@ -427,12 +441,18 @@ 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::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
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::UntagResourcesResult> UntagResourcesOutcome;
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
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;
@@ -651,6 +671,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;
DescribeTagsOutcome describeTags(const Model::DescribeTagsRequest &request)const;
void describeTagsAsync(const Model::DescribeTagsRequest& request, const DescribeTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTagsOutcomeCallable describeTagsCallable(const Model::DescribeTagsRequest& 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;
@@ -663,6 +686,9 @@ namespace AlibabaCloud
GetTxtRecordForVerifyOutcome getTxtRecordForVerify(const Model::GetTxtRecordForVerifyRequest &request)const;
void getTxtRecordForVerifyAsync(const Model::GetTxtRecordForVerifyRequest& request, const GetTxtRecordForVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTxtRecordForVerifyOutcomeCallable getTxtRecordForVerifyCallable(const Model::GetTxtRecordForVerifyRequest& request) const;
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
ModifyHichinaDomainDNSOutcome modifyHichinaDomainDNS(const Model::ModifyHichinaDomainDNSRequest &request)const;
void modifyHichinaDomainDNSAsync(const Model::ModifyHichinaDomainDNSRequest& request, const ModifyHichinaDomainDNSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyHichinaDomainDNSOutcomeCallable modifyHichinaDomainDNSCallable(const Model::ModifyHichinaDomainDNSRequest& request) const;
@@ -693,12 +719,18 @@ 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;
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
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;
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
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;

View File

@@ -30,6 +30,12 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainsRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
DescribeDomainsRequest();
@@ -43,6 +49,8 @@ namespace AlibabaCloud
void setResourceGroupId(const std::string& resourceGroupId);
long getPageSize()const;
void setPageSize(long pageSize);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getKeyWord()const;
@@ -67,6 +75,7 @@ namespace AlibabaCloud
long pageNumber_;
std::string resourceGroupId_;
long pageSize_;
std::vector<Tag> tag_;
std::string lang_;
std::string keyWord_;
std::string direction_;

View File

@@ -34,6 +34,11 @@ namespace AlibabaCloud
public:
struct Domain
{
struct Tag
{
std::string value;
std::string key;
};
std::string groupName;
bool aliDomain;
std::string domainName;
@@ -52,6 +57,7 @@ namespace AlibabaCloud
bool instanceExpired;
long recordCount;
long createTimestamp;
std::vector<Domain::Tag> tags;
};

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETAGSREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETAGSREQUEST_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 DescribeTagsRequest : public RpcServiceRequest
{
public:
DescribeTagsRequest();
~DescribeTagsRequest();
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
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 resourceType_;
long pageNumber_;
std::string userClientIp_;
long pageSize_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETAGSREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETAGSRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETAGSRESULT_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 DescribeTagsResult : public ServiceResult
{
public:
struct Tag
{
std::vector<std::string> values;
std::string key;
};
DescribeTagsResult();
explicit DescribeTagsResult(const std::string &payload);
~DescribeTagsResult();
long getTotalCount()const;
long getPageSize()const;
long getPageNumber()const;
std::vector<Tag> getTags()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
long pageSize_;
long pageNumber_;
std::vector<Tag> tags_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETAGSRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_LISTTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_LISTTAGRESOURCESREQUEST_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 ListTagResourcesRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
ListTagResourcesRequest();
~ListTagResourcesRequest();
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
int getSize()const;
void setSize(int size);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::vector<std::string> resourceId_;
std::string resourceType_;
int size_;
std::string nextToken_;
std::string userClientIp_;
std::vector<Tag> tag_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_LISTTAGRESOURCESREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_LISTTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_LISTTAGRESOURCESRESULT_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 ListTagResourcesResult : public ServiceResult
{
public:
struct TagResource
{
std::string resourceId;
std::string tagKey;
std::string resourceType;
std::string tagValue;
};
ListTagResourcesResult();
explicit ListTagResourcesResult(const std::string &payload);
~ListTagResourcesResult();
std::string getNextToken()const;
std::vector<TagResource> getTagResources()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
std::vector<TagResource> tagResources_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_LISTTAGRESOURCESRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_TAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_TAGRESOURCESREQUEST_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 TagResourcesRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
TagResourcesRequest();
~TagResourcesRequest();
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getLang()const;
void setLang(const std::string& lang);
bool getOverWrite()const;
void setOverWrite(bool overWrite);
private:
std::vector<std::string> resourceId_;
std::string resourceType_;
std::string userClientIp_;
std::vector<Tag> tag_;
std::string lang_;
bool overWrite_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_TAGRESOURCESREQUEST_H_

View File

@@ -14,40 +14,36 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_HBASE_MODEL_CREATEINSTANCERESULT_H_
#define ALIBABACLOUD_HBASE_MODEL_CREATEINSTANCERESULT_H_
#ifndef ALIBABACLOUD_ALIDNS_MODEL_TAGRESOURCESRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_TAGRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/hbase/HBaseExport.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace HBase
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_HBASE_EXPORT CreateInstanceResult : public ServiceResult
class ALIBABACLOUD_ALIDNS_EXPORT TagResourcesResult : public ServiceResult
{
public:
CreateInstanceResult();
explicit CreateInstanceResult(const std::string &payload);
~CreateInstanceResult();
std::string getClusterId()const;
std::string getOrderId()const;
TagResourcesResult();
explicit TagResourcesResult(const std::string &payload);
~TagResourcesResult();
protected:
void parse(const std::string &payload);
private:
std::string clusterId_;
std::string orderId_;
};
}
}
}
#endif // !ALIBABACLOUD_HBASE_MODEL_CREATEINSTANCERESULT_H_
#endif // !ALIBABACLOUD_ALIDNS_MODEL_TAGRESOURCESRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_UNTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_UNTAGRESOURCESREQUEST_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 UntagResourcesRequest : public RpcServiceRequest
{
public:
UntagResourcesRequest();
~UntagResourcesRequest();
bool getAll()const;
void setAll(bool all);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getLang()const;
void setLang(const std::string& lang);
std::vector<std::string> getTagKey()const;
void setTagKey(const std::vector<std::string>& tagKey);
private:
bool all_;
std::vector<std::string> resourceId_;
std::string resourceType_;
std::string userClientIp_;
std::string lang_;
std::vector<std::string> tagKey_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UNTAGRESOURCESREQUEST_H_

View File

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

View File

@@ -2211,6 +2211,42 @@ AlidnsClient::DescribeSupportLinesOutcomeCallable AlidnsClient::describeSupportL
return task->get_future();
}
AlidnsClient::DescribeTagsOutcome AlidnsClient::describeTags(const DescribeTagsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeTagsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeTagsOutcome(DescribeTagsResult(outcome.result()));
else
return DescribeTagsOutcome(outcome.error());
}
void AlidnsClient::describeTagsAsync(const DescribeTagsRequest& request, const DescribeTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeTags(request), context);
};
asyncExecute(new Runnable(fn));
}
AlidnsClient::DescribeTagsOutcomeCallable AlidnsClient::describeTagsCallable(const DescribeTagsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeTagsOutcome()>>(
[this, request]()
{
return this->describeTags(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlidnsClient::DescribeTransferDomainsOutcome AlidnsClient::describeTransferDomains(const DescribeTransferDomainsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2355,6 +2391,42 @@ AlidnsClient::GetTxtRecordForVerifyOutcomeCallable AlidnsClient::getTxtRecordFor
return task->get_future();
}
AlidnsClient::ListTagResourcesOutcome AlidnsClient::listTagResources(const ListTagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListTagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListTagResourcesOutcome(ListTagResourcesResult(outcome.result()));
else
return ListTagResourcesOutcome(outcome.error());
}
void AlidnsClient::listTagResourcesAsync(const ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listTagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
AlidnsClient::ListTagResourcesOutcomeCallable AlidnsClient::listTagResourcesCallable(const ListTagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListTagResourcesOutcome()>>(
[this, request]()
{
return this->listTagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlidnsClient::ModifyHichinaDomainDNSOutcome AlidnsClient::modifyHichinaDomainDNS(const ModifyHichinaDomainDNSRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2715,6 +2787,42 @@ AlidnsClient::SetGtmMonitorStatusOutcomeCallable AlidnsClient::setGtmMonitorStat
return task->get_future();
}
AlidnsClient::TagResourcesOutcome AlidnsClient::tagResources(const TagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TagResourcesOutcome(TagResourcesResult(outcome.result()));
else
return TagResourcesOutcome(outcome.error());
}
void AlidnsClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, tagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
AlidnsClient::TagResourcesOutcomeCallable AlidnsClient::tagResourcesCallable(const TagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TagResourcesOutcome()>>(
[this, request]()
{
return this->tagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlidnsClient::TransferDomainOutcome AlidnsClient::transferDomain(const TransferDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2787,6 +2895,42 @@ AlidnsClient::UnbindInstanceDomainsOutcomeCallable AlidnsClient::unbindInstanceD
return task->get_future();
}
AlidnsClient::UntagResourcesOutcome AlidnsClient::untagResources(const UntagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UntagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UntagResourcesOutcome(UntagResourcesResult(outcome.result()));
else
return UntagResourcesOutcome(outcome.error());
}
void AlidnsClient::untagResourcesAsync(const UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, untagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
AlidnsClient::UntagResourcesOutcomeCallable AlidnsClient::untagResourcesCallable(const UntagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UntagResourcesOutcome()>>(
[this, request]()
{
return this->untagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlidnsClient::UpdateCustomLineOutcome AlidnsClient::updateCustomLine(const UpdateCustomLineRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

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

View File

@@ -77,6 +77,16 @@ void DescribeDomainsResult::parse(const std::string &payload)
domainsObject.createTime = valueDomainsDomain["CreateTime"].asString();
if(!valueDomainsDomain["CreateTimestamp"].isNull())
domainsObject.createTimestamp = std::stol(valueDomainsDomain["CreateTimestamp"].asString());
auto allTagsNode = allDomainsNode["Tags"]["Tag"];
for (auto allDomainsNodeTagsTag : allTagsNode)
{
Domain::Tag tagsObject;
if(!allDomainsNodeTagsTag["Key"].isNull())
tagsObject.key = allDomainsNodeTagsTag["Key"].asString();
if(!allDomainsNodeTagsTag["Value"].isNull())
tagsObject.value = allDomainsNodeTagsTag["Value"].asString();
domainsObject.tags.push_back(tagsObject);
}
auto allDnsServers = value["DnsServers"]["DnsServer"];
for (auto value : allDnsServers)
domainsObject.dnsServers.push_back(value.asString());

View 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/DescribeTagsRequest.h>
using AlibabaCloud::Alidns::Model::DescribeTagsRequest;
DescribeTagsRequest::DescribeTagsRequest() :
RpcServiceRequest("alidns", "2015-01-09", "DescribeTags")
{
setMethod(HttpRequest::Method::Post);
}
DescribeTagsRequest::~DescribeTagsRequest()
{}
std::string DescribeTagsRequest::getResourceType()const
{
return resourceType_;
}
void DescribeTagsRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}
long DescribeTagsRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeTagsRequest::setPageNumber(long pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeTagsRequest::getUserClientIp()const
{
return userClientIp_;
}
void DescribeTagsRequest::setUserClientIp(const std::string& userClientIp)
{
userClientIp_ = userClientIp;
setParameter("UserClientIp", userClientIp);
}
long DescribeTagsRequest::getPageSize()const
{
return pageSize_;
}
void DescribeTagsRequest::setPageSize(long pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeTagsRequest::getLang()const
{
return lang_;
}
void DescribeTagsRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -0,0 +1,81 @@
/*
* 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/DescribeTagsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alidns;
using namespace AlibabaCloud::Alidns::Model;
DescribeTagsResult::DescribeTagsResult() :
ServiceResult()
{}
DescribeTagsResult::DescribeTagsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeTagsResult::~DescribeTagsResult()
{}
void DescribeTagsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allTagsNode = value["Tags"]["Tag"];
for (auto valueTagsTag : allTagsNode)
{
Tag tagsObject;
if(!valueTagsTag["Key"].isNull())
tagsObject.key = valueTagsTag["Key"].asString();
auto allValues = value["Values"]["Value"];
for (auto value : allValues)
tagsObject.values.push_back(value.asString());
tags_.push_back(tagsObject);
}
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 DescribeTagsResult::getTotalCount()const
{
return totalCount_;
}
long DescribeTagsResult::getPageSize()const
{
return pageSize_;
}
long DescribeTagsResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<DescribeTagsResult::Tag> DescribeTagsResult::getTags()const
{
return tags_;
}

View File

@@ -0,0 +1,113 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/ListTagResourcesRequest.h>
using AlibabaCloud::Alidns::Model::ListTagResourcesRequest;
ListTagResourcesRequest::ListTagResourcesRequest() :
RpcServiceRequest("alidns", "2015-01-09", "ListTagResources")
{
setMethod(HttpRequest::Method::Post);
}
ListTagResourcesRequest::~ListTagResourcesRequest()
{}
std::vector<std::string> ListTagResourcesRequest::getResourceId()const
{
return resourceId_;
}
void ListTagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
{
resourceId_ = resourceId;
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
}
}
std::string ListTagResourcesRequest::getResourceType()const
{
return resourceType_;
}
void ListTagResourcesRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}
int ListTagResourcesRequest::getSize()const
{
return size_;
}
void ListTagResourcesRequest::setSize(int size)
{
size_ = size;
setParameter("Size", std::to_string(size));
}
std::string ListTagResourcesRequest::getNextToken()const
{
return nextToken_;
}
void ListTagResourcesRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setParameter("NextToken", nextToken);
}
std::string ListTagResourcesRequest::getUserClientIp()const
{
return userClientIp_;
}
void ListTagResourcesRequest::setUserClientIp(const std::string& userClientIp)
{
userClientIp_ = userClientIp;
setParameter("UserClientIp", userClientIp);
}
std::vector<ListTagResourcesRequest::Tag> ListTagResourcesRequest::getTag()const
{
return tag_;
}
void ListTagResourcesRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}
std::string ListTagResourcesRequest::getLang()const
{
return lang_;
}
void ListTagResourcesRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -0,0 +1,70 @@
/*
* 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/ListTagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alidns;
using namespace AlibabaCloud::Alidns::Model;
ListTagResourcesResult::ListTagResourcesResult() :
ServiceResult()
{}
ListTagResourcesResult::ListTagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListTagResourcesResult::~ListTagResourcesResult()
{}
void ListTagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allTagResourcesNode = value["TagResources"]["TagResource"];
for (auto valueTagResourcesTagResource : allTagResourcesNode)
{
TagResource tagResourcesObject;
if(!valueTagResourcesTagResource["TagKey"].isNull())
tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString();
if(!valueTagResourcesTagResource["TagValue"].isNull())
tagResourcesObject.tagValue = valueTagResourcesTagResource["TagValue"].asString();
if(!valueTagResourcesTagResource["ResourceId"].isNull())
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
if(!valueTagResourcesTagResource["ResourceType"].isNull())
tagResourcesObject.resourceType = valueTagResourcesTagResource["ResourceType"].asString();
tagResources_.push_back(tagResourcesObject);
}
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
}
std::string ListTagResourcesResult::getNextToken()const
{
return nextToken_;
}
std::vector<ListTagResourcesResult::TagResource> ListTagResourcesResult::getTagResources()const
{
return tagResources_;
}

View File

@@ -0,0 +1,102 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/TagResourcesRequest.h>
using AlibabaCloud::Alidns::Model::TagResourcesRequest;
TagResourcesRequest::TagResourcesRequest() :
RpcServiceRequest("alidns", "2015-01-09", "TagResources")
{
setMethod(HttpRequest::Method::Post);
}
TagResourcesRequest::~TagResourcesRequest()
{}
std::vector<std::string> TagResourcesRequest::getResourceId()const
{
return resourceId_;
}
void TagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
{
resourceId_ = resourceId;
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
}
}
std::string TagResourcesRequest::getResourceType()const
{
return resourceType_;
}
void TagResourcesRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}
std::string TagResourcesRequest::getUserClientIp()const
{
return userClientIp_;
}
void TagResourcesRequest::setUserClientIp(const std::string& userClientIp)
{
userClientIp_ = userClientIp;
setParameter("UserClientIp", userClientIp);
}
std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag()const
{
return tag_;
}
void TagResourcesRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}
std::string TagResourcesRequest::getLang()const
{
return lang_;
}
void TagResourcesRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
bool TagResourcesRequest::getOverWrite()const
{
return overWrite_;
}
void TagResourcesRequest::setOverWrite(bool overWrite)
{
overWrite_ = overWrite;
setParameter("OverWrite", overWrite ? "true" : "false");
}

View File

@@ -0,0 +1,44 @@
/*
* 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/TagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alidns;
using namespace AlibabaCloud::Alidns::Model;
TagResourcesResult::TagResourcesResult() :
ServiceResult()
{}
TagResourcesResult::TagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TagResourcesResult::~TagResourcesResult()
{}
void TagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/UntagResourcesRequest.h>
using AlibabaCloud::Alidns::Model::UntagResourcesRequest;
UntagResourcesRequest::UntagResourcesRequest() :
RpcServiceRequest("alidns", "2015-01-09", "UntagResources")
{
setMethod(HttpRequest::Method::Post);
}
UntagResourcesRequest::~UntagResourcesRequest()
{}
bool UntagResourcesRequest::getAll()const
{
return all_;
}
void UntagResourcesRequest::setAll(bool all)
{
all_ = all;
setParameter("All", all ? "true" : "false");
}
std::vector<std::string> UntagResourcesRequest::getResourceId()const
{
return resourceId_;
}
void UntagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
{
resourceId_ = resourceId;
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
}
}
std::string UntagResourcesRequest::getResourceType()const
{
return resourceType_;
}
void UntagResourcesRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}
std::string UntagResourcesRequest::getUserClientIp()const
{
return userClientIp_;
}
void UntagResourcesRequest::setUserClientIp(const std::string& userClientIp)
{
userClientIp_ = userClientIp;
setParameter("UserClientIp", userClientIp);
}
std::string UntagResourcesRequest::getLang()const
{
return lang_;
}
void UntagResourcesRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
std::vector<std::string> UntagResourcesRequest::getTagKey()const
{
return tagKey_;
}
void UntagResourcesRequest::setTagKey(const std::vector<std::string>& tagKey)
{
tagKey_ = tagKey;
for(int dep1 = 0; dep1!= tagKey.size(); dep1++) {
setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1));
}
}

View File

@@ -0,0 +1,44 @@
/*
* 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/UntagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alidns;
using namespace AlibabaCloud::Alidns::Model;
UntagResourcesResult::UntagResourcesResult() :
ServiceResult()
{}
UntagResourcesResult::UntagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UntagResourcesResult::~UntagResourcesResult()
{}
void UntagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -31,21 +31,21 @@ AlimtClient::AlimtClient(const Credentials &credentials, const ClientConfigurati
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimt");
}
AlimtClient::AlimtClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimt");
}
AlimtClient::AlimtClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimt");
}
AlimtClient::~AlimtClient()

View File

@@ -81,6 +81,10 @@ set(cassandra_public_header_model
include/alibabacloud/cassandra/model/ExecuteNodeToolResult.h
include/alibabacloud/cassandra/model/GetCmsUrlRequest.h
include/alibabacloud/cassandra/model/GetCmsUrlResult.h
include/alibabacloud/cassandra/model/ListTagResourcesRequest.h
include/alibabacloud/cassandra/model/ListTagResourcesResult.h
include/alibabacloud/cassandra/model/ListTagsRequest.h
include/alibabacloud/cassandra/model/ListTagsResult.h
include/alibabacloud/cassandra/model/ModifyAccountPasswordRequest.h
include/alibabacloud/cassandra/model/ModifyAccountPasswordResult.h
include/alibabacloud/cassandra/model/ModifyBackupPlanRequest.h
@@ -111,6 +115,10 @@ set(cassandra_public_header_model
include/alibabacloud/cassandra/model/ResizeDiskSizeResult.h
include/alibabacloud/cassandra/model/ResizeNodeCountRequest.h
include/alibabacloud/cassandra/model/ResizeNodeCountResult.h
include/alibabacloud/cassandra/model/TagResourcesRequest.h
include/alibabacloud/cassandra/model/TagResourcesResult.h
include/alibabacloud/cassandra/model/UnTagResourcesRequest.h
include/alibabacloud/cassandra/model/UnTagResourcesResult.h
include/alibabacloud/cassandra/model/UpgradeClusterVersionRequest.h
include/alibabacloud/cassandra/model/UpgradeClusterVersionResult.h )
@@ -176,6 +184,10 @@ set(cassandra_src
src/model/ExecuteNodeToolResult.cc
src/model/GetCmsUrlRequest.cc
src/model/GetCmsUrlResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ListTagsRequest.cc
src/model/ListTagsResult.cc
src/model/ModifyAccountPasswordRequest.cc
src/model/ModifyAccountPasswordResult.cc
src/model/ModifyBackupPlanRequest.cc
@@ -206,6 +218,10 @@ set(cassandra_src
src/model/ResizeDiskSizeResult.cc
src/model/ResizeNodeCountRequest.cc
src/model/ResizeNodeCountResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/UnTagResourcesRequest.cc
src/model/UnTagResourcesResult.cc
src/model/UpgradeClusterVersionRequest.cc
src/model/UpgradeClusterVersionResult.cc )

View File

@@ -82,6 +82,10 @@
#include "model/ExecuteNodeToolResult.h"
#include "model/GetCmsUrlRequest.h"
#include "model/GetCmsUrlResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ListTagsRequest.h"
#include "model/ListTagsResult.h"
#include "model/ModifyAccountPasswordRequest.h"
#include "model/ModifyAccountPasswordResult.h"
#include "model/ModifyBackupPlanRequest.h"
@@ -112,6 +116,10 @@
#include "model/ResizeDiskSizeResult.h"
#include "model/ResizeNodeCountRequest.h"
#include "model/ResizeNodeCountResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/UnTagResourcesRequest.h"
#include "model/UnTagResourcesResult.h"
#include "model/UpgradeClusterVersionRequest.h"
#include "model/UpgradeClusterVersionResult.h"
@@ -213,6 +221,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetCmsUrlResult> GetCmsUrlOutcome;
typedef std::future<GetCmsUrlOutcome> GetCmsUrlOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::GetCmsUrlRequest&, const GetCmsUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCmsUrlAsyncHandler;
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
typedef Outcome<Error, Model::ListTagsResult> ListTagsOutcome;
typedef std::future<ListTagsOutcome> ListTagsOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::ListTagsRequest&, const ListTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagsAsyncHandler;
typedef Outcome<Error, Model::ModifyAccountPasswordResult> ModifyAccountPasswordOutcome;
typedef std::future<ModifyAccountPasswordOutcome> ModifyAccountPasswordOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::ModifyAccountPasswordRequest&, const ModifyAccountPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountPasswordAsyncHandler;
@@ -258,6 +272,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ResizeNodeCountResult> ResizeNodeCountOutcome;
typedef std::future<ResizeNodeCountOutcome> ResizeNodeCountOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::ResizeNodeCountRequest&, const ResizeNodeCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeNodeCountAsyncHandler;
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
typedef Outcome<Error, Model::UnTagResourcesResult> UnTagResourcesOutcome;
typedef std::future<UnTagResourcesOutcome> UnTagResourcesOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::UnTagResourcesRequest&, const UnTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnTagResourcesAsyncHandler;
typedef Outcome<Error, Model::UpgradeClusterVersionResult> UpgradeClusterVersionOutcome;
typedef std::future<UpgradeClusterVersionOutcome> UpgradeClusterVersionOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::UpgradeClusterVersionRequest&, const UpgradeClusterVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeClusterVersionAsyncHandler;
@@ -356,6 +376,12 @@ namespace AlibabaCloud
GetCmsUrlOutcome getCmsUrl(const Model::GetCmsUrlRequest &request)const;
void getCmsUrlAsync(const Model::GetCmsUrlRequest& request, const GetCmsUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCmsUrlOutcomeCallable getCmsUrlCallable(const Model::GetCmsUrlRequest& request) const;
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
ListTagsOutcome listTags(const Model::ListTagsRequest &request)const;
void listTagsAsync(const Model::ListTagsRequest& request, const ListTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagsOutcomeCallable listTagsCallable(const Model::ListTagsRequest& request) const;
ModifyAccountPasswordOutcome modifyAccountPassword(const Model::ModifyAccountPasswordRequest &request)const;
void modifyAccountPasswordAsync(const Model::ModifyAccountPasswordRequest& request, const ModifyAccountPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAccountPasswordOutcomeCallable modifyAccountPasswordCallable(const Model::ModifyAccountPasswordRequest& request) const;
@@ -401,6 +427,12 @@ namespace AlibabaCloud
ResizeNodeCountOutcome resizeNodeCount(const Model::ResizeNodeCountRequest &request)const;
void resizeNodeCountAsync(const Model::ResizeNodeCountRequest& request, const ResizeNodeCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResizeNodeCountOutcomeCallable resizeNodeCountCallable(const Model::ResizeNodeCountRequest& request) const;
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
UnTagResourcesOutcome unTagResources(const Model::UnTagResourcesRequest &request)const;
void unTagResourcesAsync(const Model::UnTagResourcesRequest& request, const UnTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnTagResourcesOutcomeCallable unTagResourcesCallable(const Model::UnTagResourcesRequest& request) const;
UpgradeClusterVersionOutcome upgradeClusterVersion(const Model::UpgradeClusterVersionRequest &request)const;
void upgradeClusterVersionAsync(const Model::UpgradeClusterVersionRequest& request, const UpgradeClusterVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpgradeClusterVersionOutcomeCallable upgradeClusterVersionCallable(const Model::UpgradeClusterVersionRequest& request) const;

View File

@@ -34,6 +34,11 @@ namespace AlibabaCloud
public:
struct Cluster
{
struct Tag
{
std::string value;
std::string key;
};
std::string status;
std::string majorVersion;
std::string createdTime;
@@ -46,6 +51,7 @@ namespace AlibabaCloud
int dataCenterCount;
std::string clusterName;
std::string expireTime;
std::vector<Tag> tags;
std::string maintainStartTime;
};

View File

@@ -30,22 +30,34 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_CASSANDRA_EXPORT DescribeClustersRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
DescribeClustersRequest();
~DescribeClustersRequest();
std::string getClusterName()const;
void setClusterName(const std::string& clusterName);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
private:
std::string clusterName_;
int pageNumber_;
std::string regionId_;
int pageSize_;
std::vector<Tag> tag_;
};
}

View File

@@ -34,6 +34,11 @@ namespace AlibabaCloud
public:
struct Cluster
{
struct Tag
{
std::string value;
std::string key;
};
std::string status;
std::string majorVersion;
std::string createdTime;
@@ -44,6 +49,7 @@ namespace AlibabaCloud
std::string payType;
std::string lockMode;
std::string expireTime;
std::vector<Cluster::Tag> tags;
};

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CASSANDRA_MODEL_LISTTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_CASSANDRA_MODEL_LISTTAGRESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cassandra/CassandraExport.h>
namespace AlibabaCloud
{
namespace Cassandra
{
namespace Model
{
class ALIBABACLOUD_CASSANDRA_EXPORT ListTagResourcesRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
ListTagResourcesRequest();
~ListTagResourcesRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
private:
std::string regionId_;
std::string nextToken_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CASSANDRA_MODEL_LISTTAGRESOURCESREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CASSANDRA_MODEL_LISTTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_CASSANDRA_MODEL_LISTTAGRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cassandra/CassandraExport.h>
namespace AlibabaCloud
{
namespace Cassandra
{
namespace Model
{
class ALIBABACLOUD_CASSANDRA_EXPORT ListTagResourcesResult : public ServiceResult
{
public:
struct TagResource
{
std::string resourceId;
std::string tagKey;
std::string resourceType;
std::string tagValue;
};
ListTagResourcesResult();
explicit ListTagResourcesResult(const std::string &payload);
~ListTagResourcesResult();
std::string getNextToken()const;
std::vector<TagResource> getTagResources()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
std::vector<TagResource> tagResources_;
};
}
}
}
#endif // !ALIBABACLOUD_CASSANDRA_MODEL_LISTTAGRESOURCESRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CASSANDRA_MODEL_LISTTAGSREQUEST_H_
#define ALIBABACLOUD_CASSANDRA_MODEL_LISTTAGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cassandra/CassandraExport.h>
namespace AlibabaCloud
{
namespace Cassandra
{
namespace Model
{
class ALIBABACLOUD_CASSANDRA_EXPORT ListTagsRequest : public RpcServiceRequest
{
public:
ListTagsRequest();
~ListTagsRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CASSANDRA_MODEL_LISTTAGSREQUEST_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_CASSANDRA_MODEL_LISTTAGSRESULT_H_
#define ALIBABACLOUD_CASSANDRA_MODEL_LISTTAGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cassandra/CassandraExport.h>
namespace AlibabaCloud
{
namespace Cassandra
{
namespace Model
{
class ALIBABACLOUD_CASSANDRA_EXPORT ListTagsResult : public ServiceResult
{
public:
struct Tag
{
std::string tagKey;
std::string tagValue;
};
ListTagsResult();
explicit ListTagsResult(const std::string &payload);
~ListTagsResult();
std::vector<Tag> getTags()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Tag> tags_;
};
}
}
}
#endif // !ALIBABACLOUD_CASSANDRA_MODEL_LISTTAGSRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CASSANDRA_MODEL_TAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_CASSANDRA_MODEL_TAGRESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cassandra/CassandraExport.h>
namespace AlibabaCloud
{
namespace Cassandra
{
namespace Model
{
class ALIBABACLOUD_CASSANDRA_EXPORT TagResourcesRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
TagResourcesRequest();
~TagResourcesRequest();
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
private:
std::vector<std::string> resourceId_;
std::string regionId_;
std::vector<Tag> tag_;
};
}
}
}
#endif // !ALIBABACLOUD_CASSANDRA_MODEL_TAGRESOURCESREQUEST_H_

View File

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

View File

@@ -14,44 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_CANCELPREDICTIVEJOBSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CANCELPREDICTIVEJOBSREQUEST_H_
#ifndef ALIBABACLOUD_CASSANDRA_MODEL_UNTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_CASSANDRA_MODEL_UNTAGRESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
#include <alibabacloud/cassandra/CassandraExport.h>
namespace AlibabaCloud
{
namespace CCC
namespace Cassandra
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CancelPredictiveJobsRequest : public RpcServiceRequest
class ALIBABACLOUD_CASSANDRA_EXPORT UnTagResourcesRequest : public RpcServiceRequest
{
public:
CancelPredictiveJobsRequest();
~CancelPredictiveJobsRequest();
UnTagResourcesRequest();
~UnTagResourcesRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getAll()const;
void setAll(bool all);
std::vector<std::string> getJobId()const;
void setJobId(const std::vector<std::string>& jobId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
std::vector<std::string> getTagKey()const;
void setTagKey(const std::vector<std::string>& tagKey);
private:
std::string regionId_;
bool all_;
std::vector<std::string> jobId_;
std::string instanceId_;
std::string jobGroupId_;
std::vector<std::string> resourceId_;
std::vector<std::string> tagKey_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CANCELPREDICTIVEJOBSREQUEST_H_
#endif // !ALIBABACLOUD_CASSANDRA_MODEL_UNTAGRESOURCESREQUEST_H_

View File

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

View File

@@ -1131,6 +1131,78 @@ CassandraClient::GetCmsUrlOutcomeCallable CassandraClient::getCmsUrlCallable(con
return task->get_future();
}
CassandraClient::ListTagResourcesOutcome CassandraClient::listTagResources(const ListTagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListTagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListTagResourcesOutcome(ListTagResourcesResult(outcome.result()));
else
return ListTagResourcesOutcome(outcome.error());
}
void CassandraClient::listTagResourcesAsync(const ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listTagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
CassandraClient::ListTagResourcesOutcomeCallable CassandraClient::listTagResourcesCallable(const ListTagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListTagResourcesOutcome()>>(
[this, request]()
{
return this->listTagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CassandraClient::ListTagsOutcome CassandraClient::listTags(const ListTagsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListTagsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListTagsOutcome(ListTagsResult(outcome.result()));
else
return ListTagsOutcome(outcome.error());
}
void CassandraClient::listTagsAsync(const ListTagsRequest& request, const ListTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listTags(request), context);
};
asyncExecute(new Runnable(fn));
}
CassandraClient::ListTagsOutcomeCallable CassandraClient::listTagsCallable(const ListTagsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListTagsOutcome()>>(
[this, request]()
{
return this->listTags(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CassandraClient::ModifyAccountPasswordOutcome CassandraClient::modifyAccountPassword(const ModifyAccountPasswordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1671,6 +1743,78 @@ CassandraClient::ResizeNodeCountOutcomeCallable CassandraClient::resizeNodeCount
return task->get_future();
}
CassandraClient::TagResourcesOutcome CassandraClient::tagResources(const TagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TagResourcesOutcome(TagResourcesResult(outcome.result()));
else
return TagResourcesOutcome(outcome.error());
}
void CassandraClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, tagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
CassandraClient::TagResourcesOutcomeCallable CassandraClient::tagResourcesCallable(const TagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TagResourcesOutcome()>>(
[this, request]()
{
return this->tagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CassandraClient::UnTagResourcesOutcome CassandraClient::unTagResources(const UnTagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UnTagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UnTagResourcesOutcome(UnTagResourcesResult(outcome.result()));
else
return UnTagResourcesOutcome(outcome.error());
}
void CassandraClient::unTagResourcesAsync(const UnTagResourcesRequest& request, const UnTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, unTagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
CassandraClient::UnTagResourcesOutcomeCallable CassandraClient::unTagResourcesCallable(const UnTagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UnTagResourcesOutcome()>>(
[this, request]()
{
return this->unTagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CassandraClient::UpgradeClusterVersionOutcome CassandraClient::upgradeClusterVersion(const UpgradeClusterVersionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -66,6 +66,16 @@ void DescribeClusterResult::parse(const std::string &payload)
cluster_.maintainEndTime = clusterNode["MaintainEndTime"].asString();
if(!clusterNode["LockMode"].isNull())
cluster_.lockMode = clusterNode["LockMode"].asString();
auto allTagsNode = clusterNode["Tags"]["Tag"];
for (auto clusterNodeTagsTag : allTagsNode)
{
Cluster::Tag tagObject;
if(!clusterNodeTagsTag["Key"].isNull())
tagObject.key = clusterNodeTagsTag["Key"].asString();
if(!clusterNodeTagsTag["Value"].isNull())
tagObject.value = clusterNodeTagsTag["Value"].asString();
cluster_.tags.push_back(tagObject);
}
}

View File

@@ -27,6 +27,17 @@ DescribeClustersRequest::DescribeClustersRequest() :
DescribeClustersRequest::~DescribeClustersRequest()
{}
std::string DescribeClustersRequest::getClusterName()const
{
return clusterName_;
}
void DescribeClustersRequest::setClusterName(const std::string& clusterName)
{
clusterName_ = clusterName;
setParameter("ClusterName", clusterName);
}
int DescribeClustersRequest::getPageNumber()const
{
return pageNumber_;
@@ -60,3 +71,19 @@ void DescribeClustersRequest::setPageSize(int pageSize)
setParameter("PageSize", std::to_string(pageSize));
}
std::vector<DescribeClustersRequest::Tag> DescribeClustersRequest::getTag()const
{
return tag_;
}
void DescribeClustersRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}

View File

@@ -63,6 +63,16 @@ void DescribeClustersResult::parse(const std::string &payload)
clustersObject.dataCenterCount = std::stoi(valueClustersCluster["DataCenterCount"].asString());
if(!valueClustersCluster["LockMode"].isNull())
clustersObject.lockMode = valueClustersCluster["LockMode"].asString();
auto allTagsNode = allClustersNode["Tags"]["Tag"];
for (auto allClustersNodeTagsTag : allTagsNode)
{
Cluster::Tag tagsObject;
if(!allClustersNodeTagsTag["Key"].isNull())
tagsObject.key = allClustersNodeTagsTag["Key"].asString();
if(!allClustersNodeTagsTag["Value"].isNull())
tagsObject.value = allClustersNodeTagsTag["Value"].asString();
clustersObject.tags.push_back(tagsObject);
}
clusters_.push_back(clustersObject);
}
if(!value["TotalCount"].isNull())

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cassandra/model/ListTagResourcesRequest.h>
using AlibabaCloud::Cassandra::Model::ListTagResourcesRequest;
ListTagResourcesRequest::ListTagResourcesRequest() :
RpcServiceRequest("cassandra", "2019-01-01", "ListTagResources")
{
setMethod(HttpRequest::Method::Post);
}
ListTagResourcesRequest::~ListTagResourcesRequest()
{}
std::string ListTagResourcesRequest::getRegionId()const
{
return regionId_;
}
void ListTagResourcesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ListTagResourcesRequest::getNextToken()const
{
return nextToken_;
}
void ListTagResourcesRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setParameter("NextToken", nextToken);
}
std::vector<ListTagResourcesRequest::Tag> ListTagResourcesRequest::getTag()const
{
return tag_;
}
void ListTagResourcesRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}
std::vector<std::string> ListTagResourcesRequest::getResourceId()const
{
return resourceId_;
}
void ListTagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
{
resourceId_ = resourceId;
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
}
}

View File

@@ -0,0 +1,70 @@
/*
* 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/cassandra/model/ListTagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cassandra;
using namespace AlibabaCloud::Cassandra::Model;
ListTagResourcesResult::ListTagResourcesResult() :
ServiceResult()
{}
ListTagResourcesResult::ListTagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListTagResourcesResult::~ListTagResourcesResult()
{}
void ListTagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allTagResourcesNode = value["TagResources"]["TagResource"];
for (auto valueTagResourcesTagResource : allTagResourcesNode)
{
TagResource tagResourcesObject;
if(!valueTagResourcesTagResource["TagKey"].isNull())
tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString();
if(!valueTagResourcesTagResource["TagValue"].isNull())
tagResourcesObject.tagValue = valueTagResourcesTagResource["TagValue"].asString();
if(!valueTagResourcesTagResource["ResourceType"].isNull())
tagResourcesObject.resourceType = valueTagResourcesTagResource["ResourceType"].asString();
if(!valueTagResourcesTagResource["ResourceId"].isNull())
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
tagResources_.push_back(tagResourcesObject);
}
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
}
std::string ListTagResourcesResult::getNextToken()const
{
return nextToken_;
}
std::vector<ListTagResourcesResult::TagResource> ListTagResourcesResult::getTagResources()const
{
return tagResources_;
}

View File

@@ -14,25 +14,27 @@
* limitations under the License.
*/
#include <alibabacloud/ccc/model/CreateCCCPostOrderRequest.h>
#include <alibabacloud/cassandra/model/ListTagsRequest.h>
using AlibabaCloud::CCC::Model::CreateCCCPostOrderRequest;
using AlibabaCloud::Cassandra::Model::ListTagsRequest;
CreateCCCPostOrderRequest::CreateCCCPostOrderRequest() :
RpcServiceRequest("ccc", "2017-07-05", "CreateCCCPostOrder")
ListTagsRequest::ListTagsRequest() :
RpcServiceRequest("cassandra", "2019-01-01", "ListTags")
{
setMethod(HttpRequest::Method::Post);
}
ListTagsRequest::~ListTagsRequest()
{}
CreateCCCPostOrderRequest::~CreateCCCPostOrderRequest()
{}
std::string CreateCCCPostOrderRequest::getOwnerId()const
std::string ListTagsRequest::getRegionId()const
{
return ownerId_;
return regionId_;
}
void CreateCCCPostOrderRequest::setOwnerId(const std::string& ownerId)
void ListTagsRequest::setRegionId(const std::string& regionId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", ownerId);
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cassandra/model/ListTagsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cassandra;
using namespace AlibabaCloud::Cassandra::Model;
ListTagsResult::ListTagsResult() :
ServiceResult()
{}
ListTagsResult::ListTagsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListTagsResult::~ListTagsResult()
{}
void ListTagsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allTagsNode = value["Tags"]["Tag"];
for (auto valueTagsTag : allTagsNode)
{
Tag tagsObject;
if(!valueTagsTag["TagKey"].isNull())
tagsObject.tagKey = valueTagsTag["TagKey"].asString();
if(!valueTagsTag["TagValue"].isNull())
tagsObject.tagValue = valueTagsTag["TagValue"].asString();
tags_.push_back(tagsObject);
}
}
std::vector<ListTagsResult::Tag> ListTagsResult::getTags()const
{
return tags_;
}

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cassandra/model/TagResourcesRequest.h>
using AlibabaCloud::Cassandra::Model::TagResourcesRequest;
TagResourcesRequest::TagResourcesRequest() :
RpcServiceRequest("cassandra", "2019-01-01", "TagResources")
{
setMethod(HttpRequest::Method::Post);
}
TagResourcesRequest::~TagResourcesRequest()
{}
std::vector<std::string> TagResourcesRequest::getResourceId()const
{
return resourceId_;
}
void TagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
{
resourceId_ = resourceId;
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
}
}
std::string TagResourcesRequest::getRegionId()const
{
return regionId_;
}
void TagResourcesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag()const
{
return tag_;
}
void TagResourcesRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}

View File

@@ -0,0 +1,44 @@
/*
* 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/cassandra/model/TagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cassandra;
using namespace AlibabaCloud::Cassandra::Model;
TagResourcesResult::TagResourcesResult() :
ServiceResult()
{}
TagResourcesResult::TagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TagResourcesResult::~TagResourcesResult()
{}
void TagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,77 @@
/*
* 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/cassandra/model/UnTagResourcesRequest.h>
using AlibabaCloud::Cassandra::Model::UnTagResourcesRequest;
UnTagResourcesRequest::UnTagResourcesRequest() :
RpcServiceRequest("cassandra", "2019-01-01", "UnTagResources")
{
setMethod(HttpRequest::Method::Post);
}
UnTagResourcesRequest::~UnTagResourcesRequest()
{}
std::string UnTagResourcesRequest::getRegionId()const
{
return regionId_;
}
void UnTagResourcesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
bool UnTagResourcesRequest::getAll()const
{
return all_;
}
void UnTagResourcesRequest::setAll(bool all)
{
all_ = all;
setParameter("All", all ? "true" : "false");
}
std::vector<std::string> UnTagResourcesRequest::getResourceId()const
{
return resourceId_;
}
void UnTagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
{
resourceId_ = resourceId;
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
}
}
std::vector<std::string> UnTagResourcesRequest::getTagKey()const
{
return tagKey_;
}
void UnTagResourcesRequest::setTagKey(const std::vector<std::string>& tagKey)
{
tagKey_ = tagKey;
for(int dep1 = 0; dep1!= tagKey.size(); dep1++) {
setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1));
}
}

View File

@@ -0,0 +1,44 @@
/*
* 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/cassandra/model/UnTagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cassandra;
using namespace AlibabaCloud::Cassandra::Model;
UnTagResourcesResult::UnTagResourcesResult() :
ServiceResult()
{}
UnTagResourcesResult::UnTagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UnTagResourcesResult::~UnTagResourcesResult()
{}
void UnTagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -25,8 +25,6 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/AddAgentDeviceResult.h
include/alibabacloud/ccc/model/AddBulkPhoneNumbersRequest.h
include/alibabacloud/ccc/model/AddBulkPhoneNumbersResult.h
include/alibabacloud/ccc/model/AddNumberToSkillGroupRequest.h
include/alibabacloud/ccc/model/AddNumberToSkillGroupResult.h
include/alibabacloud/ccc/model/AddPhoneNumberRequest.h
include/alibabacloud/ccc/model/AddPhoneNumberResult.h
include/alibabacloud/ccc/model/AddPhoneTagsRequest.h
@@ -39,16 +37,12 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/CallOnlinePrivacyNumberResult.h
include/alibabacloud/ccc/model/CancelJobsRequest.h
include/alibabacloud/ccc/model/CancelJobsResult.h
include/alibabacloud/ccc/model/CancelPredictiveJobsRequest.h
include/alibabacloud/ccc/model/CancelPredictiveJobsResult.h
include/alibabacloud/ccc/model/CheckNumberAvaliableRequest.h
include/alibabacloud/ccc/model/CheckNumberAvaliableResult.h
include/alibabacloud/ccc/model/CommitContactFlowVersionModificationRequest.h
include/alibabacloud/ccc/model/CommitContactFlowVersionModificationResult.h
include/alibabacloud/ccc/model/CreateBatchJobsRequest.h
include/alibabacloud/ccc/model/CreateBatchJobsResult.h
include/alibabacloud/ccc/model/CreateCCCPostOrderRequest.h
include/alibabacloud/ccc/model/CreateCCCPostOrderResult.h
include/alibabacloud/ccc/model/CreateCabInstanceRequest.h
include/alibabacloud/ccc/model/CreateCabInstanceResult.h
include/alibabacloud/ccc/model/CreateContactFlowRequest.h
@@ -61,10 +55,6 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/CreateJobGroupResult.h
include/alibabacloud/ccc/model/CreateMediaRequest.h
include/alibabacloud/ccc/model/CreateMediaResult.h
include/alibabacloud/ccc/model/CreatePredictiveJobGroupRequest.h
include/alibabacloud/ccc/model/CreatePredictiveJobGroupResult.h
include/alibabacloud/ccc/model/CreatePredictiveJobsRequest.h
include/alibabacloud/ccc/model/CreatePredictiveJobsResult.h
include/alibabacloud/ccc/model/CreateScenarioRequest.h
include/alibabacloud/ccc/model/CreateScenarioResult.h
include/alibabacloud/ccc/model/CreateScenarioFromTemplateRequest.h
@@ -109,16 +99,10 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/GenerateAgentStatisticReportResult.h
include/alibabacloud/ccc/model/GetAgentDataRequest.h
include/alibabacloud/ccc/model/GetAgentDataResult.h
include/alibabacloud/ccc/model/GetAgentStateRequest.h
include/alibabacloud/ccc/model/GetAgentStateResult.h
include/alibabacloud/ccc/model/GetCallMeasureSummaryReportRequest.h
include/alibabacloud/ccc/model/GetCallMeasureSummaryReportResult.h
include/alibabacloud/ccc/model/GetConfigRequest.h
include/alibabacloud/ccc/model/GetConfigResult.h
include/alibabacloud/ccc/model/GetContactIdentifyByOutBoundTaskIdRequest.h
include/alibabacloud/ccc/model/GetContactIdentifyByOutBoundTaskIdResult.h
include/alibabacloud/ccc/model/GetContactInfoByOutboundTaskIdRequest.h
include/alibabacloud/ccc/model/GetContactInfoByOutboundTaskIdResult.h
include/alibabacloud/ccc/model/GetConversationDetailByContactIdRequest.h
include/alibabacloud/ccc/model/GetConversationDetailByContactIdResult.h
include/alibabacloud/ccc/model/GetConversationListRequest.h
@@ -137,8 +121,6 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/GetJobResult.h
include/alibabacloud/ccc/model/GetJobDataUploadParamsRequest.h
include/alibabacloud/ccc/model/GetJobDataUploadParamsResult.h
include/alibabacloud/ccc/model/GetJobFileUploadUrlRequest.h
include/alibabacloud/ccc/model/GetJobFileUploadUrlResult.h
include/alibabacloud/ccc/model/GetJobGroupRequest.h
include/alibabacloud/ccc/model/GetJobGroupResult.h
include/alibabacloud/ccc/model/GetJobListRequest.h
@@ -147,12 +129,8 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/GetJobStatusByCallIdResult.h
include/alibabacloud/ccc/model/GetJobTemplateDownloadParamsRequest.h
include/alibabacloud/ccc/model/GetJobTemplateDownloadParamsResult.h
include/alibabacloud/ccc/model/GetJobsProgressRequest.h
include/alibabacloud/ccc/model/GetJobsProgressResult.h
include/alibabacloud/ccc/model/GetNumberRegionInfoRequest.h
include/alibabacloud/ccc/model/GetNumberRegionInfoResult.h
include/alibabacloud/ccc/model/GetPredictiveJobRequest.h
include/alibabacloud/ccc/model/GetPredictiveJobResult.h
include/alibabacloud/ccc/model/GetRecordOssUploadParamRequest.h
include/alibabacloud/ccc/model/GetRecordOssUploadParamResult.h
include/alibabacloud/ccc/model/GetRoutePointRequest.h
@@ -221,14 +199,6 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/ListPhoneNumbersResult.h
include/alibabacloud/ccc/model/ListPhoneTagsRequest.h
include/alibabacloud/ccc/model/ListPhoneTagsResult.h
include/alibabacloud/ccc/model/ListPredictiveJobGroupsRequest.h
include/alibabacloud/ccc/model/ListPredictiveJobGroupsResult.h
include/alibabacloud/ccc/model/ListPredictiveJobStatusRequest.h
include/alibabacloud/ccc/model/ListPredictiveJobStatusResult.h
include/alibabacloud/ccc/model/ListPrivacyNumberCallDetailsRequest.h
include/alibabacloud/ccc/model/ListPrivacyNumberCallDetailsResult.h
include/alibabacloud/ccc/model/ListPrivilegesOfUserRequest.h
include/alibabacloud/ccc/model/ListPrivilegesOfUserResult.h
include/alibabacloud/ccc/model/ListRealTimeAgentRequest.h
include/alibabacloud/ccc/model/ListRealTimeAgentResult.h
include/alibabacloud/ccc/model/ListRecentCallRecordsRequest.h
@@ -271,10 +241,6 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/ModifyAgentDeviceResult.h
include/alibabacloud/ccc/model/ModifyCabInstanceRequest.h
include/alibabacloud/ccc/model/ModifyCabInstanceResult.h
include/alibabacloud/ccc/model/ModifyMediaRequest.h
include/alibabacloud/ccc/model/ModifyMediaResult.h
include/alibabacloud/ccc/model/ModifyNotificationConfigRequest.h
include/alibabacloud/ccc/model/ModifyNotificationConfigResult.h
include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h
include/alibabacloud/ccc/model/ModifyPhoneNumberResult.h
include/alibabacloud/ccc/model/ModifyPhoneTagsRequest.h
@@ -299,28 +265,12 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/PickLocalNumberResult.h
include/alibabacloud/ccc/model/PickOutboundNumbersRequest.h
include/alibabacloud/ccc/model/PickOutboundNumbersResult.h
include/alibabacloud/ccc/model/PickOutboundNumbersByTagsRequest.h
include/alibabacloud/ccc/model/PickOutboundNumbersByTagsResult.h
include/alibabacloud/ccc/model/PreCreateMediaRequest.h
include/alibabacloud/ccc/model/PreCreateMediaResult.h
include/alibabacloud/ccc/model/PreModifyMediaRequest.h
include/alibabacloud/ccc/model/PreModifyMediaResult.h
include/alibabacloud/ccc/model/PredictiveRecordFailureRequest.h
include/alibabacloud/ccc/model/PredictiveRecordFailureResult.h
include/alibabacloud/ccc/model/PredictiveRecordSuccessRequest.h
include/alibabacloud/ccc/model/PredictiveRecordSuccessResult.h
include/alibabacloud/ccc/model/PublishContactFlowVersionRequest.h
include/alibabacloud/ccc/model/PublishContactFlowVersionResult.h
include/alibabacloud/ccc/model/PublishPredictiveJobGroupRequest.h
include/alibabacloud/ccc/model/PublishPredictiveJobGroupResult.h
include/alibabacloud/ccc/model/PublishSurveyRequest.h
include/alibabacloud/ccc/model/PublishSurveyResult.h
include/alibabacloud/ccc/model/QueryRedialIndicatorRequest.h
include/alibabacloud/ccc/model/QueryRedialIndicatorResult.h
include/alibabacloud/ccc/model/RefreshTokenRequest.h
include/alibabacloud/ccc/model/RefreshTokenResult.h
include/alibabacloud/ccc/model/RemoveNumberFromSkillGroupRequest.h
include/alibabacloud/ccc/model/RemoveNumberFromSkillGroupResult.h
include/alibabacloud/ccc/model/RemovePhoneNumberRequest.h
include/alibabacloud/ccc/model/RemovePhoneNumberResult.h
include/alibabacloud/ccc/model/RemoveUsersRequest.h
@@ -339,8 +289,6 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/SaveWebRTCStatsResult.h
include/alibabacloud/ccc/model/SendPredefinedShortMessageRequest.h
include/alibabacloud/ccc/model/SendPredefinedShortMessageResult.h
include/alibabacloud/ccc/model/SimpleDialRequest.h
include/alibabacloud/ccc/model/SimpleDialResult.h
include/alibabacloud/ccc/model/StartBack2BackCallRequest.h
include/alibabacloud/ccc/model/StartBack2BackCallResult.h
include/alibabacloud/ccc/model/StartJobRequest.h
@@ -352,9 +300,7 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/SuspendJobsRequest.h
include/alibabacloud/ccc/model/SuspendJobsResult.h
include/alibabacloud/ccc/model/TaskPreparingRequest.h
include/alibabacloud/ccc/model/TaskPreparingResult.h
include/alibabacloud/ccc/model/TwoPartiesCallRequest.h
include/alibabacloud/ccc/model/TwoPartiesCallResult.h )
include/alibabacloud/ccc/model/TaskPreparingResult.h )
set(ccc_src
src/CCCClient.cc
@@ -362,8 +308,6 @@ set(ccc_src
src/model/AddAgentDeviceResult.cc
src/model/AddBulkPhoneNumbersRequest.cc
src/model/AddBulkPhoneNumbersResult.cc
src/model/AddNumberToSkillGroupRequest.cc
src/model/AddNumberToSkillGroupResult.cc
src/model/AddPhoneNumberRequest.cc
src/model/AddPhoneNumberResult.cc
src/model/AddPhoneTagsRequest.cc
@@ -376,16 +320,12 @@ set(ccc_src
src/model/CallOnlinePrivacyNumberResult.cc
src/model/CancelJobsRequest.cc
src/model/CancelJobsResult.cc
src/model/CancelPredictiveJobsRequest.cc
src/model/CancelPredictiveJobsResult.cc
src/model/CheckNumberAvaliableRequest.cc
src/model/CheckNumberAvaliableResult.cc
src/model/CommitContactFlowVersionModificationRequest.cc
src/model/CommitContactFlowVersionModificationResult.cc
src/model/CreateBatchJobsRequest.cc
src/model/CreateBatchJobsResult.cc
src/model/CreateCCCPostOrderRequest.cc
src/model/CreateCCCPostOrderResult.cc
src/model/CreateCabInstanceRequest.cc
src/model/CreateCabInstanceResult.cc
src/model/CreateContactFlowRequest.cc
@@ -398,10 +338,6 @@ set(ccc_src
src/model/CreateJobGroupResult.cc
src/model/CreateMediaRequest.cc
src/model/CreateMediaResult.cc
src/model/CreatePredictiveJobGroupRequest.cc
src/model/CreatePredictiveJobGroupResult.cc
src/model/CreatePredictiveJobsRequest.cc
src/model/CreatePredictiveJobsResult.cc
src/model/CreateScenarioRequest.cc
src/model/CreateScenarioResult.cc
src/model/CreateScenarioFromTemplateRequest.cc
@@ -446,16 +382,10 @@ set(ccc_src
src/model/GenerateAgentStatisticReportResult.cc
src/model/GetAgentDataRequest.cc
src/model/GetAgentDataResult.cc
src/model/GetAgentStateRequest.cc
src/model/GetAgentStateResult.cc
src/model/GetCallMeasureSummaryReportRequest.cc
src/model/GetCallMeasureSummaryReportResult.cc
src/model/GetConfigRequest.cc
src/model/GetConfigResult.cc
src/model/GetContactIdentifyByOutBoundTaskIdRequest.cc
src/model/GetContactIdentifyByOutBoundTaskIdResult.cc
src/model/GetContactInfoByOutboundTaskIdRequest.cc
src/model/GetContactInfoByOutboundTaskIdResult.cc
src/model/GetConversationDetailByContactIdRequest.cc
src/model/GetConversationDetailByContactIdResult.cc
src/model/GetConversationListRequest.cc
@@ -474,8 +404,6 @@ set(ccc_src
src/model/GetJobResult.cc
src/model/GetJobDataUploadParamsRequest.cc
src/model/GetJobDataUploadParamsResult.cc
src/model/GetJobFileUploadUrlRequest.cc
src/model/GetJobFileUploadUrlResult.cc
src/model/GetJobGroupRequest.cc
src/model/GetJobGroupResult.cc
src/model/GetJobListRequest.cc
@@ -484,12 +412,8 @@ set(ccc_src
src/model/GetJobStatusByCallIdResult.cc
src/model/GetJobTemplateDownloadParamsRequest.cc
src/model/GetJobTemplateDownloadParamsResult.cc
src/model/GetJobsProgressRequest.cc
src/model/GetJobsProgressResult.cc
src/model/GetNumberRegionInfoRequest.cc
src/model/GetNumberRegionInfoResult.cc
src/model/GetPredictiveJobRequest.cc
src/model/GetPredictiveJobResult.cc
src/model/GetRecordOssUploadParamRequest.cc
src/model/GetRecordOssUploadParamResult.cc
src/model/GetRoutePointRequest.cc
@@ -558,14 +482,6 @@ set(ccc_src
src/model/ListPhoneNumbersResult.cc
src/model/ListPhoneTagsRequest.cc
src/model/ListPhoneTagsResult.cc
src/model/ListPredictiveJobGroupsRequest.cc
src/model/ListPredictiveJobGroupsResult.cc
src/model/ListPredictiveJobStatusRequest.cc
src/model/ListPredictiveJobStatusResult.cc
src/model/ListPrivacyNumberCallDetailsRequest.cc
src/model/ListPrivacyNumberCallDetailsResult.cc
src/model/ListPrivilegesOfUserRequest.cc
src/model/ListPrivilegesOfUserResult.cc
src/model/ListRealTimeAgentRequest.cc
src/model/ListRealTimeAgentResult.cc
src/model/ListRecentCallRecordsRequest.cc
@@ -608,10 +524,6 @@ set(ccc_src
src/model/ModifyAgentDeviceResult.cc
src/model/ModifyCabInstanceRequest.cc
src/model/ModifyCabInstanceResult.cc
src/model/ModifyMediaRequest.cc
src/model/ModifyMediaResult.cc
src/model/ModifyNotificationConfigRequest.cc
src/model/ModifyNotificationConfigResult.cc
src/model/ModifyPhoneNumberRequest.cc
src/model/ModifyPhoneNumberResult.cc
src/model/ModifyPhoneTagsRequest.cc
@@ -636,28 +548,12 @@ set(ccc_src
src/model/PickLocalNumberResult.cc
src/model/PickOutboundNumbersRequest.cc
src/model/PickOutboundNumbersResult.cc
src/model/PickOutboundNumbersByTagsRequest.cc
src/model/PickOutboundNumbersByTagsResult.cc
src/model/PreCreateMediaRequest.cc
src/model/PreCreateMediaResult.cc
src/model/PreModifyMediaRequest.cc
src/model/PreModifyMediaResult.cc
src/model/PredictiveRecordFailureRequest.cc
src/model/PredictiveRecordFailureResult.cc
src/model/PredictiveRecordSuccessRequest.cc
src/model/PredictiveRecordSuccessResult.cc
src/model/PublishContactFlowVersionRequest.cc
src/model/PublishContactFlowVersionResult.cc
src/model/PublishPredictiveJobGroupRequest.cc
src/model/PublishPredictiveJobGroupResult.cc
src/model/PublishSurveyRequest.cc
src/model/PublishSurveyResult.cc
src/model/QueryRedialIndicatorRequest.cc
src/model/QueryRedialIndicatorResult.cc
src/model/RefreshTokenRequest.cc
src/model/RefreshTokenResult.cc
src/model/RemoveNumberFromSkillGroupRequest.cc
src/model/RemoveNumberFromSkillGroupResult.cc
src/model/RemovePhoneNumberRequest.cc
src/model/RemovePhoneNumberResult.cc
src/model/RemoveUsersRequest.cc
@@ -676,8 +572,6 @@ set(ccc_src
src/model/SaveWebRTCStatsResult.cc
src/model/SendPredefinedShortMessageRequest.cc
src/model/SendPredefinedShortMessageResult.cc
src/model/SimpleDialRequest.cc
src/model/SimpleDialResult.cc
src/model/StartBack2BackCallRequest.cc
src/model/StartBack2BackCallResult.cc
src/model/StartJobRequest.cc
@@ -689,9 +583,7 @@ set(ccc_src
src/model/SuspendJobsRequest.cc
src/model/SuspendJobsResult.cc
src/model/TaskPreparingRequest.cc
src/model/TaskPreparingResult.cc
src/model/TwoPartiesCallRequest.cc
src/model/TwoPartiesCallResult.cc )
src/model/TaskPreparingResult.cc )
add_library(ccc ${LIB_TYPE}
${ccc_public_header}

View File

@@ -26,8 +26,6 @@
#include "model/AddAgentDeviceResult.h"
#include "model/AddBulkPhoneNumbersRequest.h"
#include "model/AddBulkPhoneNumbersResult.h"
#include "model/AddNumberToSkillGroupRequest.h"
#include "model/AddNumberToSkillGroupResult.h"
#include "model/AddPhoneNumberRequest.h"
#include "model/AddPhoneNumberResult.h"
#include "model/AddPhoneTagsRequest.h"
@@ -40,16 +38,12 @@
#include "model/CallOnlinePrivacyNumberResult.h"
#include "model/CancelJobsRequest.h"
#include "model/CancelJobsResult.h"
#include "model/CancelPredictiveJobsRequest.h"
#include "model/CancelPredictiveJobsResult.h"
#include "model/CheckNumberAvaliableRequest.h"
#include "model/CheckNumberAvaliableResult.h"
#include "model/CommitContactFlowVersionModificationRequest.h"
#include "model/CommitContactFlowVersionModificationResult.h"
#include "model/CreateBatchJobsRequest.h"
#include "model/CreateBatchJobsResult.h"
#include "model/CreateCCCPostOrderRequest.h"
#include "model/CreateCCCPostOrderResult.h"
#include "model/CreateCabInstanceRequest.h"
#include "model/CreateCabInstanceResult.h"
#include "model/CreateContactFlowRequest.h"
@@ -62,10 +56,6 @@
#include "model/CreateJobGroupResult.h"
#include "model/CreateMediaRequest.h"
#include "model/CreateMediaResult.h"
#include "model/CreatePredictiveJobGroupRequest.h"
#include "model/CreatePredictiveJobGroupResult.h"
#include "model/CreatePredictiveJobsRequest.h"
#include "model/CreatePredictiveJobsResult.h"
#include "model/CreateScenarioRequest.h"
#include "model/CreateScenarioResult.h"
#include "model/CreateScenarioFromTemplateRequest.h"
@@ -110,16 +100,10 @@
#include "model/GenerateAgentStatisticReportResult.h"
#include "model/GetAgentDataRequest.h"
#include "model/GetAgentDataResult.h"
#include "model/GetAgentStateRequest.h"
#include "model/GetAgentStateResult.h"
#include "model/GetCallMeasureSummaryReportRequest.h"
#include "model/GetCallMeasureSummaryReportResult.h"
#include "model/GetConfigRequest.h"
#include "model/GetConfigResult.h"
#include "model/GetContactIdentifyByOutBoundTaskIdRequest.h"
#include "model/GetContactIdentifyByOutBoundTaskIdResult.h"
#include "model/GetContactInfoByOutboundTaskIdRequest.h"
#include "model/GetContactInfoByOutboundTaskIdResult.h"
#include "model/GetConversationDetailByContactIdRequest.h"
#include "model/GetConversationDetailByContactIdResult.h"
#include "model/GetConversationListRequest.h"
@@ -138,8 +122,6 @@
#include "model/GetJobResult.h"
#include "model/GetJobDataUploadParamsRequest.h"
#include "model/GetJobDataUploadParamsResult.h"
#include "model/GetJobFileUploadUrlRequest.h"
#include "model/GetJobFileUploadUrlResult.h"
#include "model/GetJobGroupRequest.h"
#include "model/GetJobGroupResult.h"
#include "model/GetJobListRequest.h"
@@ -148,12 +130,8 @@
#include "model/GetJobStatusByCallIdResult.h"
#include "model/GetJobTemplateDownloadParamsRequest.h"
#include "model/GetJobTemplateDownloadParamsResult.h"
#include "model/GetJobsProgressRequest.h"
#include "model/GetJobsProgressResult.h"
#include "model/GetNumberRegionInfoRequest.h"
#include "model/GetNumberRegionInfoResult.h"
#include "model/GetPredictiveJobRequest.h"
#include "model/GetPredictiveJobResult.h"
#include "model/GetRecordOssUploadParamRequest.h"
#include "model/GetRecordOssUploadParamResult.h"
#include "model/GetRoutePointRequest.h"
@@ -222,14 +200,6 @@
#include "model/ListPhoneNumbersResult.h"
#include "model/ListPhoneTagsRequest.h"
#include "model/ListPhoneTagsResult.h"
#include "model/ListPredictiveJobGroupsRequest.h"
#include "model/ListPredictiveJobGroupsResult.h"
#include "model/ListPredictiveJobStatusRequest.h"
#include "model/ListPredictiveJobStatusResult.h"
#include "model/ListPrivacyNumberCallDetailsRequest.h"
#include "model/ListPrivacyNumberCallDetailsResult.h"
#include "model/ListPrivilegesOfUserRequest.h"
#include "model/ListPrivilegesOfUserResult.h"
#include "model/ListRealTimeAgentRequest.h"
#include "model/ListRealTimeAgentResult.h"
#include "model/ListRecentCallRecordsRequest.h"
@@ -272,10 +242,6 @@
#include "model/ModifyAgentDeviceResult.h"
#include "model/ModifyCabInstanceRequest.h"
#include "model/ModifyCabInstanceResult.h"
#include "model/ModifyMediaRequest.h"
#include "model/ModifyMediaResult.h"
#include "model/ModifyNotificationConfigRequest.h"
#include "model/ModifyNotificationConfigResult.h"
#include "model/ModifyPhoneNumberRequest.h"
#include "model/ModifyPhoneNumberResult.h"
#include "model/ModifyPhoneTagsRequest.h"
@@ -300,28 +266,12 @@
#include "model/PickLocalNumberResult.h"
#include "model/PickOutboundNumbersRequest.h"
#include "model/PickOutboundNumbersResult.h"
#include "model/PickOutboundNumbersByTagsRequest.h"
#include "model/PickOutboundNumbersByTagsResult.h"
#include "model/PreCreateMediaRequest.h"
#include "model/PreCreateMediaResult.h"
#include "model/PreModifyMediaRequest.h"
#include "model/PreModifyMediaResult.h"
#include "model/PredictiveRecordFailureRequest.h"
#include "model/PredictiveRecordFailureResult.h"
#include "model/PredictiveRecordSuccessRequest.h"
#include "model/PredictiveRecordSuccessResult.h"
#include "model/PublishContactFlowVersionRequest.h"
#include "model/PublishContactFlowVersionResult.h"
#include "model/PublishPredictiveJobGroupRequest.h"
#include "model/PublishPredictiveJobGroupResult.h"
#include "model/PublishSurveyRequest.h"
#include "model/PublishSurveyResult.h"
#include "model/QueryRedialIndicatorRequest.h"
#include "model/QueryRedialIndicatorResult.h"
#include "model/RefreshTokenRequest.h"
#include "model/RefreshTokenResult.h"
#include "model/RemoveNumberFromSkillGroupRequest.h"
#include "model/RemoveNumberFromSkillGroupResult.h"
#include "model/RemovePhoneNumberRequest.h"
#include "model/RemovePhoneNumberResult.h"
#include "model/RemoveUsersRequest.h"
@@ -340,8 +290,6 @@
#include "model/SaveWebRTCStatsResult.h"
#include "model/SendPredefinedShortMessageRequest.h"
#include "model/SendPredefinedShortMessageResult.h"
#include "model/SimpleDialRequest.h"
#include "model/SimpleDialResult.h"
#include "model/StartBack2BackCallRequest.h"
#include "model/StartBack2BackCallResult.h"
#include "model/StartJobRequest.h"
@@ -354,8 +302,6 @@
#include "model/SuspendJobsResult.h"
#include "model/TaskPreparingRequest.h"
#include "model/TaskPreparingResult.h"
#include "model/TwoPartiesCallRequest.h"
#include "model/TwoPartiesCallResult.h"
namespace AlibabaCloud
@@ -371,9 +317,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddBulkPhoneNumbersResult> AddBulkPhoneNumbersOutcome;
typedef std::future<AddBulkPhoneNumbersOutcome> AddBulkPhoneNumbersOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::AddBulkPhoneNumbersRequest&, const AddBulkPhoneNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddBulkPhoneNumbersAsyncHandler;
typedef Outcome<Error, Model::AddNumberToSkillGroupResult> AddNumberToSkillGroupOutcome;
typedef std::future<AddNumberToSkillGroupOutcome> AddNumberToSkillGroupOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::AddNumberToSkillGroupRequest&, const AddNumberToSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddNumberToSkillGroupAsyncHandler;
typedef Outcome<Error, Model::AddPhoneNumberResult> AddPhoneNumberOutcome;
typedef std::future<AddPhoneNumberOutcome> AddPhoneNumberOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::AddPhoneNumberRequest&, const AddPhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPhoneNumberAsyncHandler;
@@ -392,9 +335,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CancelJobsResult> CancelJobsOutcome;
typedef std::future<CancelJobsOutcome> CancelJobsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CancelJobsRequest&, const CancelJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelJobsAsyncHandler;
typedef Outcome<Error, Model::CancelPredictiveJobsResult> CancelPredictiveJobsOutcome;
typedef std::future<CancelPredictiveJobsOutcome> CancelPredictiveJobsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CancelPredictiveJobsRequest&, const CancelPredictiveJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelPredictiveJobsAsyncHandler;
typedef Outcome<Error, Model::CheckNumberAvaliableResult> CheckNumberAvaliableOutcome;
typedef std::future<CheckNumberAvaliableOutcome> CheckNumberAvaliableOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CheckNumberAvaliableRequest&, const CheckNumberAvaliableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckNumberAvaliableAsyncHandler;
@@ -404,9 +344,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateBatchJobsResult> CreateBatchJobsOutcome;
typedef std::future<CreateBatchJobsOutcome> CreateBatchJobsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreateBatchJobsRequest&, const CreateBatchJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBatchJobsAsyncHandler;
typedef Outcome<Error, Model::CreateCCCPostOrderResult> CreateCCCPostOrderOutcome;
typedef std::future<CreateCCCPostOrderOutcome> CreateCCCPostOrderOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreateCCCPostOrderRequest&, const CreateCCCPostOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCCCPostOrderAsyncHandler;
typedef Outcome<Error, Model::CreateCabInstanceResult> CreateCabInstanceOutcome;
typedef std::future<CreateCabInstanceOutcome> CreateCabInstanceOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreateCabInstanceRequest&, const CreateCabInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCabInstanceAsyncHandler;
@@ -425,12 +362,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateMediaResult> CreateMediaOutcome;
typedef std::future<CreateMediaOutcome> CreateMediaOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreateMediaRequest&, const CreateMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMediaAsyncHandler;
typedef Outcome<Error, Model::CreatePredictiveJobGroupResult> CreatePredictiveJobGroupOutcome;
typedef std::future<CreatePredictiveJobGroupOutcome> CreatePredictiveJobGroupOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreatePredictiveJobGroupRequest&, const CreatePredictiveJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePredictiveJobGroupAsyncHandler;
typedef Outcome<Error, Model::CreatePredictiveJobsResult> CreatePredictiveJobsOutcome;
typedef std::future<CreatePredictiveJobsOutcome> CreatePredictiveJobsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreatePredictiveJobsRequest&, const CreatePredictiveJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePredictiveJobsAsyncHandler;
typedef Outcome<Error, Model::CreateScenarioResult> CreateScenarioOutcome;
typedef std::future<CreateScenarioOutcome> CreateScenarioOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreateScenarioRequest&, const CreateScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateScenarioAsyncHandler;
@@ -497,21 +428,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetAgentDataResult> GetAgentDataOutcome;
typedef std::future<GetAgentDataOutcome> GetAgentDataOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetAgentDataRequest&, const GetAgentDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAgentDataAsyncHandler;
typedef Outcome<Error, Model::GetAgentStateResult> GetAgentStateOutcome;
typedef std::future<GetAgentStateOutcome> GetAgentStateOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetAgentStateRequest&, const GetAgentStateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAgentStateAsyncHandler;
typedef Outcome<Error, Model::GetCallMeasureSummaryReportResult> GetCallMeasureSummaryReportOutcome;
typedef std::future<GetCallMeasureSummaryReportOutcome> GetCallMeasureSummaryReportOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetCallMeasureSummaryReportRequest&, const GetCallMeasureSummaryReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCallMeasureSummaryReportAsyncHandler;
typedef Outcome<Error, Model::GetConfigResult> GetConfigOutcome;
typedef std::future<GetConfigOutcome> GetConfigOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetConfigRequest&, const GetConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConfigAsyncHandler;
typedef Outcome<Error, Model::GetContactIdentifyByOutBoundTaskIdResult> GetContactIdentifyByOutBoundTaskIdOutcome;
typedef std::future<GetContactIdentifyByOutBoundTaskIdOutcome> GetContactIdentifyByOutBoundTaskIdOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetContactIdentifyByOutBoundTaskIdRequest&, const GetContactIdentifyByOutBoundTaskIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetContactIdentifyByOutBoundTaskIdAsyncHandler;
typedef Outcome<Error, Model::GetContactInfoByOutboundTaskIdResult> GetContactInfoByOutboundTaskIdOutcome;
typedef std::future<GetContactInfoByOutboundTaskIdOutcome> GetContactInfoByOutboundTaskIdOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetContactInfoByOutboundTaskIdRequest&, const GetContactInfoByOutboundTaskIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetContactInfoByOutboundTaskIdAsyncHandler;
typedef Outcome<Error, Model::GetConversationDetailByContactIdResult> GetConversationDetailByContactIdOutcome;
typedef std::future<GetConversationDetailByContactIdOutcome> GetConversationDetailByContactIdOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetConversationDetailByContactIdRequest&, const GetConversationDetailByContactIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConversationDetailByContactIdAsyncHandler;
@@ -539,9 +461,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetJobDataUploadParamsResult> GetJobDataUploadParamsOutcome;
typedef std::future<GetJobDataUploadParamsOutcome> GetJobDataUploadParamsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetJobDataUploadParamsRequest&, const GetJobDataUploadParamsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobDataUploadParamsAsyncHandler;
typedef Outcome<Error, Model::GetJobFileUploadUrlResult> GetJobFileUploadUrlOutcome;
typedef std::future<GetJobFileUploadUrlOutcome> GetJobFileUploadUrlOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetJobFileUploadUrlRequest&, const GetJobFileUploadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobFileUploadUrlAsyncHandler;
typedef Outcome<Error, Model::GetJobGroupResult> GetJobGroupOutcome;
typedef std::future<GetJobGroupOutcome> GetJobGroupOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetJobGroupRequest&, const GetJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobGroupAsyncHandler;
@@ -554,15 +473,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetJobTemplateDownloadParamsResult> GetJobTemplateDownloadParamsOutcome;
typedef std::future<GetJobTemplateDownloadParamsOutcome> GetJobTemplateDownloadParamsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetJobTemplateDownloadParamsRequest&, const GetJobTemplateDownloadParamsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobTemplateDownloadParamsAsyncHandler;
typedef Outcome<Error, Model::GetJobsProgressResult> GetJobsProgressOutcome;
typedef std::future<GetJobsProgressOutcome> GetJobsProgressOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetJobsProgressRequest&, const GetJobsProgressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobsProgressAsyncHandler;
typedef Outcome<Error, Model::GetNumberRegionInfoResult> GetNumberRegionInfoOutcome;
typedef std::future<GetNumberRegionInfoOutcome> GetNumberRegionInfoOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetNumberRegionInfoRequest&, const GetNumberRegionInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetNumberRegionInfoAsyncHandler;
typedef Outcome<Error, Model::GetPredictiveJobResult> GetPredictiveJobOutcome;
typedef std::future<GetPredictiveJobOutcome> GetPredictiveJobOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetPredictiveJobRequest&, const GetPredictiveJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPredictiveJobAsyncHandler;
typedef Outcome<Error, Model::GetRecordOssUploadParamResult> GetRecordOssUploadParamOutcome;
typedef std::future<GetRecordOssUploadParamOutcome> GetRecordOssUploadParamOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetRecordOssUploadParamRequest&, const GetRecordOssUploadParamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRecordOssUploadParamAsyncHandler;
@@ -665,18 +578,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListPhoneTagsResult> ListPhoneTagsOutcome;
typedef std::future<ListPhoneTagsOutcome> ListPhoneTagsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListPhoneTagsRequest&, const ListPhoneTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhoneTagsAsyncHandler;
typedef Outcome<Error, Model::ListPredictiveJobGroupsResult> ListPredictiveJobGroupsOutcome;
typedef std::future<ListPredictiveJobGroupsOutcome> ListPredictiveJobGroupsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListPredictiveJobGroupsRequest&, const ListPredictiveJobGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPredictiveJobGroupsAsyncHandler;
typedef Outcome<Error, Model::ListPredictiveJobStatusResult> ListPredictiveJobStatusOutcome;
typedef std::future<ListPredictiveJobStatusOutcome> ListPredictiveJobStatusOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListPredictiveJobStatusRequest&, const ListPredictiveJobStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPredictiveJobStatusAsyncHandler;
typedef Outcome<Error, Model::ListPrivacyNumberCallDetailsResult> ListPrivacyNumberCallDetailsOutcome;
typedef std::future<ListPrivacyNumberCallDetailsOutcome> ListPrivacyNumberCallDetailsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListPrivacyNumberCallDetailsRequest&, const ListPrivacyNumberCallDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrivacyNumberCallDetailsAsyncHandler;
typedef Outcome<Error, Model::ListPrivilegesOfUserResult> ListPrivilegesOfUserOutcome;
typedef std::future<ListPrivilegesOfUserOutcome> ListPrivilegesOfUserOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListPrivilegesOfUserRequest&, const ListPrivilegesOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrivilegesOfUserAsyncHandler;
typedef Outcome<Error, Model::ListRealTimeAgentResult> ListRealTimeAgentOutcome;
typedef std::future<ListRealTimeAgentOutcome> ListRealTimeAgentOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListRealTimeAgentRequest&, const ListRealTimeAgentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRealTimeAgentAsyncHandler;
@@ -740,12 +641,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyCabInstanceResult> ModifyCabInstanceOutcome;
typedef std::future<ModifyCabInstanceOutcome> ModifyCabInstanceOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ModifyCabInstanceRequest&, const ModifyCabInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCabInstanceAsyncHandler;
typedef Outcome<Error, Model::ModifyMediaResult> ModifyMediaOutcome;
typedef std::future<ModifyMediaOutcome> ModifyMediaOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ModifyMediaRequest&, const ModifyMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMediaAsyncHandler;
typedef Outcome<Error, Model::ModifyNotificationConfigResult> ModifyNotificationConfigOutcome;
typedef std::future<ModifyNotificationConfigOutcome> ModifyNotificationConfigOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ModifyNotificationConfigRequest&, const ModifyNotificationConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyNotificationConfigAsyncHandler;
typedef Outcome<Error, Model::ModifyPhoneNumberResult> ModifyPhoneNumberOutcome;
typedef std::future<ModifyPhoneNumberOutcome> ModifyPhoneNumberOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ModifyPhoneNumberRequest&, const ModifyPhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPhoneNumberAsyncHandler;
@@ -782,39 +677,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::PickOutboundNumbersResult> PickOutboundNumbersOutcome;
typedef std::future<PickOutboundNumbersOutcome> PickOutboundNumbersOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PickOutboundNumbersRequest&, const PickOutboundNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PickOutboundNumbersAsyncHandler;
typedef Outcome<Error, Model::PickOutboundNumbersByTagsResult> PickOutboundNumbersByTagsOutcome;
typedef std::future<PickOutboundNumbersByTagsOutcome> PickOutboundNumbersByTagsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PickOutboundNumbersByTagsRequest&, const PickOutboundNumbersByTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PickOutboundNumbersByTagsAsyncHandler;
typedef Outcome<Error, Model::PreCreateMediaResult> PreCreateMediaOutcome;
typedef std::future<PreCreateMediaOutcome> PreCreateMediaOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PreCreateMediaRequest&, const PreCreateMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreCreateMediaAsyncHandler;
typedef Outcome<Error, Model::PreModifyMediaResult> PreModifyMediaOutcome;
typedef std::future<PreModifyMediaOutcome> PreModifyMediaOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PreModifyMediaRequest&, const PreModifyMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreModifyMediaAsyncHandler;
typedef Outcome<Error, Model::PredictiveRecordFailureResult> PredictiveRecordFailureOutcome;
typedef std::future<PredictiveRecordFailureOutcome> PredictiveRecordFailureOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PredictiveRecordFailureRequest&, const PredictiveRecordFailureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PredictiveRecordFailureAsyncHandler;
typedef Outcome<Error, Model::PredictiveRecordSuccessResult> PredictiveRecordSuccessOutcome;
typedef std::future<PredictiveRecordSuccessOutcome> PredictiveRecordSuccessOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PredictiveRecordSuccessRequest&, const PredictiveRecordSuccessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PredictiveRecordSuccessAsyncHandler;
typedef Outcome<Error, Model::PublishContactFlowVersionResult> PublishContactFlowVersionOutcome;
typedef std::future<PublishContactFlowVersionOutcome> PublishContactFlowVersionOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PublishContactFlowVersionRequest&, const PublishContactFlowVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishContactFlowVersionAsyncHandler;
typedef Outcome<Error, Model::PublishPredictiveJobGroupResult> PublishPredictiveJobGroupOutcome;
typedef std::future<PublishPredictiveJobGroupOutcome> PublishPredictiveJobGroupOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PublishPredictiveJobGroupRequest&, const PublishPredictiveJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishPredictiveJobGroupAsyncHandler;
typedef Outcome<Error, Model::PublishSurveyResult> PublishSurveyOutcome;
typedef std::future<PublishSurveyOutcome> PublishSurveyOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PublishSurveyRequest&, const PublishSurveyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishSurveyAsyncHandler;
typedef Outcome<Error, Model::QueryRedialIndicatorResult> QueryRedialIndicatorOutcome;
typedef std::future<QueryRedialIndicatorOutcome> QueryRedialIndicatorOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::QueryRedialIndicatorRequest&, const QueryRedialIndicatorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRedialIndicatorAsyncHandler;
typedef Outcome<Error, Model::RefreshTokenResult> RefreshTokenOutcome;
typedef std::future<RefreshTokenOutcome> RefreshTokenOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::RefreshTokenRequest&, const RefreshTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshTokenAsyncHandler;
typedef Outcome<Error, Model::RemoveNumberFromSkillGroupResult> RemoveNumberFromSkillGroupOutcome;
typedef std::future<RemoveNumberFromSkillGroupOutcome> RemoveNumberFromSkillGroupOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::RemoveNumberFromSkillGroupRequest&, const RemoveNumberFromSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveNumberFromSkillGroupAsyncHandler;
typedef Outcome<Error, Model::RemovePhoneNumberResult> RemovePhoneNumberOutcome;
typedef std::future<RemovePhoneNumberOutcome> RemovePhoneNumberOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::RemovePhoneNumberRequest&, const RemovePhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemovePhoneNumberAsyncHandler;
@@ -842,9 +713,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SendPredefinedShortMessageResult> SendPredefinedShortMessageOutcome;
typedef std::future<SendPredefinedShortMessageOutcome> SendPredefinedShortMessageOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::SendPredefinedShortMessageRequest&, const SendPredefinedShortMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendPredefinedShortMessageAsyncHandler;
typedef Outcome<Error, Model::SimpleDialResult> SimpleDialOutcome;
typedef std::future<SimpleDialOutcome> SimpleDialOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::SimpleDialRequest&, const SimpleDialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SimpleDialAsyncHandler;
typedef Outcome<Error, Model::StartBack2BackCallResult> StartBack2BackCallOutcome;
typedef std::future<StartBack2BackCallOutcome> StartBack2BackCallOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::StartBack2BackCallRequest&, const StartBack2BackCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartBack2BackCallAsyncHandler;
@@ -863,9 +731,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::TaskPreparingResult> TaskPreparingOutcome;
typedef std::future<TaskPreparingOutcome> TaskPreparingOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::TaskPreparingRequest&, const TaskPreparingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaskPreparingAsyncHandler;
typedef Outcome<Error, Model::TwoPartiesCallResult> TwoPartiesCallOutcome;
typedef std::future<TwoPartiesCallOutcome> TwoPartiesCallOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::TwoPartiesCallRequest&, const TwoPartiesCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TwoPartiesCallAsyncHandler;
CCCClient(const Credentials &credentials, const ClientConfiguration &configuration);
CCCClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -877,9 +742,6 @@ namespace AlibabaCloud
AddBulkPhoneNumbersOutcome addBulkPhoneNumbers(const Model::AddBulkPhoneNumbersRequest &request)const;
void addBulkPhoneNumbersAsync(const Model::AddBulkPhoneNumbersRequest& request, const AddBulkPhoneNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddBulkPhoneNumbersOutcomeCallable addBulkPhoneNumbersCallable(const Model::AddBulkPhoneNumbersRequest& request) const;
AddNumberToSkillGroupOutcome addNumberToSkillGroup(const Model::AddNumberToSkillGroupRequest &request)const;
void addNumberToSkillGroupAsync(const Model::AddNumberToSkillGroupRequest& request, const AddNumberToSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddNumberToSkillGroupOutcomeCallable addNumberToSkillGroupCallable(const Model::AddNumberToSkillGroupRequest& request) const;
AddPhoneNumberOutcome addPhoneNumber(const Model::AddPhoneNumberRequest &request)const;
void addPhoneNumberAsync(const Model::AddPhoneNumberRequest& request, const AddPhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddPhoneNumberOutcomeCallable addPhoneNumberCallable(const Model::AddPhoneNumberRequest& request) const;
@@ -898,9 +760,6 @@ namespace AlibabaCloud
CancelJobsOutcome cancelJobs(const Model::CancelJobsRequest &request)const;
void cancelJobsAsync(const Model::CancelJobsRequest& request, const CancelJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelJobsOutcomeCallable cancelJobsCallable(const Model::CancelJobsRequest& request) const;
CancelPredictiveJobsOutcome cancelPredictiveJobs(const Model::CancelPredictiveJobsRequest &request)const;
void cancelPredictiveJobsAsync(const Model::CancelPredictiveJobsRequest& request, const CancelPredictiveJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelPredictiveJobsOutcomeCallable cancelPredictiveJobsCallable(const Model::CancelPredictiveJobsRequest& request) const;
CheckNumberAvaliableOutcome checkNumberAvaliable(const Model::CheckNumberAvaliableRequest &request)const;
void checkNumberAvaliableAsync(const Model::CheckNumberAvaliableRequest& request, const CheckNumberAvaliableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckNumberAvaliableOutcomeCallable checkNumberAvaliableCallable(const Model::CheckNumberAvaliableRequest& request) const;
@@ -910,9 +769,6 @@ namespace AlibabaCloud
CreateBatchJobsOutcome createBatchJobs(const Model::CreateBatchJobsRequest &request)const;
void createBatchJobsAsync(const Model::CreateBatchJobsRequest& request, const CreateBatchJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateBatchJobsOutcomeCallable createBatchJobsCallable(const Model::CreateBatchJobsRequest& request) const;
CreateCCCPostOrderOutcome createCCCPostOrder(const Model::CreateCCCPostOrderRequest &request)const;
void createCCCPostOrderAsync(const Model::CreateCCCPostOrderRequest& request, const CreateCCCPostOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCCCPostOrderOutcomeCallable createCCCPostOrderCallable(const Model::CreateCCCPostOrderRequest& request) const;
CreateCabInstanceOutcome createCabInstance(const Model::CreateCabInstanceRequest &request)const;
void createCabInstanceAsync(const Model::CreateCabInstanceRequest& request, const CreateCabInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCabInstanceOutcomeCallable createCabInstanceCallable(const Model::CreateCabInstanceRequest& request) const;
@@ -931,12 +787,6 @@ namespace AlibabaCloud
CreateMediaOutcome createMedia(const Model::CreateMediaRequest &request)const;
void createMediaAsync(const Model::CreateMediaRequest& request, const CreateMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMediaOutcomeCallable createMediaCallable(const Model::CreateMediaRequest& request) const;
CreatePredictiveJobGroupOutcome createPredictiveJobGroup(const Model::CreatePredictiveJobGroupRequest &request)const;
void createPredictiveJobGroupAsync(const Model::CreatePredictiveJobGroupRequest& request, const CreatePredictiveJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreatePredictiveJobGroupOutcomeCallable createPredictiveJobGroupCallable(const Model::CreatePredictiveJobGroupRequest& request) const;
CreatePredictiveJobsOutcome createPredictiveJobs(const Model::CreatePredictiveJobsRequest &request)const;
void createPredictiveJobsAsync(const Model::CreatePredictiveJobsRequest& request, const CreatePredictiveJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreatePredictiveJobsOutcomeCallable createPredictiveJobsCallable(const Model::CreatePredictiveJobsRequest& request) const;
CreateScenarioOutcome createScenario(const Model::CreateScenarioRequest &request)const;
void createScenarioAsync(const Model::CreateScenarioRequest& request, const CreateScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateScenarioOutcomeCallable createScenarioCallable(const Model::CreateScenarioRequest& request) const;
@@ -1003,21 +853,12 @@ namespace AlibabaCloud
GetAgentDataOutcome getAgentData(const Model::GetAgentDataRequest &request)const;
void getAgentDataAsync(const Model::GetAgentDataRequest& request, const GetAgentDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAgentDataOutcomeCallable getAgentDataCallable(const Model::GetAgentDataRequest& request) const;
GetAgentStateOutcome getAgentState(const Model::GetAgentStateRequest &request)const;
void getAgentStateAsync(const Model::GetAgentStateRequest& request, const GetAgentStateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAgentStateOutcomeCallable getAgentStateCallable(const Model::GetAgentStateRequest& request) const;
GetCallMeasureSummaryReportOutcome getCallMeasureSummaryReport(const Model::GetCallMeasureSummaryReportRequest &request)const;
void getCallMeasureSummaryReportAsync(const Model::GetCallMeasureSummaryReportRequest& request, const GetCallMeasureSummaryReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCallMeasureSummaryReportOutcomeCallable getCallMeasureSummaryReportCallable(const Model::GetCallMeasureSummaryReportRequest& request) const;
GetConfigOutcome getConfig(const Model::GetConfigRequest &request)const;
void getConfigAsync(const Model::GetConfigRequest& request, const GetConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetConfigOutcomeCallable getConfigCallable(const Model::GetConfigRequest& request) const;
GetContactIdentifyByOutBoundTaskIdOutcome getContactIdentifyByOutBoundTaskId(const Model::GetContactIdentifyByOutBoundTaskIdRequest &request)const;
void getContactIdentifyByOutBoundTaskIdAsync(const Model::GetContactIdentifyByOutBoundTaskIdRequest& request, const GetContactIdentifyByOutBoundTaskIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetContactIdentifyByOutBoundTaskIdOutcomeCallable getContactIdentifyByOutBoundTaskIdCallable(const Model::GetContactIdentifyByOutBoundTaskIdRequest& request) const;
GetContactInfoByOutboundTaskIdOutcome getContactInfoByOutboundTaskId(const Model::GetContactInfoByOutboundTaskIdRequest &request)const;
void getContactInfoByOutboundTaskIdAsync(const Model::GetContactInfoByOutboundTaskIdRequest& request, const GetContactInfoByOutboundTaskIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetContactInfoByOutboundTaskIdOutcomeCallable getContactInfoByOutboundTaskIdCallable(const Model::GetContactInfoByOutboundTaskIdRequest& request) const;
GetConversationDetailByContactIdOutcome getConversationDetailByContactId(const Model::GetConversationDetailByContactIdRequest &request)const;
void getConversationDetailByContactIdAsync(const Model::GetConversationDetailByContactIdRequest& request, const GetConversationDetailByContactIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetConversationDetailByContactIdOutcomeCallable getConversationDetailByContactIdCallable(const Model::GetConversationDetailByContactIdRequest& request) const;
@@ -1045,9 +886,6 @@ namespace AlibabaCloud
GetJobDataUploadParamsOutcome getJobDataUploadParams(const Model::GetJobDataUploadParamsRequest &request)const;
void getJobDataUploadParamsAsync(const Model::GetJobDataUploadParamsRequest& request, const GetJobDataUploadParamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetJobDataUploadParamsOutcomeCallable getJobDataUploadParamsCallable(const Model::GetJobDataUploadParamsRequest& request) const;
GetJobFileUploadUrlOutcome getJobFileUploadUrl(const Model::GetJobFileUploadUrlRequest &request)const;
void getJobFileUploadUrlAsync(const Model::GetJobFileUploadUrlRequest& request, const GetJobFileUploadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetJobFileUploadUrlOutcomeCallable getJobFileUploadUrlCallable(const Model::GetJobFileUploadUrlRequest& request) const;
GetJobGroupOutcome getJobGroup(const Model::GetJobGroupRequest &request)const;
void getJobGroupAsync(const Model::GetJobGroupRequest& request, const GetJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetJobGroupOutcomeCallable getJobGroupCallable(const Model::GetJobGroupRequest& request) const;
@@ -1060,15 +898,9 @@ namespace AlibabaCloud
GetJobTemplateDownloadParamsOutcome getJobTemplateDownloadParams(const Model::GetJobTemplateDownloadParamsRequest &request)const;
void getJobTemplateDownloadParamsAsync(const Model::GetJobTemplateDownloadParamsRequest& request, const GetJobTemplateDownloadParamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetJobTemplateDownloadParamsOutcomeCallable getJobTemplateDownloadParamsCallable(const Model::GetJobTemplateDownloadParamsRequest& request) const;
GetJobsProgressOutcome getJobsProgress(const Model::GetJobsProgressRequest &request)const;
void getJobsProgressAsync(const Model::GetJobsProgressRequest& request, const GetJobsProgressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetJobsProgressOutcomeCallable getJobsProgressCallable(const Model::GetJobsProgressRequest& request) const;
GetNumberRegionInfoOutcome getNumberRegionInfo(const Model::GetNumberRegionInfoRequest &request)const;
void getNumberRegionInfoAsync(const Model::GetNumberRegionInfoRequest& request, const GetNumberRegionInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetNumberRegionInfoOutcomeCallable getNumberRegionInfoCallable(const Model::GetNumberRegionInfoRequest& request) const;
GetPredictiveJobOutcome getPredictiveJob(const Model::GetPredictiveJobRequest &request)const;
void getPredictiveJobAsync(const Model::GetPredictiveJobRequest& request, const GetPredictiveJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPredictiveJobOutcomeCallable getPredictiveJobCallable(const Model::GetPredictiveJobRequest& request) const;
GetRecordOssUploadParamOutcome getRecordOssUploadParam(const Model::GetRecordOssUploadParamRequest &request)const;
void getRecordOssUploadParamAsync(const Model::GetRecordOssUploadParamRequest& request, const GetRecordOssUploadParamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetRecordOssUploadParamOutcomeCallable getRecordOssUploadParamCallable(const Model::GetRecordOssUploadParamRequest& request) const;
@@ -1171,18 +1003,6 @@ namespace AlibabaCloud
ListPhoneTagsOutcome listPhoneTags(const Model::ListPhoneTagsRequest &request)const;
void listPhoneTagsAsync(const Model::ListPhoneTagsRequest& request, const ListPhoneTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhoneTagsOutcomeCallable listPhoneTagsCallable(const Model::ListPhoneTagsRequest& request) const;
ListPredictiveJobGroupsOutcome listPredictiveJobGroups(const Model::ListPredictiveJobGroupsRequest &request)const;
void listPredictiveJobGroupsAsync(const Model::ListPredictiveJobGroupsRequest& request, const ListPredictiveJobGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPredictiveJobGroupsOutcomeCallable listPredictiveJobGroupsCallable(const Model::ListPredictiveJobGroupsRequest& request) const;
ListPredictiveJobStatusOutcome listPredictiveJobStatus(const Model::ListPredictiveJobStatusRequest &request)const;
void listPredictiveJobStatusAsync(const Model::ListPredictiveJobStatusRequest& request, const ListPredictiveJobStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPredictiveJobStatusOutcomeCallable listPredictiveJobStatusCallable(const Model::ListPredictiveJobStatusRequest& request) const;
ListPrivacyNumberCallDetailsOutcome listPrivacyNumberCallDetails(const Model::ListPrivacyNumberCallDetailsRequest &request)const;
void listPrivacyNumberCallDetailsAsync(const Model::ListPrivacyNumberCallDetailsRequest& request, const ListPrivacyNumberCallDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPrivacyNumberCallDetailsOutcomeCallable listPrivacyNumberCallDetailsCallable(const Model::ListPrivacyNumberCallDetailsRequest& request) const;
ListPrivilegesOfUserOutcome listPrivilegesOfUser(const Model::ListPrivilegesOfUserRequest &request)const;
void listPrivilegesOfUserAsync(const Model::ListPrivilegesOfUserRequest& request, const ListPrivilegesOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPrivilegesOfUserOutcomeCallable listPrivilegesOfUserCallable(const Model::ListPrivilegesOfUserRequest& request) const;
ListRealTimeAgentOutcome listRealTimeAgent(const Model::ListRealTimeAgentRequest &request)const;
void listRealTimeAgentAsync(const Model::ListRealTimeAgentRequest& request, const ListRealTimeAgentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRealTimeAgentOutcomeCallable listRealTimeAgentCallable(const Model::ListRealTimeAgentRequest& request) const;
@@ -1246,12 +1066,6 @@ namespace AlibabaCloud
ModifyCabInstanceOutcome modifyCabInstance(const Model::ModifyCabInstanceRequest &request)const;
void modifyCabInstanceAsync(const Model::ModifyCabInstanceRequest& request, const ModifyCabInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyCabInstanceOutcomeCallable modifyCabInstanceCallable(const Model::ModifyCabInstanceRequest& request) const;
ModifyMediaOutcome modifyMedia(const Model::ModifyMediaRequest &request)const;
void modifyMediaAsync(const Model::ModifyMediaRequest& request, const ModifyMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyMediaOutcomeCallable modifyMediaCallable(const Model::ModifyMediaRequest& request) const;
ModifyNotificationConfigOutcome modifyNotificationConfig(const Model::ModifyNotificationConfigRequest &request)const;
void modifyNotificationConfigAsync(const Model::ModifyNotificationConfigRequest& request, const ModifyNotificationConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyNotificationConfigOutcomeCallable modifyNotificationConfigCallable(const Model::ModifyNotificationConfigRequest& request) const;
ModifyPhoneNumberOutcome modifyPhoneNumber(const Model::ModifyPhoneNumberRequest &request)const;
void modifyPhoneNumberAsync(const Model::ModifyPhoneNumberRequest& request, const ModifyPhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyPhoneNumberOutcomeCallable modifyPhoneNumberCallable(const Model::ModifyPhoneNumberRequest& request) const;
@@ -1288,39 +1102,15 @@ namespace AlibabaCloud
PickOutboundNumbersOutcome pickOutboundNumbers(const Model::PickOutboundNumbersRequest &request)const;
void pickOutboundNumbersAsync(const Model::PickOutboundNumbersRequest& request, const PickOutboundNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PickOutboundNumbersOutcomeCallable pickOutboundNumbersCallable(const Model::PickOutboundNumbersRequest& request) const;
PickOutboundNumbersByTagsOutcome pickOutboundNumbersByTags(const Model::PickOutboundNumbersByTagsRequest &request)const;
void pickOutboundNumbersByTagsAsync(const Model::PickOutboundNumbersByTagsRequest& request, const PickOutboundNumbersByTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PickOutboundNumbersByTagsOutcomeCallable pickOutboundNumbersByTagsCallable(const Model::PickOutboundNumbersByTagsRequest& request) const;
PreCreateMediaOutcome preCreateMedia(const Model::PreCreateMediaRequest &request)const;
void preCreateMediaAsync(const Model::PreCreateMediaRequest& request, const PreCreateMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PreCreateMediaOutcomeCallable preCreateMediaCallable(const Model::PreCreateMediaRequest& request) const;
PreModifyMediaOutcome preModifyMedia(const Model::PreModifyMediaRequest &request)const;
void preModifyMediaAsync(const Model::PreModifyMediaRequest& request, const PreModifyMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PreModifyMediaOutcomeCallable preModifyMediaCallable(const Model::PreModifyMediaRequest& request) const;
PredictiveRecordFailureOutcome predictiveRecordFailure(const Model::PredictiveRecordFailureRequest &request)const;
void predictiveRecordFailureAsync(const Model::PredictiveRecordFailureRequest& request, const PredictiveRecordFailureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PredictiveRecordFailureOutcomeCallable predictiveRecordFailureCallable(const Model::PredictiveRecordFailureRequest& request) const;
PredictiveRecordSuccessOutcome predictiveRecordSuccess(const Model::PredictiveRecordSuccessRequest &request)const;
void predictiveRecordSuccessAsync(const Model::PredictiveRecordSuccessRequest& request, const PredictiveRecordSuccessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PredictiveRecordSuccessOutcomeCallable predictiveRecordSuccessCallable(const Model::PredictiveRecordSuccessRequest& request) const;
PublishContactFlowVersionOutcome publishContactFlowVersion(const Model::PublishContactFlowVersionRequest &request)const;
void publishContactFlowVersionAsync(const Model::PublishContactFlowVersionRequest& request, const PublishContactFlowVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PublishContactFlowVersionOutcomeCallable publishContactFlowVersionCallable(const Model::PublishContactFlowVersionRequest& request) const;
PublishPredictiveJobGroupOutcome publishPredictiveJobGroup(const Model::PublishPredictiveJobGroupRequest &request)const;
void publishPredictiveJobGroupAsync(const Model::PublishPredictiveJobGroupRequest& request, const PublishPredictiveJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PublishPredictiveJobGroupOutcomeCallable publishPredictiveJobGroupCallable(const Model::PublishPredictiveJobGroupRequest& request) const;
PublishSurveyOutcome publishSurvey(const Model::PublishSurveyRequest &request)const;
void publishSurveyAsync(const Model::PublishSurveyRequest& request, const PublishSurveyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PublishSurveyOutcomeCallable publishSurveyCallable(const Model::PublishSurveyRequest& request) const;
QueryRedialIndicatorOutcome queryRedialIndicator(const Model::QueryRedialIndicatorRequest &request)const;
void queryRedialIndicatorAsync(const Model::QueryRedialIndicatorRequest& request, const QueryRedialIndicatorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryRedialIndicatorOutcomeCallable queryRedialIndicatorCallable(const Model::QueryRedialIndicatorRequest& request) const;
RefreshTokenOutcome refreshToken(const Model::RefreshTokenRequest &request)const;
void refreshTokenAsync(const Model::RefreshTokenRequest& request, const RefreshTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RefreshTokenOutcomeCallable refreshTokenCallable(const Model::RefreshTokenRequest& request) const;
RemoveNumberFromSkillGroupOutcome removeNumberFromSkillGroup(const Model::RemoveNumberFromSkillGroupRequest &request)const;
void removeNumberFromSkillGroupAsync(const Model::RemoveNumberFromSkillGroupRequest& request, const RemoveNumberFromSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveNumberFromSkillGroupOutcomeCallable removeNumberFromSkillGroupCallable(const Model::RemoveNumberFromSkillGroupRequest& request) const;
RemovePhoneNumberOutcome removePhoneNumber(const Model::RemovePhoneNumberRequest &request)const;
void removePhoneNumberAsync(const Model::RemovePhoneNumberRequest& request, const RemovePhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemovePhoneNumberOutcomeCallable removePhoneNumberCallable(const Model::RemovePhoneNumberRequest& request) const;
@@ -1348,9 +1138,6 @@ namespace AlibabaCloud
SendPredefinedShortMessageOutcome sendPredefinedShortMessage(const Model::SendPredefinedShortMessageRequest &request)const;
void sendPredefinedShortMessageAsync(const Model::SendPredefinedShortMessageRequest& request, const SendPredefinedShortMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SendPredefinedShortMessageOutcomeCallable sendPredefinedShortMessageCallable(const Model::SendPredefinedShortMessageRequest& request) const;
SimpleDialOutcome simpleDial(const Model::SimpleDialRequest &request)const;
void simpleDialAsync(const Model::SimpleDialRequest& request, const SimpleDialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SimpleDialOutcomeCallable simpleDialCallable(const Model::SimpleDialRequest& request) const;
StartBack2BackCallOutcome startBack2BackCall(const Model::StartBack2BackCallRequest &request)const;
void startBack2BackCallAsync(const Model::StartBack2BackCallRequest& request, const StartBack2BackCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartBack2BackCallOutcomeCallable startBack2BackCallCallable(const Model::StartBack2BackCallRequest& request) const;
@@ -1369,9 +1156,6 @@ namespace AlibabaCloud
TaskPreparingOutcome taskPreparing(const Model::TaskPreparingRequest &request)const;
void taskPreparingAsync(const Model::TaskPreparingRequest& request, const TaskPreparingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TaskPreparingOutcomeCallable taskPreparingCallable(const Model::TaskPreparingRequest& request) const;
TwoPartiesCallOutcome twoPartiesCall(const Model::TwoPartiesCallRequest &request)const;
void twoPartiesCallAsync(const Model::TwoPartiesCallRequest& request, const TwoPartiesCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TwoPartiesCallOutcomeCallable twoPartiesCallCallable(const Model::TwoPartiesCallRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_ADDNUMBERTOSKILLGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_ADDNUMBERTOSKILLGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AddNumberToSkillGroupRequest : public RpcServiceRequest
{
public:
AddNumberToSkillGroupRequest();
~AddNumberToSkillGroupRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getNumber()const;
void setNumber(const std::string& number);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
private:
std::string accessKeyId_;
std::string number_;
std::string instanceId_;
std::string skillGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ADDNUMBERTOSKILLGROUPREQUEST_H_

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreatePredictiveJobGroupRequest : public RpcServiceRequest
{
public:
CreatePredictiveJobGroupRequest();
~CreatePredictiveJobGroupRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
bool getTimingSchedule()const;
void setTimingSchedule(bool timingSchedule);
std::vector<std::string> getJobsJson()const;
void setJobsJson(const std::vector<std::string>& jobsJson);
std::string getJobFilePath()const;
void setJobFilePath(const std::string& jobFilePath);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
bool getIsDraft()const;
void setIsDraft(bool isDraft);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
std::string getStrategyJson()const;
void setStrategyJson(const std::string& strategyJson);
std::string getName()const;
void setName(const std::string& name);
private:
std::string description_;
bool timingSchedule_;
std::vector<std::string> jobsJson_;
std::string jobFilePath_;
std::string instanceId_;
bool isDraft_;
std::string skillGroupId_;
std::string strategyJson_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreatePredictiveJobsRequest : public RpcServiceRequest
{
public:
CreatePredictiveJobsRequest();
~CreatePredictiveJobsRequest();
std::vector<std::string> getJobsJson()const;
void setJobsJson(const std::vector<std::string>& jobsJson);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
std::string getStrategyJson()const;
void setStrategyJson(const std::string& strategyJson);
private:
std::vector<std::string> jobsJson_;
std::string instanceId_;
std::string skillGroupId_;
std::string strategyJson_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSREQUEST_H_

View File

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONTACTIDENTIFYBYOUTBOUNDTASKIDRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETCONTACTIDENTIFYBYOUTBOUNDTASKIDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetContactIdentifyByOutBoundTaskIdResult : public ServiceResult
{
public:
struct ContactIdentity
{
std::string jobGroupId;
std::string userPhone;
std::string contactReferrnceId;
};
GetContactIdentifyByOutBoundTaskIdResult();
explicit GetContactIdentifyByOutBoundTaskIdResult(const std::string &payload);
~GetContactIdentifyByOutBoundTaskIdResult();
std::string getMessage()const;
ContactIdentity getContactIdentity()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
ContactIdentity contactIdentity_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONTACTIDENTIFYBYOUTBOUNDTASKIDRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetContactInfoByOutboundTaskIdRequest : public RpcServiceRequest
{
public:
GetContactInfoByOutboundTaskIdRequest();
~GetContactInfoByOutboundTaskIdRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getOutboundTaskId()const;
void setOutboundTaskId(const std::string& outboundTaskId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
private:
std::string instanceId_;
std::string outboundTaskId_;
std::string skillGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDREQUEST_H_

View File

@@ -1,66 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetContactInfoByOutboundTaskIdResult : public ServiceResult
{
public:
struct ContactIdentity
{
std::string jobGroupId;
std::string userPhone;
std::string caller;
std::string contactReferrnceId;
};
GetContactInfoByOutboundTaskIdResult();
explicit GetContactInfoByOutboundTaskIdResult(const std::string &payload);
~GetContactInfoByOutboundTaskIdResult();
std::string getMessage()const;
ContactIdentity getContactIdentity()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
ContactIdentity contactIdentity_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDRESULT_H_

View File

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

View File

@@ -1,74 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetJobsProgressResult : public ServiceResult
{
public:
struct JobsProgress
{
std::string status;
int failed;
long startTime;
int executing;
int duration;
int scheduling;
int cancelled;
int totalCompleted;
int totalNotAnswered;
int repeatCall;
int totalJobs;
int paused;
};
GetJobsProgressResult();
explicit GetJobsProgressResult(const std::string &payload);
~GetJobsProgressResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
JobsProgress getJobsProgress()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
JobsProgress jobsProgress_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSRESULT_H_

View File

@@ -1,112 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetPredictiveJobResult : public ServiceResult
{
public:
struct Job
{
struct Contact
{
std::string role;
std::string honorific;
std::string referenceId;
std::string state;
std::string phoneNumber;
std::string contactId;
std::string contactName;
std::string jobId;
};
struct Task
{
struct Contact1
{
std::string role;
std::string honorific;
std::string referenceId;
std::string state;
std::string phoneNumber;
std::string contactId;
std::string contactName;
std::string jobId;
};
std::string status;
std::string chatbotId;
long planedTime;
std::string calledNumber;
std::string taskId;
std::string scenarioId;
long actualTime;
std::string callId;
int duration;
std::string brief;
std::string callingNumber;
Contact1 contact1;
std::string jobId;
};
std::string status;
std::string jobGroupId;
std::vector<Task> tasks;
std::string scenarioId;
std::vector<Contact> contacts;
std::string referenceId;
int priority;
int systemPriority;
std::string failureReason;
std::string strategyId;
std::string jobId;
std::vector<std::string> callingNumbers;
};
GetPredictiveJobResult();
explicit GetPredictiveJobResult(const std::string &payload);
~GetPredictiveJobResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Job getJob()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Job job_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBRESULT_H_

View File

@@ -35,17 +35,23 @@ namespace AlibabaCloud
ListOutboundPhoneNumberOfUserRequest();
~ListOutboundPhoneNumberOfUserRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserId()const;
void setUserId(const std::string& userId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string instanceId_;
std::string userId_;
int pageNumber_;
std::string accessKeyId_;
std::string instanceId_;
int pageSize_;
};
}

View File

@@ -68,6 +68,7 @@ namespace AlibabaCloud
~ListOutboundPhoneNumberOfUserResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<std::string> getNumberList()const;
std::vector<PhoneNumber> getOutboundPhoneNumbers()const;
std::string getCode()const;
bool getSuccess()const;
@@ -77,6 +78,7 @@ namespace AlibabaCloud
private:
std::string message_;
int httpStatusCode_;
std::vector<std::string> numberList_;
std::vector<PhoneNumber> outboundPhoneNumbers_;
std::string code_;
bool success_;

View File

@@ -36,55 +36,20 @@ namespace AlibabaCloud
{
struct PhoneNumber
{
struct ContactFlow
{
std::string type;
std::string contactFlowId;
std::string instanceId;
std::string contactFlowName;
std::string contactFlowDescription;
};
struct PrivacyNumber
{
std::string regionNameCity;
std::string type;
std::string subId;
std::string poolId;
std::string extra;
std::string poolName;
std::string phoneNumber;
std::string telX;
std::string bizId;
};
struct SkillGroup
{
std::string skillGroupName;
std::string skillGroupId;
};
std::string assignee;
std::string usage;
bool testOnly;
bool allowOutbound;
std::string numberGroupId;
std::string instanceId;
std::string contactFlowId;
std::string serviceTag;
long createTime;
int remainingTime;
std::vector<PhoneNumber::SkillGroup> skillGroups;
int trunks;
std::string city;
std::string phoneNumberId;
std::string province;
std::string phoneNumberDescription;
std::string provider;
int type;
std::string sipTelX;
std::string number;
int concurrency;
PrivacyNumber privacyNumber;
int numberCommodityStatus;
ContactFlow contactFlow;
std::string numberGroupName;
std::vector<std::string> skillGroupIdList;
};
int totalCount;
int pageSize;

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListPredictiveJobGroupsRequest : public RpcServiceRequest
{
public:
ListPredictiveJobGroupsRequest();
~ListPredictiveJobGroupsRequest();
std::string getCriteria()const;
void setCriteria(const std::string& criteria);
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string criteria_;
long endTime_;
long startTime_;
int pageNumber_;
std::string instanceId_;
std::string skillGroupId_;
std::string name_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSREQUEST_H_

View File

@@ -1,111 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListPredictiveJobGroupsResult : public ServiceResult
{
public:
struct JobGroups
{
struct JobGroup
{
struct Strategy
{
struct TimeFrame
{
std::string endTime;
std::string beginTime;
};
std::vector<TimeFrame> workingTime;
int minAttemptInterval;
long endTime;
std::string strategyId;
long startTime;
int maxAttemptsPerDay;
};
struct Progress
{
struct KeyValuePair
{
std::string value;
std::string key;
};
std::string status;
std::vector<KeyValuePair> categories;
long startTime;
int duration;
int totalCompleted;
int totalNotAnswered;
int totalJobs;
};
Progress progress;
std::string description;
std::string endTime;
std::string instanceId;
std::string startTime;
std::string skillGroupId;
std::string name;
std::string jobGroupId;
std::string skillGroupName;
std::string taskType;
long creationTime;
Strategy strategy;
std::string occupancyRate;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<JobGroup> list;
};
ListPredictiveJobGroupsResult();
explicit ListPredictiveJobGroupsResult(const std::string &payload);
~ListPredictiveJobGroupsResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
JobGroups getJobGroups()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
JobGroups jobGroups_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSRESULT_H_

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListPredictiveJobStatusRequest : public RpcServiceRequest
{
public:
ListPredictiveJobStatusRequest();
~ListPredictiveJobStatusRequest();
std::string getTimeAlignment()const;
void setTimeAlignment(const std::string& timeAlignment);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getContactName()const;
void setContactName(const std::string& contactName);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string timeAlignment_;
std::string phoneNumber_;
long endTime_;
long startTime_;
int pageNumber_;
std::string contactName_;
std::string instanceId_;
std::string jobGroupId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSREQUEST_H_

View File

@@ -1,91 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListPredictiveJobStatusResult : public ServiceResult
{
public:
struct Jobs
{
struct Job
{
struct Contact
{
std::string role;
std::string honorific;
std::string referenceId;
std::string state;
std::string phoneNumber;
std::string contactId;
std::string contactName;
std::string jobId;
};
std::string status;
std::string jobGroupId;
std::string scenarioId;
std::vector<Job::Contact> contacts;
std::string referenceId;
int priority;
int systemPriority;
std::string failureReason;
std::string strategyId;
std::string jobId;
std::vector<std::string> callingNumbers;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<Job> list;
};
ListPredictiveJobStatusResult();
explicit ListPredictiveJobStatusResult(const std::string &payload);
~ListPredictiveJobStatusResult();
std::string getMessage()const;
Jobs getJobs()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Jobs jobs_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSRESULT_H_

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListPrivacyNumberCallDetailsRequest : public RpcServiceRequest
{
public:
ListPrivacyNumberCallDetailsRequest();
~ListPrivacyNumberCallDetailsRequest();
std::string getAgentId()const;
void setAgentId(const std::string& agentId);
std::string getContactId()const;
void setContactId(const std::string& contactId);
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAgentName()const;
void setAgentName(const std::string& agentName);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string agentId_;
std::string contactId_;
long endTime_;
long startTime_;
int pageNumber_;
std::string accessKeyId_;
std::string instanceId_;
std::string agentName_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSREQUEST_H_

View File

@@ -1,80 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListPrivacyNumberCallDetailsResult : public ServiceResult
{
public:
struct PrivacyNumberCallDetails
{
struct PrivacyNumberCallDetail
{
std::string status;
std::string calledNumber;
std::string contactType;
std::string description;
std::string privacyNumber;
std::string agentId;
std::string agentName;
std::string contactId;
long callTime;
std::string callingNumber;
std::string result;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<PrivacyNumberCallDetail> list;
};
ListPrivacyNumberCallDetailsResult();
explicit ListPrivacyNumberCallDetailsResult(const std::string &payload);
~ListPrivacyNumberCallDetailsResult();
PrivacyNumberCallDetails getPrivacyNumberCallDetails()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
PrivacyNumberCallDetails privacyNumberCallDetails_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSRESULT_H_

View File

@@ -1,75 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYMEDIAREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_MODIFYMEDIAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ModifyMediaRequest : public RpcServiceRequest
{
public:
ModifyMediaRequest();
~ModifyMediaRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getOssFilePath()const;
void setOssFilePath(const std::string& ossFilePath);
std::string getUploadResult()const;
void setUploadResult(const std::string& uploadResult);
std::string getType()const;
void setType(const std::string& type);
std::string getContent()const;
void setContent(const std::string& content);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getOssFileName()const;
void setOssFileName(const std::string& ossFileName);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFileName()const;
void setFileName(const std::string& fileName);
std::string getName()const;
void setName(const std::string& name);
private:
std::string description_;
std::string ossFilePath_;
std::string uploadResult_;
std::string type_;
std::string content_;
std::string accessKeyId_;
std::string ossFileName_;
std::string instanceId_;
std::string fileName_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYMEDIAREQUEST_H_

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ModifyNotificationConfigRequest : public RpcServiceRequest
{
struct Subscriptions
{
std::string displayName;
std::string name;
bool selected;
};
public:
ModifyNotificationConfigRequest();
~ModifyNotificationConfigRequest();
std::vector<Subscriptions> getSubscriptions()const;
void setSubscriptions(const std::vector<Subscriptions>& subscriptions);
std::string getAccessPoint()const;
void setAccessPoint(const std::string& accessPoint);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getTopic()const;
void setTopic(const std::string& topic);
std::string getProducerId()const;
void setProducerId(const std::string& producerId);
private:
std::vector<Subscriptions> subscriptions_;
std::string accessPoint_;
std::string accessKeyId_;
std::string instanceId_;
std::string topic_;
std::string producerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGREQUEST_H_

View File

@@ -1,71 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ModifyNotificationConfigResult : public ServiceResult
{
public:
struct SubscriptionsItem
{
std::string displayName;
bool selected;
std::string name;
};
ModifyNotificationConfigResult();
explicit ModifyNotificationConfigResult(const std::string &payload);
~ModifyNotificationConfigResult();
std::string getMessage()const;
std::vector<SubscriptionsItem> getSubscriptions()const;
std::string getProducerId()const;
std::string getAccessPoint()const;
int getHttpStatusCode()const;
std::string getTopic()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<SubscriptionsItem> subscriptions_;
std::string producerId_;
std::string accessPoint_;
int httpStatusCode_;
std::string topic_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGRESULT_H_

View File

@@ -1,66 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PickOutboundNumbersByTagsRequest : public RpcServiceRequest
{
public:
PickOutboundNumbersByTagsRequest();
~PickOutboundNumbersByTagsRequest();
std::vector<std::string> getPrioritizedCallerArea()const;
void setPrioritizedCallerArea(const std::vector<std::string>& prioritizedCallerArea);
int getCount()const;
void setCount(int count);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::vector<std::string> getServiceTag()const;
void setServiceTag(const std::vector<std::string>& serviceTag);
std::vector<std::string> getSkillGroupId()const;
void setSkillGroupId(const std::vector<std::string>& skillGroupId);
std::string getCalleeNumber()const;
void setCalleeNumber(const std::string& calleeNumber);
private:
std::vector<std::string> prioritizedCallerArea_;
int count_;
std::string accessKeyId_;
std::string instanceId_;
std::vector<std::string> serviceTag_;
std::vector<std::string> skillGroupId_;
std::string calleeNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSREQUEST_H_

View File

@@ -1,76 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PickOutboundNumbersByTagsResult : public ServiceResult
{
public:
struct DialNumberPair
{
struct Callee
{
std::string number;
std::string city;
std::string province;
};
struct Caller
{
std::string number;
std::string city;
std::string province;
};
Callee callee;
Caller caller;
};
PickOutboundNumbersByTagsResult();
explicit PickOutboundNumbersByTagsResult(const std::string &payload);
~PickOutboundNumbersByTagsResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
std::vector<DialNumberPair> getDialNumberPairs()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
std::vector<DialNumberPair> dialNumberPairs_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSRESULT_H_

View File

@@ -1,66 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIAREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PreCreateMediaRequest : public RpcServiceRequest
{
public:
PreCreateMediaRequest();
~PreCreateMediaRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getType()const;
void setType(const std::string& type);
std::string getContent()const;
void setContent(const std::string& content);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFileName()const;
void setFileName(const std::string& fileName);
std::string getName()const;
void setName(const std::string& name);
private:
std::string description_;
std::string type_;
std::string content_;
std::string accessKeyId_;
std::string instanceId_;
std::string fileName_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIAREQUEST_H_

View File

@@ -1,66 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIARESULT_H_
#define ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PreCreateMediaResult : public ServiceResult
{
public:
struct PreCreateMediaParam
{
std::string ossFile;
std::string ossBucket;
std::string signatureUrl;
std::string ossFilePath;
};
PreCreateMediaResult();
explicit PreCreateMediaResult(const std::string &payload);
~PreCreateMediaResult();
std::string getMessage()const;
int getHttpStatusCode()const;
PreCreateMediaParam getPreCreateMediaParam()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
PreCreateMediaParam preCreateMediaParam_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIARESULT_H_

View File

@@ -1,66 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIAREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PreModifyMediaRequest : public RpcServiceRequest
{
public:
PreModifyMediaRequest();
~PreModifyMediaRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getType()const;
void setType(const std::string& type);
std::string getContent()const;
void setContent(const std::string& content);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFileName()const;
void setFileName(const std::string& fileName);
std::string getName()const;
void setName(const std::string& name);
private:
std::string description_;
std::string type_;
std::string content_;
std::string accessKeyId_;
std::string instanceId_;
std::string fileName_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIAREQUEST_H_

View File

@@ -1,66 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIARESULT_H_
#define ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PreModifyMediaResult : public ServiceResult
{
public:
struct PreModifyMediaParam
{
std::string ossFile;
std::string ossBucket;
std::string signatureUrl;
std::string ossFilePath;
};
PreModifyMediaResult();
explicit PreModifyMediaResult(const std::string &payload);
~PreModifyMediaResult();
std::string getMessage()const;
PreModifyMediaParam getPreModifyMediaParam()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
PreModifyMediaParam preModifyMediaParam_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIARESULT_H_

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDFAILUREREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDFAILUREREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PredictiveRecordFailureRequest : public RpcServiceRequest
{
public:
PredictiveRecordFailureRequest();
~PredictiveRecordFailureRequest();
std::string getCallId()const;
void setCallId(const std::string& callId);
long getActualTime()const;
void setActualTime(long actualTime);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getDispositionCode()const;
void setDispositionCode(const std::string& dispositionCode);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getCabInstanceId()const;
void setCabInstanceId(const std::string& cabInstanceId);
long getCabInstanceOwnerId()const;
void setCabInstanceOwnerId(long cabInstanceOwnerId);
private:
std::string callId_;
long actualTime_;
std::string callingNumber_;
std::string instanceId_;
std::string dispositionCode_;
std::string calledNumber_;
std::string taskId_;
std::string cabInstanceId_;
long cabInstanceOwnerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDFAILUREREQUEST_H_

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDSUCCESSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDSUCCESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PredictiveRecordSuccessRequest : public RpcServiceRequest
{
public:
PredictiveRecordSuccessRequest();
~PredictiveRecordSuccessRequest();
std::string getCallId()const;
void setCallId(const std::string& callId);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
std::string getCallType()const;
void setCallType(const std::string& callType);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getCabInstanceId()const;
void setCabInstanceId(const std::string& cabInstanceId);
long getCabInstanceOwnerId()const;
void setCabInstanceOwnerId(long cabInstanceOwnerId);
private:
std::string callId_;
std::string callingNumber_;
std::string instanceId_;
std::string calledNumber_;
std::string callType_;
std::string scenarioId_;
std::string taskId_;
std::string cabInstanceId_;
long cabInstanceOwnerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDSUCCESSREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_QUERYREDIALINDICATORREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_QUERYREDIALINDICATORREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT QueryRedialIndicatorRequest : public RpcServiceRequest
{
public:
QueryRedialIndicatorRequest();
~QueryRedialIndicatorRequest();
std::string getContactId()const;
void setContactId(const std::string& contactId);
bool getMockResponse()const;
void setMockResponse(bool mockResponse);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string contactId_;
bool mockResponse_;
std::string accessKeyId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_QUERYREDIALINDICATORREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVENUMBERFROMSKILLGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_REMOVENUMBERFROMSKILLGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT RemoveNumberFromSkillGroupRequest : public RpcServiceRequest
{
public:
RemoveNumberFromSkillGroupRequest();
~RemoveNumberFromSkillGroupRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getNumber()const;
void setNumber(const std::string& number);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
private:
std::string accessKeyId_;
std::string number_;
std::string instanceId_;
std::string skillGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVENUMBERFROMSKILLGROUPREQUEST_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_SIMPLEDIALREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_SIMPLEDIALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT SimpleDialRequest : public RpcServiceRequest
{
public:
SimpleDialRequest();
~SimpleDialRequest();
std::string getCallee()const;
void setCallee(const std::string& callee);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getCaller()const;
void setCaller(const std::string& caller);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getContractFlowId()const;
void setContractFlowId(const std::string& contractFlowId);
private:
std::string callee_;
std::string accessKeyId_;
std::string caller_;
std::string instanceId_;
std::string contractFlowId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_SIMPLEDIALREQUEST_H_

View File

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_SIMPLEDIALRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_SIMPLEDIALRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT SimpleDialResult : public ServiceResult
{
public:
SimpleDialResult();
explicit SimpleDialResult(const std::string &payload);
~SimpleDialResult();
std::string getStatusDesc()const;
std::string getTaskId()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
std::string getStatusCode()const;
bool getSuccess()const;
std::string getTimeStamp()const;
protected:
void parse(const std::string &payload);
private:
std::string statusDesc_;
std::string taskId_;
std::string message_;
int httpStatusCode_;
std::string code_;
std::string statusCode_;
bool success_;
std::string timeStamp_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_SIMPLEDIALRESULT_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT TwoPartiesCallRequest : public RpcServiceRequest
{
public:
TwoPartiesCallRequest();
~TwoPartiesCallRequest();
std::string getCalleeCustomer()const;
void setCalleeCustomer(const std::string& calleeCustomer);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getCaller()const;
void setCaller(const std::string& caller);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getCalleeAgent()const;
void setCalleeAgent(const std::string& calleeAgent);
private:
std::string calleeCustomer_;
std::string accessKeyId_;
std::string caller_;
std::string instanceId_;
std::string calleeAgent_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLREQUEST_H_

View File

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT TwoPartiesCallResult : public ServiceResult
{
public:
TwoPartiesCallResult();
explicit TwoPartiesCallResult(const std::string &payload);
~TwoPartiesCallResult();
std::string getStatusDesc()const;
std::string getTaskId()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
std::string getStatusCode()const;
bool getSuccess()const;
std::string getTimeStamp()const;
protected:
void parse(const std::string &payload);
private:
std::string statusDesc_;
std::string taskId_;
std::string message_;
int httpStatusCode_;
std::string code_;
std::string statusCode_;
bool success_;
std::string timeStamp_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLRESULT_H_

File diff suppressed because it is too large Load Diff

View File

@@ -1,71 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ccc/model/AddNumberToSkillGroupRequest.h>
using AlibabaCloud::CCC::Model::AddNumberToSkillGroupRequest;
AddNumberToSkillGroupRequest::AddNumberToSkillGroupRequest() :
RpcServiceRequest("ccc", "2017-07-05", "AddNumberToSkillGroup")
{}
AddNumberToSkillGroupRequest::~AddNumberToSkillGroupRequest()
{}
std::string AddNumberToSkillGroupRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void AddNumberToSkillGroupRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string AddNumberToSkillGroupRequest::getNumber()const
{
return number_;
}
void AddNumberToSkillGroupRequest::setNumber(const std::string& number)
{
number_ = number;
setCoreParameter("Number", number);
}
std::string AddNumberToSkillGroupRequest::getInstanceId()const
{
return instanceId_;
}
void AddNumberToSkillGroupRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string AddNumberToSkillGroupRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void AddNumberToSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setCoreParameter("SkillGroupId", skillGroupId);
}

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ccc/model/CancelPredictiveJobsRequest.h>
using AlibabaCloud::CCC::Model::CancelPredictiveJobsRequest;
CancelPredictiveJobsRequest::CancelPredictiveJobsRequest() :
RpcServiceRequest("ccc", "2017-07-05", "CancelPredictiveJobs")
{}
CancelPredictiveJobsRequest::~CancelPredictiveJobsRequest()
{}
bool CancelPredictiveJobsRequest::getAll()const
{
return all_;
}
void CancelPredictiveJobsRequest::setAll(bool all)
{
all_ = all;
setCoreParameter("All", all ? "true" : "false");
}
std::vector<std::string> CancelPredictiveJobsRequest::getJobId()const
{
return jobId_;
}
void CancelPredictiveJobsRequest::setJobId(const std::vector<std::string>& jobId)
{
jobId_ = jobId;
for(int i = 0; i!= jobId.size(); i++)
setCoreParameter("JobId."+ std::to_string(i), jobId.at(i));
}
std::string CancelPredictiveJobsRequest::getInstanceId()const
{
return instanceId_;
}
void CancelPredictiveJobsRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string CancelPredictiveJobsRequest::getJobGroupId()const
{
return jobGroupId_;
}
void CancelPredictiveJobsRequest::setJobGroupId(const std::string& jobGroupId)
{
jobGroupId_ = jobGroupId;
setCoreParameter("JobGroupId", jobGroupId);
}

View File

@@ -1,127 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ccc/model/CreatePredictiveJobGroupRequest.h>
using AlibabaCloud::CCC::Model::CreatePredictiveJobGroupRequest;
CreatePredictiveJobGroupRequest::CreatePredictiveJobGroupRequest() :
RpcServiceRequest("ccc", "2017-07-05", "CreatePredictiveJobGroup")
{}
CreatePredictiveJobGroupRequest::~CreatePredictiveJobGroupRequest()
{}
std::string CreatePredictiveJobGroupRequest::getDescription()const
{
return description_;
}
void CreatePredictiveJobGroupRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
}
bool CreatePredictiveJobGroupRequest::getTimingSchedule()const
{
return timingSchedule_;
}
void CreatePredictiveJobGroupRequest::setTimingSchedule(bool timingSchedule)
{
timingSchedule_ = timingSchedule;
setCoreParameter("TimingSchedule", timingSchedule ? "true" : "false");
}
std::vector<std::string> CreatePredictiveJobGroupRequest::getJobsJson()const
{
return jobsJson_;
}
void CreatePredictiveJobGroupRequest::setJobsJson(const std::vector<std::string>& jobsJson)
{
jobsJson_ = jobsJson;
for(int i = 0; i!= jobsJson.size(); i++)
setCoreParameter("JobsJson."+ std::to_string(i), jobsJson.at(i));
}
std::string CreatePredictiveJobGroupRequest::getJobFilePath()const
{
return jobFilePath_;
}
void CreatePredictiveJobGroupRequest::setJobFilePath(const std::string& jobFilePath)
{
jobFilePath_ = jobFilePath;
setCoreParameter("JobFilePath", jobFilePath);
}
std::string CreatePredictiveJobGroupRequest::getInstanceId()const
{
return instanceId_;
}
void CreatePredictiveJobGroupRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
bool CreatePredictiveJobGroupRequest::getIsDraft()const
{
return isDraft_;
}
void CreatePredictiveJobGroupRequest::setIsDraft(bool isDraft)
{
isDraft_ = isDraft;
setCoreParameter("IsDraft", isDraft ? "true" : "false");
}
std::string CreatePredictiveJobGroupRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void CreatePredictiveJobGroupRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setCoreParameter("SkillGroupId", skillGroupId);
}
std::string CreatePredictiveJobGroupRequest::getStrategyJson()const
{
return strategyJson_;
}
void CreatePredictiveJobGroupRequest::setStrategyJson(const std::string& strategyJson)
{
strategyJson_ = strategyJson;
setCoreParameter("StrategyJson", strategyJson);
}
std::string CreatePredictiveJobGroupRequest::getName()const
{
return name_;
}
void CreatePredictiveJobGroupRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
}

View File

@@ -1,79 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ccc/model/CreatePredictiveJobGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
CreatePredictiveJobGroupResult::CreatePredictiveJobGroupResult() :
ServiceResult()
{}
CreatePredictiveJobGroupResult::CreatePredictiveJobGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreatePredictiveJobGroupResult::~CreatePredictiveJobGroupResult()
{}
void CreatePredictiveJobGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["JobGroupId"].isNull())
jobGroupId_ = value["JobGroupId"].asString();
}
std::string CreatePredictiveJobGroupResult::getJobGroupId()const
{
return jobGroupId_;
}
std::string CreatePredictiveJobGroupResult::getMessage()const
{
return message_;
}
int CreatePredictiveJobGroupResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string CreatePredictiveJobGroupResult::getCode()const
{
return code_;
}
bool CreatePredictiveJobGroupResult::getSuccess()const
{
return success_;
}

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ccc/model/CreatePredictiveJobsRequest.h>
using AlibabaCloud::CCC::Model::CreatePredictiveJobsRequest;
CreatePredictiveJobsRequest::CreatePredictiveJobsRequest() :
RpcServiceRequest("ccc", "2017-07-05", "CreatePredictiveJobs")
{}
CreatePredictiveJobsRequest::~CreatePredictiveJobsRequest()
{}
std::vector<std::string> CreatePredictiveJobsRequest::getJobsJson()const
{
return jobsJson_;
}
void CreatePredictiveJobsRequest::setJobsJson(const std::vector<std::string>& jobsJson)
{
jobsJson_ = jobsJson;
for(int i = 0; i!= jobsJson.size(); i++)
setCoreParameter("JobsJson."+ std::to_string(i), jobsJson.at(i));
}
std::string CreatePredictiveJobsRequest::getInstanceId()const
{
return instanceId_;
}
void CreatePredictiveJobsRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string CreatePredictiveJobsRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void CreatePredictiveJobsRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setCoreParameter("SkillGroupId", skillGroupId);
}
std::string CreatePredictiveJobsRequest::getStrategyJson()const
{
return strategyJson_;
}
void CreatePredictiveJobsRequest::setStrategyJson(const std::string& strategyJson)
{
strategyJson_ = strategyJson;
setCoreParameter("StrategyJson", strategyJson);
}

View File

@@ -1,79 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ccc/model/CreatePredictiveJobsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
CreatePredictiveJobsResult::CreatePredictiveJobsResult() :
ServiceResult()
{}
CreatePredictiveJobsResult::CreatePredictiveJobsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreatePredictiveJobsResult::~CreatePredictiveJobsResult()
{}
void CreatePredictiveJobsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["JobGroupId"].isNull())
jobGroupId_ = value["JobGroupId"].asString();
}
std::string CreatePredictiveJobsResult::getJobGroupId()const
{
return jobGroupId_;
}
std::string CreatePredictiveJobsResult::getMessage()const
{
return message_;
}
int CreatePredictiveJobsResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string CreatePredictiveJobsResult::getCode()const
{
return code_;
}
bool CreatePredictiveJobsResult::getSuccess()const
{
return success_;
}

View File

@@ -1,71 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ccc/model/GetAgentStateRequest.h>
using AlibabaCloud::CCC::Model::GetAgentStateRequest;
GetAgentStateRequest::GetAgentStateRequest() :
RpcServiceRequest("ccc", "2017-07-05", "GetAgentState")
{}
GetAgentStateRequest::~GetAgentStateRequest()
{}
std::string GetAgentStateRequest::getAgentId()const
{
return agentId_;
}
void GetAgentStateRequest::setAgentId(const std::string& agentId)
{
agentId_ = agentId;
setCoreParameter("AgentId", agentId);
}
std::string GetAgentStateRequest::getDn()const
{
return dn_;
}
void GetAgentStateRequest::setDn(const std::string& dn)
{
dn_ = dn;
setCoreParameter("Dn", dn);
}
std::string GetAgentStateRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetAgentStateRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string GetAgentStateRequest::getInstanceId()const
{
return instanceId_;
}
void GetAgentStateRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}

View File

@@ -1,92 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ccc/model/GetAgentStateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
GetAgentStateResult::GetAgentStateResult() :
ServiceResult()
{}
GetAgentStateResult::GetAgentStateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAgentStateResult::~GetAgentStateResult()
{}
void GetAgentStateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["InstanceId"].isNull())
data_.instanceId = dataNode["InstanceId"].asString();
if(!dataNode["AgentId"].isNull())
data_.agentId = dataNode["AgentId"].asString();
if(!dataNode["LoginName"].isNull())
data_.loginName = dataNode["LoginName"].asString();
if(!dataNode["AgentName"].isNull())
data_.agentName = dataNode["AgentName"].asString();
if(!dataNode["State"].isNull())
data_.state = dataNode["State"].asString();
if(!dataNode["Dn"].isNull())
data_.dn = dataNode["Dn"].asString();
if(!dataNode["StateDuration"].isNull())
data_.stateDuration = dataNode["StateDuration"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string GetAgentStateResult::getMessage()const
{
return message_;
}
int GetAgentStateResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
GetAgentStateResult::Data GetAgentStateResult::getData()const
{
return data_;
}
std::string GetAgentStateResult::getCode()const
{
return code_;
}
bool GetAgentStateResult::getSuccess()const
{
return success_;
}

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ccc/model/GetContactIdentifyByOutBoundTaskIdRequest.h>
using AlibabaCloud::CCC::Model::GetContactIdentifyByOutBoundTaskIdRequest;
GetContactIdentifyByOutBoundTaskIdRequest::GetContactIdentifyByOutBoundTaskIdRequest() :
RpcServiceRequest("ccc", "2017-07-05", "GetContactIdentifyByOutBoundTaskId")
{}
GetContactIdentifyByOutBoundTaskIdRequest::~GetContactIdentifyByOutBoundTaskIdRequest()
{}
std::string GetContactIdentifyByOutBoundTaskIdRequest::getInstanceId()const
{
return instanceId_;
}
void GetContactIdentifyByOutBoundTaskIdRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string GetContactIdentifyByOutBoundTaskIdRequest::getOutboundTaskId()const
{
return outboundTaskId_;
}
void GetContactIdentifyByOutBoundTaskIdRequest::setOutboundTaskId(const std::string& outboundTaskId)
{
outboundTaskId_ = outboundTaskId;
setCoreParameter("OutboundTaskId", outboundTaskId);
}

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ccc/model/GetContactIdentifyByOutBoundTaskIdResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
GetContactIdentifyByOutBoundTaskIdResult::GetContactIdentifyByOutBoundTaskIdResult() :
ServiceResult()
{}
GetContactIdentifyByOutBoundTaskIdResult::GetContactIdentifyByOutBoundTaskIdResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetContactIdentifyByOutBoundTaskIdResult::~GetContactIdentifyByOutBoundTaskIdResult()
{}
void GetContactIdentifyByOutBoundTaskIdResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto contactIdentityNode = value["ContactIdentity"];
if(!contactIdentityNode["ContactReferrnceId"].isNull())
contactIdentity_.contactReferrnceId = contactIdentityNode["ContactReferrnceId"].asString();
if(!contactIdentityNode["JobGroupId"].isNull())
contactIdentity_.jobGroupId = contactIdentityNode["JobGroupId"].asString();
if(!contactIdentityNode["UserPhone"].isNull())
contactIdentity_.userPhone = contactIdentityNode["UserPhone"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string GetContactIdentifyByOutBoundTaskIdResult::getMessage()const
{
return message_;
}
GetContactIdentifyByOutBoundTaskIdResult::ContactIdentity GetContactIdentifyByOutBoundTaskIdResult::getContactIdentity()const
{
return contactIdentity_;
}
int GetContactIdentifyByOutBoundTaskIdResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string GetContactIdentifyByOutBoundTaskIdResult::getCode()const
{
return code_;
}
bool GetContactIdentifyByOutBoundTaskIdResult::getSuccess()const
{
return success_;
}

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ccc/model/GetContactInfoByOutboundTaskIdRequest.h>
using AlibabaCloud::CCC::Model::GetContactInfoByOutboundTaskIdRequest;
GetContactInfoByOutboundTaskIdRequest::GetContactInfoByOutboundTaskIdRequest() :
RpcServiceRequest("ccc", "2017-07-05", "GetContactInfoByOutboundTaskId")
{}
GetContactInfoByOutboundTaskIdRequest::~GetContactInfoByOutboundTaskIdRequest()
{}
std::string GetContactInfoByOutboundTaskIdRequest::getInstanceId()const
{
return instanceId_;
}
void GetContactInfoByOutboundTaskIdRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string GetContactInfoByOutboundTaskIdRequest::getOutboundTaskId()const
{
return outboundTaskId_;
}
void GetContactInfoByOutboundTaskIdRequest::setOutboundTaskId(const std::string& outboundTaskId)
{
outboundTaskId_ = outboundTaskId;
setCoreParameter("OutboundTaskId", outboundTaskId);
}
std::string GetContactInfoByOutboundTaskIdRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void GetContactInfoByOutboundTaskIdRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setCoreParameter("SkillGroupId", skillGroupId);
}

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