Compare commits
23 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e1ae9bd807 | ||
|
|
3fdcb5b22c | ||
|
|
431638f102 | ||
|
|
ba63e32429 | ||
|
|
3525d60729 | ||
|
|
bc4cc968c2 | ||
|
|
863129ac92 | ||
|
|
bfee7629d7 | ||
|
|
9f6ab32ea8 | ||
|
|
127ebd7d3a | ||
|
|
9b9e034594 | ||
|
|
f13956ad50 | ||
|
|
294c94c2ec | ||
|
|
c2b59302fa | ||
|
|
742ad5f67c | ||
|
|
099ec7bb13 | ||
|
|
b972642ffe | ||
|
|
ed4870b066 | ||
|
|
5ce3266e7f | ||
|
|
d850c22c0f | ||
|
|
363f56d62b | ||
|
|
cd4b584e15 | ||
|
|
f9eb4e30b8 |
73
CHANGELOG
73
CHANGELOG
@@ -1,3 +1,76 @@
|
||||
2021-04-28 Version: 1.36.702
|
||||
- Export new API.
|
||||
|
||||
2021-04-27 Version: 1.36.701
|
||||
- GetProjectMember support pageSize.
|
||||
|
||||
2021-04-27 Version: 1.36.700
|
||||
- Generated 2016-11-01 for `live`.
|
||||
|
||||
2021-04-27 Version: 1.36.699
|
||||
- Add CustomMessage to CreateMergeFaceGroupsJob.
|
||||
|
||||
2021-04-26 Version: 1.36.698
|
||||
- Generated 2019-06-01 for `smc`.
|
||||
|
||||
2021-04-22 Version: 1.36.697
|
||||
- Support NetworkInterface TrafficMode.
|
||||
|
||||
2021-04-22 Version: 1.36.696
|
||||
- AcceptInquiredSystemEvent adds Choice parameter.
|
||||
- DescribeInstanceHistoryEvents supports multiple resource types.
|
||||
|
||||
2021-04-22 Version: 1.36.695
|
||||
- Support CEN latest Apis.
|
||||
|
||||
2021-04-22 Version: 1.36.694
|
||||
- Support GetPhysicalDatabase API.
|
||||
|
||||
2021-04-21 Version: 1.36.693
|
||||
- Add API to list repo members with group inherited info.
|
||||
|
||||
2021-04-20 Version: 1.36.692
|
||||
- Support Tag.
|
||||
|
||||
2021-04-20 Version: 1.36.691
|
||||
- Export predictive dialer API.
|
||||
|
||||
2021-04-20 Version: 1.36.690
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2021-04-20 Version: 1.36.689
|
||||
- LivenessFaceVerify ContrastFaceVerify CompareFaceVerify API Return CertifyId.
|
||||
|
||||
2021-04-19 Version: 1.36.688
|
||||
- Export StartBack2BackCall API.
|
||||
|
||||
2021-04-19 Version: 1.36.687
|
||||
- Generated 2020-10-29 for `reid_cloud`.
|
||||
|
||||
2021-04-17 Version: 1.36.686
|
||||
- Update RunMedQA.
|
||||
|
||||
2021-04-16 Version: 1.36.685
|
||||
- Support devops organization deletion.
|
||||
|
||||
2021-04-16 Version: 1.36.684
|
||||
- Add CheckProductOpen.
|
||||
- Add az routing policy.
|
||||
|
||||
2021-04-16 Version: 1.36.683
|
||||
- Generated 2020-10-29 for `reid_cloud`.
|
||||
|
||||
2021-04-16 Version: 1.36.682
|
||||
- Add API GetDomain.
|
||||
- Add API ListSystemAnalyzers.
|
||||
- Add parameter domain to API ListAppGroups, ModifyAppGroup, CreateAppGroup, DescribeAppGroup, DescribeApp.
|
||||
|
||||
2021-04-14 Version: 1.36.681
|
||||
- Support latest openAPIs.
|
||||
|
||||
2021-04-14 Version: 1.36.680
|
||||
- Delete MultiMedia Post Scan API.
|
||||
|
||||
2021-04-14 Version: 1.36.679
|
||||
- Download url add fixed domain.
|
||||
|
||||
|
||||
@@ -31,6 +31,8 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/CreateCenResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToCenRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToCenResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenRouteMapRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenRouteMapResult.h
|
||||
include/alibabacloud/cbn/model/CreateFlowlogRequest.h
|
||||
@@ -41,6 +43,8 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/DeleteCenResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToCenRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToCenResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenRouteMapRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenRouteMapResult.h
|
||||
include/alibabacloud/cbn/model/DeleteFlowlogRequest.h
|
||||
@@ -113,6 +117,8 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/SetCenInterRegionBandwidthLimitResult.h
|
||||
include/alibabacloud/cbn/model/TagResourcesRequest.h
|
||||
include/alibabacloud/cbn/model/TagResourcesResult.h
|
||||
include/alibabacloud/cbn/model/TempUpgradeCenBandwidthPackageSpecRequest.h
|
||||
include/alibabacloud/cbn/model/TempUpgradeCenBandwidthPackageSpecResult.h
|
||||
include/alibabacloud/cbn/model/UnassociateCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/UnassociateCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/UnroutePrivateZoneInCenToVpcRequest.h
|
||||
@@ -134,6 +140,8 @@ set(cbn_src
|
||||
src/model/CreateCenResult.cc
|
||||
src/model/CreateCenBandwidthPackageRequest.cc
|
||||
src/model/CreateCenBandwidthPackageResult.cc
|
||||
src/model/CreateCenChildInstanceRouteEntryToCenRequest.cc
|
||||
src/model/CreateCenChildInstanceRouteEntryToCenResult.cc
|
||||
src/model/CreateCenRouteMapRequest.cc
|
||||
src/model/CreateCenRouteMapResult.cc
|
||||
src/model/CreateFlowlogRequest.cc
|
||||
@@ -144,6 +152,8 @@ set(cbn_src
|
||||
src/model/DeleteCenResult.cc
|
||||
src/model/DeleteCenBandwidthPackageRequest.cc
|
||||
src/model/DeleteCenBandwidthPackageResult.cc
|
||||
src/model/DeleteCenChildInstanceRouteEntryToCenRequest.cc
|
||||
src/model/DeleteCenChildInstanceRouteEntryToCenResult.cc
|
||||
src/model/DeleteCenRouteMapRequest.cc
|
||||
src/model/DeleteCenRouteMapResult.cc
|
||||
src/model/DeleteFlowlogRequest.cc
|
||||
@@ -216,6 +226,8 @@ set(cbn_src
|
||||
src/model/SetCenInterRegionBandwidthLimitResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/TempUpgradeCenBandwidthPackageSpecRequest.cc
|
||||
src/model/TempUpgradeCenBandwidthPackageSpecResult.cc
|
||||
src/model/UnassociateCenBandwidthPackageRequest.cc
|
||||
src/model/UnassociateCenBandwidthPackageResult.cc
|
||||
src/model/UnroutePrivateZoneInCenToVpcRequest.cc
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
#include "model/CreateCenResult.h"
|
||||
#include "model/CreateCenBandwidthPackageRequest.h"
|
||||
#include "model/CreateCenBandwidthPackageResult.h"
|
||||
#include "model/CreateCenChildInstanceRouteEntryToCenRequest.h"
|
||||
#include "model/CreateCenChildInstanceRouteEntryToCenResult.h"
|
||||
#include "model/CreateCenRouteMapRequest.h"
|
||||
#include "model/CreateCenRouteMapResult.h"
|
||||
#include "model/CreateFlowlogRequest.h"
|
||||
@@ -42,6 +44,8 @@
|
||||
#include "model/DeleteCenResult.h"
|
||||
#include "model/DeleteCenBandwidthPackageRequest.h"
|
||||
#include "model/DeleteCenBandwidthPackageResult.h"
|
||||
#include "model/DeleteCenChildInstanceRouteEntryToCenRequest.h"
|
||||
#include "model/DeleteCenChildInstanceRouteEntryToCenResult.h"
|
||||
#include "model/DeleteCenRouteMapRequest.h"
|
||||
#include "model/DeleteCenRouteMapResult.h"
|
||||
#include "model/DeleteFlowlogRequest.h"
|
||||
@@ -114,6 +118,8 @@
|
||||
#include "model/SetCenInterRegionBandwidthLimitResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/TempUpgradeCenBandwidthPackageSpecRequest.h"
|
||||
#include "model/TempUpgradeCenBandwidthPackageSpecResult.h"
|
||||
#include "model/UnassociateCenBandwidthPackageRequest.h"
|
||||
#include "model/UnassociateCenBandwidthPackageResult.h"
|
||||
#include "model/UnroutePrivateZoneInCenToVpcRequest.h"
|
||||
@@ -146,6 +152,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateCenBandwidthPackageResult> CreateCenBandwidthPackageOutcome;
|
||||
typedef std::future<CreateCenBandwidthPackageOutcome> CreateCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenBandwidthPackageRequest&, const CreateCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenBandwidthPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenChildInstanceRouteEntryToCenResult> CreateCenChildInstanceRouteEntryToCenOutcome;
|
||||
typedef std::future<CreateCenChildInstanceRouteEntryToCenOutcome> CreateCenChildInstanceRouteEntryToCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenChildInstanceRouteEntryToCenRequest&, const CreateCenChildInstanceRouteEntryToCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenChildInstanceRouteEntryToCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenRouteMapResult> CreateCenRouteMapOutcome;
|
||||
typedef std::future<CreateCenRouteMapOutcome> CreateCenRouteMapOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenRouteMapRequest&, const CreateCenRouteMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenRouteMapAsyncHandler;
|
||||
@@ -161,6 +170,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteCenBandwidthPackageResult> DeleteCenBandwidthPackageOutcome;
|
||||
typedef std::future<DeleteCenBandwidthPackageOutcome> DeleteCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenBandwidthPackageRequest&, const DeleteCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenBandwidthPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenChildInstanceRouteEntryToCenResult> DeleteCenChildInstanceRouteEntryToCenOutcome;
|
||||
typedef std::future<DeleteCenChildInstanceRouteEntryToCenOutcome> DeleteCenChildInstanceRouteEntryToCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenChildInstanceRouteEntryToCenRequest&, const DeleteCenChildInstanceRouteEntryToCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenChildInstanceRouteEntryToCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenRouteMapResult> DeleteCenRouteMapOutcome;
|
||||
typedef std::future<DeleteCenRouteMapOutcome> DeleteCenRouteMapOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenRouteMapRequest&, const DeleteCenRouteMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenRouteMapAsyncHandler;
|
||||
@@ -269,6 +281,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::TempUpgradeCenBandwidthPackageSpecResult> TempUpgradeCenBandwidthPackageSpecOutcome;
|
||||
typedef std::future<TempUpgradeCenBandwidthPackageSpecOutcome> TempUpgradeCenBandwidthPackageSpecOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::TempUpgradeCenBandwidthPackageSpecRequest&, const TempUpgradeCenBandwidthPackageSpecOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TempUpgradeCenBandwidthPackageSpecAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnassociateCenBandwidthPackageResult> UnassociateCenBandwidthPackageOutcome;
|
||||
typedef std::future<UnassociateCenBandwidthPackageOutcome> UnassociateCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UnassociateCenBandwidthPackageRequest&, const UnassociateCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnassociateCenBandwidthPackageAsyncHandler;
|
||||
@@ -301,6 +316,9 @@ namespace AlibabaCloud
|
||||
CreateCenBandwidthPackageOutcome createCenBandwidthPackage(const Model::CreateCenBandwidthPackageRequest &request)const;
|
||||
void createCenBandwidthPackageAsync(const Model::CreateCenBandwidthPackageRequest& request, const CreateCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenBandwidthPackageOutcomeCallable createCenBandwidthPackageCallable(const Model::CreateCenBandwidthPackageRequest& request) const;
|
||||
CreateCenChildInstanceRouteEntryToCenOutcome createCenChildInstanceRouteEntryToCen(const Model::CreateCenChildInstanceRouteEntryToCenRequest &request)const;
|
||||
void createCenChildInstanceRouteEntryToCenAsync(const Model::CreateCenChildInstanceRouteEntryToCenRequest& request, const CreateCenChildInstanceRouteEntryToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenChildInstanceRouteEntryToCenOutcomeCallable createCenChildInstanceRouteEntryToCenCallable(const Model::CreateCenChildInstanceRouteEntryToCenRequest& request) const;
|
||||
CreateCenRouteMapOutcome createCenRouteMap(const Model::CreateCenRouteMapRequest &request)const;
|
||||
void createCenRouteMapAsync(const Model::CreateCenRouteMapRequest& request, const CreateCenRouteMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenRouteMapOutcomeCallable createCenRouteMapCallable(const Model::CreateCenRouteMapRequest& request) const;
|
||||
@@ -316,6 +334,9 @@ namespace AlibabaCloud
|
||||
DeleteCenBandwidthPackageOutcome deleteCenBandwidthPackage(const Model::DeleteCenBandwidthPackageRequest &request)const;
|
||||
void deleteCenBandwidthPackageAsync(const Model::DeleteCenBandwidthPackageRequest& request, const DeleteCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenBandwidthPackageOutcomeCallable deleteCenBandwidthPackageCallable(const Model::DeleteCenBandwidthPackageRequest& request) const;
|
||||
DeleteCenChildInstanceRouteEntryToCenOutcome deleteCenChildInstanceRouteEntryToCen(const Model::DeleteCenChildInstanceRouteEntryToCenRequest &request)const;
|
||||
void deleteCenChildInstanceRouteEntryToCenAsync(const Model::DeleteCenChildInstanceRouteEntryToCenRequest& request, const DeleteCenChildInstanceRouteEntryToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenChildInstanceRouteEntryToCenOutcomeCallable deleteCenChildInstanceRouteEntryToCenCallable(const Model::DeleteCenChildInstanceRouteEntryToCenRequest& request) const;
|
||||
DeleteCenRouteMapOutcome deleteCenRouteMap(const Model::DeleteCenRouteMapRequest &request)const;
|
||||
void deleteCenRouteMapAsync(const Model::DeleteCenRouteMapRequest& request, const DeleteCenRouteMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenRouteMapOutcomeCallable deleteCenRouteMapCallable(const Model::DeleteCenRouteMapRequest& request) const;
|
||||
@@ -424,6 +445,9 @@ namespace AlibabaCloud
|
||||
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
TempUpgradeCenBandwidthPackageSpecOutcome tempUpgradeCenBandwidthPackageSpec(const Model::TempUpgradeCenBandwidthPackageSpecRequest &request)const;
|
||||
void tempUpgradeCenBandwidthPackageSpecAsync(const Model::TempUpgradeCenBandwidthPackageSpecRequest& request, const TempUpgradeCenBandwidthPackageSpecAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TempUpgradeCenBandwidthPackageSpecOutcomeCallable tempUpgradeCenBandwidthPackageSpecCallable(const Model::TempUpgradeCenBandwidthPackageSpecRequest& request) const;
|
||||
UnassociateCenBandwidthPackageOutcome unassociateCenBandwidthPackage(const Model::UnassociateCenBandwidthPackageRequest &request)const;
|
||||
void unassociateCenBandwidthPackageAsync(const Model::UnassociateCenBandwidthPackageRequest& request, const UnassociateCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnassociateCenBandwidthPackageOutcomeCallable unassociateCenBandwidthPackageCallable(const Model::UnassociateCenBandwidthPackageRequest& request) const;
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
int getAutoRenewDuration()const;
|
||||
void setAutoRenewDuration(int autoRenewDuration);
|
||||
std::string getBandwidthPackageChargeType()const;
|
||||
void setBandwidthPackageChargeType(const std::string& bandwidthPackageChargeType);
|
||||
std::string getGeographicRegionBId()const;
|
||||
@@ -59,6 +61,8 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getAutoRenew()const;
|
||||
void setAutoRenew(bool autoRenew);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getPricingCycle()const;
|
||||
@@ -68,6 +72,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
int autoRenewDuration_;
|
||||
std::string bandwidthPackageChargeType_;
|
||||
std::string geographicRegionBId_;
|
||||
int period_;
|
||||
@@ -77,6 +82,7 @@ namespace AlibabaCloud
|
||||
int bandwidth_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
bool autoRenew_;
|
||||
std::string name_;
|
||||
std::string pricingCycle_;
|
||||
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOCENREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOCENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenChildInstanceRouteEntryToCenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCenChildInstanceRouteEntryToCenRequest();
|
||||
~CreateCenChildInstanceRouteEntryToCenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getNextHopGatewayZoneId()const;
|
||||
void setNextHopGatewayZoneId(const std::string& nextHopGatewayZoneId);
|
||||
std::string getChildInstanceRegionId()const;
|
||||
void setChildInstanceRegionId(const std::string& childInstanceRegionId);
|
||||
std::string getRouteTableId()const;
|
||||
void setRouteTableId(const std::string& routeTableId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
long getChildInstanceAliUid()const;
|
||||
void setChildInstanceAliUid(long childInstanceAliUid);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string cenId_;
|
||||
std::string clientToken_;
|
||||
std::string nextHopGatewayZoneId_;
|
||||
std::string childInstanceRegionId_;
|
||||
std::string routeTableId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
long ownerId_;
|
||||
std::string childInstanceType_;
|
||||
std::string childInstanceId_;
|
||||
long childInstanceAliUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOCENREQUEST_H_
|
||||
@@ -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_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOCENRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOCENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenChildInstanceRouteEntryToCenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCenChildInstanceRouteEntryToCenResult();
|
||||
explicit CreateCenChildInstanceRouteEntryToCenResult(const std::string &payload);
|
||||
~CreateCenChildInstanceRouteEntryToCenResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOCENRESULT_H_
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getIpv6Level()const;
|
||||
void setIpv6Level(const std::string& ipv6Level);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string ipv6Level_;
|
||||
std::string description_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -41,14 +41,22 @@ namespace AlibabaCloud
|
||||
void setCommunityMatchMode(const std::string& communityMatchMode);
|
||||
std::string getMapResult()const;
|
||||
void setMapResult(const std::string& mapResult);
|
||||
std::vector<std::string> getDestinationRegionIds()const;
|
||||
void setDestinationRegionIds(const std::vector<std::string>& destinationRegionIds);
|
||||
int getNextPriority()const;
|
||||
void setNextPriority(int nextPriority);
|
||||
std::vector<std::string> getDestinationCidrBlocks()const;
|
||||
void setDestinationCidrBlocks(const std::vector<std::string>& destinationCidrBlocks);
|
||||
bool getSystemPolicy()const;
|
||||
void setSystemPolicy(bool systemPolicy);
|
||||
std::vector<std::string> getOriginalRouteTableIds()const;
|
||||
void setOriginalRouteTableIds(const std::vector<std::string>& originalRouteTableIds);
|
||||
std::vector<std::string> getSourceInstanceIds()const;
|
||||
void setSourceInstanceIds(const std::vector<std::string>& sourceInstanceIds);
|
||||
std::vector<std::string> getSourceRegionIds()const;
|
||||
void setSourceRegionIds(const std::vector<std::string>& sourceRegionIds);
|
||||
std::string getGatewayZoneId()const;
|
||||
void setGatewayZoneId(const std::string& gatewayZoneId);
|
||||
std::vector<long> getMatchAsns()const;
|
||||
void setMatchAsns(const std::vector<long>& matchAsns);
|
||||
int getPreference()const;
|
||||
@@ -69,6 +77,8 @@ namespace AlibabaCloud
|
||||
void setOperateCommunitySet(const std::vector<std::string>& operateCommunitySet);
|
||||
std::vector<std::string> getRouteTypes()const;
|
||||
void setRouteTypes(const std::vector<std::string>& routeTypes);
|
||||
std::string getMatchAddressType()const;
|
||||
void setMatchAddressType(const std::string& matchAddressType);
|
||||
std::string getCidrMatchMode()const;
|
||||
void setCidrMatchMode(const std::string& cidrMatchMode);
|
||||
std::string getCenId()const;
|
||||
@@ -79,6 +89,8 @@ namespace AlibabaCloud
|
||||
void setSourceInstanceIdsReverseMatch(bool sourceInstanceIdsReverseMatch);
|
||||
std::vector<std::string> getDestinationRouteTableIds()const;
|
||||
void setDestinationRouteTableIds(const std::vector<std::string>& destinationRouteTableIds);
|
||||
std::vector<std::string> getSourceZoneIds()const;
|
||||
void setSourceZoneIds(const std::vector<std::string>& sourceZoneIds);
|
||||
std::string getTransmitDirection()const;
|
||||
void setTransmitDirection(const std::string& transmitDirection);
|
||||
std::vector<std::string> getDestinationInstanceIds()const;
|
||||
@@ -102,10 +114,14 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string communityMatchMode_;
|
||||
std::string mapResult_;
|
||||
std::vector<std::string> destinationRegionIds_;
|
||||
int nextPriority_;
|
||||
std::vector<std::string> destinationCidrBlocks_;
|
||||
bool systemPolicy_;
|
||||
std::vector<std::string> originalRouteTableIds_;
|
||||
std::vector<std::string> sourceInstanceIds_;
|
||||
std::vector<std::string> sourceRegionIds_;
|
||||
std::string gatewayZoneId_;
|
||||
std::vector<long> matchAsns_;
|
||||
int preference_;
|
||||
long ownerId_;
|
||||
@@ -116,11 +132,13 @@ namespace AlibabaCloud
|
||||
std::string communityOperateMode_;
|
||||
std::vector<std::string> operateCommunitySet_;
|
||||
std::vector<std::string> routeTypes_;
|
||||
std::string matchAddressType_;
|
||||
std::string cidrMatchMode_;
|
||||
std::string cenId_;
|
||||
std::string description_;
|
||||
bool sourceInstanceIdsReverseMatch_;
|
||||
std::vector<std::string> destinationRouteTableIds_;
|
||||
std::vector<std::string> sourceZoneIds_;
|
||||
std::string transmitDirection_;
|
||||
std::vector<std::string> destinationInstanceIds_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOCENREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOCENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenChildInstanceRouteEntryToCenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCenChildInstanceRouteEntryToCenRequest();
|
||||
~DeleteCenChildInstanceRouteEntryToCenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getChildInstanceRegionId()const;
|
||||
void setChildInstanceRegionId(const std::string& childInstanceRegionId);
|
||||
std::string getRouteTableId()const;
|
||||
void setRouteTableId(const std::string& routeTableId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
long getChildInstanceAliUid()const;
|
||||
void setChildInstanceAliUid(long childInstanceAliUid);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string cenId_;
|
||||
std::string childInstanceRegionId_;
|
||||
std::string routeTableId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
long ownerId_;
|
||||
std::string childInstanceType_;
|
||||
std::string childInstanceId_;
|
||||
long childInstanceAliUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOCENREQUEST_H_
|
||||
@@ -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_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOCENRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOCENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenChildInstanceRouteEntryToCenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToCenResult();
|
||||
explicit DeleteCenChildInstanceRouteEntryToCenResult(const std::string &payload);
|
||||
~DeleteCenChildInstanceRouteEntryToCenResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOCENRESULT_H_
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DescribeCenAttachedChildInstanceAttributeRequest();
|
||||
~DescribeCenAttachedChildInstanceAttributeRequest();
|
||||
|
||||
bool getIncludeRouteTable()const;
|
||||
void setIncludeRouteTable(bool includeRouteTable);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCenId()const;
|
||||
@@ -53,6 +55,7 @@ namespace AlibabaCloud
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
|
||||
private:
|
||||
bool includeRouteTable_;
|
||||
long resourceOwnerId_;
|
||||
std::string cenId_;
|
||||
std::string childInstanceRegionId_;
|
||||
|
||||
@@ -32,13 +32,20 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenAttachedChildInstanceAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ChildInstanceRouteTable
|
||||
{
|
||||
std::string routeTableId;
|
||||
std::string routeTableType;
|
||||
};
|
||||
|
||||
|
||||
DescribeCenAttachedChildInstanceAttributeResult();
|
||||
explicit DescribeCenAttachedChildInstanceAttributeResult(const std::string &payload);
|
||||
~DescribeCenAttachedChildInstanceAttributeResult();
|
||||
std::string getStatus()const;
|
||||
std::vector<ChildInstanceRouteTable> getChildInstanceRouteTables()const;
|
||||
std::string getChildInstanceType()const;
|
||||
std::string getIpv6StatusInCen()const;
|
||||
std::string getCenId()const;
|
||||
std::string getChildInstanceAttachTime()const;
|
||||
long getChildInstanceOwnerId()const;
|
||||
@@ -50,7 +57,9 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::vector<ChildInstanceRouteTable> childInstanceRouteTables_;
|
||||
std::string childInstanceType_;
|
||||
std::string ipv6StatusInCen_;
|
||||
std::string cenId_;
|
||||
std::string childInstanceAttachTime_;
|
||||
long childInstanceOwnerId_;
|
||||
|
||||
@@ -31,6 +31,11 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenBandwidthPackagesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
@@ -51,6 +56,8 @@ namespace AlibabaCloud
|
||||
void setIsOrKey(bool isOrKey);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -66,6 +73,7 @@ namespace AlibabaCloud
|
||||
int pageNumber_;
|
||||
bool isOrKey_;
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -41,6 +41,11 @@ namespace AlibabaCloud
|
||||
std::string bandwidthLimit;
|
||||
std::string localRegionId;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string geographicSpanId;
|
||||
@@ -63,6 +68,7 @@ namespace AlibabaCloud
|
||||
std::string reservationActiveTime;
|
||||
std::string cenBandwidthPackageId;
|
||||
std::string reservationBandwidth;
|
||||
std::vector<CenBandwidthPackage::Tag> tags;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -49,12 +49,16 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
std::string getChildInstanceRouteTableId()const;
|
||||
void setChildInstanceRouteTableId(const std::string& childInstanceRouteTableId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
@@ -66,9 +70,11 @@ namespace AlibabaCloud
|
||||
std::string childInstanceRegionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
long ownerId_;
|
||||
std::string childInstanceType_;
|
||||
std::string childInstanceId_;
|
||||
std::string childInstanceRouteTableId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
struct CenInterRegionBandwidthLimit
|
||||
{
|
||||
std::string status;
|
||||
std::string transitRouterAttachmentId;
|
||||
std::string geographicSpanId;
|
||||
std::string oppositeRegionId;
|
||||
std::string cenId;
|
||||
|
||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCenRegionId()const;
|
||||
@@ -61,6 +63,7 @@ namespace AlibabaCloud
|
||||
int pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
long ownerId_;
|
||||
std::string cenRegionId_;
|
||||
std::string status_;
|
||||
|
||||
@@ -30,6 +30,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenRouteMapsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
DescribeCenRouteMapsRequest();
|
||||
@@ -53,6 +59,8 @@ namespace AlibabaCloud
|
||||
void setRouteMapId(const std::string& routeMapId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::vector<Filter> getFilter()const;
|
||||
void setFilter(const std::vector<Filter>& filter);
|
||||
std::string getCenRegionId()const;
|
||||
void setCenRegionId(const std::string& cenRegionId);
|
||||
|
||||
@@ -66,6 +74,7 @@ namespace AlibabaCloud
|
||||
std::string ownerAccount_;
|
||||
std::string routeMapId_;
|
||||
long ownerId_;
|
||||
std::vector<Filter> filter_;
|
||||
std::string cenRegionId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct RouteMap
|
||||
{
|
||||
std::string matchAddressType;
|
||||
std::string description;
|
||||
bool sourceInstanceIdsReverseMatch;
|
||||
std::string transmitDirection;
|
||||
@@ -54,13 +55,17 @@ namespace AlibabaCloud
|
||||
std::string asPathMatchMode;
|
||||
std::string mapResult;
|
||||
std::string cidrMatchMode;
|
||||
std::vector<std::string> originalRouteTableIds;
|
||||
std::vector<std::string> routeTypes;
|
||||
std::string gatewayZoneId;
|
||||
int preference;
|
||||
std::string communityOperateMode;
|
||||
std::string cenId;
|
||||
std::vector<std::string> destinationRegionIds;
|
||||
int nextPriority;
|
||||
std::vector<std::string> prependAsPath;
|
||||
std::string communityMatchMode;
|
||||
std::vector<std::string> srcZoneIds;
|
||||
std::vector<std::string> matchAsns;
|
||||
std::vector<std::string> sourceRegionIds;
|
||||
};
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct VbrHealthCheck
|
||||
{
|
||||
std::string vbrInstanceRegionId;
|
||||
std::string linkStatus;
|
||||
int healthCheckInterval;
|
||||
std::string vbrInstanceId;
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace AlibabaCloud
|
||||
std::string status;
|
||||
std::string protectionLevel;
|
||||
std::string description;
|
||||
std::string ipv6Level;
|
||||
std::string cenId;
|
||||
std::string creationTime;
|
||||
std::vector<std::string> cenBandwidthPackageIds;
|
||||
|
||||
@@ -37,21 +37,24 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
long getChildInstanceOwnerId()const;
|
||||
void setChildInstanceOwnerId(long childInstanceOwnerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string productType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string productType_;
|
||||
long childInstanceOwnerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getIpv6Level()const;
|
||||
void setIpv6Level(const std::string& ipv6Level);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string cenId_;
|
||||
std::string ipv6Level_;
|
||||
std::string description_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -41,14 +41,20 @@ namespace AlibabaCloud
|
||||
void setCommunityMatchMode(const std::string& communityMatchMode);
|
||||
std::string getMapResult()const;
|
||||
void setMapResult(const std::string& mapResult);
|
||||
std::vector<std::string> getDestinationRegionIds()const;
|
||||
void setDestinationRegionIds(const std::vector<std::string>& destinationRegionIds);
|
||||
int getNextPriority()const;
|
||||
void setNextPriority(int nextPriority);
|
||||
std::vector<std::string> getDestinationCidrBlocks()const;
|
||||
void setDestinationCidrBlocks(const std::vector<std::string>& destinationCidrBlocks);
|
||||
std::vector<std::string> getOriginalRouteTableIds()const;
|
||||
void setOriginalRouteTableIds(const std::vector<std::string>& originalRouteTableIds);
|
||||
std::vector<std::string> getSourceInstanceIds()const;
|
||||
void setSourceInstanceIds(const std::vector<std::string>& sourceInstanceIds);
|
||||
std::vector<std::string> getSourceRegionIds()const;
|
||||
void setSourceRegionIds(const std::vector<std::string>& sourceRegionIds);
|
||||
std::string getGatewayZoneId()const;
|
||||
void setGatewayZoneId(const std::string& gatewayZoneId);
|
||||
std::vector<int> getMatchAsns()const;
|
||||
void setMatchAsns(const std::vector<int>& matchAsns);
|
||||
int getPreference()const;
|
||||
@@ -69,6 +75,8 @@ namespace AlibabaCloud
|
||||
void setOperateCommunitySet(const std::vector<std::string>& operateCommunitySet);
|
||||
std::vector<std::string> getRouteTypes()const;
|
||||
void setRouteTypes(const std::vector<std::string>& routeTypes);
|
||||
std::string getMatchAddressType()const;
|
||||
void setMatchAddressType(const std::string& matchAddressType);
|
||||
std::string getCidrMatchMode()const;
|
||||
void setCidrMatchMode(const std::string& cidrMatchMode);
|
||||
std::string getCenId()const;
|
||||
@@ -79,6 +87,8 @@ namespace AlibabaCloud
|
||||
void setSourceInstanceIdsReverseMatch(bool sourceInstanceIdsReverseMatch);
|
||||
std::vector<std::string> getDestinationRouteTableIds()const;
|
||||
void setDestinationRouteTableIds(const std::vector<std::string>& destinationRouteTableIds);
|
||||
std::vector<std::string> getSourceZoneIds()const;
|
||||
void setSourceZoneIds(const std::vector<std::string>& sourceZoneIds);
|
||||
std::vector<std::string> getDestinationInstanceIds()const;
|
||||
void setDestinationInstanceIds(const std::vector<std::string>& destinationInstanceIds);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -102,10 +112,13 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string communityMatchMode_;
|
||||
std::string mapResult_;
|
||||
std::vector<std::string> destinationRegionIds_;
|
||||
int nextPriority_;
|
||||
std::vector<std::string> destinationCidrBlocks_;
|
||||
std::vector<std::string> originalRouteTableIds_;
|
||||
std::vector<std::string> sourceInstanceIds_;
|
||||
std::vector<std::string> sourceRegionIds_;
|
||||
std::string gatewayZoneId_;
|
||||
std::vector<int> matchAsns_;
|
||||
int preference_;
|
||||
long ownerId_;
|
||||
@@ -116,11 +129,13 @@ namespace AlibabaCloud
|
||||
std::string communityOperateMode_;
|
||||
std::vector<std::string> operateCommunitySet_;
|
||||
std::vector<std::string> routeTypes_;
|
||||
std::string matchAddressType_;
|
||||
std::string cidrMatchMode_;
|
||||
std::string cenId_;
|
||||
std::string description_;
|
||||
bool sourceInstanceIdsReverseMatch_;
|
||||
std::vector<std::string> destinationRouteTableIds_;
|
||||
std::vector<std::string> sourceZoneIds_;
|
||||
std::vector<std::string> destinationInstanceIds_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_TEMPUPGRADECENBANDWIDTHPACKAGESPECREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_TEMPUPGRADECENBANDWIDTHPACKAGESPECREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT TempUpgradeCenBandwidthPackageSpecRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TempUpgradeCenBandwidthPackageSpecRequest();
|
||||
~TempUpgradeCenBandwidthPackageSpecRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
int getBandwidth()const;
|
||||
void setBandwidth(int bandwidth);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCenBandwidthPackageId()const;
|
||||
void setCenBandwidthPackageId(const std::string& cenBandwidthPackageId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int bandwidth_;
|
||||
std::string ownerAccount_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string cenBandwidthPackageId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_TEMPUPGRADECENBANDWIDTHPACKAGESPECREQUEST_H_
|
||||
@@ -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_CBN_MODEL_TEMPUPGRADECENBANDWIDTHPACKAGESPECRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_TEMPUPGRADECENBANDWIDTHPACKAGESPECRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT TempUpgradeCenBandwidthPackageSpecResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TempUpgradeCenBandwidthPackageSpecResult();
|
||||
explicit TempUpgradeCenBandwidthPackageSpecResult(const std::string &payload);
|
||||
~TempUpgradeCenBandwidthPackageSpecResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_TEMPUPGRADECENBANDWIDTHPACKAGESPECRESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
bool all_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -231,6 +231,42 @@ CbnClient::CreateCenBandwidthPackageOutcomeCallable CbnClient::createCenBandwidt
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::CreateCenChildInstanceRouteEntryToCenOutcome CbnClient::createCenChildInstanceRouteEntryToCen(const CreateCenChildInstanceRouteEntryToCenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateCenChildInstanceRouteEntryToCenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateCenChildInstanceRouteEntryToCenOutcome(CreateCenChildInstanceRouteEntryToCenResult(outcome.result()));
|
||||
else
|
||||
return CreateCenChildInstanceRouteEntryToCenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::createCenChildInstanceRouteEntryToCenAsync(const CreateCenChildInstanceRouteEntryToCenRequest& request, const CreateCenChildInstanceRouteEntryToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createCenChildInstanceRouteEntryToCen(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::CreateCenChildInstanceRouteEntryToCenOutcomeCallable CbnClient::createCenChildInstanceRouteEntryToCenCallable(const CreateCenChildInstanceRouteEntryToCenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateCenChildInstanceRouteEntryToCenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createCenChildInstanceRouteEntryToCen(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::CreateCenRouteMapOutcome CbnClient::createCenRouteMap(const CreateCenRouteMapRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -411,6 +447,42 @@ CbnClient::DeleteCenBandwidthPackageOutcomeCallable CbnClient::deleteCenBandwidt
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenChildInstanceRouteEntryToCenOutcome CbnClient::deleteCenChildInstanceRouteEntryToCen(const DeleteCenChildInstanceRouteEntryToCenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteCenChildInstanceRouteEntryToCenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteCenChildInstanceRouteEntryToCenOutcome(DeleteCenChildInstanceRouteEntryToCenResult(outcome.result()));
|
||||
else
|
||||
return DeleteCenChildInstanceRouteEntryToCenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::deleteCenChildInstanceRouteEntryToCenAsync(const DeleteCenChildInstanceRouteEntryToCenRequest& request, const DeleteCenChildInstanceRouteEntryToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteCenChildInstanceRouteEntryToCen(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenChildInstanceRouteEntryToCenOutcomeCallable CbnClient::deleteCenChildInstanceRouteEntryToCenCallable(const DeleteCenChildInstanceRouteEntryToCenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteCenChildInstanceRouteEntryToCenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteCenChildInstanceRouteEntryToCen(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenRouteMapOutcome CbnClient::deleteCenRouteMap(const DeleteCenRouteMapRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1707,6 +1779,42 @@ CbnClient::TagResourcesOutcomeCallable CbnClient::tagResourcesCallable(const Tag
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::TempUpgradeCenBandwidthPackageSpecOutcome CbnClient::tempUpgradeCenBandwidthPackageSpec(const TempUpgradeCenBandwidthPackageSpecRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TempUpgradeCenBandwidthPackageSpecOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TempUpgradeCenBandwidthPackageSpecOutcome(TempUpgradeCenBandwidthPackageSpecResult(outcome.result()));
|
||||
else
|
||||
return TempUpgradeCenBandwidthPackageSpecOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::tempUpgradeCenBandwidthPackageSpecAsync(const TempUpgradeCenBandwidthPackageSpecRequest& request, const TempUpgradeCenBandwidthPackageSpecAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, tempUpgradeCenBandwidthPackageSpec(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::TempUpgradeCenBandwidthPackageSpecOutcomeCallable CbnClient::tempUpgradeCenBandwidthPackageSpecCallable(const TempUpgradeCenBandwidthPackageSpecRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TempUpgradeCenBandwidthPackageSpecOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->tempUpgradeCenBandwidthPackageSpec(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::UnassociateCenBandwidthPackageOutcome CbnClient::unassociateCenBandwidthPackage(const UnassociateCenBandwidthPackageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -60,6 +60,17 @@ void CreateCenBandwidthPackageRequest::setDescription(const std::string& descrip
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
int CreateCenBandwidthPackageRequest::getAutoRenewDuration()const
|
||||
{
|
||||
return autoRenewDuration_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setAutoRenewDuration(int autoRenewDuration)
|
||||
{
|
||||
autoRenewDuration_ = autoRenewDuration;
|
||||
setParameter("AutoRenewDuration", std::to_string(autoRenewDuration));
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getBandwidthPackageChargeType()const
|
||||
{
|
||||
return bandwidthPackageChargeType_;
|
||||
@@ -159,6 +170,17 @@ void CreateCenBandwidthPackageRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool CreateCenBandwidthPackageRequest::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setAutoRenew(bool autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
172
cbn/src/model/CreateCenChildInstanceRouteEntryToCenRequest.cc
Normal file
172
cbn/src/model/CreateCenChildInstanceRouteEntryToCenRequest.cc
Normal file
@@ -0,0 +1,172 @@
|
||||
/*
|
||||
* 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/cbn/model/CreateCenChildInstanceRouteEntryToCenRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::CreateCenChildInstanceRouteEntryToCenRequest;
|
||||
|
||||
CreateCenChildInstanceRouteEntryToCenRequest::CreateCenChildInstanceRouteEntryToCenRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "CreateCenChildInstanceRouteEntryToCen")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateCenChildInstanceRouteEntryToCenRequest::~CreateCenChildInstanceRouteEntryToCenRequest()
|
||||
{}
|
||||
|
||||
long CreateCenChildInstanceRouteEntryToCenRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getNextHopGatewayZoneId()const
|
||||
{
|
||||
return nextHopGatewayZoneId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setNextHopGatewayZoneId(const std::string& nextHopGatewayZoneId)
|
||||
{
|
||||
nextHopGatewayZoneId_ = nextHopGatewayZoneId;
|
||||
setParameter("NextHopGatewayZoneId", nextHopGatewayZoneId);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getRouteTableId()const
|
||||
{
|
||||
return routeTableId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setRouteTableId(const std::string& routeTableId)
|
||||
{
|
||||
routeTableId_ = routeTableId;
|
||||
setParameter("RouteTableId", routeTableId);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
|
||||
{
|
||||
destinationCidrBlock_ = destinationCidrBlock;
|
||||
setParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
}
|
||||
|
||||
long CreateCenChildInstanceRouteEntryToCenRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getChildInstanceType()const
|
||||
{
|
||||
return childInstanceType_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setChildInstanceType(const std::string& childInstanceType)
|
||||
{
|
||||
childInstanceType_ = childInstanceType;
|
||||
setParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long CreateCenChildInstanceRouteEntryToCenRequest::getChildInstanceAliUid()const
|
||||
{
|
||||
return childInstanceAliUid_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setChildInstanceAliUid(long childInstanceAliUid)
|
||||
{
|
||||
childInstanceAliUid_ = childInstanceAliUid;
|
||||
setParameter("ChildInstanceAliUid", std::to_string(childInstanceAliUid));
|
||||
}
|
||||
|
||||
44
cbn/src/model/CreateCenChildInstanceRouteEntryToCenResult.cc
Normal file
44
cbn/src/model/CreateCenChildInstanceRouteEntryToCenResult.cc
Normal 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/cbn/model/CreateCenChildInstanceRouteEntryToCenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
CreateCenChildInstanceRouteEntryToCenResult::CreateCenChildInstanceRouteEntryToCenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateCenChildInstanceRouteEntryToCenResult::CreateCenChildInstanceRouteEntryToCenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateCenChildInstanceRouteEntryToCenResult::~CreateCenChildInstanceRouteEntryToCenResult()
|
||||
{}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -49,6 +49,17 @@ void CreateCenRequest::setClientToken(const std::string& clientToken)
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getIpv6Level()const
|
||||
{
|
||||
return ipv6Level_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setIpv6Level(const std::string& ipv6Level)
|
||||
{
|
||||
ipv6Level_ = ipv6Level;
|
||||
setParameter("Ipv6Level", ipv6Level);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
|
||||
@@ -60,6 +60,19 @@ void CreateCenRouteMapRequest::setMapResult(const std::string& mapResult)
|
||||
setParameter("MapResult", mapResult);
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getDestinationRegionIds()const
|
||||
{
|
||||
return destinationRegionIds_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setDestinationRegionIds(const std::vector<std::string>& destinationRegionIds)
|
||||
{
|
||||
destinationRegionIds_ = destinationRegionIds;
|
||||
for(int dep1 = 0; dep1!= destinationRegionIds.size(); dep1++) {
|
||||
setParameter("DestinationRegionIds."+ std::to_string(dep1), destinationRegionIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
int CreateCenRouteMapRequest::getNextPriority()const
|
||||
{
|
||||
return nextPriority_;
|
||||
@@ -84,6 +97,30 @@ void CreateCenRouteMapRequest::setDestinationCidrBlocks(const std::vector<std::s
|
||||
}
|
||||
}
|
||||
|
||||
bool CreateCenRouteMapRequest::getSystemPolicy()const
|
||||
{
|
||||
return systemPolicy_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setSystemPolicy(bool systemPolicy)
|
||||
{
|
||||
systemPolicy_ = systemPolicy;
|
||||
setParameter("SystemPolicy", systemPolicy ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getOriginalRouteTableIds()const
|
||||
{
|
||||
return originalRouteTableIds_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setOriginalRouteTableIds(const std::vector<std::string>& originalRouteTableIds)
|
||||
{
|
||||
originalRouteTableIds_ = originalRouteTableIds;
|
||||
for(int dep1 = 0; dep1!= originalRouteTableIds.size(); dep1++) {
|
||||
setParameter("OriginalRouteTableIds."+ std::to_string(dep1), originalRouteTableIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getSourceInstanceIds()const
|
||||
{
|
||||
return sourceInstanceIds_;
|
||||
@@ -110,6 +147,17 @@ void CreateCenRouteMapRequest::setSourceRegionIds(const std::vector<std::string>
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getGatewayZoneId()const
|
||||
{
|
||||
return gatewayZoneId_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setGatewayZoneId(const std::string& gatewayZoneId)
|
||||
{
|
||||
gatewayZoneId_ = gatewayZoneId;
|
||||
setParameter("GatewayZoneId", gatewayZoneId);
|
||||
}
|
||||
|
||||
std::vector<long> CreateCenRouteMapRequest::getMatchAsns()const
|
||||
{
|
||||
return matchAsns_;
|
||||
@@ -232,6 +280,17 @@ void CreateCenRouteMapRequest::setRouteTypes(const std::vector<std::string>& rou
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getMatchAddressType()const
|
||||
{
|
||||
return matchAddressType_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setMatchAddressType(const std::string& matchAddressType)
|
||||
{
|
||||
matchAddressType_ = matchAddressType;
|
||||
setParameter("MatchAddressType", matchAddressType);
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getCidrMatchMode()const
|
||||
{
|
||||
return cidrMatchMode_;
|
||||
@@ -289,6 +348,19 @@ void CreateCenRouteMapRequest::setDestinationRouteTableIds(const std::vector<std
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getSourceZoneIds()const
|
||||
{
|
||||
return sourceZoneIds_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setSourceZoneIds(const std::vector<std::string>& sourceZoneIds)
|
||||
{
|
||||
sourceZoneIds_ = sourceZoneIds;
|
||||
for(int dep1 = 0; dep1!= sourceZoneIds.size(); dep1++) {
|
||||
setParameter("SourceZoneIds."+ std::to_string(dep1), sourceZoneIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getTransmitDirection()const
|
||||
{
|
||||
return transmitDirection_;
|
||||
|
||||
150
cbn/src/model/DeleteCenChildInstanceRouteEntryToCenRequest.cc
Normal file
150
cbn/src/model/DeleteCenChildInstanceRouteEntryToCenRequest.cc
Normal file
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* 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/cbn/model/DeleteCenChildInstanceRouteEntryToCenRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DeleteCenChildInstanceRouteEntryToCenRequest;
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToCenRequest::DeleteCenChildInstanceRouteEntryToCenRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DeleteCenChildInstanceRouteEntryToCen")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToCenRequest::~DeleteCenChildInstanceRouteEntryToCenRequest()
|
||||
{}
|
||||
|
||||
long DeleteCenChildInstanceRouteEntryToCenRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getRouteTableId()const
|
||||
{
|
||||
return routeTableId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setRouteTableId(const std::string& routeTableId)
|
||||
{
|
||||
routeTableId_ = routeTableId;
|
||||
setParameter("RouteTableId", routeTableId);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
|
||||
{
|
||||
destinationCidrBlock_ = destinationCidrBlock;
|
||||
setParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
}
|
||||
|
||||
long DeleteCenChildInstanceRouteEntryToCenRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getChildInstanceType()const
|
||||
{
|
||||
return childInstanceType_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setChildInstanceType(const std::string& childInstanceType)
|
||||
{
|
||||
childInstanceType_ = childInstanceType;
|
||||
setParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long DeleteCenChildInstanceRouteEntryToCenRequest::getChildInstanceAliUid()const
|
||||
{
|
||||
return childInstanceAliUid_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setChildInstanceAliUid(long childInstanceAliUid)
|
||||
{
|
||||
childInstanceAliUid_ = childInstanceAliUid;
|
||||
setParameter("ChildInstanceAliUid", std::to_string(childInstanceAliUid));
|
||||
}
|
||||
|
||||
44
cbn/src/model/DeleteCenChildInstanceRouteEntryToCenResult.cc
Normal file
44
cbn/src/model/DeleteCenChildInstanceRouteEntryToCenResult.cc
Normal 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/cbn/model/DeleteCenChildInstanceRouteEntryToCenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToCenResult::DeleteCenChildInstanceRouteEntryToCenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToCenResult::DeleteCenChildInstanceRouteEntryToCenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToCenResult::~DeleteCenChildInstanceRouteEntryToCenResult()
|
||||
{}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -27,6 +27,17 @@ DescribeCenAttachedChildInstanceAttributeRequest::DescribeCenAttachedChildInstan
|
||||
DescribeCenAttachedChildInstanceAttributeRequest::~DescribeCenAttachedChildInstanceAttributeRequest()
|
||||
{}
|
||||
|
||||
bool DescribeCenAttachedChildInstanceAttributeRequest::getIncludeRouteTable()const
|
||||
{
|
||||
return includeRouteTable_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setIncludeRouteTable(bool includeRouteTable)
|
||||
{
|
||||
includeRouteTable_ = includeRouteTable;
|
||||
setParameter("IncludeRouteTable", includeRouteTable ? "true" : "false");
|
||||
}
|
||||
|
||||
long DescribeCenAttachedChildInstanceAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
|
||||
@@ -39,6 +39,16 @@ void DescribeCenAttachedChildInstanceAttributeResult::parse(const std::string &p
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allChildInstanceRouteTablesNode = value["ChildInstanceRouteTables"]["ChildInstanceRouteTable"];
|
||||
for (auto valueChildInstanceRouteTablesChildInstanceRouteTable : allChildInstanceRouteTablesNode)
|
||||
{
|
||||
ChildInstanceRouteTable childInstanceRouteTablesObject;
|
||||
if(!valueChildInstanceRouteTablesChildInstanceRouteTable["RouteTableId"].isNull())
|
||||
childInstanceRouteTablesObject.routeTableId = valueChildInstanceRouteTablesChildInstanceRouteTable["RouteTableId"].asString();
|
||||
if(!valueChildInstanceRouteTablesChildInstanceRouteTable["RouteTableType"].isNull())
|
||||
childInstanceRouteTablesObject.routeTableType = valueChildInstanceRouteTablesChildInstanceRouteTable["RouteTableType"].asString();
|
||||
childInstanceRouteTables_.push_back(childInstanceRouteTablesObject);
|
||||
}
|
||||
if(!value["CenId"].isNull())
|
||||
cenId_ = value["CenId"].asString();
|
||||
if(!value["ChildInstanceId"].isNull())
|
||||
@@ -55,6 +65,8 @@ void DescribeCenAttachedChildInstanceAttributeResult::parse(const std::string &p
|
||||
childInstanceName_ = value["ChildInstanceName"].asString();
|
||||
if(!value["ChildInstanceAttachTime"].isNull())
|
||||
childInstanceAttachTime_ = value["ChildInstanceAttachTime"].asString();
|
||||
if(!value["Ipv6StatusInCen"].isNull())
|
||||
ipv6StatusInCen_ = value["Ipv6StatusInCen"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -63,11 +75,21 @@ std::string DescribeCenAttachedChildInstanceAttributeResult::getStatus()const
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCenAttachedChildInstanceAttributeResult::ChildInstanceRouteTable> DescribeCenAttachedChildInstanceAttributeResult::getChildInstanceRouteTables()const
|
||||
{
|
||||
return childInstanceRouteTables_;
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getChildInstanceType()const
|
||||
{
|
||||
return childInstanceType_;
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getIpv6StatusInCen()const
|
||||
{
|
||||
return ipv6StatusInCen_;
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
|
||||
@@ -82,6 +82,22 @@ void DescribeCenBandwidthPackagesRequest::setPageSize(int pageSize)
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::vector<DescribeCenBandwidthPackagesRequest::Tag> DescribeCenBandwidthPackagesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::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 DescribeCenBandwidthPackagesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
|
||||
@@ -83,20 +83,30 @@ void DescribeCenBandwidthPackagesResult::parse(const std::string &payload)
|
||||
cenBandwidthPackagesObject.reservationActiveTime = valueCenBandwidthPackagesCenBandwidthPackage["ReservationActiveTime"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["ReservationOrderType"].isNull())
|
||||
cenBandwidthPackagesObject.reservationOrderType = valueCenBandwidthPackagesCenBandwidthPackage["ReservationOrderType"].asString();
|
||||
auto allOrginInterRegionBandwidthLimitsNode = allCenBandwidthPackagesNode["OrginInterRegionBandwidthLimits"]["OrginInterRegionBandwidthLimit"];
|
||||
for (auto allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit : allOrginInterRegionBandwidthLimitsNode)
|
||||
auto allOrginInterRegionBandwidthLimitsNode = valueCenBandwidthPackagesCenBandwidthPackage["OrginInterRegionBandwidthLimits"]["OrginInterRegionBandwidthLimit"];
|
||||
for (auto valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit : allOrginInterRegionBandwidthLimitsNode)
|
||||
{
|
||||
CenBandwidthPackage::OrginInterRegionBandwidthLimit orginInterRegionBandwidthLimitsObject;
|
||||
if(!allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["LocalRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.localRegionId = allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["LocalRegionId"].asString();
|
||||
if(!allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["OppositeRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.oppositeRegionId = allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["OppositeRegionId"].asString();
|
||||
if(!allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["GeographicSpanId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.geographicSpanId = allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["GeographicSpanId"].asString();
|
||||
if(!allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["BandwidthLimit"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.bandwidthLimit = allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["BandwidthLimit"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["LocalRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.localRegionId = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["LocalRegionId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["OppositeRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.oppositeRegionId = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["OppositeRegionId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["GeographicSpanId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.geographicSpanId = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["GeographicSpanId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["BandwidthLimit"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.bandwidthLimit = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["BandwidthLimit"].asString();
|
||||
cenBandwidthPackagesObject.orginInterRegionBandwidthLimits.push_back(orginInterRegionBandwidthLimitsObject);
|
||||
}
|
||||
auto allTagsNode = valueCenBandwidthPackagesCenBandwidthPackage["Tags"]["Tag"];
|
||||
for (auto valueCenBandwidthPackagesCenBandwidthPackageTagsTag : allTagsNode)
|
||||
{
|
||||
CenBandwidthPackage::Tag tagsObject;
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueCenBandwidthPackagesCenBandwidthPackageTagsTag["Key"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueCenBandwidthPackagesCenBandwidthPackageTagsTag["Value"].asString();
|
||||
cenBandwidthPackagesObject.tags.push_back(tagsObject);
|
||||
}
|
||||
auto allCenIds = value["CenIds"]["CenId"];
|
||||
for (auto value : allCenIds)
|
||||
cenBandwidthPackagesObject.cenIds.push_back(value.asString());
|
||||
|
||||
@@ -104,6 +104,17 @@ void DescribeCenChildInstanceRouteEntriesRequest::setOwnerAccount(const std::str
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
}
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
|
||||
{
|
||||
destinationCidrBlock_ = destinationCidrBlock;
|
||||
setParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
}
|
||||
|
||||
long DescribeCenChildInstanceRouteEntriesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -137,6 +148,17 @@ void DescribeCenChildInstanceRouteEntriesRequest::setChildInstanceId(const std::
|
||||
setParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getChildInstanceRouteTableId()const
|
||||
{
|
||||
return childInstanceRouteTableId_;
|
||||
}
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setChildInstanceRouteTableId(const std::string& childInstanceRouteTableId)
|
||||
{
|
||||
childInstanceRouteTableId_ = childInstanceRouteTableId;
|
||||
setParameter("ChildInstanceRouteTableId", childInstanceRouteTableId);
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
|
||||
@@ -61,30 +61,30 @@ void DescribeCenChildInstanceRouteEntriesResult::parse(const std::string &payloa
|
||||
cenRouteEntriesObject.publishStatus = valueCenRouteEntriesCenRouteEntry["PublishStatus"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntry["RouteTableId"].isNull())
|
||||
cenRouteEntriesObject.routeTableId = valueCenRouteEntriesCenRouteEntry["RouteTableId"].asString();
|
||||
auto allCenRouteMapRecordsNode = allCenRouteEntriesNode["CenRouteMapRecords"]["CenRouteMapRecord"];
|
||||
for (auto allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord : allCenRouteMapRecordsNode)
|
||||
auto allCenRouteMapRecordsNode = valueCenRouteEntriesCenRouteEntry["CenRouteMapRecords"]["CenRouteMapRecord"];
|
||||
for (auto valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord : allCenRouteMapRecordsNode)
|
||||
{
|
||||
CenRouteEntry::CenRouteMapRecord cenRouteMapRecordsObject;
|
||||
if(!allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RegionId"].isNull())
|
||||
cenRouteMapRecordsObject.regionId = allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RegionId"].asString();
|
||||
if(!allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].isNull())
|
||||
cenRouteMapRecordsObject.routeMapId = allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RegionId"].isNull())
|
||||
cenRouteMapRecordsObject.regionId = valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RegionId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].isNull())
|
||||
cenRouteMapRecordsObject.routeMapId = valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].asString();
|
||||
cenRouteEntriesObject.cenRouteMapRecords.push_back(cenRouteMapRecordsObject);
|
||||
}
|
||||
auto allConflictsNode = allCenRouteEntriesNode["Conflicts"]["Conflict"];
|
||||
for (auto allCenRouteEntriesNodeConflictsConflict : allConflictsNode)
|
||||
auto allConflictsNode = valueCenRouteEntriesCenRouteEntry["Conflicts"]["Conflict"];
|
||||
for (auto valueCenRouteEntriesCenRouteEntryConflictsConflict : allConflictsNode)
|
||||
{
|
||||
CenRouteEntry::Conflict conflictsObject;
|
||||
if(!allCenRouteEntriesNodeConflictsConflict["DestinationCidrBlock"].isNull())
|
||||
conflictsObject.destinationCidrBlock = allCenRouteEntriesNodeConflictsConflict["DestinationCidrBlock"].asString();
|
||||
if(!allCenRouteEntriesNodeConflictsConflict["RegionId"].isNull())
|
||||
conflictsObject.regionId = allCenRouteEntriesNodeConflictsConflict["RegionId"].asString();
|
||||
if(!allCenRouteEntriesNodeConflictsConflict["InstanceId"].isNull())
|
||||
conflictsObject.instanceId = allCenRouteEntriesNodeConflictsConflict["InstanceId"].asString();
|
||||
if(!allCenRouteEntriesNodeConflictsConflict["InstanceType"].isNull())
|
||||
conflictsObject.instanceType = allCenRouteEntriesNodeConflictsConflict["InstanceType"].asString();
|
||||
if(!allCenRouteEntriesNodeConflictsConflict["Status"].isNull())
|
||||
conflictsObject.status = allCenRouteEntriesNodeConflictsConflict["Status"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryConflictsConflict["DestinationCidrBlock"].isNull())
|
||||
conflictsObject.destinationCidrBlock = valueCenRouteEntriesCenRouteEntryConflictsConflict["DestinationCidrBlock"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryConflictsConflict["RegionId"].isNull())
|
||||
conflictsObject.regionId = valueCenRouteEntriesCenRouteEntryConflictsConflict["RegionId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryConflictsConflict["InstanceId"].isNull())
|
||||
conflictsObject.instanceId = valueCenRouteEntriesCenRouteEntryConflictsConflict["InstanceId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryConflictsConflict["InstanceType"].isNull())
|
||||
conflictsObject.instanceType = valueCenRouteEntriesCenRouteEntryConflictsConflict["InstanceType"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryConflictsConflict["Status"].isNull())
|
||||
conflictsObject.status = valueCenRouteEntriesCenRouteEntryConflictsConflict["Status"].asString();
|
||||
cenRouteEntriesObject.conflicts.push_back(conflictsObject);
|
||||
}
|
||||
auto allAsPaths = value["AsPaths"]["AsPath"];
|
||||
|
||||
@@ -55,6 +55,8 @@ void DescribeCenInterRegionBandwidthLimitsResult::parse(const std::string &paylo
|
||||
cenInterRegionBandwidthLimitsObject.bandwidthLimit = std::stol(valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["BandwidthLimit"].asString());
|
||||
if(!valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["Status"].isNull())
|
||||
cenInterRegionBandwidthLimitsObject.status = valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["Status"].asString();
|
||||
if(!valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["TransitRouterAttachmentId"].isNull())
|
||||
cenInterRegionBandwidthLimitsObject.transitRouterAttachmentId = valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["TransitRouterAttachmentId"].asString();
|
||||
if(!valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["BandwidthPackageId"].isNull())
|
||||
cenInterRegionBandwidthLimitsObject.bandwidthPackageId = valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["BandwidthPackageId"].asString();
|
||||
cenInterRegionBandwidthLimits_.push_back(cenInterRegionBandwidthLimitsObject);
|
||||
|
||||
@@ -93,6 +93,17 @@ void DescribeCenRegionDomainRouteEntriesRequest::setOwnerAccount(const std::stri
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenRegionDomainRouteEntriesRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
}
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
|
||||
{
|
||||
destinationCidrBlock_ = destinationCidrBlock;
|
||||
setParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
}
|
||||
|
||||
long DescribeCenRegionDomainRouteEntriesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -59,24 +59,24 @@ void DescribeCenRegionDomainRouteEntriesResult::parse(const std::string &payload
|
||||
cenRouteEntriesObject.toOtherRegionStatus = valueCenRouteEntriesCenRouteEntry["ToOtherRegionStatus"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntry["Preference"].isNull())
|
||||
cenRouteEntriesObject.preference = std::stoi(valueCenRouteEntriesCenRouteEntry["Preference"].asString());
|
||||
auto allCenRouteMapRecordsNode = allCenRouteEntriesNode["CenRouteMapRecords"]["CenRouteMapRecord"];
|
||||
for (auto allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord : allCenRouteMapRecordsNode)
|
||||
auto allCenRouteMapRecordsNode = valueCenRouteEntriesCenRouteEntry["CenRouteMapRecords"]["CenRouteMapRecord"];
|
||||
for (auto valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord : allCenRouteMapRecordsNode)
|
||||
{
|
||||
CenRouteEntry::CenRouteMapRecord cenRouteMapRecordsObject;
|
||||
if(!allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RegionId"].isNull())
|
||||
cenRouteMapRecordsObject.regionId = allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RegionId"].asString();
|
||||
if(!allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].isNull())
|
||||
cenRouteMapRecordsObject.routeMapId = allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RegionId"].isNull())
|
||||
cenRouteMapRecordsObject.regionId = valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RegionId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].isNull())
|
||||
cenRouteMapRecordsObject.routeMapId = valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].asString();
|
||||
cenRouteEntriesObject.cenRouteMapRecords.push_back(cenRouteMapRecordsObject);
|
||||
}
|
||||
auto allCenOutRouteMapRecordsNode = allCenRouteEntriesNode["CenOutRouteMapRecords"]["CenOutRouteMapRecord"];
|
||||
for (auto allCenRouteEntriesNodeCenOutRouteMapRecordsCenOutRouteMapRecord : allCenOutRouteMapRecordsNode)
|
||||
auto allCenOutRouteMapRecordsNode = valueCenRouteEntriesCenRouteEntry["CenOutRouteMapRecords"]["CenOutRouteMapRecord"];
|
||||
for (auto valueCenRouteEntriesCenRouteEntryCenOutRouteMapRecordsCenOutRouteMapRecord : allCenOutRouteMapRecordsNode)
|
||||
{
|
||||
CenRouteEntry::CenOutRouteMapRecord cenOutRouteMapRecordsObject;
|
||||
if(!allCenRouteEntriesNodeCenOutRouteMapRecordsCenOutRouteMapRecord["RegionId"].isNull())
|
||||
cenOutRouteMapRecordsObject.regionId = allCenRouteEntriesNodeCenOutRouteMapRecordsCenOutRouteMapRecord["RegionId"].asString();
|
||||
if(!allCenRouteEntriesNodeCenOutRouteMapRecordsCenOutRouteMapRecord["RouteMapId"].isNull())
|
||||
cenOutRouteMapRecordsObject.routeMapId = allCenRouteEntriesNodeCenOutRouteMapRecordsCenOutRouteMapRecord["RouteMapId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryCenOutRouteMapRecordsCenOutRouteMapRecord["RegionId"].isNull())
|
||||
cenOutRouteMapRecordsObject.regionId = valueCenRouteEntriesCenRouteEntryCenOutRouteMapRecordsCenOutRouteMapRecord["RegionId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryCenOutRouteMapRecordsCenOutRouteMapRecord["RouteMapId"].isNull())
|
||||
cenOutRouteMapRecordsObject.routeMapId = valueCenRouteEntriesCenRouteEntryCenOutRouteMapRecordsCenOutRouteMapRecord["RouteMapId"].asString();
|
||||
cenRouteEntriesObject.cenOutRouteMapRecords.push_back(cenOutRouteMapRecordsObject);
|
||||
}
|
||||
auto allAsPaths = value["AsPaths"]["AsPath"];
|
||||
|
||||
@@ -126,6 +126,24 @@ void DescribeCenRouteMapsRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::vector<DescribeCenRouteMapsRequest::Filter> DescribeCenRouteMapsRequest::getFilter()const
|
||||
{
|
||||
return filter_;
|
||||
}
|
||||
|
||||
void DescribeCenRouteMapsRequest::setFilter(const std::vector<Filter>& filter)
|
||||
{
|
||||
filter_ = filter;
|
||||
for(int dep1 = 0; dep1!= filter.size(); dep1++) {
|
||||
auto filterObj = filter.at(dep1);
|
||||
std::string filterObjStr = "Filter." + std::to_string(dep1 + 1);
|
||||
for(int dep2 = 0; dep2!= filterObj.value.size(); dep2++) {
|
||||
setParameter(filterObjStr + ".Value."+ std::to_string(dep2), filterObj.value.at(dep2));
|
||||
}
|
||||
setParameter(filterObjStr + ".Key", filterObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeCenRouteMapsRequest::getCenRegionId()const
|
||||
{
|
||||
return cenRegionId_;
|
||||
|
||||
@@ -75,6 +75,10 @@ void DescribeCenRouteMapsResult::parse(const std::string &payload)
|
||||
routeMapsObject.sourceInstanceIdsReverseMatch = valueRouteMapsRouteMap["SourceInstanceIdsReverseMatch"].asString() == "true";
|
||||
if(!valueRouteMapsRouteMap["DestinationInstanceIdsReverseMatch"].isNull())
|
||||
routeMapsObject.destinationInstanceIdsReverseMatch = valueRouteMapsRouteMap["DestinationInstanceIdsReverseMatch"].asString() == "true";
|
||||
if(!valueRouteMapsRouteMap["GatewayZoneId"].isNull())
|
||||
routeMapsObject.gatewayZoneId = valueRouteMapsRouteMap["GatewayZoneId"].asString();
|
||||
if(!valueRouteMapsRouteMap["MatchAddressType"].isNull())
|
||||
routeMapsObject.matchAddressType = valueRouteMapsRouteMap["MatchAddressType"].asString();
|
||||
auto allSourceInstanceIds = value["SourceInstanceIds"]["SourceInstanceId"];
|
||||
for (auto value : allSourceInstanceIds)
|
||||
routeMapsObject.sourceInstanceIds.push_back(value.asString());
|
||||
@@ -114,6 +118,15 @@ void DescribeCenRouteMapsResult::parse(const std::string &payload)
|
||||
auto allPrependAsPath = value["PrependAsPath"]["AsPath"];
|
||||
for (auto value : allPrependAsPath)
|
||||
routeMapsObject.prependAsPath.push_back(value.asString());
|
||||
auto allDestinationRegionIds = value["DestinationRegionIds"]["DestinationRegionId"];
|
||||
for (auto value : allDestinationRegionIds)
|
||||
routeMapsObject.destinationRegionIds.push_back(value.asString());
|
||||
auto allOriginalRouteTableIds = value["OriginalRouteTableIds"]["OriginalRouteTableId"];
|
||||
for (auto value : allOriginalRouteTableIds)
|
||||
routeMapsObject.originalRouteTableIds.push_back(value.asString());
|
||||
auto allSrcZoneIds = value["SrcZoneIds"]["SrcZoneId"];
|
||||
for (auto value : allSrcZoneIds)
|
||||
routeMapsObject.srcZoneIds.push_back(value.asString());
|
||||
routeMaps_.push_back(routeMapsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -61,6 +61,8 @@ void DescribeCenVbrHealthCheckResult::parse(const std::string &payload)
|
||||
vbrHealthChecksObject.healthCheckInterval = std::stoi(valueVbrHealthChecksVbrHealthCheck["HealthCheckInterval"].asString());
|
||||
if(!valueVbrHealthChecksVbrHealthCheck["HealthyThreshold"].isNull())
|
||||
vbrHealthChecksObject.healthyThreshold = std::stoi(valueVbrHealthChecksVbrHealthCheck["HealthyThreshold"].asString());
|
||||
if(!valueVbrHealthChecksVbrHealthCheck["VbrInstanceRegionId"].isNull())
|
||||
vbrHealthChecksObject.vbrInstanceRegionId = valueVbrHealthChecksVbrHealthCheck["VbrInstanceRegionId"].asString();
|
||||
vbrHealthChecks_.push_back(vbrHealthChecksObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -55,14 +55,16 @@ void DescribeCensResult::parse(const std::string &payload)
|
||||
censObject.status = valueCensCen["Status"].asString();
|
||||
if(!valueCensCen["CreationTime"].isNull())
|
||||
censObject.creationTime = valueCensCen["CreationTime"].asString();
|
||||
auto allTagsNode = allCensNode["Tags"]["Tag"];
|
||||
for (auto allCensNodeTagsTag : allTagsNode)
|
||||
if(!valueCensCen["Ipv6Level"].isNull())
|
||||
censObject.ipv6Level = valueCensCen["Ipv6Level"].asString();
|
||||
auto allTagsNode = valueCensCen["Tags"]["Tag"];
|
||||
for (auto valueCensCenTagsTag : allTagsNode)
|
||||
{
|
||||
Cen::Tag tagsObject;
|
||||
if(!allCensNodeTagsTag["Key"].isNull())
|
||||
tagsObject.key = allCensNodeTagsTag["Key"].asString();
|
||||
if(!allCensNodeTagsTag["Value"].isNull())
|
||||
tagsObject.value = allCensNodeTagsTag["Value"].asString();
|
||||
if(!valueCensCenTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueCensCenTagsTag["Key"].asString();
|
||||
if(!valueCensCenTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueCensCenTagsTag["Value"].asString();
|
||||
censObject.tags.push_back(tagsObject);
|
||||
}
|
||||
auto allCenBandwidthPackageIds = value["CenBandwidthPackageIds"]["CenBandwidthPackageId"];
|
||||
|
||||
@@ -38,6 +38,17 @@ void DescribeChildInstanceRegionsRequest::setResourceOwnerId(long resourceOwnerI
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeChildInstanceRegionsRequest::getProductType()const
|
||||
{
|
||||
return productType_;
|
||||
}
|
||||
|
||||
void DescribeChildInstanceRegionsRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string DescribeChildInstanceRegionsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -71,14 +82,14 @@ void DescribeChildInstanceRegionsRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeChildInstanceRegionsRequest::getProductType()const
|
||||
long DescribeChildInstanceRegionsRequest::getChildInstanceOwnerId()const
|
||||
{
|
||||
return productType_;
|
||||
return childInstanceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeChildInstanceRegionsRequest::setProductType(const std::string& productType)
|
||||
void DescribeChildInstanceRegionsRequest::setChildInstanceOwnerId(long childInstanceOwnerId)
|
||||
{
|
||||
productType_ = productType;
|
||||
setParameter("ProductType", productType);
|
||||
childInstanceOwnerId_ = childInstanceOwnerId;
|
||||
setParameter("ChildInstanceOwnerId", std::to_string(childInstanceOwnerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -57,20 +57,20 @@ void DescribePublishedRouteEntriesResult::parse(const std::string &payload)
|
||||
publishedRouteEntriesObject.operationalMode = valuePublishedRouteEntriesPublishedRouteEntry["OperationalMode"].asString() == "true";
|
||||
if(!valuePublishedRouteEntriesPublishedRouteEntry["PublishStatus"].isNull())
|
||||
publishedRouteEntriesObject.publishStatus = valuePublishedRouteEntriesPublishedRouteEntry["PublishStatus"].asString();
|
||||
auto allConflictsNode = allPublishedRouteEntriesNode["Conflicts"]["Conflict"];
|
||||
for (auto allPublishedRouteEntriesNodeConflictsConflict : allConflictsNode)
|
||||
auto allConflictsNode = valuePublishedRouteEntriesPublishedRouteEntry["Conflicts"]["Conflict"];
|
||||
for (auto valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict : allConflictsNode)
|
||||
{
|
||||
PublishedRouteEntry::Conflict conflictsObject;
|
||||
if(!allPublishedRouteEntriesNodeConflictsConflict["DestinationCidrBlock"].isNull())
|
||||
conflictsObject.destinationCidrBlock = allPublishedRouteEntriesNodeConflictsConflict["DestinationCidrBlock"].asString();
|
||||
if(!allPublishedRouteEntriesNodeConflictsConflict["RegionId"].isNull())
|
||||
conflictsObject.regionId = allPublishedRouteEntriesNodeConflictsConflict["RegionId"].asString();
|
||||
if(!allPublishedRouteEntriesNodeConflictsConflict["InstanceId"].isNull())
|
||||
conflictsObject.instanceId = allPublishedRouteEntriesNodeConflictsConflict["InstanceId"].asString();
|
||||
if(!allPublishedRouteEntriesNodeConflictsConflict["InstanceType"].isNull())
|
||||
conflictsObject.instanceType = allPublishedRouteEntriesNodeConflictsConflict["InstanceType"].asString();
|
||||
if(!allPublishedRouteEntriesNodeConflictsConflict["Status"].isNull())
|
||||
conflictsObject.status = allPublishedRouteEntriesNodeConflictsConflict["Status"].asString();
|
||||
if(!valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["DestinationCidrBlock"].isNull())
|
||||
conflictsObject.destinationCidrBlock = valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["DestinationCidrBlock"].asString();
|
||||
if(!valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["RegionId"].isNull())
|
||||
conflictsObject.regionId = valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["RegionId"].asString();
|
||||
if(!valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["InstanceId"].isNull())
|
||||
conflictsObject.instanceId = valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["InstanceId"].asString();
|
||||
if(!valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["InstanceType"].isNull())
|
||||
conflictsObject.instanceType = valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["InstanceType"].asString();
|
||||
if(!valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["Status"].isNull())
|
||||
conflictsObject.status = valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["Status"].asString();
|
||||
publishedRouteEntriesObject.conflicts.push_back(conflictsObject);
|
||||
}
|
||||
publishedRouteEntries_.push_back(publishedRouteEntriesObject);
|
||||
|
||||
@@ -49,6 +49,17 @@ void ModifyCenAttributeRequest::setCenId(const std::string& cenId)
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getIpv6Level()const
|
||||
{
|
||||
return ipv6Level_;
|
||||
}
|
||||
|
||||
void ModifyCenAttributeRequest::setIpv6Level(const std::string& ipv6Level)
|
||||
{
|
||||
ipv6Level_ = ipv6Level;
|
||||
setParameter("Ipv6Level", ipv6Level);
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
|
||||
@@ -60,6 +60,19 @@ void ModifyCenRouteMapRequest::setMapResult(const std::string& mapResult)
|
||||
setParameter("MapResult", mapResult);
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getDestinationRegionIds()const
|
||||
{
|
||||
return destinationRegionIds_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setDestinationRegionIds(const std::vector<std::string>& destinationRegionIds)
|
||||
{
|
||||
destinationRegionIds_ = destinationRegionIds;
|
||||
for(int dep1 = 0; dep1!= destinationRegionIds.size(); dep1++) {
|
||||
setParameter("DestinationRegionIds."+ std::to_string(dep1), destinationRegionIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
int ModifyCenRouteMapRequest::getNextPriority()const
|
||||
{
|
||||
return nextPriority_;
|
||||
@@ -84,6 +97,19 @@ void ModifyCenRouteMapRequest::setDestinationCidrBlocks(const std::vector<std::s
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getOriginalRouteTableIds()const
|
||||
{
|
||||
return originalRouteTableIds_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setOriginalRouteTableIds(const std::vector<std::string>& originalRouteTableIds)
|
||||
{
|
||||
originalRouteTableIds_ = originalRouteTableIds;
|
||||
for(int dep1 = 0; dep1!= originalRouteTableIds.size(); dep1++) {
|
||||
setParameter("OriginalRouteTableIds."+ std::to_string(dep1), originalRouteTableIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getSourceInstanceIds()const
|
||||
{
|
||||
return sourceInstanceIds_;
|
||||
@@ -110,6 +136,17 @@ void ModifyCenRouteMapRequest::setSourceRegionIds(const std::vector<std::string>
|
||||
}
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getGatewayZoneId()const
|
||||
{
|
||||
return gatewayZoneId_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setGatewayZoneId(const std::string& gatewayZoneId)
|
||||
{
|
||||
gatewayZoneId_ = gatewayZoneId;
|
||||
setParameter("GatewayZoneId", gatewayZoneId);
|
||||
}
|
||||
|
||||
std::vector<int> ModifyCenRouteMapRequest::getMatchAsns()const
|
||||
{
|
||||
return matchAsns_;
|
||||
@@ -232,6 +269,17 @@ void ModifyCenRouteMapRequest::setRouteTypes(const std::vector<std::string>& rou
|
||||
}
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getMatchAddressType()const
|
||||
{
|
||||
return matchAddressType_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setMatchAddressType(const std::string& matchAddressType)
|
||||
{
|
||||
matchAddressType_ = matchAddressType;
|
||||
setParameter("MatchAddressType", matchAddressType);
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getCidrMatchMode()const
|
||||
{
|
||||
return cidrMatchMode_;
|
||||
@@ -289,6 +337,19 @@ void ModifyCenRouteMapRequest::setDestinationRouteTableIds(const std::vector<std
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getSourceZoneIds()const
|
||||
{
|
||||
return sourceZoneIds_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setSourceZoneIds(const std::vector<std::string>& sourceZoneIds)
|
||||
{
|
||||
sourceZoneIds_ = sourceZoneIds;
|
||||
for(int dep1 = 0; dep1!= sourceZoneIds.size(); dep1++) {
|
||||
setParameter("SourceZoneIds."+ std::to_string(dep1), sourceZoneIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getDestinationInstanceIds()const
|
||||
{
|
||||
return destinationInstanceIds_;
|
||||
|
||||
106
cbn/src/model/TempUpgradeCenBandwidthPackageSpecRequest.cc
Normal file
106
cbn/src/model/TempUpgradeCenBandwidthPackageSpecRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/TempUpgradeCenBandwidthPackageSpecRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::TempUpgradeCenBandwidthPackageSpecRequest;
|
||||
|
||||
TempUpgradeCenBandwidthPackageSpecRequest::TempUpgradeCenBandwidthPackageSpecRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "TempUpgradeCenBandwidthPackageSpec")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TempUpgradeCenBandwidthPackageSpecRequest::~TempUpgradeCenBandwidthPackageSpecRequest()
|
||||
{}
|
||||
|
||||
long TempUpgradeCenBandwidthPackageSpecRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string TempUpgradeCenBandwidthPackageSpecRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
int TempUpgradeCenBandwidthPackageSpecRequest::getBandwidth()const
|
||||
{
|
||||
return bandwidth_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setBandwidth(int bandwidth)
|
||||
{
|
||||
bandwidth_ = bandwidth;
|
||||
setParameter("Bandwidth", std::to_string(bandwidth));
|
||||
}
|
||||
|
||||
std::string TempUpgradeCenBandwidthPackageSpecRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string TempUpgradeCenBandwidthPackageSpecRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long TempUpgradeCenBandwidthPackageSpecRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string TempUpgradeCenBandwidthPackageSpecRequest::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
}
|
||||
|
||||
44
cbn/src/model/TempUpgradeCenBandwidthPackageSpecResult.cc
Normal file
44
cbn/src/model/TempUpgradeCenBandwidthPackageSpecResult.cc
Normal 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/cbn/model/TempUpgradeCenBandwidthPackageSpecResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
TempUpgradeCenBandwidthPackageSpecResult::TempUpgradeCenBandwidthPackageSpecResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TempUpgradeCenBandwidthPackageSpecResult::TempUpgradeCenBandwidthPackageSpecResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TempUpgradeCenBandwidthPackageSpecResult::~TempUpgradeCenBandwidthPackageSpecResult()
|
||||
{}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -38,6 +38,17 @@ void UntagResourcesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
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_;
|
||||
|
||||
@@ -23,12 +23,20 @@ set(ccc_public_header
|
||||
set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/AddNumbersToSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/AddNumbersToSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/AddPersonalNumbersToUserRequest.h
|
||||
include/alibabacloud/ccc/model/AddPersonalNumbersToUserResult.h
|
||||
include/alibabacloud/ccc/model/AddPhoneNumberToSkillGroupsRequest.h
|
||||
include/alibabacloud/ccc/model/AddPhoneNumberToSkillGroupsResult.h
|
||||
include/alibabacloud/ccc/model/AddPhoneNumbersRequest.h
|
||||
include/alibabacloud/ccc/model/AddPhoneNumbersResult.h
|
||||
include/alibabacloud/ccc/model/AddSkillGroupsToUserRequest.h
|
||||
include/alibabacloud/ccc/model/AddSkillGroupsToUserResult.h
|
||||
include/alibabacloud/ccc/model/AddUsersToSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/AddUsersToSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/AnswerCallRequest.h
|
||||
include/alibabacloud/ccc/model/AnswerCallResult.h
|
||||
include/alibabacloud/ccc/model/AssignUsersRequest.h
|
||||
include/alibabacloud/ccc/model/AssignUsersResult.h
|
||||
include/alibabacloud/ccc/model/BargeInCallRequest.h
|
||||
include/alibabacloud/ccc/model/BargeInCallResult.h
|
||||
include/alibabacloud/ccc/model/BlindTransferRequest.h
|
||||
@@ -37,6 +45,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/CancelAttendedTransferResult.h
|
||||
include/alibabacloud/ccc/model/ChangeWorkModeRequest.h
|
||||
include/alibabacloud/ccc/model/ChangeWorkModeResult.h
|
||||
include/alibabacloud/ccc/model/CoachCallRequest.h
|
||||
include/alibabacloud/ccc/model/CoachCallResult.h
|
||||
include/alibabacloud/ccc/model/CompleteAttendedTransferRequest.h
|
||||
include/alibabacloud/ccc/model/CompleteAttendedTransferResult.h
|
||||
include/alibabacloud/ccc/model/CreateSkillGroupRequest.h
|
||||
@@ -45,6 +55,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/CreateUserResult.h
|
||||
include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/DeleteSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/GetInstanceRequest.h
|
||||
include/alibabacloud/ccc/model/GetInstanceResult.h
|
||||
include/alibabacloud/ccc/model/GetLoginDetailsRequest.h
|
||||
include/alibabacloud/ccc/model/GetLoginDetailsResult.h
|
||||
include/alibabacloud/ccc/model/GetMonoRecordingRequest.h
|
||||
@@ -57,6 +69,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/GetTurnCredentialsResult.h
|
||||
include/alibabacloud/ccc/model/GetTurnServerListRequest.h
|
||||
include/alibabacloud/ccc/model/GetTurnServerListResult.h
|
||||
include/alibabacloud/ccc/model/GetUserRequest.h
|
||||
include/alibabacloud/ccc/model/GetUserResult.h
|
||||
include/alibabacloud/ccc/model/HoldCallRequest.h
|
||||
include/alibabacloud/ccc/model/HoldCallResult.h
|
||||
include/alibabacloud/ccc/model/InitiateAttendedTransferRequest.h
|
||||
@@ -83,22 +97,36 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/ListInstancesOfUserResult.h
|
||||
include/alibabacloud/ccc/model/ListOutboundNumbersOfUserRequest.h
|
||||
include/alibabacloud/ccc/model/ListOutboundNumbersOfUserResult.h
|
||||
include/alibabacloud/ccc/model/ListPersonalNumbersOfUserRequest.h
|
||||
include/alibabacloud/ccc/model/ListPersonalNumbersOfUserResult.h
|
||||
include/alibabacloud/ccc/model/ListPhoneNumbersRequest.h
|
||||
include/alibabacloud/ccc/model/ListPhoneNumbersResult.h
|
||||
include/alibabacloud/ccc/model/ListPhoneNumbersOfSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/ListPhoneNumbersOfSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/ListPrivilegesOfUserRequest.h
|
||||
include/alibabacloud/ccc/model/ListPrivilegesOfUserResult.h
|
||||
include/alibabacloud/ccc/model/ListRealtimeAgentStatesRequest.h
|
||||
include/alibabacloud/ccc/model/ListRealtimeAgentStatesResult.h
|
||||
include/alibabacloud/ccc/model/ListRecentCallDetailRecordsRequest.h
|
||||
include/alibabacloud/ccc/model/ListRecentCallDetailRecordsResult.h
|
||||
include/alibabacloud/ccc/model/ListRolesRequest.h
|
||||
include/alibabacloud/ccc/model/ListRolesResult.h
|
||||
include/alibabacloud/ccc/model/ListSkillGroupsRequest.h
|
||||
include/alibabacloud/ccc/model/ListSkillGroupsResult.h
|
||||
include/alibabacloud/ccc/model/ListSkillLevelsOfUserRequest.h
|
||||
include/alibabacloud/ccc/model/ListSkillLevelsOfUserResult.h
|
||||
include/alibabacloud/ccc/model/ListUserLevelsOfSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/ListUserLevelsOfSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/ListUsersRequest.h
|
||||
include/alibabacloud/ccc/model/ListUsersResult.h
|
||||
include/alibabacloud/ccc/model/MakeCallRequest.h
|
||||
include/alibabacloud/ccc/model/MakeCallResult.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneNumberResult.h
|
||||
include/alibabacloud/ccc/model/ModifySkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/ModifySkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/ModifySkillLevelsOfUserRequest.h
|
||||
include/alibabacloud/ccc/model/ModifySkillLevelsOfUserResult.h
|
||||
include/alibabacloud/ccc/model/ModifyUserRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyUserResult.h
|
||||
include/alibabacloud/ccc/model/ModifyUserLevelsOfSkillGroupRequest.h
|
||||
@@ -117,8 +145,20 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/RegisterDeviceResult.h
|
||||
include/alibabacloud/ccc/model/ReleaseCallRequest.h
|
||||
include/alibabacloud/ccc/model/ReleaseCallResult.h
|
||||
include/alibabacloud/ccc/model/RemovePersonalNumbersFromUserRequest.h
|
||||
include/alibabacloud/ccc/model/RemovePersonalNumbersFromUserResult.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumberFromSkillGroupsRequest.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumberFromSkillGroupsResult.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumbersRequest.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumbersResult.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumbersFromSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumbersFromSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/RemoveSkillGroupsFromUserRequest.h
|
||||
include/alibabacloud/ccc/model/RemoveSkillGroupsFromUserResult.h
|
||||
include/alibabacloud/ccc/model/RemoveUsersRequest.h
|
||||
include/alibabacloud/ccc/model/RemoveUsersResult.h
|
||||
include/alibabacloud/ccc/model/RemoveUsersFromSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/RemoveUsersFromSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/ResetAgentStateRequest.h
|
||||
include/alibabacloud/ccc/model/ResetAgentStateResult.h
|
||||
include/alibabacloud/ccc/model/RetrieveCallRequest.h
|
||||
@@ -140,12 +180,20 @@ set(ccc_src
|
||||
src/CCCClient.cc
|
||||
src/model/AddNumbersToSkillGroupRequest.cc
|
||||
src/model/AddNumbersToSkillGroupResult.cc
|
||||
src/model/AddPersonalNumbersToUserRequest.cc
|
||||
src/model/AddPersonalNumbersToUserResult.cc
|
||||
src/model/AddPhoneNumberToSkillGroupsRequest.cc
|
||||
src/model/AddPhoneNumberToSkillGroupsResult.cc
|
||||
src/model/AddPhoneNumbersRequest.cc
|
||||
src/model/AddPhoneNumbersResult.cc
|
||||
src/model/AddSkillGroupsToUserRequest.cc
|
||||
src/model/AddSkillGroupsToUserResult.cc
|
||||
src/model/AddUsersToSkillGroupRequest.cc
|
||||
src/model/AddUsersToSkillGroupResult.cc
|
||||
src/model/AnswerCallRequest.cc
|
||||
src/model/AnswerCallResult.cc
|
||||
src/model/AssignUsersRequest.cc
|
||||
src/model/AssignUsersResult.cc
|
||||
src/model/BargeInCallRequest.cc
|
||||
src/model/BargeInCallResult.cc
|
||||
src/model/BlindTransferRequest.cc
|
||||
@@ -154,6 +202,8 @@ set(ccc_src
|
||||
src/model/CancelAttendedTransferResult.cc
|
||||
src/model/ChangeWorkModeRequest.cc
|
||||
src/model/ChangeWorkModeResult.cc
|
||||
src/model/CoachCallRequest.cc
|
||||
src/model/CoachCallResult.cc
|
||||
src/model/CompleteAttendedTransferRequest.cc
|
||||
src/model/CompleteAttendedTransferResult.cc
|
||||
src/model/CreateSkillGroupRequest.cc
|
||||
@@ -162,6 +212,8 @@ set(ccc_src
|
||||
src/model/CreateUserResult.cc
|
||||
src/model/DeleteSkillGroupRequest.cc
|
||||
src/model/DeleteSkillGroupResult.cc
|
||||
src/model/GetInstanceRequest.cc
|
||||
src/model/GetInstanceResult.cc
|
||||
src/model/GetLoginDetailsRequest.cc
|
||||
src/model/GetLoginDetailsResult.cc
|
||||
src/model/GetMonoRecordingRequest.cc
|
||||
@@ -174,6 +226,8 @@ set(ccc_src
|
||||
src/model/GetTurnCredentialsResult.cc
|
||||
src/model/GetTurnServerListRequest.cc
|
||||
src/model/GetTurnServerListResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/HoldCallRequest.cc
|
||||
src/model/HoldCallResult.cc
|
||||
src/model/InitiateAttendedTransferRequest.cc
|
||||
@@ -200,22 +254,36 @@ set(ccc_src
|
||||
src/model/ListInstancesOfUserResult.cc
|
||||
src/model/ListOutboundNumbersOfUserRequest.cc
|
||||
src/model/ListOutboundNumbersOfUserResult.cc
|
||||
src/model/ListPersonalNumbersOfUserRequest.cc
|
||||
src/model/ListPersonalNumbersOfUserResult.cc
|
||||
src/model/ListPhoneNumbersRequest.cc
|
||||
src/model/ListPhoneNumbersResult.cc
|
||||
src/model/ListPhoneNumbersOfSkillGroupRequest.cc
|
||||
src/model/ListPhoneNumbersOfSkillGroupResult.cc
|
||||
src/model/ListPrivilegesOfUserRequest.cc
|
||||
src/model/ListPrivilegesOfUserResult.cc
|
||||
src/model/ListRealtimeAgentStatesRequest.cc
|
||||
src/model/ListRealtimeAgentStatesResult.cc
|
||||
src/model/ListRecentCallDetailRecordsRequest.cc
|
||||
src/model/ListRecentCallDetailRecordsResult.cc
|
||||
src/model/ListRolesRequest.cc
|
||||
src/model/ListRolesResult.cc
|
||||
src/model/ListSkillGroupsRequest.cc
|
||||
src/model/ListSkillGroupsResult.cc
|
||||
src/model/ListSkillLevelsOfUserRequest.cc
|
||||
src/model/ListSkillLevelsOfUserResult.cc
|
||||
src/model/ListUserLevelsOfSkillGroupRequest.cc
|
||||
src/model/ListUserLevelsOfSkillGroupResult.cc
|
||||
src/model/ListUsersRequest.cc
|
||||
src/model/ListUsersResult.cc
|
||||
src/model/MakeCallRequest.cc
|
||||
src/model/MakeCallResult.cc
|
||||
src/model/ModifyPhoneNumberRequest.cc
|
||||
src/model/ModifyPhoneNumberResult.cc
|
||||
src/model/ModifySkillGroupRequest.cc
|
||||
src/model/ModifySkillGroupResult.cc
|
||||
src/model/ModifySkillLevelsOfUserRequest.cc
|
||||
src/model/ModifySkillLevelsOfUserResult.cc
|
||||
src/model/ModifyUserRequest.cc
|
||||
src/model/ModifyUserResult.cc
|
||||
src/model/ModifyUserLevelsOfSkillGroupRequest.cc
|
||||
@@ -234,8 +302,20 @@ set(ccc_src
|
||||
src/model/RegisterDeviceResult.cc
|
||||
src/model/ReleaseCallRequest.cc
|
||||
src/model/ReleaseCallResult.cc
|
||||
src/model/RemovePersonalNumbersFromUserRequest.cc
|
||||
src/model/RemovePersonalNumbersFromUserResult.cc
|
||||
src/model/RemovePhoneNumberFromSkillGroupsRequest.cc
|
||||
src/model/RemovePhoneNumberFromSkillGroupsResult.cc
|
||||
src/model/RemovePhoneNumbersRequest.cc
|
||||
src/model/RemovePhoneNumbersResult.cc
|
||||
src/model/RemovePhoneNumbersFromSkillGroupRequest.cc
|
||||
src/model/RemovePhoneNumbersFromSkillGroupResult.cc
|
||||
src/model/RemoveSkillGroupsFromUserRequest.cc
|
||||
src/model/RemoveSkillGroupsFromUserResult.cc
|
||||
src/model/RemoveUsersRequest.cc
|
||||
src/model/RemoveUsersResult.cc
|
||||
src/model/RemoveUsersFromSkillGroupRequest.cc
|
||||
src/model/RemoveUsersFromSkillGroupResult.cc
|
||||
src/model/ResetAgentStateRequest.cc
|
||||
src/model/ResetAgentStateResult.cc
|
||||
src/model/RetrieveCallRequest.cc
|
||||
|
||||
@@ -24,12 +24,20 @@
|
||||
#include "CCCExport.h"
|
||||
#include "model/AddNumbersToSkillGroupRequest.h"
|
||||
#include "model/AddNumbersToSkillGroupResult.h"
|
||||
#include "model/AddPersonalNumbersToUserRequest.h"
|
||||
#include "model/AddPersonalNumbersToUserResult.h"
|
||||
#include "model/AddPhoneNumberToSkillGroupsRequest.h"
|
||||
#include "model/AddPhoneNumberToSkillGroupsResult.h"
|
||||
#include "model/AddPhoneNumbersRequest.h"
|
||||
#include "model/AddPhoneNumbersResult.h"
|
||||
#include "model/AddSkillGroupsToUserRequest.h"
|
||||
#include "model/AddSkillGroupsToUserResult.h"
|
||||
#include "model/AddUsersToSkillGroupRequest.h"
|
||||
#include "model/AddUsersToSkillGroupResult.h"
|
||||
#include "model/AnswerCallRequest.h"
|
||||
#include "model/AnswerCallResult.h"
|
||||
#include "model/AssignUsersRequest.h"
|
||||
#include "model/AssignUsersResult.h"
|
||||
#include "model/BargeInCallRequest.h"
|
||||
#include "model/BargeInCallResult.h"
|
||||
#include "model/BlindTransferRequest.h"
|
||||
@@ -38,6 +46,8 @@
|
||||
#include "model/CancelAttendedTransferResult.h"
|
||||
#include "model/ChangeWorkModeRequest.h"
|
||||
#include "model/ChangeWorkModeResult.h"
|
||||
#include "model/CoachCallRequest.h"
|
||||
#include "model/CoachCallResult.h"
|
||||
#include "model/CompleteAttendedTransferRequest.h"
|
||||
#include "model/CompleteAttendedTransferResult.h"
|
||||
#include "model/CreateSkillGroupRequest.h"
|
||||
@@ -46,6 +56,8 @@
|
||||
#include "model/CreateUserResult.h"
|
||||
#include "model/DeleteSkillGroupRequest.h"
|
||||
#include "model/DeleteSkillGroupResult.h"
|
||||
#include "model/GetInstanceRequest.h"
|
||||
#include "model/GetInstanceResult.h"
|
||||
#include "model/GetLoginDetailsRequest.h"
|
||||
#include "model/GetLoginDetailsResult.h"
|
||||
#include "model/GetMonoRecordingRequest.h"
|
||||
@@ -58,6 +70,8 @@
|
||||
#include "model/GetTurnCredentialsResult.h"
|
||||
#include "model/GetTurnServerListRequest.h"
|
||||
#include "model/GetTurnServerListResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/HoldCallRequest.h"
|
||||
#include "model/HoldCallResult.h"
|
||||
#include "model/InitiateAttendedTransferRequest.h"
|
||||
@@ -84,22 +98,36 @@
|
||||
#include "model/ListInstancesOfUserResult.h"
|
||||
#include "model/ListOutboundNumbersOfUserRequest.h"
|
||||
#include "model/ListOutboundNumbersOfUserResult.h"
|
||||
#include "model/ListPersonalNumbersOfUserRequest.h"
|
||||
#include "model/ListPersonalNumbersOfUserResult.h"
|
||||
#include "model/ListPhoneNumbersRequest.h"
|
||||
#include "model/ListPhoneNumbersResult.h"
|
||||
#include "model/ListPhoneNumbersOfSkillGroupRequest.h"
|
||||
#include "model/ListPhoneNumbersOfSkillGroupResult.h"
|
||||
#include "model/ListPrivilegesOfUserRequest.h"
|
||||
#include "model/ListPrivilegesOfUserResult.h"
|
||||
#include "model/ListRealtimeAgentStatesRequest.h"
|
||||
#include "model/ListRealtimeAgentStatesResult.h"
|
||||
#include "model/ListRecentCallDetailRecordsRequest.h"
|
||||
#include "model/ListRecentCallDetailRecordsResult.h"
|
||||
#include "model/ListRolesRequest.h"
|
||||
#include "model/ListRolesResult.h"
|
||||
#include "model/ListSkillGroupsRequest.h"
|
||||
#include "model/ListSkillGroupsResult.h"
|
||||
#include "model/ListSkillLevelsOfUserRequest.h"
|
||||
#include "model/ListSkillLevelsOfUserResult.h"
|
||||
#include "model/ListUserLevelsOfSkillGroupRequest.h"
|
||||
#include "model/ListUserLevelsOfSkillGroupResult.h"
|
||||
#include "model/ListUsersRequest.h"
|
||||
#include "model/ListUsersResult.h"
|
||||
#include "model/MakeCallRequest.h"
|
||||
#include "model/MakeCallResult.h"
|
||||
#include "model/ModifyPhoneNumberRequest.h"
|
||||
#include "model/ModifyPhoneNumberResult.h"
|
||||
#include "model/ModifySkillGroupRequest.h"
|
||||
#include "model/ModifySkillGroupResult.h"
|
||||
#include "model/ModifySkillLevelsOfUserRequest.h"
|
||||
#include "model/ModifySkillLevelsOfUserResult.h"
|
||||
#include "model/ModifyUserRequest.h"
|
||||
#include "model/ModifyUserResult.h"
|
||||
#include "model/ModifyUserLevelsOfSkillGroupRequest.h"
|
||||
@@ -118,8 +146,20 @@
|
||||
#include "model/RegisterDeviceResult.h"
|
||||
#include "model/ReleaseCallRequest.h"
|
||||
#include "model/ReleaseCallResult.h"
|
||||
#include "model/RemovePersonalNumbersFromUserRequest.h"
|
||||
#include "model/RemovePersonalNumbersFromUserResult.h"
|
||||
#include "model/RemovePhoneNumberFromSkillGroupsRequest.h"
|
||||
#include "model/RemovePhoneNumberFromSkillGroupsResult.h"
|
||||
#include "model/RemovePhoneNumbersRequest.h"
|
||||
#include "model/RemovePhoneNumbersResult.h"
|
||||
#include "model/RemovePhoneNumbersFromSkillGroupRequest.h"
|
||||
#include "model/RemovePhoneNumbersFromSkillGroupResult.h"
|
||||
#include "model/RemoveSkillGroupsFromUserRequest.h"
|
||||
#include "model/RemoveSkillGroupsFromUserResult.h"
|
||||
#include "model/RemoveUsersRequest.h"
|
||||
#include "model/RemoveUsersResult.h"
|
||||
#include "model/RemoveUsersFromSkillGroupRequest.h"
|
||||
#include "model/RemoveUsersFromSkillGroupResult.h"
|
||||
#include "model/ResetAgentStateRequest.h"
|
||||
#include "model/ResetAgentStateResult.h"
|
||||
#include "model/RetrieveCallRequest.h"
|
||||
@@ -148,15 +188,27 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddNumbersToSkillGroupResult> AddNumbersToSkillGroupOutcome;
|
||||
typedef std::future<AddNumbersToSkillGroupOutcome> AddNumbersToSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddNumbersToSkillGroupRequest&, const AddNumbersToSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddNumbersToSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddPersonalNumbersToUserResult> AddPersonalNumbersToUserOutcome;
|
||||
typedef std::future<AddPersonalNumbersToUserOutcome> AddPersonalNumbersToUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddPersonalNumbersToUserRequest&, const AddPersonalNumbersToUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPersonalNumbersToUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddPhoneNumberToSkillGroupsResult> AddPhoneNumberToSkillGroupsOutcome;
|
||||
typedef std::future<AddPhoneNumberToSkillGroupsOutcome> AddPhoneNumberToSkillGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddPhoneNumberToSkillGroupsRequest&, const AddPhoneNumberToSkillGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPhoneNumberToSkillGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddPhoneNumbersResult> AddPhoneNumbersOutcome;
|
||||
typedef std::future<AddPhoneNumbersOutcome> AddPhoneNumbersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddPhoneNumbersRequest&, const AddPhoneNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPhoneNumbersAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddSkillGroupsToUserResult> AddSkillGroupsToUserOutcome;
|
||||
typedef std::future<AddSkillGroupsToUserOutcome> AddSkillGroupsToUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddSkillGroupsToUserRequest&, const AddSkillGroupsToUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddSkillGroupsToUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddUsersToSkillGroupResult> AddUsersToSkillGroupOutcome;
|
||||
typedef std::future<AddUsersToSkillGroupOutcome> AddUsersToSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddUsersToSkillGroupRequest&, const AddUsersToSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddUsersToSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::AnswerCallResult> AnswerCallOutcome;
|
||||
typedef std::future<AnswerCallOutcome> AnswerCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AnswerCallRequest&, const AnswerCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AnswerCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::AssignUsersResult> AssignUsersOutcome;
|
||||
typedef std::future<AssignUsersOutcome> AssignUsersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AssignUsersRequest&, const AssignUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssignUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::BargeInCallResult> BargeInCallOutcome;
|
||||
typedef std::future<BargeInCallOutcome> BargeInCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::BargeInCallRequest&, const BargeInCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BargeInCallAsyncHandler;
|
||||
@@ -169,6 +221,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ChangeWorkModeResult> ChangeWorkModeOutcome;
|
||||
typedef std::future<ChangeWorkModeOutcome> ChangeWorkModeOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ChangeWorkModeRequest&, const ChangeWorkModeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeWorkModeAsyncHandler;
|
||||
typedef Outcome<Error, Model::CoachCallResult> CoachCallOutcome;
|
||||
typedef std::future<CoachCallOutcome> CoachCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CoachCallRequest&, const CoachCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CoachCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::CompleteAttendedTransferResult> CompleteAttendedTransferOutcome;
|
||||
typedef std::future<CompleteAttendedTransferOutcome> CompleteAttendedTransferOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CompleteAttendedTransferRequest&, const CompleteAttendedTransferOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CompleteAttendedTransferAsyncHandler;
|
||||
@@ -181,6 +236,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteSkillGroupResult> DeleteSkillGroupOutcome;
|
||||
typedef std::future<DeleteSkillGroupOutcome> DeleteSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DeleteSkillGroupRequest&, const DeleteSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceResult> GetInstanceOutcome;
|
||||
typedef std::future<GetInstanceOutcome> GetInstanceOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetInstanceRequest&, const GetInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetLoginDetailsResult> GetLoginDetailsOutcome;
|
||||
typedef std::future<GetLoginDetailsOutcome> GetLoginDetailsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetLoginDetailsRequest&, const GetLoginDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLoginDetailsAsyncHandler;
|
||||
@@ -199,6 +257,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetTurnServerListResult> GetTurnServerListOutcome;
|
||||
typedef std::future<GetTurnServerListOutcome> GetTurnServerListOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetTurnServerListRequest&, const GetTurnServerListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTurnServerListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::HoldCallResult> HoldCallOutcome;
|
||||
typedef std::future<HoldCallOutcome> HoldCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::HoldCallRequest&, const HoldCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HoldCallAsyncHandler;
|
||||
@@ -238,6 +299,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListOutboundNumbersOfUserResult> ListOutboundNumbersOfUserOutcome;
|
||||
typedef std::future<ListOutboundNumbersOfUserOutcome> ListOutboundNumbersOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListOutboundNumbersOfUserRequest&, const ListOutboundNumbersOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOutboundNumbersOfUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPersonalNumbersOfUserResult> ListPersonalNumbersOfUserOutcome;
|
||||
typedef std::future<ListPersonalNumbersOfUserOutcome> ListPersonalNumbersOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListPersonalNumbersOfUserRequest&, const ListPersonalNumbersOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonalNumbersOfUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPhoneNumbersResult> ListPhoneNumbersOutcome;
|
||||
typedef std::future<ListPhoneNumbersOutcome> ListPhoneNumbersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListPhoneNumbersRequest&, const ListPhoneNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhoneNumbersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPhoneNumbersOfSkillGroupResult> ListPhoneNumbersOfSkillGroupOutcome;
|
||||
typedef std::future<ListPhoneNumbersOfSkillGroupOutcome> ListPhoneNumbersOfSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListPhoneNumbersOfSkillGroupRequest&, const ListPhoneNumbersOfSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhoneNumbersOfSkillGroupAsyncHandler;
|
||||
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;
|
||||
@@ -247,12 +317,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListRecentCallDetailRecordsResult> ListRecentCallDetailRecordsOutcome;
|
||||
typedef std::future<ListRecentCallDetailRecordsOutcome> ListRecentCallDetailRecordsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRecentCallDetailRecordsRequest&, const ListRecentCallDetailRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRecentCallDetailRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRolesResult> ListRolesOutcome;
|
||||
typedef std::future<ListRolesOutcome> ListRolesOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRolesRequest&, const ListRolesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRolesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSkillGroupsResult> ListSkillGroupsOutcome;
|
||||
typedef std::future<ListSkillGroupsOutcome> ListSkillGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSkillGroupsRequest&, const ListSkillGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSkillGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSkillLevelsOfUserResult> ListSkillLevelsOfUserOutcome;
|
||||
typedef std::future<ListSkillLevelsOfUserOutcome> ListSkillLevelsOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSkillLevelsOfUserRequest&, const ListSkillLevelsOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSkillLevelsOfUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUserLevelsOfSkillGroupResult> ListUserLevelsOfSkillGroupOutcome;
|
||||
typedef std::future<ListUserLevelsOfSkillGroupOutcome> ListUserLevelsOfSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListUserLevelsOfSkillGroupRequest&, const ListUserLevelsOfSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserLevelsOfSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
|
||||
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::MakeCallResult> MakeCallOutcome;
|
||||
typedef std::future<MakeCallOutcome> MakeCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::MakeCallRequest&, const MakeCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MakeCallAsyncHandler;
|
||||
@@ -262,6 +341,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifySkillGroupResult> ModifySkillGroupOutcome;
|
||||
typedef std::future<ModifySkillGroupOutcome> ModifySkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifySkillGroupRequest&, const ModifySkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySkillLevelsOfUserResult> ModifySkillLevelsOfUserOutcome;
|
||||
typedef std::future<ModifySkillLevelsOfUserOutcome> ModifySkillLevelsOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifySkillLevelsOfUserRequest&, const ModifySkillLevelsOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySkillLevelsOfUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyUserResult> ModifyUserOutcome;
|
||||
typedef std::future<ModifyUserOutcome> ModifyUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifyUserRequest&, const ModifyUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyUserAsyncHandler;
|
||||
@@ -289,9 +371,27 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ReleaseCallResult> ReleaseCallOutcome;
|
||||
typedef std::future<ReleaseCallOutcome> ReleaseCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ReleaseCallRequest&, const ReleaseCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemovePersonalNumbersFromUserResult> RemovePersonalNumbersFromUserOutcome;
|
||||
typedef std::future<RemovePersonalNumbersFromUserOutcome> RemovePersonalNumbersFromUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemovePersonalNumbersFromUserRequest&, const RemovePersonalNumbersFromUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemovePersonalNumbersFromUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemovePhoneNumberFromSkillGroupsResult> RemovePhoneNumberFromSkillGroupsOutcome;
|
||||
typedef std::future<RemovePhoneNumberFromSkillGroupsOutcome> RemovePhoneNumberFromSkillGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemovePhoneNumberFromSkillGroupsRequest&, const RemovePhoneNumberFromSkillGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemovePhoneNumberFromSkillGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemovePhoneNumbersResult> RemovePhoneNumbersOutcome;
|
||||
typedef std::future<RemovePhoneNumbersOutcome> RemovePhoneNumbersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemovePhoneNumbersRequest&, const RemovePhoneNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemovePhoneNumbersAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemovePhoneNumbersFromSkillGroupResult> RemovePhoneNumbersFromSkillGroupOutcome;
|
||||
typedef std::future<RemovePhoneNumbersFromSkillGroupOutcome> RemovePhoneNumbersFromSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemovePhoneNumbersFromSkillGroupRequest&, const RemovePhoneNumbersFromSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemovePhoneNumbersFromSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveSkillGroupsFromUserResult> RemoveSkillGroupsFromUserOutcome;
|
||||
typedef std::future<RemoveSkillGroupsFromUserOutcome> RemoveSkillGroupsFromUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemoveSkillGroupsFromUserRequest&, const RemoveSkillGroupsFromUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveSkillGroupsFromUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveUsersResult> RemoveUsersOutcome;
|
||||
typedef std::future<RemoveUsersOutcome> RemoveUsersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemoveUsersRequest&, const RemoveUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveUsersFromSkillGroupResult> RemoveUsersFromSkillGroupOutcome;
|
||||
typedef std::future<RemoveUsersFromSkillGroupOutcome> RemoveUsersFromSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemoveUsersFromSkillGroupRequest&, const RemoveUsersFromSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveUsersFromSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResetAgentStateResult> ResetAgentStateOutcome;
|
||||
typedef std::future<ResetAgentStateOutcome> ResetAgentStateOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ResetAgentStateRequest&, const ResetAgentStateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetAgentStateAsyncHandler;
|
||||
@@ -324,15 +424,27 @@ namespace AlibabaCloud
|
||||
AddNumbersToSkillGroupOutcome addNumbersToSkillGroup(const Model::AddNumbersToSkillGroupRequest &request)const;
|
||||
void addNumbersToSkillGroupAsync(const Model::AddNumbersToSkillGroupRequest& request, const AddNumbersToSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddNumbersToSkillGroupOutcomeCallable addNumbersToSkillGroupCallable(const Model::AddNumbersToSkillGroupRequest& request) const;
|
||||
AddPersonalNumbersToUserOutcome addPersonalNumbersToUser(const Model::AddPersonalNumbersToUserRequest &request)const;
|
||||
void addPersonalNumbersToUserAsync(const Model::AddPersonalNumbersToUserRequest& request, const AddPersonalNumbersToUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddPersonalNumbersToUserOutcomeCallable addPersonalNumbersToUserCallable(const Model::AddPersonalNumbersToUserRequest& request) const;
|
||||
AddPhoneNumberToSkillGroupsOutcome addPhoneNumberToSkillGroups(const Model::AddPhoneNumberToSkillGroupsRequest &request)const;
|
||||
void addPhoneNumberToSkillGroupsAsync(const Model::AddPhoneNumberToSkillGroupsRequest& request, const AddPhoneNumberToSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddPhoneNumberToSkillGroupsOutcomeCallable addPhoneNumberToSkillGroupsCallable(const Model::AddPhoneNumberToSkillGroupsRequest& request) const;
|
||||
AddPhoneNumbersOutcome addPhoneNumbers(const Model::AddPhoneNumbersRequest &request)const;
|
||||
void addPhoneNumbersAsync(const Model::AddPhoneNumbersRequest& request, const AddPhoneNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddPhoneNumbersOutcomeCallable addPhoneNumbersCallable(const Model::AddPhoneNumbersRequest& request) const;
|
||||
AddSkillGroupsToUserOutcome addSkillGroupsToUser(const Model::AddSkillGroupsToUserRequest &request)const;
|
||||
void addSkillGroupsToUserAsync(const Model::AddSkillGroupsToUserRequest& request, const AddSkillGroupsToUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddSkillGroupsToUserOutcomeCallable addSkillGroupsToUserCallable(const Model::AddSkillGroupsToUserRequest& request) const;
|
||||
AddUsersToSkillGroupOutcome addUsersToSkillGroup(const Model::AddUsersToSkillGroupRequest &request)const;
|
||||
void addUsersToSkillGroupAsync(const Model::AddUsersToSkillGroupRequest& request, const AddUsersToSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddUsersToSkillGroupOutcomeCallable addUsersToSkillGroupCallable(const Model::AddUsersToSkillGroupRequest& request) const;
|
||||
AnswerCallOutcome answerCall(const Model::AnswerCallRequest &request)const;
|
||||
void answerCallAsync(const Model::AnswerCallRequest& request, const AnswerCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AnswerCallOutcomeCallable answerCallCallable(const Model::AnswerCallRequest& request) const;
|
||||
AssignUsersOutcome assignUsers(const Model::AssignUsersRequest &request)const;
|
||||
void assignUsersAsync(const Model::AssignUsersRequest& request, const AssignUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AssignUsersOutcomeCallable assignUsersCallable(const Model::AssignUsersRequest& request) const;
|
||||
BargeInCallOutcome bargeInCall(const Model::BargeInCallRequest &request)const;
|
||||
void bargeInCallAsync(const Model::BargeInCallRequest& request, const BargeInCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BargeInCallOutcomeCallable bargeInCallCallable(const Model::BargeInCallRequest& request) const;
|
||||
@@ -345,6 +457,9 @@ namespace AlibabaCloud
|
||||
ChangeWorkModeOutcome changeWorkMode(const Model::ChangeWorkModeRequest &request)const;
|
||||
void changeWorkModeAsync(const Model::ChangeWorkModeRequest& request, const ChangeWorkModeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeWorkModeOutcomeCallable changeWorkModeCallable(const Model::ChangeWorkModeRequest& request) const;
|
||||
CoachCallOutcome coachCall(const Model::CoachCallRequest &request)const;
|
||||
void coachCallAsync(const Model::CoachCallRequest& request, const CoachCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CoachCallOutcomeCallable coachCallCallable(const Model::CoachCallRequest& request) const;
|
||||
CompleteAttendedTransferOutcome completeAttendedTransfer(const Model::CompleteAttendedTransferRequest &request)const;
|
||||
void completeAttendedTransferAsync(const Model::CompleteAttendedTransferRequest& request, const CompleteAttendedTransferAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CompleteAttendedTransferOutcomeCallable completeAttendedTransferCallable(const Model::CompleteAttendedTransferRequest& request) const;
|
||||
@@ -357,6 +472,9 @@ namespace AlibabaCloud
|
||||
DeleteSkillGroupOutcome deleteSkillGroup(const Model::DeleteSkillGroupRequest &request)const;
|
||||
void deleteSkillGroupAsync(const Model::DeleteSkillGroupRequest& request, const DeleteSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSkillGroupOutcomeCallable deleteSkillGroupCallable(const Model::DeleteSkillGroupRequest& request) const;
|
||||
GetInstanceOutcome getInstance(const Model::GetInstanceRequest &request)const;
|
||||
void getInstanceAsync(const Model::GetInstanceRequest& request, const GetInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceOutcomeCallable getInstanceCallable(const Model::GetInstanceRequest& request) const;
|
||||
GetLoginDetailsOutcome getLoginDetails(const Model::GetLoginDetailsRequest &request)const;
|
||||
void getLoginDetailsAsync(const Model::GetLoginDetailsRequest& request, const GetLoginDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLoginDetailsOutcomeCallable getLoginDetailsCallable(const Model::GetLoginDetailsRequest& request) const;
|
||||
@@ -375,6 +493,9 @@ namespace AlibabaCloud
|
||||
GetTurnServerListOutcome getTurnServerList(const Model::GetTurnServerListRequest &request)const;
|
||||
void getTurnServerListAsync(const Model::GetTurnServerListRequest& request, const GetTurnServerListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTurnServerListOutcomeCallable getTurnServerListCallable(const Model::GetTurnServerListRequest& request) const;
|
||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||
HoldCallOutcome holdCall(const Model::HoldCallRequest &request)const;
|
||||
void holdCallAsync(const Model::HoldCallRequest& request, const HoldCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HoldCallOutcomeCallable holdCallCallable(const Model::HoldCallRequest& request) const;
|
||||
@@ -414,6 +535,15 @@ namespace AlibabaCloud
|
||||
ListOutboundNumbersOfUserOutcome listOutboundNumbersOfUser(const Model::ListOutboundNumbersOfUserRequest &request)const;
|
||||
void listOutboundNumbersOfUserAsync(const Model::ListOutboundNumbersOfUserRequest& request, const ListOutboundNumbersOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListOutboundNumbersOfUserOutcomeCallable listOutboundNumbersOfUserCallable(const Model::ListOutboundNumbersOfUserRequest& request) const;
|
||||
ListPersonalNumbersOfUserOutcome listPersonalNumbersOfUser(const Model::ListPersonalNumbersOfUserRequest &request)const;
|
||||
void listPersonalNumbersOfUserAsync(const Model::ListPersonalNumbersOfUserRequest& request, const ListPersonalNumbersOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPersonalNumbersOfUserOutcomeCallable listPersonalNumbersOfUserCallable(const Model::ListPersonalNumbersOfUserRequest& request) const;
|
||||
ListPhoneNumbersOutcome listPhoneNumbers(const Model::ListPhoneNumbersRequest &request)const;
|
||||
void listPhoneNumbersAsync(const Model::ListPhoneNumbersRequest& request, const ListPhoneNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhoneNumbersOutcomeCallable listPhoneNumbersCallable(const Model::ListPhoneNumbersRequest& request) const;
|
||||
ListPhoneNumbersOfSkillGroupOutcome listPhoneNumbersOfSkillGroup(const Model::ListPhoneNumbersOfSkillGroupRequest &request)const;
|
||||
void listPhoneNumbersOfSkillGroupAsync(const Model::ListPhoneNumbersOfSkillGroupRequest& request, const ListPhoneNumbersOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhoneNumbersOfSkillGroupOutcomeCallable listPhoneNumbersOfSkillGroupCallable(const Model::ListPhoneNumbersOfSkillGroupRequest& 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;
|
||||
@@ -423,12 +553,21 @@ namespace AlibabaCloud
|
||||
ListRecentCallDetailRecordsOutcome listRecentCallDetailRecords(const Model::ListRecentCallDetailRecordsRequest &request)const;
|
||||
void listRecentCallDetailRecordsAsync(const Model::ListRecentCallDetailRecordsRequest& request, const ListRecentCallDetailRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRecentCallDetailRecordsOutcomeCallable listRecentCallDetailRecordsCallable(const Model::ListRecentCallDetailRecordsRequest& request) const;
|
||||
ListRolesOutcome listRoles(const Model::ListRolesRequest &request)const;
|
||||
void listRolesAsync(const Model::ListRolesRequest& request, const ListRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRolesOutcomeCallable listRolesCallable(const Model::ListRolesRequest& request) const;
|
||||
ListSkillGroupsOutcome listSkillGroups(const Model::ListSkillGroupsRequest &request)const;
|
||||
void listSkillGroupsAsync(const Model::ListSkillGroupsRequest& request, const ListSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSkillGroupsOutcomeCallable listSkillGroupsCallable(const Model::ListSkillGroupsRequest& request) const;
|
||||
ListSkillLevelsOfUserOutcome listSkillLevelsOfUser(const Model::ListSkillLevelsOfUserRequest &request)const;
|
||||
void listSkillLevelsOfUserAsync(const Model::ListSkillLevelsOfUserRequest& request, const ListSkillLevelsOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSkillLevelsOfUserOutcomeCallable listSkillLevelsOfUserCallable(const Model::ListSkillLevelsOfUserRequest& request) const;
|
||||
ListUserLevelsOfSkillGroupOutcome listUserLevelsOfSkillGroup(const Model::ListUserLevelsOfSkillGroupRequest &request)const;
|
||||
void listUserLevelsOfSkillGroupAsync(const Model::ListUserLevelsOfSkillGroupRequest& request, const ListUserLevelsOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUserLevelsOfSkillGroupOutcomeCallable listUserLevelsOfSkillGroupCallable(const Model::ListUserLevelsOfSkillGroupRequest& request) const;
|
||||
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
|
||||
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
|
||||
MakeCallOutcome makeCall(const Model::MakeCallRequest &request)const;
|
||||
void makeCallAsync(const Model::MakeCallRequest& request, const MakeCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MakeCallOutcomeCallable makeCallCallable(const Model::MakeCallRequest& request) const;
|
||||
@@ -438,6 +577,9 @@ namespace AlibabaCloud
|
||||
ModifySkillGroupOutcome modifySkillGroup(const Model::ModifySkillGroupRequest &request)const;
|
||||
void modifySkillGroupAsync(const Model::ModifySkillGroupRequest& request, const ModifySkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySkillGroupOutcomeCallable modifySkillGroupCallable(const Model::ModifySkillGroupRequest& request) const;
|
||||
ModifySkillLevelsOfUserOutcome modifySkillLevelsOfUser(const Model::ModifySkillLevelsOfUserRequest &request)const;
|
||||
void modifySkillLevelsOfUserAsync(const Model::ModifySkillLevelsOfUserRequest& request, const ModifySkillLevelsOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySkillLevelsOfUserOutcomeCallable modifySkillLevelsOfUserCallable(const Model::ModifySkillLevelsOfUserRequest& request) const;
|
||||
ModifyUserOutcome modifyUser(const Model::ModifyUserRequest &request)const;
|
||||
void modifyUserAsync(const Model::ModifyUserRequest& request, const ModifyUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyUserOutcomeCallable modifyUserCallable(const Model::ModifyUserRequest& request) const;
|
||||
@@ -465,9 +607,27 @@ namespace AlibabaCloud
|
||||
ReleaseCallOutcome releaseCall(const Model::ReleaseCallRequest &request)const;
|
||||
void releaseCallAsync(const Model::ReleaseCallRequest& request, const ReleaseCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReleaseCallOutcomeCallable releaseCallCallable(const Model::ReleaseCallRequest& request) const;
|
||||
RemovePersonalNumbersFromUserOutcome removePersonalNumbersFromUser(const Model::RemovePersonalNumbersFromUserRequest &request)const;
|
||||
void removePersonalNumbersFromUserAsync(const Model::RemovePersonalNumbersFromUserRequest& request, const RemovePersonalNumbersFromUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemovePersonalNumbersFromUserOutcomeCallable removePersonalNumbersFromUserCallable(const Model::RemovePersonalNumbersFromUserRequest& request) const;
|
||||
RemovePhoneNumberFromSkillGroupsOutcome removePhoneNumberFromSkillGroups(const Model::RemovePhoneNumberFromSkillGroupsRequest &request)const;
|
||||
void removePhoneNumberFromSkillGroupsAsync(const Model::RemovePhoneNumberFromSkillGroupsRequest& request, const RemovePhoneNumberFromSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemovePhoneNumberFromSkillGroupsOutcomeCallable removePhoneNumberFromSkillGroupsCallable(const Model::RemovePhoneNumberFromSkillGroupsRequest& request) const;
|
||||
RemovePhoneNumbersOutcome removePhoneNumbers(const Model::RemovePhoneNumbersRequest &request)const;
|
||||
void removePhoneNumbersAsync(const Model::RemovePhoneNumbersRequest& request, const RemovePhoneNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemovePhoneNumbersOutcomeCallable removePhoneNumbersCallable(const Model::RemovePhoneNumbersRequest& request) const;
|
||||
RemovePhoneNumbersFromSkillGroupOutcome removePhoneNumbersFromSkillGroup(const Model::RemovePhoneNumbersFromSkillGroupRequest &request)const;
|
||||
void removePhoneNumbersFromSkillGroupAsync(const Model::RemovePhoneNumbersFromSkillGroupRequest& request, const RemovePhoneNumbersFromSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemovePhoneNumbersFromSkillGroupOutcomeCallable removePhoneNumbersFromSkillGroupCallable(const Model::RemovePhoneNumbersFromSkillGroupRequest& request) const;
|
||||
RemoveSkillGroupsFromUserOutcome removeSkillGroupsFromUser(const Model::RemoveSkillGroupsFromUserRequest &request)const;
|
||||
void removeSkillGroupsFromUserAsync(const Model::RemoveSkillGroupsFromUserRequest& request, const RemoveSkillGroupsFromUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveSkillGroupsFromUserOutcomeCallable removeSkillGroupsFromUserCallable(const Model::RemoveSkillGroupsFromUserRequest& request) const;
|
||||
RemoveUsersOutcome removeUsers(const Model::RemoveUsersRequest &request)const;
|
||||
void removeUsersAsync(const Model::RemoveUsersRequest& request, const RemoveUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveUsersOutcomeCallable removeUsersCallable(const Model::RemoveUsersRequest& request) const;
|
||||
RemoveUsersFromSkillGroupOutcome removeUsersFromSkillGroup(const Model::RemoveUsersFromSkillGroupRequest &request)const;
|
||||
void removeUsersFromSkillGroupAsync(const Model::RemoveUsersFromSkillGroupRequest& request, const RemoveUsersFromSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveUsersFromSkillGroupOutcomeCallable removeUsersFromSkillGroupCallable(const Model::RemoveUsersFromSkillGroupRequest& request) const;
|
||||
ResetAgentStateOutcome resetAgentState(const Model::ResetAgentStateRequest &request)const;
|
||||
void resetAgentStateAsync(const Model::ResetAgentStateRequest& request, const ResetAgentStateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetAgentStateOutcomeCallable resetAgentStateCallable(const Model::ResetAgentStateRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERREQUEST_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 AddPersonalNumbersToUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddPersonalNumbersToUserRequest();
|
||||
~AddPersonalNumbersToUserRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getNumberList()const;
|
||||
void setNumberList(const std::string& numberList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string numberList_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERRESULT_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 AddPersonalNumbersToUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddPersonalNumbersToUserResult();
|
||||
explicit AddPersonalNumbersToUserResult(const std::string &payload);
|
||||
~AddPersonalNumbersToUserResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERRESULT_H_
|
||||
60
ccc/include/alibabacloud/ccc/model/AddPhoneNumbersRequest.h
Normal file
60
ccc/include/alibabacloud/ccc/model/AddPhoneNumbersRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSREQUEST_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 AddPhoneNumbersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddPhoneNumbersRequest();
|
||||
~AddPhoneNumbersRequest();
|
||||
|
||||
std::string getContactFlowId()const;
|
||||
void setContactFlowId(const std::string& contactFlowId);
|
||||
std::string getUsage()const;
|
||||
void setUsage(const std::string& usage);
|
||||
std::string getNumberGroupId()const;
|
||||
void setNumberGroupId(const std::string& numberGroupId);
|
||||
std::string getNumberList()const;
|
||||
void setNumberList(const std::string& numberList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string contactFlowId_;
|
||||
std::string usage_;
|
||||
std::string numberGroupId_;
|
||||
std::string numberList_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSREQUEST_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/AddPhoneNumbersResult.h
Normal file
57
ccc/include/alibabacloud/ccc/model/AddPhoneNumbersResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSRESULT_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 AddPhoneNumbersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddPhoneNumbersResult();
|
||||
explicit AddPhoneNumbersResult(const std::string &payload);
|
||||
~AddPhoneNumbersResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPREQUEST_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 AddUsersToSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddUsersToSkillGroupRequest();
|
||||
~AddUsersToSkillGroupRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserSkillLevelList()const;
|
||||
void setUserSkillLevelList(const std::string& userSkillLevelList);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string userSkillLevelList_;
|
||||
std::string skillGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_ADDUSERSTOSKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPRESULT_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 AddUsersToSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddUsersToSkillGroupResult();
|
||||
explicit AddUsersToSkillGroupResult(const std::string &payload);
|
||||
~AddUsersToSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPRESULT_H_
|
||||
60
ccc/include/alibabacloud/ccc/model/AssignUsersRequest.h
Normal file
60
ccc/include/alibabacloud/ccc/model/AssignUsersRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_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 AssignUsersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AssignUsersRequest();
|
||||
~AssignUsersRequest();
|
||||
|
||||
std::string getRamIdList()const;
|
||||
void setRamIdList(const std::string& ramIdList);
|
||||
std::string getRoleId()const;
|
||||
void setRoleId(const std::string& roleId);
|
||||
std::string getWorkMode()const;
|
||||
void setWorkMode(const std::string& workMode);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillLevelList()const;
|
||||
void setSkillLevelList(const std::string& skillLevelList);
|
||||
|
||||
private:
|
||||
std::string ramIdList_;
|
||||
std::string roleId_;
|
||||
std::string workMode_;
|
||||
std::string instanceId_;
|
||||
std::string skillLevelList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_
|
||||
61
ccc/include/alibabacloud/ccc/model/AssignUsersResult.h
Normal file
61
ccc/include/alibabacloud/ccc/model/AssignUsersResult.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSRESULT_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 AssignUsersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AssignUsersResult();
|
||||
explicit AssignUsersResult(const std::string &payload);
|
||||
~AssignUsersResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getData()const;
|
||||
std::string getSync()const;
|
||||
std::string getWorkflowId()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string data_;
|
||||
std::string sync_;
|
||||
std::string workflowId_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSRESULT_H_
|
||||
63
ccc/include/alibabacloud/ccc/model/CoachCallRequest.h
Normal file
63
ccc/include/alibabacloud/ccc/model/CoachCallRequest.h
Normal 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_CCC_MODEL_COACHCALLREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_COACHCALLREQUEST_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 CoachCallRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CoachCallRequest();
|
||||
~CoachCallRequest();
|
||||
|
||||
std::string getCoachedUserId()const;
|
||||
void setCoachedUserId(const std::string& coachedUserId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
int getTimeoutSeconds()const;
|
||||
void setTimeoutSeconds(int timeoutSeconds);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string coachedUserId_;
|
||||
std::string userId_;
|
||||
std::string deviceId_;
|
||||
std::string jobId_;
|
||||
int timeoutSeconds_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_COACHCALLREQUEST_H_
|
||||
107
ccc/include/alibabacloud/ccc/model/CoachCallResult.h
Normal file
107
ccc/include/alibabacloud/ccc/model/CoachCallResult.h
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_COACHCALLRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_COACHCALLRESULT_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 CoachCallResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct CallContext
|
||||
{
|
||||
struct ChannelContext
|
||||
{
|
||||
std::string destination;
|
||||
std::string channelState;
|
||||
std::string releaseInitiator;
|
||||
std::string callType;
|
||||
int index;
|
||||
std::string associatedData;
|
||||
std::string skillGroupId;
|
||||
std::string channelId;
|
||||
long timestamp;
|
||||
std::string releaseReason;
|
||||
std::string channelFlags;
|
||||
std::string originator;
|
||||
std::string userId;
|
||||
std::string userExtension;
|
||||
std::string jobId;
|
||||
};
|
||||
std::string instanceId;
|
||||
std::string callType;
|
||||
std::string jobId;
|
||||
std::vector<ChannelContext> channelContexts;
|
||||
};
|
||||
struct UserContext
|
||||
{
|
||||
std::string userState;
|
||||
std::string instanceId;
|
||||
std::string breakCode;
|
||||
std::string deviceId;
|
||||
bool outboundScenario;
|
||||
std::string mobile;
|
||||
std::string uri;
|
||||
std::vector<std::string> signedSkillGroupIdList;
|
||||
std::string extension;
|
||||
std::string deviceState;
|
||||
std::string userId;
|
||||
long heartbeat;
|
||||
std::string jobId;
|
||||
std::string workMode;
|
||||
long reserved;
|
||||
};
|
||||
UserContext userContext;
|
||||
CallContext callContext;
|
||||
};
|
||||
|
||||
|
||||
CoachCallResult();
|
||||
explicit CoachCallResult(const std::string &payload);
|
||||
~CoachCallResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_COACHCALLRESULT_H_
|
||||
@@ -14,35 +14,35 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_POSTASYNCSCANRESULTSREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_POSTASYNCSCANRESULTSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT PostAsyncScanResultsRequest : public RoaServiceRequest
|
||||
class ALIBABACLOUD_CCC_EXPORT GetInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PostAsyncScanResultsRequest();
|
||||
~PostAsyncScanResultsRequest();
|
||||
GetInstanceRequest();
|
||||
~GetInstanceRequest();
|
||||
|
||||
std::string getClientInfo()const;
|
||||
void setClientInfo(const std::string& clientInfo);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string clientInfo_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_POSTASYNCSCANRESULTSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETINSTANCEREQUEST_H_
|
||||
106
ccc/include/alibabacloud/ccc/model/GetInstanceResult.h
Normal file
106
ccc/include/alibabacloud/ccc/model/GetInstanceResult.h
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETINSTANCERESULT_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 GetInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct User
|
||||
{
|
||||
std::string extension;
|
||||
std::string loginName;
|
||||
std::string roleName;
|
||||
std::string email;
|
||||
std::string instanceId;
|
||||
std::string userId;
|
||||
std::string displayName;
|
||||
std::string mobile;
|
||||
std::string roleId;
|
||||
std::string workMode;
|
||||
};
|
||||
struct PhoneNumber
|
||||
{
|
||||
struct SkillGroup
|
||||
{
|
||||
std::string description;
|
||||
std::string instanceId;
|
||||
int phoneNumberCount;
|
||||
int userCount;
|
||||
std::string displayName;
|
||||
std::string skillGroupId;
|
||||
std::string name;
|
||||
};
|
||||
bool active;
|
||||
std::string usage;
|
||||
std::string number;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string userId;
|
||||
std::vector<PhoneNumber::SkillGroup> skillGroups;
|
||||
std::string city;
|
||||
std::string province;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<User> adminList;
|
||||
std::string description;
|
||||
std::string consoleUrl;
|
||||
std::string domainName;
|
||||
std::string aliyunUid;
|
||||
std::vector<PhoneNumber> numberList;
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetInstanceResult();
|
||||
explicit GetInstanceResult(const std::string &payload);
|
||||
~GetInstanceResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETINSTANCERESULT_H_
|
||||
54
ccc/include/alibabacloud/ccc/model/GetUserRequest.h
Normal file
54
ccc/include/alibabacloud/ccc/model/GetUserRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETUSERREQUEST_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 GetUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetUserRequest();
|
||||
~GetUserRequest();
|
||||
|
||||
std::string getExtension()const;
|
||||
void setExtension(const std::string& extension);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string extension_;
|
||||
std::string userId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETUSERREQUEST_H_
|
||||
72
ccc/include/alibabacloud/ccc/model/GetUserResult.h
Normal file
72
ccc/include/alibabacloud/ccc/model/GetUserResult.h
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETUSERRESULT_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 GetUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string extension;
|
||||
std::string loginName;
|
||||
std::string roleName;
|
||||
std::string email;
|
||||
std::string instanceId;
|
||||
std::string userId;
|
||||
std::string displayName;
|
||||
std::string mobile;
|
||||
std::string roleId;
|
||||
std::string workMode;
|
||||
};
|
||||
|
||||
|
||||
GetUserResult();
|
||||
explicit GetUserResult(const std::string &payload);
|
||||
~GetUserResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETUSERRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPERSONALNUMBERSOFUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPERSONALNUMBERSOFUSERREQUEST_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 ListPersonalNumbersOfUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPersonalNumbersOfUserRequest();
|
||||
~ListPersonalNumbersOfUserRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
bool getIsMember()const;
|
||||
void setIsMember(bool isMember);
|
||||
std::string getSearchPattern()const;
|
||||
void setSearchPattern(const std::string& searchPattern);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
int pageNumber_;
|
||||
bool isMember_;
|
||||
std::string searchPattern_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPERSONALNUMBERSOFUSERREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPERSONALNUMBERSOFUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPERSONALNUMBERSOFUSERRESULT_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 ListPersonalNumbersOfUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct PhoneNumber
|
||||
{
|
||||
bool active;
|
||||
std::string number;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string city;
|
||||
std::string province;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<PhoneNumber> list;
|
||||
};
|
||||
|
||||
|
||||
ListPersonalNumbersOfUserResult();
|
||||
explicit ListPersonalNumbersOfUserResult(const std::string &payload);
|
||||
~ListPersonalNumbersOfUserResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPERSONALNUMBERSOFUSERRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSOFSKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSOFSKILLGROUPREQUEST_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 ListPhoneNumbersOfSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPhoneNumbersOfSkillGroupRequest();
|
||||
~ListPhoneNumbersOfSkillGroupRequest();
|
||||
|
||||
bool getActive()const;
|
||||
void setActive(bool active);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
bool getIsMember()const;
|
||||
void setIsMember(bool isMember);
|
||||
std::string getSearchPattern()const;
|
||||
void setSearchPattern(const std::string& searchPattern);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
bool active_;
|
||||
int pageNumber_;
|
||||
bool isMember_;
|
||||
std::string searchPattern_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSOFSKILLGROUPREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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_LISTPHONENUMBERSOFSKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSOFSKILLGROUPRESULT_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 ListPhoneNumbersOfSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct PhoneNumber
|
||||
{
|
||||
bool active;
|
||||
std::string usage;
|
||||
std::string number;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string city;
|
||||
std::string province;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<PhoneNumber> list;
|
||||
};
|
||||
|
||||
|
||||
ListPhoneNumbersOfSkillGroupResult();
|
||||
explicit ListPhoneNumbersOfSkillGroupResult(const std::string &payload);
|
||||
~ListPhoneNumbersOfSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSOFSKILLGROUPRESULT_H_
|
||||
63
ccc/include/alibabacloud/ccc/model/ListPhoneNumbersRequest.h
Normal file
63
ccc/include/alibabacloud/ccc/model/ListPhoneNumbersRequest.h
Normal 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_CCC_MODEL_LISTPHONENUMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSREQUEST_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 ListPhoneNumbersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPhoneNumbersRequest();
|
||||
~ListPhoneNumbersRequest();
|
||||
|
||||
std::string getUsage()const;
|
||||
void setUsage(const std::string& usage);
|
||||
bool getActive()const;
|
||||
void setActive(bool active);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getSearchPattern()const;
|
||||
void setSearchPattern(const std::string& searchPattern);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string usage_;
|
||||
bool active_;
|
||||
int pageNumber_;
|
||||
std::string searchPattern_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSREQUEST_H_
|
||||
91
ccc/include/alibabacloud/ccc/model/ListPhoneNumbersResult.h
Normal file
91
ccc/include/alibabacloud/ccc/model/ListPhoneNumbersResult.h
Normal file
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* 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_LISTPHONENUMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSRESULT_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 ListPhoneNumbersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct PhoneNumber
|
||||
{
|
||||
struct SkillGroup
|
||||
{
|
||||
std::string instanceId;
|
||||
std::string displayName;
|
||||
std::string skillGroupId;
|
||||
std::string name;
|
||||
};
|
||||
std::string usage;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string createTime;
|
||||
std::vector<PhoneNumber::SkillGroup> skillGroups;
|
||||
std::string city;
|
||||
std::string province;
|
||||
std::string provider;
|
||||
bool active;
|
||||
std::string number;
|
||||
std::string userId;
|
||||
std::string contactFlowName;
|
||||
std::string tags;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<PhoneNumber> list;
|
||||
};
|
||||
|
||||
|
||||
ListPhoneNumbersResult();
|
||||
explicit ListPhoneNumbersResult(const std::string &payload);
|
||||
~ListPhoneNumbersResult();
|
||||
std::string getMessage()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSRESULT_H_
|
||||
48
ccc/include/alibabacloud/ccc/model/ListRolesRequest.h
Normal file
48
ccc/include/alibabacloud/ccc/model/ListRolesRequest.h
Normal 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_CCC_MODEL_LISTROLESREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTROLESREQUEST_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 ListRolesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListRolesRequest();
|
||||
~ListRolesRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTROLESREQUEST_H_
|
||||
62
ccc/include/alibabacloud/ccc/model/ListRolesResult.h
Normal file
62
ccc/include/alibabacloud/ccc/model/ListRolesResult.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTROLESRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTROLESRESULT_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 ListRolesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Role
|
||||
{
|
||||
std::string roleId;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListRolesResult();
|
||||
explicit ListRolesResult(const std::string &payload);
|
||||
~ListRolesResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<Role> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<Role> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTROLESRESULT_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/ListSkillGroupsRequest.h
Normal file
57
ccc/include/alibabacloud/ccc/model/ListSkillGroupsRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSREQUEST_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 ListSkillGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListSkillGroupsRequest();
|
||||
~ListSkillGroupsRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getSearchPattern()const;
|
||||
void setSearchPattern(const std::string& searchPattern);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string searchPattern_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSREQUEST_H_
|
||||
74
ccc/include/alibabacloud/ccc/model/ListSkillGroupsResult.h
Normal file
74
ccc/include/alibabacloud/ccc/model/ListSkillGroupsResult.h
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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_LISTSKILLGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSRESULT_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 ListSkillGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct SkillGroup
|
||||
{
|
||||
std::string description;
|
||||
std::string skillGroupName;
|
||||
std::string instanceId;
|
||||
int phoneNumberCount;
|
||||
int userCount;
|
||||
std::string displayName;
|
||||
std::string skillGroupId;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<SkillGroup> list;
|
||||
};
|
||||
|
||||
|
||||
ListSkillGroupsResult();
|
||||
explicit ListSkillGroupsResult(const std::string &payload);
|
||||
~ListSkillGroupsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSRESULT_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/ListUsersRequest.h
Normal file
57
ccc/include/alibabacloud/ccc/model/ListUsersRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTUSERSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTUSERSREQUEST_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 ListUsersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListUsersRequest();
|
||||
~ListUsersRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getSearchPattern()const;
|
||||
void setSearchPattern(const std::string& searchPattern);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string searchPattern_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTUSERSREQUEST_H_
|
||||
93
ccc/include/alibabacloud/ccc/model/ListUsersResult.h
Normal file
93
ccc/include/alibabacloud/ccc/model/ListUsersResult.h
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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_LISTUSERSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTUSERSRESULT_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 ListUsersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct UserDetail
|
||||
{
|
||||
struct PhoneNumber
|
||||
{
|
||||
bool active;
|
||||
std::string usage;
|
||||
std::string number;
|
||||
std::string city;
|
||||
std::string province;
|
||||
};
|
||||
struct UserSkillLevel
|
||||
{
|
||||
std::string skillGroupName;
|
||||
int skillLevel;
|
||||
std::string skillGroupId;
|
||||
};
|
||||
std::string loginName;
|
||||
std::string roleName;
|
||||
std::string email;
|
||||
std::string userId;
|
||||
std::vector<UserDetail::UserSkillLevel> skillLevelList;
|
||||
std::string displayName;
|
||||
std::vector<UserDetail::PhoneNumber> personalOutboundNumberList;
|
||||
std::string mobile;
|
||||
std::string roleId;
|
||||
std::string workMode;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<UserDetail> list;
|
||||
};
|
||||
|
||||
|
||||
ListUsersResult();
|
||||
explicit ListUsersResult(const std::string &payload);
|
||||
~ListUsersResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTUSERSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYSKILLLEVELSOFUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYSKILLLEVELSOFUSERREQUEST_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 ModifySkillLevelsOfUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifySkillLevelsOfUserRequest();
|
||||
~ModifySkillLevelsOfUserRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillLevelList()const;
|
||||
void setSkillLevelList(const std::string& skillLevelList);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string instanceId_;
|
||||
std::string skillLevelList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYSKILLLEVELSOFUSERREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYSKILLLEVELSOFUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYSKILLLEVELSOFUSERRESULT_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 ModifySkillLevelsOfUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifySkillLevelsOfUserResult();
|
||||
explicit ModifySkillLevelsOfUserResult(const std::string &payload);
|
||||
~ModifySkillLevelsOfUserResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYSKILLLEVELSOFUSERRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPERSONALNUMBERSFROMUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEPERSONALNUMBERSFROMUSERREQUEST_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 RemovePersonalNumbersFromUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemovePersonalNumbersFromUserRequest();
|
||||
~RemovePersonalNumbersFromUserRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getNumberList()const;
|
||||
void setNumberList(const std::string& numberList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string numberList_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPERSONALNUMBERSFROMUSERREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_REMOVEPERSONALNUMBERSFROMUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEPERSONALNUMBERSFROMUSERRESULT_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 RemovePersonalNumbersFromUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemovePersonalNumbersFromUserResult();
|
||||
explicit RemovePersonalNumbersFromUserResult(const std::string &payload);
|
||||
~RemovePersonalNumbersFromUserResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPERSONALNUMBERSFROMUSERRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERFROMSKILLGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERFROMSKILLGROUPSREQUEST_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 RemovePhoneNumberFromSkillGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemovePhoneNumberFromSkillGroupsRequest();
|
||||
~RemovePhoneNumberFromSkillGroupsRequest();
|
||||
|
||||
std::string getNumber()const;
|
||||
void setNumber(const std::string& number);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupIdList()const;
|
||||
void setSkillGroupIdList(const std::string& skillGroupIdList);
|
||||
|
||||
private:
|
||||
std::string number_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupIdList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERFROMSKILLGROUPSREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_REMOVEPHONENUMBERFROMSKILLGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERFROMSKILLGROUPSRESULT_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 RemovePhoneNumberFromSkillGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemovePhoneNumberFromSkillGroupsResult();
|
||||
explicit RemovePhoneNumberFromSkillGroupsResult(const std::string &payload);
|
||||
~RemovePhoneNumberFromSkillGroupsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERFROMSKILLGROUPSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSREQUEST_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 RemovePhoneNumbersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemovePhoneNumbersRequest();
|
||||
~RemovePhoneNumbersRequest();
|
||||
|
||||
std::string getNumberList()const;
|
||||
void setNumberList(const std::string& numberList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string numberList_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSRESULT_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 RemovePhoneNumbersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemovePhoneNumbersResult();
|
||||
explicit RemovePhoneNumbersResult(const std::string &payload);
|
||||
~RemovePhoneNumbersResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
std::vector<std::string> getFailureList()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
std::vector<std::string> failureList_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVESKILLGROUPSFROMUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVESKILLGROUPSFROMUSERREQUEST_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 RemoveSkillGroupsFromUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveSkillGroupsFromUserRequest();
|
||||
~RemoveSkillGroupsFromUserRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupIdList()const;
|
||||
void setSkillGroupIdList(const std::string& skillGroupIdList);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupIdList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVESKILLGROUPSFROMUSERREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVESKILLGROUPSFROMUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVESKILLGROUPSFROMUSERRESULT_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 RemoveSkillGroupsFromUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveSkillGroupsFromUserResult();
|
||||
explicit RemoveSkillGroupsFromUserResult(const std::string &payload);
|
||||
~RemoveSkillGroupsFromUserResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVESKILLGROUPSFROMUSERRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEUSERSFROMSKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEUSERSFROMSKILLGROUPREQUEST_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 RemoveUsersFromSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveUsersFromSkillGroupRequest();
|
||||
~RemoveUsersFromSkillGroupRequest();
|
||||
|
||||
std::string getUserIdList()const;
|
||||
void setUserIdList(const std::string& userIdList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
|
||||
private:
|
||||
std::string userIdList_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEUSERSFROMSKILLGROUPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_REMOVEUSERSFROMSKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEUSERSFROMSKILLGROUPRESULT_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 RemoveUsersFromSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveUsersFromSkillGroupResult();
|
||||
explicit RemoveUsersFromSkillGroupResult(const std::string &payload);
|
||||
~RemoveUsersFromSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEUSERSFROMSKILLGROUPRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/RemoveUsersRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/RemoveUsersRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEUSERSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEUSERSREQUEST_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 RemoveUsersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveUsersRequest();
|
||||
~RemoveUsersRequest();
|
||||
|
||||
std::string getUserIdList()const;
|
||||
void setUserIdList(const std::string& userIdList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string userIdList_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEUSERSREQUEST_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/RemoveUsersResult.h
Normal file
57
ccc/include/alibabacloud/ccc/model/RemoveUsersResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEUSERSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEUSERSRESULT_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 RemoveUsersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveUsersResult();
|
||||
explicit RemoveUsersResult(const std::string &payload);
|
||||
~RemoveUsersResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getParams()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> params_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEUSERSRESULT_H_
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setBroker(const std::string& broker);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAdditionalBroker()const;
|
||||
void setAdditionalBroker(const std::string& additionalBroker);
|
||||
std::string getTags()const;
|
||||
@@ -56,6 +58,7 @@ namespace AlibabaCloud
|
||||
std::string callee_;
|
||||
std::string broker_;
|
||||
std::string userId_;
|
||||
std::string deviceId_;
|
||||
std::string additionalBroker_;
|
||||
std::string tags_;
|
||||
int timeoutSeconds_;
|
||||
|
||||
@@ -87,6 +87,42 @@ CCCClient::AddNumbersToSkillGroupOutcomeCallable CCCClient::addNumbersToSkillGro
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::AddPersonalNumbersToUserOutcome CCCClient::addPersonalNumbersToUser(const AddPersonalNumbersToUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddPersonalNumbersToUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddPersonalNumbersToUserOutcome(AddPersonalNumbersToUserResult(outcome.result()));
|
||||
else
|
||||
return AddPersonalNumbersToUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::addPersonalNumbersToUserAsync(const AddPersonalNumbersToUserRequest& request, const AddPersonalNumbersToUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addPersonalNumbersToUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::AddPersonalNumbersToUserOutcomeCallable CCCClient::addPersonalNumbersToUserCallable(const AddPersonalNumbersToUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddPersonalNumbersToUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addPersonalNumbersToUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::AddPhoneNumberToSkillGroupsOutcome CCCClient::addPhoneNumberToSkillGroups(const AddPhoneNumberToSkillGroupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -123,6 +159,42 @@ CCCClient::AddPhoneNumberToSkillGroupsOutcomeCallable CCCClient::addPhoneNumberT
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::AddPhoneNumbersOutcome CCCClient::addPhoneNumbers(const AddPhoneNumbersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddPhoneNumbersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddPhoneNumbersOutcome(AddPhoneNumbersResult(outcome.result()));
|
||||
else
|
||||
return AddPhoneNumbersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::addPhoneNumbersAsync(const AddPhoneNumbersRequest& request, const AddPhoneNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addPhoneNumbers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::AddPhoneNumbersOutcomeCallable CCCClient::addPhoneNumbersCallable(const AddPhoneNumbersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddPhoneNumbersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addPhoneNumbers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::AddSkillGroupsToUserOutcome CCCClient::addSkillGroupsToUser(const AddSkillGroupsToUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -159,6 +231,42 @@ CCCClient::AddSkillGroupsToUserOutcomeCallable CCCClient::addSkillGroupsToUserCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::AddUsersToSkillGroupOutcome CCCClient::addUsersToSkillGroup(const AddUsersToSkillGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddUsersToSkillGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddUsersToSkillGroupOutcome(AddUsersToSkillGroupResult(outcome.result()));
|
||||
else
|
||||
return AddUsersToSkillGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::addUsersToSkillGroupAsync(const AddUsersToSkillGroupRequest& request, const AddUsersToSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addUsersToSkillGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::AddUsersToSkillGroupOutcomeCallable CCCClient::addUsersToSkillGroupCallable(const AddUsersToSkillGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddUsersToSkillGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addUsersToSkillGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::AnswerCallOutcome CCCClient::answerCall(const AnswerCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -195,6 +303,42 @@ CCCClient::AnswerCallOutcomeCallable CCCClient::answerCallCallable(const AnswerC
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::AssignUsersOutcome CCCClient::assignUsers(const AssignUsersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AssignUsersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AssignUsersOutcome(AssignUsersResult(outcome.result()));
|
||||
else
|
||||
return AssignUsersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::assignUsersAsync(const AssignUsersRequest& request, const AssignUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, assignUsers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::AssignUsersOutcomeCallable CCCClient::assignUsersCallable(const AssignUsersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AssignUsersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->assignUsers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::BargeInCallOutcome CCCClient::bargeInCall(const BargeInCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -339,6 +483,42 @@ CCCClient::ChangeWorkModeOutcomeCallable CCCClient::changeWorkModeCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::CoachCallOutcome CCCClient::coachCall(const CoachCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CoachCallOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CoachCallOutcome(CoachCallResult(outcome.result()));
|
||||
else
|
||||
return CoachCallOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::coachCallAsync(const CoachCallRequest& request, const CoachCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, coachCall(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::CoachCallOutcomeCallable CCCClient::coachCallCallable(const CoachCallRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CoachCallOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->coachCall(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::CompleteAttendedTransferOutcome CCCClient::completeAttendedTransfer(const CompleteAttendedTransferRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,6 +663,42 @@ CCCClient::DeleteSkillGroupOutcomeCallable CCCClient::deleteSkillGroupCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::GetInstanceOutcome CCCClient::getInstance(const GetInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetInstanceOutcome(GetInstanceResult(outcome.result()));
|
||||
else
|
||||
return GetInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::getInstanceAsync(const GetInstanceRequest& request, const GetInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::GetInstanceOutcomeCallable CCCClient::getInstanceCallable(const GetInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::GetLoginDetailsOutcome CCCClient::getLoginDetails(const GetLoginDetailsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -699,6 +915,42 @@ CCCClient::GetTurnServerListOutcomeCallable CCCClient::getTurnServerListCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::GetUserOutcome CCCClient::getUser(const GetUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetUserOutcome(GetUserResult(outcome.result()));
|
||||
else
|
||||
return GetUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::getUserAsync(const GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::GetUserOutcomeCallable CCCClient::getUserCallable(const GetUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::HoldCallOutcome CCCClient::holdCall(const HoldCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1167,6 +1419,114 @@ CCCClient::ListOutboundNumbersOfUserOutcomeCallable CCCClient::listOutboundNumbe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListPersonalNumbersOfUserOutcome CCCClient::listPersonalNumbersOfUser(const ListPersonalNumbersOfUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListPersonalNumbersOfUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListPersonalNumbersOfUserOutcome(ListPersonalNumbersOfUserResult(outcome.result()));
|
||||
else
|
||||
return ListPersonalNumbersOfUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listPersonalNumbersOfUserAsync(const ListPersonalNumbersOfUserRequest& request, const ListPersonalNumbersOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listPersonalNumbersOfUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListPersonalNumbersOfUserOutcomeCallable CCCClient::listPersonalNumbersOfUserCallable(const ListPersonalNumbersOfUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListPersonalNumbersOfUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listPersonalNumbersOfUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListPhoneNumbersOutcome CCCClient::listPhoneNumbers(const ListPhoneNumbersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListPhoneNumbersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListPhoneNumbersOutcome(ListPhoneNumbersResult(outcome.result()));
|
||||
else
|
||||
return ListPhoneNumbersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listPhoneNumbersAsync(const ListPhoneNumbersRequest& request, const ListPhoneNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listPhoneNumbers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListPhoneNumbersOutcomeCallable CCCClient::listPhoneNumbersCallable(const ListPhoneNumbersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListPhoneNumbersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listPhoneNumbers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListPhoneNumbersOfSkillGroupOutcome CCCClient::listPhoneNumbersOfSkillGroup(const ListPhoneNumbersOfSkillGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListPhoneNumbersOfSkillGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListPhoneNumbersOfSkillGroupOutcome(ListPhoneNumbersOfSkillGroupResult(outcome.result()));
|
||||
else
|
||||
return ListPhoneNumbersOfSkillGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listPhoneNumbersOfSkillGroupAsync(const ListPhoneNumbersOfSkillGroupRequest& request, const ListPhoneNumbersOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listPhoneNumbersOfSkillGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListPhoneNumbersOfSkillGroupOutcomeCallable CCCClient::listPhoneNumbersOfSkillGroupCallable(const ListPhoneNumbersOfSkillGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListPhoneNumbersOfSkillGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listPhoneNumbersOfSkillGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListPrivilegesOfUserOutcome CCCClient::listPrivilegesOfUser(const ListPrivilegesOfUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1275,6 +1635,78 @@ CCCClient::ListRecentCallDetailRecordsOutcomeCallable CCCClient::listRecentCallD
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListRolesOutcome CCCClient::listRoles(const ListRolesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListRolesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListRolesOutcome(ListRolesResult(outcome.result()));
|
||||
else
|
||||
return ListRolesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listRolesAsync(const ListRolesRequest& request, const ListRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listRoles(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListRolesOutcomeCallable CCCClient::listRolesCallable(const ListRolesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListRolesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listRoles(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListSkillGroupsOutcome CCCClient::listSkillGroups(const ListSkillGroupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListSkillGroupsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListSkillGroupsOutcome(ListSkillGroupsResult(outcome.result()));
|
||||
else
|
||||
return ListSkillGroupsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listSkillGroupsAsync(const ListSkillGroupsRequest& request, const ListSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listSkillGroups(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListSkillGroupsOutcomeCallable CCCClient::listSkillGroupsCallable(const ListSkillGroupsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListSkillGroupsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listSkillGroups(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListSkillLevelsOfUserOutcome CCCClient::listSkillLevelsOfUser(const ListSkillLevelsOfUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1347,6 +1779,42 @@ CCCClient::ListUserLevelsOfSkillGroupOutcomeCallable CCCClient::listUserLevelsOf
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListUsersOutcome CCCClient::listUsers(const ListUsersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListUsersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListUsersOutcome(ListUsersResult(outcome.result()));
|
||||
else
|
||||
return ListUsersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listUsersAsync(const ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listUsers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListUsersOutcomeCallable CCCClient::listUsersCallable(const ListUsersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListUsersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listUsers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::MakeCallOutcome CCCClient::makeCall(const MakeCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1455,6 +1923,42 @@ CCCClient::ModifySkillGroupOutcomeCallable CCCClient::modifySkillGroupCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ModifySkillLevelsOfUserOutcome CCCClient::modifySkillLevelsOfUser(const ModifySkillLevelsOfUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifySkillLevelsOfUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifySkillLevelsOfUserOutcome(ModifySkillLevelsOfUserResult(outcome.result()));
|
||||
else
|
||||
return ModifySkillLevelsOfUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::modifySkillLevelsOfUserAsync(const ModifySkillLevelsOfUserRequest& request, const ModifySkillLevelsOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifySkillLevelsOfUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ModifySkillLevelsOfUserOutcomeCallable CCCClient::modifySkillLevelsOfUserCallable(const ModifySkillLevelsOfUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifySkillLevelsOfUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifySkillLevelsOfUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ModifyUserOutcome CCCClient::modifyUser(const ModifyUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1779,6 +2283,114 @@ CCCClient::ReleaseCallOutcomeCallable CCCClient::releaseCallCallable(const Relea
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::RemovePersonalNumbersFromUserOutcome CCCClient::removePersonalNumbersFromUser(const RemovePersonalNumbersFromUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemovePersonalNumbersFromUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemovePersonalNumbersFromUserOutcome(RemovePersonalNumbersFromUserResult(outcome.result()));
|
||||
else
|
||||
return RemovePersonalNumbersFromUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::removePersonalNumbersFromUserAsync(const RemovePersonalNumbersFromUserRequest& request, const RemovePersonalNumbersFromUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removePersonalNumbersFromUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::RemovePersonalNumbersFromUserOutcomeCallable CCCClient::removePersonalNumbersFromUserCallable(const RemovePersonalNumbersFromUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemovePersonalNumbersFromUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removePersonalNumbersFromUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::RemovePhoneNumberFromSkillGroupsOutcome CCCClient::removePhoneNumberFromSkillGroups(const RemovePhoneNumberFromSkillGroupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemovePhoneNumberFromSkillGroupsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemovePhoneNumberFromSkillGroupsOutcome(RemovePhoneNumberFromSkillGroupsResult(outcome.result()));
|
||||
else
|
||||
return RemovePhoneNumberFromSkillGroupsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::removePhoneNumberFromSkillGroupsAsync(const RemovePhoneNumberFromSkillGroupsRequest& request, const RemovePhoneNumberFromSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removePhoneNumberFromSkillGroups(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::RemovePhoneNumberFromSkillGroupsOutcomeCallable CCCClient::removePhoneNumberFromSkillGroupsCallable(const RemovePhoneNumberFromSkillGroupsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemovePhoneNumberFromSkillGroupsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removePhoneNumberFromSkillGroups(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::RemovePhoneNumbersOutcome CCCClient::removePhoneNumbers(const RemovePhoneNumbersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemovePhoneNumbersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemovePhoneNumbersOutcome(RemovePhoneNumbersResult(outcome.result()));
|
||||
else
|
||||
return RemovePhoneNumbersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::removePhoneNumbersAsync(const RemovePhoneNumbersRequest& request, const RemovePhoneNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removePhoneNumbers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::RemovePhoneNumbersOutcomeCallable CCCClient::removePhoneNumbersCallable(const RemovePhoneNumbersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemovePhoneNumbersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removePhoneNumbers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::RemovePhoneNumbersFromSkillGroupOutcome CCCClient::removePhoneNumbersFromSkillGroup(const RemovePhoneNumbersFromSkillGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1815,6 +2427,114 @@ CCCClient::RemovePhoneNumbersFromSkillGroupOutcomeCallable CCCClient::removePhon
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::RemoveSkillGroupsFromUserOutcome CCCClient::removeSkillGroupsFromUser(const RemoveSkillGroupsFromUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveSkillGroupsFromUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveSkillGroupsFromUserOutcome(RemoveSkillGroupsFromUserResult(outcome.result()));
|
||||
else
|
||||
return RemoveSkillGroupsFromUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::removeSkillGroupsFromUserAsync(const RemoveSkillGroupsFromUserRequest& request, const RemoveSkillGroupsFromUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeSkillGroupsFromUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::RemoveSkillGroupsFromUserOutcomeCallable CCCClient::removeSkillGroupsFromUserCallable(const RemoveSkillGroupsFromUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveSkillGroupsFromUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeSkillGroupsFromUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::RemoveUsersOutcome CCCClient::removeUsers(const RemoveUsersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveUsersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveUsersOutcome(RemoveUsersResult(outcome.result()));
|
||||
else
|
||||
return RemoveUsersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::removeUsersAsync(const RemoveUsersRequest& request, const RemoveUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeUsers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::RemoveUsersOutcomeCallable CCCClient::removeUsersCallable(const RemoveUsersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveUsersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeUsers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::RemoveUsersFromSkillGroupOutcome CCCClient::removeUsersFromSkillGroup(const RemoveUsersFromSkillGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveUsersFromSkillGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveUsersFromSkillGroupOutcome(RemoveUsersFromSkillGroupResult(outcome.result()));
|
||||
else
|
||||
return RemoveUsersFromSkillGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::removeUsersFromSkillGroupAsync(const RemoveUsersFromSkillGroupRequest& request, const RemoveUsersFromSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeUsersFromSkillGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::RemoveUsersFromSkillGroupOutcomeCallable CCCClient::removeUsersFromSkillGroupCallable(const RemoveUsersFromSkillGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveUsersFromSkillGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeUsersFromSkillGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ResetAgentStateOutcome CCCClient::resetAgentState(const ResetAgentStateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user