Compare commits
62 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1e11dbb5b | ||
|
|
5fb8057a45 | ||
|
|
fa0fe1ae07 | ||
|
|
89a2517800 | ||
|
|
d5af7a4c61 | ||
|
|
ca3cd3584e | ||
|
|
5dbd88a76d | ||
|
|
213faf8f4f | ||
|
|
d42d229efb | ||
|
|
bd57cca01a | ||
|
|
4b57f18912 | ||
|
|
4134095a0d | ||
|
|
b1e2b491e9 | ||
|
|
08961b2ff9 | ||
|
|
25cc56a91b | ||
|
|
1435718263 | ||
|
|
99a78222f2 | ||
|
|
4bfb40e4b1 | ||
|
|
1a4543ff56 | ||
|
|
779ed847e3 | ||
|
|
20fb930aaf | ||
|
|
a09a6e094a | ||
|
|
d78148b8be | ||
|
|
47cbc71c7f | ||
|
|
63135520bc | ||
|
|
d68d8044d3 | ||
|
|
7e07a62c24 | ||
|
|
6007aa1ea1 | ||
|
|
2de2101c40 | ||
|
|
c0bae997ea | ||
|
|
0060c7ff27 | ||
|
|
621eb3945b | ||
|
|
9b557e564e | ||
|
|
605dc1cf5a | ||
|
|
832a2a7525 | ||
|
|
4f195142c9 | ||
|
|
972958c1e3 | ||
|
|
c2bfeb1216 | ||
|
|
8383b37798 | ||
|
|
8ca3ea3fdf | ||
|
|
f5a4f56f2c | ||
|
|
ac0162b3c7 | ||
|
|
bd60fe6309 | ||
|
|
e2e36ad513 | ||
|
|
ad478b719d | ||
|
|
b4ecf9926e | ||
|
|
6b5999e621 | ||
|
|
8b83291bdb | ||
|
|
77ff21c58c | ||
|
|
624c480a29 | ||
|
|
8137298eb1 | ||
|
|
903d45f46a | ||
|
|
61cb10fe42 | ||
|
|
bc474a30c7 | ||
|
|
ec6303fa64 | ||
|
|
a4d37e4317 | ||
|
|
282e67d80b | ||
|
|
5ea308961d | ||
|
|
fae23e0d83 | ||
|
|
5f19402565 | ||
|
|
5b4362a577 | ||
|
|
c9ce5e2ef5 |
194
CHANGELOG
194
CHANGELOG
@@ -1,3 +1,197 @@
|
||||
2022-03-03 Version: 1.36.1069
|
||||
- Release RecognizeVideoCastCrewList.
|
||||
|
||||
2022-02-24 Version: 1.36.1068
|
||||
- Add UpdateAnycastEipAddressAssociations Interface.
|
||||
|
||||
2022-02-23 Version: 1.36.1067
|
||||
- SDK.
|
||||
|
||||
2022-02-23 Version: 1.36.1066
|
||||
- Add AuthId.
|
||||
|
||||
2022-02-23 Version: 1.36.1065
|
||||
- Support remediation.
|
||||
|
||||
2022-02-22 Version: 1.36.1064
|
||||
- Deprecated the OnsTopicUpdate api, and will be offline soon.
|
||||
|
||||
2022-02-22 Version: 1.36.1063
|
||||
- Support RefreshProxyLevel.
|
||||
|
||||
2022-02-21 Version: 1.36.1062
|
||||
- Add event tasks.
|
||||
- DescribeInstance taskProgress.
|
||||
|
||||
2022-02-21 Version: 1.36.1061
|
||||
- Bugfix QueryMoniter.
|
||||
|
||||
2022-02-21 Version: 1.36.1060
|
||||
- Add DleteNacosInstance.
|
||||
- Change CreateCluster parameter.
|
||||
- Change UpdateNacosInstance errorCode.
|
||||
|
||||
2022-02-18 Version: 1.36.1059
|
||||
- Iot_20180120 build sdk.
|
||||
|
||||
2022-02-18 Version: 1.36.1058
|
||||
- Add Gis open service add data api.
|
||||
|
||||
2022-02-17 Version: 1.36.1057
|
||||
- Adjusted the call frequency limit of some APIs.
|
||||
|
||||
2022-02-16 Version: 1.36.1056
|
||||
- Generated 2016-04-08 for `Emr`.
|
||||
|
||||
2022-02-16 Version: 1.36.1055
|
||||
- Generated 2021-03-20 for `Emr`.
|
||||
|
||||
2022-02-16 Version: 1.36.1054
|
||||
- Fix normandy query api.
|
||||
|
||||
2022-02-11 Version: 1.36.1053
|
||||
- Add OTA API, including ReupgradeOTATask.
|
||||
|
||||
2022-02-10 Version: 1.36.1052
|
||||
- Add deleteNacosInstance.
|
||||
|
||||
2022-02-09 Version: 1.36.1051
|
||||
- Added api QueryWorksBloodRelationship.
|
||||
|
||||
2022-02-08 Version: 1.36.1050
|
||||
- Supported New Features.
|
||||
|
||||
2022-02-08 Version: 1.36.1049
|
||||
- Iot_20180120 oldversion sdk.
|
||||
|
||||
2022-01-28 Version: 1.36.1048
|
||||
- Support cloud disk.
|
||||
|
||||
2022-01-28 Version: 1.36.1047
|
||||
- Update by SDK platform.
|
||||
|
||||
2022-01-28 Version: 1.36.1046
|
||||
- Support SIP phone management.
|
||||
|
||||
2022-01-26 Version: 1.36.1045
|
||||
- CreateContact API Add ContactGroupName.
|
||||
|
||||
2022-01-26 Version: 1.36.1044
|
||||
- Fix some bugs.
|
||||
|
||||
2022-01-25 Version: 1.36.1043
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2022-01-25 Version: 1.36.1042
|
||||
- Supported new features for outbound.
|
||||
|
||||
2022-01-25 Version: 1.36.1041
|
||||
- Support Latest APIs.
|
||||
|
||||
2022-01-25 Version: 1.36.1040
|
||||
- Add APIs, include, ListSharedReports, ListFavoriteReports, ListRecentViewReports, CreateTicket, QueryTicketInfo, UpdateTicketNum, DelayTicketExpireTime, DelayTicketExpireTime.
|
||||
|
||||
2022-01-25 Version: 1.36.1039
|
||||
- Generated 2016-11-01 for `live`.
|
||||
|
||||
2022-01-25 Version: 1.36.1038
|
||||
- Supported Get Worker List.
|
||||
- Execute Job Support Designate Machine.
|
||||
- Job Interface Add Config.
|
||||
|
||||
2022-01-25 Version: 1.36.1037
|
||||
- Update DetectFace.
|
||||
|
||||
2022-01-21 Version: 1.36.1036
|
||||
- Supported new features etc.
|
||||
|
||||
2022-01-21 Version: 1.36.1035
|
||||
- Add Event Rule sql filter.
|
||||
|
||||
2022-01-21 Version: 1.36.1034
|
||||
- Add Event Rule sql filter.
|
||||
|
||||
2022-01-21 Version: 1.36.1033
|
||||
- Supported RestartDataCorrectSQLJob,PauseDataCorrectSQLJob API.
|
||||
- Supported ListDataCorrectPreCheckSQL to return tableNames information.
|
||||
|
||||
2022-01-19 Version: 1.36.1032
|
||||
- Upgrade Service for SMS.
|
||||
|
||||
2022-01-19 Version: 1.36.1031
|
||||
- ReportOneAgentInfo.
|
||||
|
||||
|
||||
2022-01-18 Version: 1.36.1030
|
||||
- Upgrade SDK.
|
||||
|
||||
2022-01-18 Version: 1.36.1029
|
||||
- Support describe price.
|
||||
|
||||
2022-01-14 Version: 1.36.1028
|
||||
- Supported more query conditions when searching resource group.
|
||||
|
||||
2022-01-14 Version: 1.36.1027
|
||||
- Supported more query conditions when searching resource group.
|
||||
|
||||
2022-01-13 Version: 1.36.1026
|
||||
- Supported New Features.
|
||||
|
||||
2022-01-12 Version: 1.36.1025
|
||||
- Supported new features for outbound.
|
||||
|
||||
2022-01-12 Version: 1.36.1024
|
||||
- Support folder for rule.
|
||||
|
||||
2022-01-11 Version: 1.36.1023
|
||||
- Support DeleteTransitRouter API.
|
||||
|
||||
2022-01-11 Version: 1.36.1022
|
||||
- Fix bugs.
|
||||
|
||||
2022-01-11 Version: 1.36.1021
|
||||
- Fix bugs.
|
||||
|
||||
2022-01-11 Version: 1.36.1020
|
||||
- Added reserve price range.
|
||||
|
||||
2022-01-07 Version: 1.36.1019
|
||||
- Support resource scheduler.
|
||||
|
||||
2022-01-07 Version: 1.36.1018
|
||||
- Add or modify APIs, include, QueryEmbeddedStaus, QueryWorks, QueryWorksByWorkspace.
|
||||
|
||||
2022-01-07 Version: 1.36.1017
|
||||
- Add or modify APIs, include, QueryEmbeddedStaus, QueryWorks, QueryWorksByWorkspace.
|
||||
|
||||
2022-01-07 Version: 1.36.1016
|
||||
- Support Service name.
|
||||
|
||||
2022-01-07 Version: 1.36.1015
|
||||
- Supported minReadyInstanceRatio parameter for deploy.
|
||||
|
||||
2022-01-07 Version: 1.36.1014
|
||||
- Support New API for Dypnsapi.
|
||||
|
||||
2022-01-06 Version: 1.36.1013
|
||||
- Fix bugs.
|
||||
|
||||
2022-01-06 Version: 1.36.1012
|
||||
- Generated 2016-11-01 for `live`.
|
||||
|
||||
2022-01-05 Version: 1.36.1011
|
||||
- Add new interface.
|
||||
|
||||
2022-01-05 Version: 1.36.1010
|
||||
- Fix bugx.
|
||||
|
||||
2021-12-31 Version: 1.36.1009
|
||||
- Update ErrorCode.
|
||||
|
||||
2021-12-30 Version: 1.36.1008
|
||||
- Supported Get Worker List.
|
||||
- Execute Job Support Designate Machine.
|
||||
|
||||
2021-12-30 Version: 1.36.1007
|
||||
- Create Lindorm Open api.
|
||||
|
||||
|
||||
@@ -149,6 +149,8 @@ set(alb_public_header_model
|
||||
include/alibabacloud/alb/model/UpdateListenerAttributeResult.h
|
||||
include/alibabacloud/alb/model/UpdateListenerLogConfigRequest.h
|
||||
include/alibabacloud/alb/model/UpdateListenerLogConfigResult.h
|
||||
include/alibabacloud/alb/model/UpdateLoadBalancerAddressTypeConfigRequest.h
|
||||
include/alibabacloud/alb/model/UpdateLoadBalancerAddressTypeConfigResult.h
|
||||
include/alibabacloud/alb/model/UpdateLoadBalancerAttributeRequest.h
|
||||
include/alibabacloud/alb/model/UpdateLoadBalancerAttributeResult.h
|
||||
include/alibabacloud/alb/model/UpdateLoadBalancerEditionRequest.h
|
||||
@@ -296,6 +298,8 @@ set(alb_src
|
||||
src/model/UpdateListenerAttributeResult.cc
|
||||
src/model/UpdateListenerLogConfigRequest.cc
|
||||
src/model/UpdateListenerLogConfigResult.cc
|
||||
src/model/UpdateLoadBalancerAddressTypeConfigRequest.cc
|
||||
src/model/UpdateLoadBalancerAddressTypeConfigResult.cc
|
||||
src/model/UpdateLoadBalancerAttributeRequest.cc
|
||||
src/model/UpdateLoadBalancerAttributeResult.cc
|
||||
src/model/UpdateLoadBalancerEditionRequest.cc
|
||||
|
||||
@@ -150,6 +150,8 @@
|
||||
#include "model/UpdateListenerAttributeResult.h"
|
||||
#include "model/UpdateListenerLogConfigRequest.h"
|
||||
#include "model/UpdateListenerLogConfigResult.h"
|
||||
#include "model/UpdateLoadBalancerAddressTypeConfigRequest.h"
|
||||
#include "model/UpdateLoadBalancerAddressTypeConfigResult.h"
|
||||
#include "model/UpdateLoadBalancerAttributeRequest.h"
|
||||
#include "model/UpdateLoadBalancerAttributeResult.h"
|
||||
#include "model/UpdateLoadBalancerEditionRequest.h"
|
||||
@@ -367,6 +369,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateListenerLogConfigResult> UpdateListenerLogConfigOutcome;
|
||||
typedef std::future<UpdateListenerLogConfigOutcome> UpdateListenerLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const AlbClient*, const Model::UpdateListenerLogConfigRequest&, const UpdateListenerLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateListenerLogConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateLoadBalancerAddressTypeConfigResult> UpdateLoadBalancerAddressTypeConfigOutcome;
|
||||
typedef std::future<UpdateLoadBalancerAddressTypeConfigOutcome> UpdateLoadBalancerAddressTypeConfigOutcomeCallable;
|
||||
typedef std::function<void(const AlbClient*, const Model::UpdateLoadBalancerAddressTypeConfigRequest&, const UpdateLoadBalancerAddressTypeConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLoadBalancerAddressTypeConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateLoadBalancerAttributeResult> UpdateLoadBalancerAttributeOutcome;
|
||||
typedef std::future<UpdateLoadBalancerAttributeOutcome> UpdateLoadBalancerAttributeOutcomeCallable;
|
||||
typedef std::function<void(const AlbClient*, const Model::UpdateLoadBalancerAttributeRequest&, const UpdateLoadBalancerAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLoadBalancerAttributeAsyncHandler;
|
||||
@@ -588,6 +593,9 @@ namespace AlibabaCloud
|
||||
UpdateListenerLogConfigOutcome updateListenerLogConfig(const Model::UpdateListenerLogConfigRequest &request)const;
|
||||
void updateListenerLogConfigAsync(const Model::UpdateListenerLogConfigRequest& request, const UpdateListenerLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateListenerLogConfigOutcomeCallable updateListenerLogConfigCallable(const Model::UpdateListenerLogConfigRequest& request) const;
|
||||
UpdateLoadBalancerAddressTypeConfigOutcome updateLoadBalancerAddressTypeConfig(const Model::UpdateLoadBalancerAddressTypeConfigRequest &request)const;
|
||||
void updateLoadBalancerAddressTypeConfigAsync(const Model::UpdateLoadBalancerAddressTypeConfigRequest& request, const UpdateLoadBalancerAddressTypeConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateLoadBalancerAddressTypeConfigOutcomeCallable updateLoadBalancerAddressTypeConfigCallable(const Model::UpdateLoadBalancerAddressTypeConfigRequest& request) const;
|
||||
UpdateLoadBalancerAttributeOutcome updateLoadBalancerAttribute(const Model::UpdateLoadBalancerAttributeRequest &request)const;
|
||||
void updateLoadBalancerAttributeAsync(const Model::UpdateLoadBalancerAttributeRequest& request, const UpdateLoadBalancerAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateLoadBalancerAttributeOutcomeCallable updateLoadBalancerAttributeCallable(const Model::UpdateLoadBalancerAttributeRequest& request) const;
|
||||
|
||||
@@ -76,6 +76,19 @@ public:
|
||||
int qPS;
|
||||
};
|
||||
TrafficLimitConfig trafficLimitConfig;
|
||||
struct CorsConfig {
|
||||
std::string allowCredentials;
|
||||
std::string string;
|
||||
std::vector<std::string> allowOrigin;
|
||||
long maxAge;
|
||||
std::string string;
|
||||
std::vector<std::string> allowMethods;
|
||||
std::string string;
|
||||
std::vector<std::string> allowHeaders;
|
||||
std::string string;
|
||||
std::vector<std::string> exposeHeaders;
|
||||
};
|
||||
CorsConfig corsConfig;
|
||||
struct RedirectConfig {
|
||||
std::string path;
|
||||
std::string protocol;
|
||||
|
||||
@@ -139,6 +139,19 @@ public:
|
||||
int qPS;
|
||||
};
|
||||
TrafficLimitConfig trafficLimitConfig;
|
||||
struct CorsConfig {
|
||||
std::string allowCredentials;
|
||||
std::string string;
|
||||
std::vector<std::string> allowOrigin;
|
||||
long maxAge;
|
||||
std::string string;
|
||||
std::vector<std::string> allowMethods;
|
||||
std::string string;
|
||||
std::vector<std::string> allowHeaders;
|
||||
std::string string;
|
||||
std::vector<std::string> exposeHeaders;
|
||||
};
|
||||
CorsConfig corsConfig;
|
||||
struct RedirectConfig {
|
||||
std::string path;
|
||||
std::string protocol;
|
||||
|
||||
@@ -52,6 +52,10 @@ public:
|
||||
int cookieTimeout;
|
||||
std::string stickySessionType;
|
||||
};
|
||||
struct UchConfig {
|
||||
std::string type;
|
||||
std::string value;
|
||||
};
|
||||
CreateServerGroupRequest();
|
||||
~CreateServerGroupRequest();
|
||||
std::string getServerGroupName() const;
|
||||
@@ -68,6 +72,8 @@ public:
|
||||
void setProtocol(const std::string &protocol);
|
||||
bool getUpstreamKeepaliveEnabled() const;
|
||||
void setUpstreamKeepaliveEnabled(bool upstreamKeepaliveEnabled);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
StickySessionConfig getStickySessionConfig() const;
|
||||
void setStickySessionConfig(const StickySessionConfig &stickySessionConfig);
|
||||
bool getDryRun() const;
|
||||
@@ -78,6 +84,8 @@ public:
|
||||
void setServerGroupType(const std::string &serverGroupType);
|
||||
std::string getVpcId() const;
|
||||
void setVpcId(const std::string &vpcId);
|
||||
UchConfig getUchConfig() const;
|
||||
void setUchConfig(const UchConfig &uchConfig);
|
||||
|
||||
private:
|
||||
std::string serverGroupName_;
|
||||
@@ -87,11 +95,13 @@ private:
|
||||
std::string resourceGroupId_;
|
||||
std::string protocol_;
|
||||
bool upstreamKeepaliveEnabled_;
|
||||
std::string serviceName_;
|
||||
StickySessionConfig stickySessionConfig_;
|
||||
bool dryRun_;
|
||||
bool ipv6Enabled_;
|
||||
std::string serverGroupType_;
|
||||
std::string vpcId_;
|
||||
UchConfig uchConfig_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alb
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setLoadBalancerNames(const std::vector<std::string> &loadBalancerNames);
|
||||
std::vector<std::string> getLoadBalancerIds() const;
|
||||
void setLoadBalancerIds(const std::vector<std::string> &loadBalancerIds);
|
||||
std::vector<std::string> getLoadBalancerEditions() const;
|
||||
void setLoadBalancerEditions(const std::vector<std::string> &loadBalancerEditions);
|
||||
std::string getAddressIpVersion() const;
|
||||
void setAddressIpVersion(const std::string &addressIpVersion);
|
||||
std::string getResourceGroupId() const;
|
||||
@@ -70,6 +72,7 @@ public:
|
||||
private:
|
||||
std::vector<std::string> loadBalancerNames_;
|
||||
std::vector<std::string> loadBalancerIds_;
|
||||
std::vector<std::string> loadBalancerEditions_;
|
||||
std::string addressIpVersion_;
|
||||
std::string resourceGroupId_;
|
||||
std::string nextToken_;
|
||||
|
||||
@@ -101,10 +101,20 @@ namespace AlibabaCloud
|
||||
{
|
||||
int qPS;
|
||||
};
|
||||
struct CorsConfig
|
||||
{
|
||||
std::string allowCredentials;
|
||||
std::vector<std::string> exposeHeaders;
|
||||
std::vector<std::string> allowOrigin;
|
||||
std::vector<std::string> allowHeaders;
|
||||
long maxAge;
|
||||
std::vector<std::string> allowMethods;
|
||||
};
|
||||
int order;
|
||||
FixedResponseConfig fixedResponseConfig;
|
||||
std::string type;
|
||||
RedirectConfig redirectConfig;
|
||||
CorsConfig corsConfig;
|
||||
ForwardGroupConfig forwardGroupConfig;
|
||||
RemoveHeaderConfig removeHeaderConfig;
|
||||
InsertHeaderConfig insertHeaderConfig;
|
||||
|
||||
@@ -58,6 +58,11 @@ namespace AlibabaCloud
|
||||
std::string stickySessionType;
|
||||
bool stickySessionEnabled;
|
||||
};
|
||||
struct UchConfig
|
||||
{
|
||||
std::string type;
|
||||
std::string value;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
@@ -66,6 +71,7 @@ namespace AlibabaCloud
|
||||
bool serviceManagedEnabled;
|
||||
std::vector<std::string> relatedLoadBalancerIds;
|
||||
std::string resourceGroupId;
|
||||
UchConfig uchConfig;
|
||||
std::string scheduler;
|
||||
bool upstreamKeepaliveEnabled;
|
||||
StickySessionConfig stickySessionConfig;
|
||||
@@ -76,6 +82,7 @@ namespace AlibabaCloud
|
||||
bool ipv6Enabled;
|
||||
bool configManagedEnabled;
|
||||
std::string vpcId;
|
||||
std::string serviceName;
|
||||
std::string serviceManagedMode;
|
||||
HealthCheckConfig healthCheckConfig;
|
||||
std::string protocol;
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERADDRESSTYPECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERADDRESSTYPECONFIGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alb/AlbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALB_EXPORT UpdateLoadBalancerAddressTypeConfigRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct ZoneMappings {
|
||||
std::string vSwitchId;
|
||||
std::string zoneId;
|
||||
std::string allocationId;
|
||||
};
|
||||
UpdateLoadBalancerAddressTypeConfigRequest();
|
||||
~UpdateLoadBalancerAddressTypeConfigRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getAddressType() const;
|
||||
void setAddressType(const std::string &addressType);
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::vector<ZoneMappings> getZoneMappings() const;
|
||||
void setZoneMappings(const std::vector<ZoneMappings> &zoneMappings);
|
||||
std::string getLoadBalancerId() const;
|
||||
void setLoadBalancerId(const std::string &loadBalancerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string addressType_;
|
||||
std::string dryRun_;
|
||||
std::vector<ZoneMappings> zoneMappings_;
|
||||
std::string loadBalancerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERADDRESSTYPECONFIGREQUEST_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_ALB_MODEL_UPDATELOADBALANCERADDRESSTYPECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERADDRESSTYPECONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alb/AlbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALB_EXPORT UpdateLoadBalancerAddressTypeConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateLoadBalancerAddressTypeConfigResult();
|
||||
explicit UpdateLoadBalancerAddressTypeConfigResult(const std::string &payload);
|
||||
~UpdateLoadBalancerAddressTypeConfigResult();
|
||||
std::string getJobId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string jobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERADDRESSTYPECONFIGRESULT_H_
|
||||
@@ -76,6 +76,19 @@ public:
|
||||
int qPS;
|
||||
};
|
||||
TrafficLimitConfig trafficLimitConfig;
|
||||
struct CorsConfig {
|
||||
std::string allowCredentials;
|
||||
std::string string;
|
||||
std::vector<std::string> allowOrigin;
|
||||
long maxAge;
|
||||
std::string string;
|
||||
std::vector<std::string> allowMethods;
|
||||
std::string string;
|
||||
std::vector<std::string> allowHeaders;
|
||||
std::string string;
|
||||
std::vector<std::string> exposeHeaders;
|
||||
};
|
||||
CorsConfig corsConfig;
|
||||
struct RedirectConfig {
|
||||
std::string path;
|
||||
std::string protocol;
|
||||
|
||||
@@ -140,6 +140,19 @@ public:
|
||||
int qPS;
|
||||
};
|
||||
TrafficLimitConfig trafficLimitConfig;
|
||||
struct CorsConfig {
|
||||
std::string allowCredentials;
|
||||
std::string string;
|
||||
std::vector<std::string> allowOrigin;
|
||||
long maxAge;
|
||||
std::string string;
|
||||
std::vector<std::string> allowMethods;
|
||||
std::string string;
|
||||
std::vector<std::string> allowHeaders;
|
||||
std::string string;
|
||||
std::vector<std::string> exposeHeaders;
|
||||
};
|
||||
CorsConfig corsConfig;
|
||||
struct RedirectConfig {
|
||||
std::string path;
|
||||
std::string protocol;
|
||||
|
||||
@@ -52,6 +52,10 @@ public:
|
||||
int cookieTimeout;
|
||||
std::string stickySessionType;
|
||||
};
|
||||
struct UchConfig {
|
||||
std::string type;
|
||||
std::string value;
|
||||
};
|
||||
UpdateServerGroupAttributeRequest();
|
||||
~UpdateServerGroupAttributeRequest();
|
||||
std::string getServerGroupName() const;
|
||||
@@ -66,10 +70,14 @@ public:
|
||||
void setServerGroupId(const std::string &serverGroupId);
|
||||
bool getUpstreamKeepaliveEnabled() const;
|
||||
void setUpstreamKeepaliveEnabled(bool upstreamKeepaliveEnabled);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
StickySessionConfig getStickySessionConfig() const;
|
||||
void setStickySessionConfig(const StickySessionConfig &stickySessionConfig);
|
||||
bool getDryRun() const;
|
||||
void setDryRun(bool dryRun);
|
||||
UchConfig getUchConfig() const;
|
||||
void setUchConfig(const UchConfig &uchConfig);
|
||||
|
||||
private:
|
||||
std::string serverGroupName_;
|
||||
@@ -78,8 +86,10 @@ private:
|
||||
std::string scheduler_;
|
||||
std::string serverGroupId_;
|
||||
bool upstreamKeepaliveEnabled_;
|
||||
std::string serviceName_;
|
||||
StickySessionConfig stickySessionConfig_;
|
||||
bool dryRun_;
|
||||
UchConfig uchConfig_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alb
|
||||
|
||||
@@ -2355,6 +2355,42 @@ AlbClient::UpdateListenerLogConfigOutcomeCallable AlbClient::updateListenerLogCo
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlbClient::UpdateLoadBalancerAddressTypeConfigOutcome AlbClient::updateLoadBalancerAddressTypeConfig(const UpdateLoadBalancerAddressTypeConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateLoadBalancerAddressTypeConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateLoadBalancerAddressTypeConfigOutcome(UpdateLoadBalancerAddressTypeConfigResult(outcome.result()));
|
||||
else
|
||||
return UpdateLoadBalancerAddressTypeConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlbClient::updateLoadBalancerAddressTypeConfigAsync(const UpdateLoadBalancerAddressTypeConfigRequest& request, const UpdateLoadBalancerAddressTypeConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateLoadBalancerAddressTypeConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlbClient::UpdateLoadBalancerAddressTypeConfigOutcomeCallable AlbClient::updateLoadBalancerAddressTypeConfigCallable(const UpdateLoadBalancerAddressTypeConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateLoadBalancerAddressTypeConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateLoadBalancerAddressTypeConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlbClient::UpdateLoadBalancerAttributeOutcome AlbClient::updateLoadBalancerAttribute(const UpdateLoadBalancerAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -87,6 +87,20 @@ void CreateRuleRequest::setRuleActions(const std::vector<CreateRuleRequest::Rule
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".InsertHeaderConfig.Value", ruleActions[dep1].insertHeaderConfig.value);
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".InsertHeaderConfig.Key", ruleActions[dep1].insertHeaderConfig.key);
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".TrafficLimitConfig.QPS", std::to_string(ruleActions[dep1].trafficLimitConfig.qPS));
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.AllowCredentials", ruleActions[dep1].corsConfig.allowCredentials);
|
||||
for(int dep2 = 0; dep2 != ruleActions[dep1].corsConfig.allowOrigin.size(); dep2++) {
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.AllowOrigin." + std::to_string(dep2 + 1), ruleActions[dep1].corsConfig.allowOrigin[dep2]);
|
||||
}
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.MaxAge", std::to_string(ruleActions[dep1].corsConfig.maxAge));
|
||||
for(int dep2 = 0; dep2 != ruleActions[dep1].corsConfig.allowMethods.size(); dep2++) {
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.AllowMethods." + std::to_string(dep2 + 1), ruleActions[dep1].corsConfig.allowMethods[dep2]);
|
||||
}
|
||||
for(int dep2 = 0; dep2 != ruleActions[dep1].corsConfig.allowHeaders.size(); dep2++) {
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.AllowHeaders." + std::to_string(dep2 + 1), ruleActions[dep1].corsConfig.allowHeaders[dep2]);
|
||||
}
|
||||
for(int dep2 = 0; dep2 != ruleActions[dep1].corsConfig.exposeHeaders.size(); dep2++) {
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.ExposeHeaders." + std::to_string(dep2 + 1), ruleActions[dep1].corsConfig.exposeHeaders[dep2]);
|
||||
}
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".RedirectConfig.Path", ruleActions[dep1].redirectConfig.path);
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".RedirectConfig.Protocol", ruleActions[dep1].redirectConfig.protocol);
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".RedirectConfig.Port", ruleActions[dep1].redirectConfig.port);
|
||||
|
||||
@@ -97,6 +97,20 @@ void CreateRulesRequest::setRules(const std::vector<CreateRulesRequest::Rules> &
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".InsertHeaderConfig.Value", rules[dep1].ruleActions[dep2].insertHeaderConfig.value);
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".InsertHeaderConfig.Key", rules[dep1].ruleActions[dep2].insertHeaderConfig.key);
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".TrafficLimitConfig.QPS", std::to_string(rules[dep1].ruleActions[dep2].trafficLimitConfig.qPS));
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.AllowCredentials", rules[dep1].ruleActions[dep2].corsConfig.allowCredentials);
|
||||
for(int dep3 = 0; dep3 != rules[dep1].ruleActions[dep2].corsConfig.allowOrigin.size(); dep3++) {
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.AllowOrigin." + std::to_string(dep3 + 1), rules[dep1].ruleActions[dep2].corsConfig.allowOrigin[dep3]);
|
||||
}
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.MaxAge", std::to_string(rules[dep1].ruleActions[dep2].corsConfig.maxAge));
|
||||
for(int dep3 = 0; dep3 != rules[dep1].ruleActions[dep2].corsConfig.allowMethods.size(); dep3++) {
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.AllowMethods." + std::to_string(dep3 + 1), rules[dep1].ruleActions[dep2].corsConfig.allowMethods[dep3]);
|
||||
}
|
||||
for(int dep3 = 0; dep3 != rules[dep1].ruleActions[dep2].corsConfig.allowHeaders.size(); dep3++) {
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.AllowHeaders." + std::to_string(dep3 + 1), rules[dep1].ruleActions[dep2].corsConfig.allowHeaders[dep3]);
|
||||
}
|
||||
for(int dep3 = 0; dep3 != rules[dep1].ruleActions[dep2].corsConfig.exposeHeaders.size(); dep3++) {
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.ExposeHeaders." + std::to_string(dep3 + 1), rules[dep1].ruleActions[dep2].corsConfig.exposeHeaders[dep3]);
|
||||
}
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".RedirectConfig.Path", rules[dep1].ruleActions[dep2].redirectConfig.path);
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".RedirectConfig.Protocol", rules[dep1].ruleActions[dep2].redirectConfig.protocol);
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".RedirectConfig.Port", rules[dep1].ruleActions[dep2].redirectConfig.port);
|
||||
|
||||
@@ -105,6 +105,15 @@ void CreateServerGroupRequest::setUpstreamKeepaliveEnabled(bool upstreamKeepaliv
|
||||
setParameter(std::string("UpstreamKeepaliveEnabled"), upstreamKeepaliveEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateServerGroupRequest::getServiceName() const {
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void CreateServerGroupRequest::setServiceName(const std::string &serviceName) {
|
||||
serviceName_ = serviceName;
|
||||
setParameter(std::string("ServiceName"), serviceName);
|
||||
}
|
||||
|
||||
CreateServerGroupRequest::StickySessionConfig CreateServerGroupRequest::getStickySessionConfig() const {
|
||||
return stickySessionConfig_;
|
||||
}
|
||||
@@ -153,3 +162,13 @@ void CreateServerGroupRequest::setVpcId(const std::string &vpcId) {
|
||||
setParameter(std::string("VpcId"), vpcId);
|
||||
}
|
||||
|
||||
CreateServerGroupRequest::UchConfig CreateServerGroupRequest::getUchConfig() const {
|
||||
return uchConfig_;
|
||||
}
|
||||
|
||||
void CreateServerGroupRequest::setUchConfig(const CreateServerGroupRequest::UchConfig &uchConfig) {
|
||||
uchConfig_ = uchConfig;
|
||||
setParameter(std::string("UchConfig") + ".Type", uchConfig.type);
|
||||
setParameter(std::string("UchConfig") + ".Value", uchConfig.value);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,6 +47,17 @@ void ListLoadBalancersRequest::setLoadBalancerIds(const std::vector<ListLoadBala
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<ListLoadBalancersRequest::std::string> ListLoadBalancersRequest::getLoadBalancerEditions() const {
|
||||
return loadBalancerEditions_;
|
||||
}
|
||||
|
||||
void ListLoadBalancersRequest::setLoadBalancerEditions(const std::vector<ListLoadBalancersRequest::std::string> &loadBalancerEditions) {
|
||||
loadBalancerEditions_ = loadBalancerEditions;
|
||||
for(int dep1 = 0; dep1 != loadBalancerEditions.size(); dep1++) {
|
||||
setParameter(std::string("LoadBalancerEditions") + "." + std::to_string(dep1 + 1), loadBalancerEditions[dep1]);
|
||||
}
|
||||
}
|
||||
|
||||
std::string ListLoadBalancersRequest::getAddressIpVersion() const {
|
||||
return addressIpVersion_;
|
||||
}
|
||||
|
||||
@@ -141,6 +141,23 @@ void ListRulesResult::parse(const std::string &payload)
|
||||
auto trafficLimitConfigNode = value["TrafficLimitConfig"];
|
||||
if(!trafficLimitConfigNode["QPS"].isNull())
|
||||
ruleActionsObject.trafficLimitConfig.qPS = std::stoi(trafficLimitConfigNode["QPS"].asString());
|
||||
auto corsConfigNode = value["CorsConfig"];
|
||||
if(!corsConfigNode["AllowCredentials"].isNull())
|
||||
ruleActionsObject.corsConfig.allowCredentials = corsConfigNode["AllowCredentials"].asString();
|
||||
if(!corsConfigNode["MaxAge"].isNull())
|
||||
ruleActionsObject.corsConfig.maxAge = std::stol(corsConfigNode["MaxAge"].asString());
|
||||
auto allAllowOrigin = corsConfigNode["AllowOrigin"]["AllowOrigin"];
|
||||
for (auto value : allAllowOrigin)
|
||||
ruleActionsObject.corsConfig.allowOrigin.push_back(value.asString());
|
||||
auto allAllowMethods = corsConfigNode["AllowMethods"]["AllowMethods"];
|
||||
for (auto value : allAllowMethods)
|
||||
ruleActionsObject.corsConfig.allowMethods.push_back(value.asString());
|
||||
auto allAllowHeaders = corsConfigNode["AllowHeaders"]["AllowHeaders"];
|
||||
for (auto value : allAllowHeaders)
|
||||
ruleActionsObject.corsConfig.allowHeaders.push_back(value.asString());
|
||||
auto allExposeHeaders = corsConfigNode["ExposeHeaders"]["ExposeHeaders"];
|
||||
for (auto value : allExposeHeaders)
|
||||
ruleActionsObject.corsConfig.exposeHeaders.push_back(value.asString());
|
||||
rulesObject.ruleActions.push_back(ruleActionsObject);
|
||||
}
|
||||
auto allRuleConditionsNode = valueRulesRule["RuleConditions"]["Condition"];
|
||||
|
||||
@@ -71,6 +71,8 @@ void ListServerGroupsResult::parse(const std::string &payload)
|
||||
serverGroupsObject.ipv6Enabled = valueServerGroupsServerGroup["Ipv6Enabled"].asString() == "true";
|
||||
if(!valueServerGroupsServerGroup["ServerCount"].isNull())
|
||||
serverGroupsObject.serverCount = std::stoi(valueServerGroupsServerGroup["ServerCount"].asString());
|
||||
if(!valueServerGroupsServerGroup["ServiceName"].isNull())
|
||||
serverGroupsObject.serviceName = valueServerGroupsServerGroup["ServiceName"].asString();
|
||||
auto allTagsNode = valueServerGroupsServerGroup["Tags"]["Tag"];
|
||||
for (auto valueServerGroupsServerGroupTagsTag : allTagsNode)
|
||||
{
|
||||
@@ -121,6 +123,11 @@ void ListServerGroupsResult::parse(const std::string &payload)
|
||||
serverGroupsObject.stickySessionConfig.stickySessionEnabled = stickySessionConfigNode["StickySessionEnabled"].asString() == "true";
|
||||
if(!stickySessionConfigNode["StickySessionType"].isNull())
|
||||
serverGroupsObject.stickySessionConfig.stickySessionType = stickySessionConfigNode["StickySessionType"].asString();
|
||||
auto uchConfigNode = value["UchConfig"];
|
||||
if(!uchConfigNode["Type"].isNull())
|
||||
serverGroupsObject.uchConfig.type = uchConfigNode["Type"].asString();
|
||||
if(!uchConfigNode["Value"].isNull())
|
||||
serverGroupsObject.uchConfig.value = uchConfigNode["Value"].asString();
|
||||
auto allRelatedLoadBalancerIds = value["RelatedLoadBalancerIds"]["RelatedLoadBalancerId"];
|
||||
for (auto value : allRelatedLoadBalancerIds)
|
||||
serverGroupsObject.relatedLoadBalancerIds.push_back(value.asString());
|
||||
|
||||
76
alb/src/model/UpdateLoadBalancerAddressTypeConfigRequest.cc
Normal file
76
alb/src/model/UpdateLoadBalancerAddressTypeConfigRequest.cc
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/alb/model/UpdateLoadBalancerAddressTypeConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Alb::Model::UpdateLoadBalancerAddressTypeConfigRequest;
|
||||
|
||||
UpdateLoadBalancerAddressTypeConfigRequest::UpdateLoadBalancerAddressTypeConfigRequest()
|
||||
: RpcServiceRequest("alb", "2020-06-16", "UpdateLoadBalancerAddressTypeConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateLoadBalancerAddressTypeConfigRequest::~UpdateLoadBalancerAddressTypeConfigRequest() {}
|
||||
|
||||
std::string UpdateLoadBalancerAddressTypeConfigRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void UpdateLoadBalancerAddressTypeConfigRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string UpdateLoadBalancerAddressTypeConfigRequest::getAddressType() const {
|
||||
return addressType_;
|
||||
}
|
||||
|
||||
void UpdateLoadBalancerAddressTypeConfigRequest::setAddressType(const std::string &addressType) {
|
||||
addressType_ = addressType;
|
||||
setParameter(std::string("AddressType"), addressType);
|
||||
}
|
||||
|
||||
std::string UpdateLoadBalancerAddressTypeConfigRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void UpdateLoadBalancerAddressTypeConfigRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::vector<UpdateLoadBalancerAddressTypeConfigRequest::ZoneMappings> UpdateLoadBalancerAddressTypeConfigRequest::getZoneMappings() const {
|
||||
return zoneMappings_;
|
||||
}
|
||||
|
||||
void UpdateLoadBalancerAddressTypeConfigRequest::setZoneMappings(const std::vector<UpdateLoadBalancerAddressTypeConfigRequest::ZoneMappings> &zoneMappings) {
|
||||
zoneMappings_ = zoneMappings;
|
||||
for(int dep1 = 0; dep1 != zoneMappings.size(); dep1++) {
|
||||
setParameter(std::string("ZoneMappings") + "." + std::to_string(dep1 + 1) + ".VSwitchId", zoneMappings[dep1].vSwitchId);
|
||||
setParameter(std::string("ZoneMappings") + "." + std::to_string(dep1 + 1) + ".ZoneId", zoneMappings[dep1].zoneId);
|
||||
setParameter(std::string("ZoneMappings") + "." + std::to_string(dep1 + 1) + ".AllocationId", zoneMappings[dep1].allocationId);
|
||||
}
|
||||
}
|
||||
|
||||
std::string UpdateLoadBalancerAddressTypeConfigRequest::getLoadBalancerId() const {
|
||||
return loadBalancerId_;
|
||||
}
|
||||
|
||||
void UpdateLoadBalancerAddressTypeConfigRequest::setLoadBalancerId(const std::string &loadBalancerId) {
|
||||
loadBalancerId_ = loadBalancerId;
|
||||
setParameter(std::string("LoadBalancerId"), loadBalancerId);
|
||||
}
|
||||
|
||||
51
alb/src/model/UpdateLoadBalancerAddressTypeConfigResult.cc
Normal file
51
alb/src/model/UpdateLoadBalancerAddressTypeConfigResult.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alb/model/UpdateLoadBalancerAddressTypeConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alb;
|
||||
using namespace AlibabaCloud::Alb::Model;
|
||||
|
||||
UpdateLoadBalancerAddressTypeConfigResult::UpdateLoadBalancerAddressTypeConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateLoadBalancerAddressTypeConfigResult::UpdateLoadBalancerAddressTypeConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateLoadBalancerAddressTypeConfigResult::~UpdateLoadBalancerAddressTypeConfigResult()
|
||||
{}
|
||||
|
||||
void UpdateLoadBalancerAddressTypeConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["JobId"].isNull())
|
||||
jobId_ = value["JobId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string UpdateLoadBalancerAddressTypeConfigResult::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
@@ -69,6 +69,20 @@ void UpdateRuleAttributeRequest::setRuleActions(const std::vector<UpdateRuleAttr
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".InsertHeaderConfig.Value", ruleActions[dep1].insertHeaderConfig.value);
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".InsertHeaderConfig.Key", ruleActions[dep1].insertHeaderConfig.key);
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".TrafficLimitConfig.QPS", std::to_string(ruleActions[dep1].trafficLimitConfig.qPS));
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.AllowCredentials", ruleActions[dep1].corsConfig.allowCredentials);
|
||||
for(int dep2 = 0; dep2 != ruleActions[dep1].corsConfig.allowOrigin.size(); dep2++) {
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.AllowOrigin." + std::to_string(dep2 + 1), ruleActions[dep1].corsConfig.allowOrigin[dep2]);
|
||||
}
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.MaxAge", std::to_string(ruleActions[dep1].corsConfig.maxAge));
|
||||
for(int dep2 = 0; dep2 != ruleActions[dep1].corsConfig.allowMethods.size(); dep2++) {
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.AllowMethods." + std::to_string(dep2 + 1), ruleActions[dep1].corsConfig.allowMethods[dep2]);
|
||||
}
|
||||
for(int dep2 = 0; dep2 != ruleActions[dep1].corsConfig.allowHeaders.size(); dep2++) {
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.AllowHeaders." + std::to_string(dep2 + 1), ruleActions[dep1].corsConfig.allowHeaders[dep2]);
|
||||
}
|
||||
for(int dep2 = 0; dep2 != ruleActions[dep1].corsConfig.exposeHeaders.size(); dep2++) {
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.ExposeHeaders." + std::to_string(dep2 + 1), ruleActions[dep1].corsConfig.exposeHeaders[dep2]);
|
||||
}
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".RedirectConfig.Path", ruleActions[dep1].redirectConfig.path);
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".RedirectConfig.Protocol", ruleActions[dep1].redirectConfig.protocol);
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".RedirectConfig.Port", ruleActions[dep1].redirectConfig.port);
|
||||
|
||||
@@ -98,6 +98,20 @@ void UpdateRulesAttributeRequest::setRules(const std::vector<UpdateRulesAttribut
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".InsertHeaderConfig.Value", rules[dep1].ruleActions[dep2].insertHeaderConfig.value);
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".InsertHeaderConfig.Key", rules[dep1].ruleActions[dep2].insertHeaderConfig.key);
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".TrafficLimitConfig.QPS", std::to_string(rules[dep1].ruleActions[dep2].trafficLimitConfig.qPS));
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.AllowCredentials", rules[dep1].ruleActions[dep2].corsConfig.allowCredentials);
|
||||
for(int dep3 = 0; dep3 != rules[dep1].ruleActions[dep2].corsConfig.allowOrigin.size(); dep3++) {
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.AllowOrigin." + std::to_string(dep3 + 1), rules[dep1].ruleActions[dep2].corsConfig.allowOrigin[dep3]);
|
||||
}
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.MaxAge", std::to_string(rules[dep1].ruleActions[dep2].corsConfig.maxAge));
|
||||
for(int dep3 = 0; dep3 != rules[dep1].ruleActions[dep2].corsConfig.allowMethods.size(); dep3++) {
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.AllowMethods." + std::to_string(dep3 + 1), rules[dep1].ruleActions[dep2].corsConfig.allowMethods[dep3]);
|
||||
}
|
||||
for(int dep3 = 0; dep3 != rules[dep1].ruleActions[dep2].corsConfig.allowHeaders.size(); dep3++) {
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.AllowHeaders." + std::to_string(dep3 + 1), rules[dep1].ruleActions[dep2].corsConfig.allowHeaders[dep3]);
|
||||
}
|
||||
for(int dep3 = 0; dep3 != rules[dep1].ruleActions[dep2].corsConfig.exposeHeaders.size(); dep3++) {
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.ExposeHeaders." + std::to_string(dep3 + 1), rules[dep1].ruleActions[dep2].corsConfig.exposeHeaders[dep3]);
|
||||
}
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".RedirectConfig.Path", rules[dep1].ruleActions[dep2].redirectConfig.path);
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".RedirectConfig.Protocol", rules[dep1].ruleActions[dep2].redirectConfig.protocol);
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".RedirectConfig.Port", rules[dep1].ruleActions[dep2].redirectConfig.port);
|
||||
|
||||
@@ -96,6 +96,15 @@ void UpdateServerGroupAttributeRequest::setUpstreamKeepaliveEnabled(bool upstrea
|
||||
setParameter(std::string("UpstreamKeepaliveEnabled"), upstreamKeepaliveEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string UpdateServerGroupAttributeRequest::getServiceName() const {
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void UpdateServerGroupAttributeRequest::setServiceName(const std::string &serviceName) {
|
||||
serviceName_ = serviceName;
|
||||
setParameter(std::string("ServiceName"), serviceName);
|
||||
}
|
||||
|
||||
UpdateServerGroupAttributeRequest::StickySessionConfig UpdateServerGroupAttributeRequest::getStickySessionConfig() const {
|
||||
return stickySessionConfig_;
|
||||
}
|
||||
@@ -117,3 +126,13 @@ void UpdateServerGroupAttributeRequest::setDryRun(bool dryRun) {
|
||||
setParameter(std::string("DryRun"), dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
UpdateServerGroupAttributeRequest::UchConfig UpdateServerGroupAttributeRequest::getUchConfig() const {
|
||||
return uchConfig_;
|
||||
}
|
||||
|
||||
void UpdateServerGroupAttributeRequest::setUchConfig(const UpdateServerGroupAttributeRequest::UchConfig &uchConfig) {
|
||||
uchConfig_ = uchConfig;
|
||||
setParameter(std::string("UchConfig") + ".Type", uchConfig.type);
|
||||
setParameter(std::string("UchConfig") + ".Value", uchConfig.value);
|
||||
}
|
||||
|
||||
|
||||
@@ -83,6 +83,8 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/DeleteRouteServiceInCenResult.h
|
||||
include/alibabacloud/cbn/model/DeleteTrafficMarkingPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteTrafficMarkingPolicyResult.h
|
||||
include/alibabacloud/cbn/model/DeleteTransitRouterRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteTransitRouterResult.h
|
||||
include/alibabacloud/cbn/model/DeleteTransitRouterPeerAttachmentRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteTransitRouterPeerAttachmentResult.h
|
||||
include/alibabacloud/cbn/model/DeleteTransitRouterRouteEntryRequest.h
|
||||
@@ -294,6 +296,8 @@ set(cbn_src
|
||||
src/model/DeleteRouteServiceInCenResult.cc
|
||||
src/model/DeleteTrafficMarkingPolicyRequest.cc
|
||||
src/model/DeleteTrafficMarkingPolicyResult.cc
|
||||
src/model/DeleteTransitRouterRequest.cc
|
||||
src/model/DeleteTransitRouterResult.cc
|
||||
src/model/DeleteTransitRouterPeerAttachmentRequest.cc
|
||||
src/model/DeleteTransitRouterPeerAttachmentResult.cc
|
||||
src/model/DeleteTransitRouterRouteEntryRequest.cc
|
||||
|
||||
@@ -84,6 +84,8 @@
|
||||
#include "model/DeleteRouteServiceInCenResult.h"
|
||||
#include "model/DeleteTrafficMarkingPolicyRequest.h"
|
||||
#include "model/DeleteTrafficMarkingPolicyResult.h"
|
||||
#include "model/DeleteTransitRouterRequest.h"
|
||||
#include "model/DeleteTransitRouterResult.h"
|
||||
#include "model/DeleteTransitRouterPeerAttachmentRequest.h"
|
||||
#include "model/DeleteTransitRouterPeerAttachmentResult.h"
|
||||
#include "model/DeleteTransitRouterRouteEntryRequest.h"
|
||||
@@ -332,6 +334,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteTrafficMarkingPolicyResult> DeleteTrafficMarkingPolicyOutcome;
|
||||
typedef std::future<DeleteTrafficMarkingPolicyOutcome> DeleteTrafficMarkingPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteTrafficMarkingPolicyRequest&, const DeleteTrafficMarkingPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTrafficMarkingPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTransitRouterResult> DeleteTransitRouterOutcome;
|
||||
typedef std::future<DeleteTransitRouterOutcome> DeleteTransitRouterOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteTransitRouterRequest&, const DeleteTransitRouterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTransitRouterAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTransitRouterPeerAttachmentResult> DeleteTransitRouterPeerAttachmentOutcome;
|
||||
typedef std::future<DeleteTransitRouterPeerAttachmentOutcome> DeleteTransitRouterPeerAttachmentOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteTransitRouterPeerAttachmentRequest&, const DeleteTransitRouterPeerAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTransitRouterPeerAttachmentAsyncHandler;
|
||||
@@ -649,6 +654,9 @@ namespace AlibabaCloud
|
||||
DeleteTrafficMarkingPolicyOutcome deleteTrafficMarkingPolicy(const Model::DeleteTrafficMarkingPolicyRequest &request)const;
|
||||
void deleteTrafficMarkingPolicyAsync(const Model::DeleteTrafficMarkingPolicyRequest& request, const DeleteTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTrafficMarkingPolicyOutcomeCallable deleteTrafficMarkingPolicyCallable(const Model::DeleteTrafficMarkingPolicyRequest& request) const;
|
||||
DeleteTransitRouterOutcome deleteTransitRouter(const Model::DeleteTransitRouterRequest &request)const;
|
||||
void deleteTransitRouterAsync(const Model::DeleteTransitRouterRequest& request, const DeleteTransitRouterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTransitRouterOutcomeCallable deleteTransitRouterCallable(const Model::DeleteTransitRouterRequest& request) const;
|
||||
DeleteTransitRouterPeerAttachmentOutcome deleteTransitRouterPeerAttachment(const Model::DeleteTransitRouterPeerAttachmentRequest &request)const;
|
||||
void deleteTransitRouterPeerAttachmentAsync(const Model::DeleteTransitRouterPeerAttachmentRequest& request, const DeleteTransitRouterPeerAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTransitRouterPeerAttachmentOutcomeCallable deleteTransitRouterPeerAttachmentCallable(const Model::DeleteTransitRouterPeerAttachmentRequest& request) const;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setTransitRouterName(const std::string &transitRouterName);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getServiceMode() const;
|
||||
void setServiceMode(const std::string &serviceMode);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getCenId() const;
|
||||
@@ -56,6 +58,7 @@ public:
|
||||
private:
|
||||
std::string transitRouterName_;
|
||||
long resourceOwnerId_;
|
||||
std::string serviceMode_;
|
||||
std::string clientToken_;
|
||||
std::string cenId_;
|
||||
std::string type_;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
~CreateTransitRouterVpcAttachmentRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getServiceMode() const;
|
||||
void setServiceMode(const std::string &serviceMode);
|
||||
long getVpcOwnerId() const;
|
||||
void setVpcOwnerId(long vpcOwnerId);
|
||||
std::string getClientToken() const;
|
||||
@@ -75,6 +77,7 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string serviceMode_;
|
||||
long vpcOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string cenId_;
|
||||
|
||||
@@ -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_CBN_MODEL_DELETETRANSITROUTERREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Cbn {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteTransitRouterRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteTransitRouterRequest();
|
||||
~DeleteTransitRouterRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
bool getDryRun() const;
|
||||
void setDryRun(bool dryRun);
|
||||
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 getTransitRouterId() const;
|
||||
void setTransitRouterId(const std::string &transitRouterId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string transitRouterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Cbn
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERREQUEST_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_DELETETRANSITROUTERRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERRESULT_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 DeleteTransitRouterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTransitRouterResult();
|
||||
explicit DeleteTransitRouterResult(const std::string &payload);
|
||||
~DeleteTransitRouterResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERRESULT_H_
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string zoneId;
|
||||
std::string vSwitchId;
|
||||
std::string networkInterfaceId;
|
||||
};
|
||||
std::string status;
|
||||
std::string transitRouterAttachmentId;
|
||||
@@ -47,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string transitRouterAttachmentName;
|
||||
std::string resourceType;
|
||||
std::vector<TransitRouterAttachment::ZoneMapping> zoneMappings;
|
||||
std::string serviceMode;
|
||||
std::string transitRouterAttachmentDescription;
|
||||
long vpcOwnerId;
|
||||
std::string transitRouterId;
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
||||
std::string transitRouterDescription;
|
||||
std::string transitRouterName;
|
||||
std::string regionId;
|
||||
std::string serviceMode;
|
||||
std::string transitRouterId;
|
||||
long aliUid;
|
||||
};
|
||||
|
||||
@@ -1167,6 +1167,42 @@ CbnClient::DeleteTrafficMarkingPolicyOutcomeCallable CbnClient::deleteTrafficMar
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteTransitRouterOutcome CbnClient::deleteTransitRouter(const DeleteTransitRouterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteTransitRouterOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteTransitRouterOutcome(DeleteTransitRouterResult(outcome.result()));
|
||||
else
|
||||
return DeleteTransitRouterOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::deleteTransitRouterAsync(const DeleteTransitRouterRequest& request, const DeleteTransitRouterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteTransitRouter(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::DeleteTransitRouterOutcomeCallable CbnClient::deleteTransitRouterCallable(const DeleteTransitRouterRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteTransitRouterOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteTransitRouter(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteTransitRouterPeerAttachmentOutcome CbnClient::deleteTransitRouterPeerAttachment(const DeleteTransitRouterPeerAttachmentRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -43,6 +43,15 @@ void CreateTransitRouterRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateTransitRouterRequest::getServiceMode() const {
|
||||
return serviceMode_;
|
||||
}
|
||||
|
||||
void CreateTransitRouterRequest::setServiceMode(const std::string &serviceMode) {
|
||||
serviceMode_ = serviceMode;
|
||||
setParameter(std::string("ServiceMode"), serviceMode);
|
||||
}
|
||||
|
||||
std::string CreateTransitRouterRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,15 @@ void CreateTransitRouterVpcAttachmentRequest::setResourceOwnerId(long resourceOw
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateTransitRouterVpcAttachmentRequest::getServiceMode() const {
|
||||
return serviceMode_;
|
||||
}
|
||||
|
||||
void CreateTransitRouterVpcAttachmentRequest::setServiceMode(const std::string &serviceMode) {
|
||||
serviceMode_ = serviceMode;
|
||||
setParameter(std::string("ServiceMode"), serviceMode);
|
||||
}
|
||||
|
||||
long CreateTransitRouterVpcAttachmentRequest::getVpcOwnerId() const {
|
||||
return vpcOwnerId_;
|
||||
}
|
||||
|
||||
90
cbn/src/model/DeleteTransitRouterRequest.cc
Normal file
90
cbn/src/model/DeleteTransitRouterRequest.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DeleteTransitRouterRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DeleteTransitRouterRequest;
|
||||
|
||||
DeleteTransitRouterRequest::DeleteTransitRouterRequest()
|
||||
: RpcServiceRequest("cbn", "2017-09-12", "DeleteTransitRouter") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteTransitRouterRequest::~DeleteTransitRouterRequest() {}
|
||||
|
||||
long DeleteTransitRouterRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteTransitRouterRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteTransitRouterRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DeleteTransitRouterRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
bool DeleteTransitRouterRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void DeleteTransitRouterRequest::setDryRun(bool dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteTransitRouterRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteTransitRouterRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteTransitRouterRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteTransitRouterRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteTransitRouterRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteTransitRouterRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteTransitRouterRequest::getTransitRouterId() const {
|
||||
return transitRouterId_;
|
||||
}
|
||||
|
||||
void DeleteTransitRouterRequest::setTransitRouterId(const std::string &transitRouterId) {
|
||||
transitRouterId_ = transitRouterId;
|
||||
setParameter(std::string("TransitRouterId"), transitRouterId);
|
||||
}
|
||||
|
||||
44
cbn/src/model/DeleteTransitRouterResult.cc
Normal file
44
cbn/src/model/DeleteTransitRouterResult.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/DeleteTransitRouterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
DeleteTransitRouterResult::DeleteTransitRouterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTransitRouterResult::DeleteTransitRouterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTransitRouterResult::~DeleteTransitRouterResult()
|
||||
{}
|
||||
|
||||
void DeleteTransitRouterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -63,6 +63,8 @@ void ListTransitRouterVpcAttachmentsResult::parse(const std::string &payload)
|
||||
transitRouterAttachmentsObject.vpcRegionId = valueTransitRouterAttachmentsTransitRouterAttachment["VpcRegionId"].asString();
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachment["TransitRouterAttachmentName"].isNull())
|
||||
transitRouterAttachmentsObject.transitRouterAttachmentName = valueTransitRouterAttachmentsTransitRouterAttachment["TransitRouterAttachmentName"].asString();
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachment["ServiceMode"].isNull())
|
||||
transitRouterAttachmentsObject.serviceMode = valueTransitRouterAttachmentsTransitRouterAttachment["ServiceMode"].asString();
|
||||
auto allZoneMappingsNode = valueTransitRouterAttachmentsTransitRouterAttachment["ZoneMappings"]["ZoneMapping"];
|
||||
for (auto valueTransitRouterAttachmentsTransitRouterAttachmentZoneMappingsZoneMapping : allZoneMappingsNode)
|
||||
{
|
||||
@@ -71,6 +73,8 @@ void ListTransitRouterVpcAttachmentsResult::parse(const std::string &payload)
|
||||
zoneMappingsObject.zoneId = valueTransitRouterAttachmentsTransitRouterAttachmentZoneMappingsZoneMapping["ZoneId"].asString();
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachmentZoneMappingsZoneMapping["VSwitchId"].isNull())
|
||||
zoneMappingsObject.vSwitchId = valueTransitRouterAttachmentsTransitRouterAttachmentZoneMappingsZoneMapping["VSwitchId"].asString();
|
||||
if(!valueTransitRouterAttachmentsTransitRouterAttachmentZoneMappingsZoneMapping["NetworkInterfaceId"].isNull())
|
||||
zoneMappingsObject.networkInterfaceId = valueTransitRouterAttachmentsTransitRouterAttachmentZoneMappingsZoneMapping["NetworkInterfaceId"].asString();
|
||||
transitRouterAttachmentsObject.zoneMappings.push_back(zoneMappingsObject);
|
||||
}
|
||||
transitRouterAttachments_.push_back(transitRouterAttachmentsObject);
|
||||
|
||||
@@ -61,6 +61,8 @@ void ListTransitRoutersResult::parse(const std::string &payload)
|
||||
transitRoutersObject.aliUid = std::stol(valueTransitRoutersTransitRouter["AliUid"].asString());
|
||||
if(!valueTransitRoutersTransitRouter["RegionId"].isNull())
|
||||
transitRoutersObject.regionId = valueTransitRoutersTransitRouter["RegionId"].asString();
|
||||
if(!valueTransitRoutersTransitRouter["ServiceMode"].isNull())
|
||||
transitRoutersObject.serviceMode = valueTransitRoutersTransitRouter["ServiceMode"].asString();
|
||||
transitRouters_.push_back(transitRoutersObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
51
ccc/include/alibabacloud/ccc/model/AbortCampaignRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/AbortCampaignRequest.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_ABORTCAMPAIGNREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_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 AbortCampaignRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AbortCampaignRequest();
|
||||
~AbortCampaignRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCampaignId()const;
|
||||
void setCampaignId(const std::string& campaignId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string campaignId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_
|
||||
55
ccc/include/alibabacloud/ccc/model/AbortCampaignResult.h
Normal file
55
ccc/include/alibabacloud/ccc/model/AbortCampaignResult.h
Normal file
@@ -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_ABORTCAMPAIGNRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNRESULT_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 AbortCampaignResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AbortCampaignResult();
|
||||
explicit AbortCampaignResult(const std::string &payload);
|
||||
~AbortCampaignResult();
|
||||
std::string getMessage()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNRESULT_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ABORTPREDICTIVEJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ABORTPREDICTIVEJOBSREQUEST_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 AbortPredictiveJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AbortPredictiveJobsRequest();
|
||||
~AbortPredictiveJobsRequest();
|
||||
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getJobId()const;
|
||||
void setJobId(const std::vector<std::string>& jobId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
|
||||
private:
|
||||
bool all_;
|
||||
std::vector<std::string> jobId_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
std::string jobGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ABORTPREDICTIVEJOBSREQUEST_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ABORTPREDICTIVEJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ABORTPREDICTIVEJOBSRESULT_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 AbortPredictiveJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AbortPredictiveJobsResult();
|
||||
explicit AbortPredictiveJobsResult(const std::string &payload);
|
||||
~AbortPredictiveJobsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ABORTPREDICTIVEJOBSRESULT_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDAGENTDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDAGENTDEVICEREQUEST_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 AddAgentDeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddAgentDeviceRequest();
|
||||
~AddAgentDeviceRequest();
|
||||
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getClientPort()const;
|
||||
void setClientPort(const std::string& clientPort);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getClientIp()const;
|
||||
void setClientIp(const std::string& clientIp);
|
||||
std::string getBrowserVersion()const;
|
||||
void setBrowserVersion(const std::string& browserVersion);
|
||||
|
||||
private:
|
||||
std::string remark_;
|
||||
std::string clientPort_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
std::string clientIp_;
|
||||
std::string browserVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDAGENTDEVICEREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDAGENTDEVICERESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDAGENTDEVICERESULT_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 AddAgentDeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddAgentDeviceResult();
|
||||
explicit AddAgentDeviceResult(const std::string &payload);
|
||||
~AddAgentDeviceResult();
|
||||
std::string getMessage()const;
|
||||
long getAgentDeviceId()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long agentDeviceId_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDAGENTDEVICERESULT_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDBULKPHONENUMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDBULKPHONENUMBERSREQUEST_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 AddBulkPhoneNumbersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddBulkPhoneNumbersRequest();
|
||||
~AddBulkPhoneNumbersRequest();
|
||||
|
||||
std::string getContactFlowId()const;
|
||||
void setContactFlowId(const std::string& contactFlowId);
|
||||
std::string getUsage()const;
|
||||
void setUsage(const std::string& usage);
|
||||
std::vector<std::string> getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::vector<std::string>& phoneNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::vector<std::string> getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::vector<std::string>& skillGroupId);
|
||||
|
||||
private:
|
||||
std::string contactFlowId_;
|
||||
std::string usage_;
|
||||
std::vector<std::string> phoneNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
std::vector<std::string> skillGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDBULKPHONENUMBERSREQUEST_H_
|
||||
@@ -1,92 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDBULKPHONENUMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDBULKPHONENUMBERSRESULT_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 AddBulkPhoneNumbersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PhoneNumber
|
||||
{
|
||||
struct ContactFlow
|
||||
{
|
||||
std::string type;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string contactFlowName;
|
||||
std::string contactFlowDescription;
|
||||
};
|
||||
struct SkillGroup
|
||||
{
|
||||
std::string skillGroupName;
|
||||
std::string skillGroupId;
|
||||
};
|
||||
std::string usage;
|
||||
bool testOnly;
|
||||
bool allowOutbound;
|
||||
std::string number;
|
||||
std::string instanceId;
|
||||
int remainingTime;
|
||||
std::vector<PhoneNumber::SkillGroup> skillGroups;
|
||||
int trunks;
|
||||
std::string phoneNumberId;
|
||||
ContactFlow contactFlow;
|
||||
std::string phoneNumberDescription;
|
||||
};
|
||||
|
||||
|
||||
AddBulkPhoneNumbersResult();
|
||||
explicit AddBulkPhoneNumbersResult(const std::string &payload);
|
||||
~AddBulkPhoneNumbersResult();
|
||||
std::vector<std::string> getArrearagePhoneNumbers()const;
|
||||
std::vector<PhoneNumber> getPhoneNumbers()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getFailedPhoneNumbers()const;
|
||||
std::vector<std::string> getUserdPhoneNumbers()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> arrearagePhoneNumbers_;
|
||||
std::vector<PhoneNumber> phoneNumbers_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> failedPhoneNumbers_;
|
||||
std::vector<std::string> userdPhoneNumbers_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDBULKPHONENUMBERSRESULT_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDJOBSTOPREDICTIVEJOBGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDJOBSTOPREDICTIVEJOBGROUPREQUEST_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 AddJobsToPredictiveJobGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddJobsToPredictiveJobGroupRequest();
|
||||
~AddJobsToPredictiveJobGroupRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::vector<std::string> getJobsJson()const;
|
||||
void setJobsJson(const std::vector<std::string>& jobsJson);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::vector<std::string> jobsJson_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
std::string jobGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDJOBSTOPREDICTIVEJOBGROUPREQUEST_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDJOBSTOPREDICTIVEJOBGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDJOBSTOPREDICTIVEJOBGROUPRESULT_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 AddJobsToPredictiveJobGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddJobsToPredictiveJobGroupResult();
|
||||
explicit AddJobsToPredictiveJobGroupResult(const std::string &payload);
|
||||
~AddJobsToPredictiveJobGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDJOBSTOPREDICTIVEJOBGROUPRESULT_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_ADDNUMBERSTOSKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_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 AddNumbersToSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddNumbersToSkillGroupRequest();
|
||||
~AddNumbersToSkillGroupRequest();
|
||||
|
||||
std::string getNumberList()const;
|
||||
void setNumberList(const std::string& numberList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
|
||||
private:
|
||||
std::string numberList_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_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_ADDNUMBERSTOSKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPRESULT_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 AddNumbersToSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddNumbersToSkillGroupResult();
|
||||
explicit AddNumbersToSkillGroupResult(const std::string &payload);
|
||||
~AddNumbersToSkillGroupResult();
|
||||
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_ADDNUMBERSTOSKILLGROUPRESULT_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_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_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERREQUEST_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 AddPhoneNumberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddPhoneNumberRequest();
|
||||
~AddPhoneNumberRequest();
|
||||
|
||||
std::string getContactFlowId()const;
|
||||
void setContactFlowId(const std::string& contactFlowId);
|
||||
std::string getUsage()const;
|
||||
void setUsage(const std::string& usage);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string contactFlowId_;
|
||||
std::string usage_;
|
||||
std::string phoneNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERREQUEST_H_
|
||||
@@ -1,80 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERRESULT_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 AddPhoneNumberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PhoneNumber
|
||||
{
|
||||
struct ContactFlow
|
||||
{
|
||||
std::string type;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string contactFlowName;
|
||||
std::string contactFlowDescription;
|
||||
};
|
||||
std::string usage;
|
||||
bool testOnly;
|
||||
bool allowOutbound;
|
||||
std::string number;
|
||||
std::string instanceId;
|
||||
int remainingTime;
|
||||
int trunks;
|
||||
std::string phoneNumberId;
|
||||
ContactFlow contactFlow;
|
||||
std::string phoneNumberDescription;
|
||||
};
|
||||
|
||||
|
||||
AddPhoneNumberResult();
|
||||
explicit AddPhoneNumberResult(const std::string &payload);
|
||||
~AddPhoneNumberResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
PhoneNumber getPhoneNumber()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
PhoneNumber phoneNumber_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERRESULT_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_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_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 AddPhoneNumberToSkillGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddPhoneNumberToSkillGroupsRequest();
|
||||
~AddPhoneNumberToSkillGroupsRequest();
|
||||
|
||||
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_ADDPHONENUMBERTOSKILLGROUPSREQUEST_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_ADDPHONENUMBERTOSKILLGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSRESULT_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 AddPhoneNumberToSkillGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddPhoneNumberToSkillGroupsResult();
|
||||
explicit AddPhoneNumberToSkillGroupsResult(const std::string &payload);
|
||||
~AddPhoneNumberToSkillGroupsResult();
|
||||
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_ADDPHONENUMBERTOSKILLGROUPSRESULT_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_
|
||||
@@ -1,75 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSREQUEST_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 AddPhoneTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddPhoneTagsRequest();
|
||||
~AddPhoneTagsRequest();
|
||||
|
||||
std::string getRegionNameProvince()const;
|
||||
void setRegionNameProvince(const std::string& regionNameProvince);
|
||||
int getType()const;
|
||||
void setType(int type);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getConcurrency()const;
|
||||
void setConcurrency(int concurrency);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getProvider()const;
|
||||
void setProvider(const std::string& provider);
|
||||
std::vector<std::string> getPhoneNumberList()const;
|
||||
void setPhoneNumberList(const std::vector<std::string>& phoneNumberList);
|
||||
std::string getServiceTag()const;
|
||||
void setServiceTag(const std::string& serviceTag);
|
||||
std::string getSipTag()const;
|
||||
void setSipTag(const std::string& sipTag);
|
||||
std::string getRegionNameCity()const;
|
||||
void setRegionNameCity(const std::string& regionNameCity);
|
||||
|
||||
private:
|
||||
std::string regionNameProvince_;
|
||||
int type_;
|
||||
std::string accessKeyId_;
|
||||
int concurrency_;
|
||||
std::string instanceId_;
|
||||
std::string provider_;
|
||||
std::vector<std::string> phoneNumberList_;
|
||||
std::string serviceTag_;
|
||||
std::string sipTag_;
|
||||
std::string regionNameCity_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSREQUEST_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSRESULT_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 AddPhoneTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddPhoneTagsResult();
|
||||
explicit AddPhoneTagsResult(const std::string &payload);
|
||||
~AddPhoneTagsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONETAGSRESULT_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_ADDSKILLGROUPSTOUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_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 AddSkillGroupsToUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddSkillGroupsToUserRequest();
|
||||
~AddSkillGroupsToUserRequest();
|
||||
|
||||
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_ADDSKILLGROUPSTOUSERREQUEST_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_ADDSKILLGROUPSTOUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERRESULT_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 AddSkillGroupsToUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddSkillGroupsToUserResult();
|
||||
explicit AddSkillGroupsToUserResult(const std::string &payload);
|
||||
~AddSkillGroupsToUserResult();
|
||||
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_ADDSKILLGROUPSTOUSERRESULT_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_
|
||||
57
ccc/include/alibabacloud/ccc/model/AnswerCallRequest.h
Normal file
57
ccc/include/alibabacloud/ccc/model/AnswerCallRequest.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_ANSWERCALLREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ANSWERCALLREQUEST_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 AnswerCallRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AnswerCallRequest();
|
||||
~AnswerCallRequest();
|
||||
|
||||
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);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string deviceId_;
|
||||
std::string jobId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ANSWERCALLREQUEST_H_
|
||||
103
ccc/include/alibabacloud/ccc/model/AnswerCallResult.h
Normal file
103
ccc/include/alibabacloud/ccc/model/AnswerCallResult.h
Normal file
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ANSWERCALLRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ANSWERCALLRESULT_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 AnswerCallResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct CallContext
|
||||
{
|
||||
struct ChannelContext
|
||||
{
|
||||
std::string destination;
|
||||
std::string channelState;
|
||||
std::string releaseInitiator;
|
||||
std::string callType;
|
||||
std::string skillGroupId;
|
||||
std::string associatedData;
|
||||
std::string channelId;
|
||||
long timestamp;
|
||||
std::string releaseReason;
|
||||
std::string originator;
|
||||
std::string userId;
|
||||
std::string userExtension;
|
||||
std::string jobId;
|
||||
};
|
||||
std::string instanceId;
|
||||
std::string jobId;
|
||||
std::vector<ChannelContext> channelContexts;
|
||||
};
|
||||
struct UserContext
|
||||
{
|
||||
std::string userState;
|
||||
std::string instanceId;
|
||||
std::string deviceId;
|
||||
std::string breakCode;
|
||||
bool outboundScenario;
|
||||
std::string mobile;
|
||||
std::vector<std::string> signedSkillGroupIdList;
|
||||
std::string extension;
|
||||
std::string userId;
|
||||
long heartbeat;
|
||||
std::string workMode;
|
||||
std::string jobId;
|
||||
long reserved;
|
||||
};
|
||||
UserContext userContext;
|
||||
long contextId;
|
||||
CallContext callContext;
|
||||
};
|
||||
|
||||
|
||||
AnswerCallResult();
|
||||
explicit AnswerCallResult(const std::string &payload);
|
||||
~AnswerCallResult();
|
||||
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_ANSWERCALLRESULT_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSREQUEST_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 AssignJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AssignJobsRequest();
|
||||
~AssignJobsRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::vector<std::string> getJobsJson()const;
|
||||
void setJobsJson(const std::vector<std::string>& jobsJson);
|
||||
std::vector<std::string> getCallingNumber()const;
|
||||
void setCallingNumber(const std::vector<std::string>& callingNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getStrategyJson()const;
|
||||
void setStrategyJson(const std::string& strategyJson);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::vector<std::string> jobsJson_;
|
||||
std::vector<std::string> callingNumber_;
|
||||
std::string instanceId_;
|
||||
std::string strategyJson_;
|
||||
std::string scenarioId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSRESULT_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 AssignJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AssignJobsResult();
|
||||
explicit AssignJobsResult(const std::string &payload);
|
||||
~AssignJobsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getGroupId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSRESULT_H_
|
||||
@@ -35,26 +35,23 @@ namespace AlibabaCloud
|
||||
AssignUsersRequest();
|
||||
~AssignUsersRequest();
|
||||
|
||||
std::vector<std::string> getRoleId()const;
|
||||
void setRoleId(const std::vector<std::string>& roleId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::vector<std::string> getUserRamId()const;
|
||||
void setUserRamId(const std::vector<std::string>& userRamId);
|
||||
std::vector<int> getSkillLevel()const;
|
||||
void setSkillLevel(const std::vector<int>& skillLevel);
|
||||
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::vector<std::string> getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::vector<std::string>& skillGroupId);
|
||||
std::string getSkillLevelList()const;
|
||||
void setSkillLevelList(const std::string& skillLevelList);
|
||||
|
||||
private:
|
||||
std::vector<std::string> roleId_;
|
||||
std::string accessKeyId_;
|
||||
std::vector<std::string> userRamId_;
|
||||
std::vector<int> skillLevel_;
|
||||
std::string ramIdList_;
|
||||
std::string roleId_;
|
||||
std::string workMode_;
|
||||
std::string instanceId_;
|
||||
std::vector<std::string> skillGroupId_;
|
||||
std::string skillLevelList_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,16 +39,20 @@ namespace AlibabaCloud
|
||||
~AssignUsersResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getData()const;
|
||||
std::string getSync()const;
|
||||
std::string getWorkflowId()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()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_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
63
ccc/include/alibabacloud/ccc/model/BargeInCallRequest.h
Normal file
63
ccc/include/alibabacloud/ccc/model/BargeInCallRequest.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_BARGEINCALLREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_BARGEINCALLREQUEST_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 BargeInCallRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BargeInCallRequest();
|
||||
~BargeInCallRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getBargedUserId()const;
|
||||
void setBargedUserId(const std::string& bargedUserId);
|
||||
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 userId_;
|
||||
std::string deviceId_;
|
||||
std::string bargedUserId_;
|
||||
std::string jobId_;
|
||||
int timeoutSeconds_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_BARGEINCALLREQUEST_H_
|
||||
105
ccc/include/alibabacloud/ccc/model/BargeInCallResult.h
Normal file
105
ccc/include/alibabacloud/ccc/model/BargeInCallResult.h
Normal file
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_BARGEINCALLRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_BARGEINCALLRESULT_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 BargeInCallResult : 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 skillGroupId;
|
||||
std::string associatedData;
|
||||
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 deviceId;
|
||||
std::string breakCode;
|
||||
bool outboundScenario;
|
||||
std::string mobile;
|
||||
std::vector<std::string> signedSkillGroupIdList;
|
||||
std::string extension;
|
||||
std::string userId;
|
||||
long heartbeat;
|
||||
std::string workMode;
|
||||
std::string jobId;
|
||||
long reserved;
|
||||
};
|
||||
UserContext userContext;
|
||||
CallContext callContext;
|
||||
};
|
||||
|
||||
|
||||
BargeInCallResult();
|
||||
explicit BargeInCallResult(const std::string &payload);
|
||||
~BargeInCallResult();
|
||||
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_BARGEINCALLRESULT_H_
|
||||
66
ccc/include/alibabacloud/ccc/model/BlindTransferRequest.h
Normal file
66
ccc/include/alibabacloud/ccc/model/BlindTransferRequest.h
Normal file
@@ -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_BLINDTRANSFERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERREQUEST_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 BlindTransferRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BlindTransferRequest();
|
||||
~BlindTransferRequest();
|
||||
|
||||
std::string getTransferee()const;
|
||||
void setTransferee(const std::string& transferee);
|
||||
std::string getTransferor()const;
|
||||
void setTransferor(const std::string& transferor);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
int getTimeoutSeconds()const;
|
||||
void setTimeoutSeconds(int timeoutSeconds);
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string transferee_;
|
||||
std::string transferor_;
|
||||
std::string userId_;
|
||||
std::string deviceId_;
|
||||
int timeoutSeconds_;
|
||||
std::string jobId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERREQUEST_H_
|
||||
103
ccc/include/alibabacloud/ccc/model/BlindTransferResult.h
Normal file
103
ccc/include/alibabacloud/ccc/model/BlindTransferResult.h
Normal file
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_BLINDTRANSFERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERRESULT_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 BlindTransferResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct CallContext
|
||||
{
|
||||
struct ChannelContext
|
||||
{
|
||||
std::string destination;
|
||||
std::string channelState;
|
||||
std::string releaseInitiator;
|
||||
std::string callType;
|
||||
std::string associatedData;
|
||||
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 deviceId;
|
||||
std::string breakCode;
|
||||
bool outboundScenario;
|
||||
std::string mobile;
|
||||
std::vector<std::string> signedSkillGroupIdList;
|
||||
std::string extension;
|
||||
std::string userId;
|
||||
long heartbeat;
|
||||
std::string workMode;
|
||||
std::string jobId;
|
||||
long reserved;
|
||||
};
|
||||
UserContext userContext;
|
||||
CallContext callContext;
|
||||
};
|
||||
|
||||
|
||||
BlindTransferResult();
|
||||
explicit BlindTransferResult(const std::string &payload);
|
||||
~BlindTransferResult();
|
||||
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_BLINDTRANSFERRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CALLONLINEPRIVACYNUMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CALLONLINEPRIVACYNUMBERREQUEST_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 CallOnlinePrivacyNumberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CallOnlinePrivacyNumberRequest();
|
||||
~CallOnlinePrivacyNumberRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTelA()const;
|
||||
void setTelA(const std::string& telA);
|
||||
std::string getTelB()const;
|
||||
void setTelB(const std::string& telB);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string telA_;
|
||||
std::string telB_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CALLONLINEPRIVACYNUMBERREQUEST_H_
|
||||
@@ -1,67 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CALLONLINEPRIVACYNUMBERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CALLONLINEPRIVACYNUMBERRESULT_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 CallOnlinePrivacyNumberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string represent;
|
||||
std::string callId;
|
||||
std::string dateCreated;
|
||||
std::string telX;
|
||||
std::string statusCode;
|
||||
};
|
||||
|
||||
|
||||
CallOnlinePrivacyNumberResult();
|
||||
explicit CallOnlinePrivacyNumberResult(const std::string &payload);
|
||||
~CallOnlinePrivacyNumberResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CALLONLINEPRIVACYNUMBERRESULT_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_CANCELATTENDEDTRANSFERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERREQUEST_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 CancelAttendedTransferRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelAttendedTransferRequest();
|
||||
~CancelAttendedTransferRequest();
|
||||
|
||||
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);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string deviceId_;
|
||||
std::string jobId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERREQUEST_H_
|
||||
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CANCELATTENDEDTRANSFERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERRESULT_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 CancelAttendedTransferResult : 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 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 deviceId;
|
||||
std::string breakCode;
|
||||
bool outboundScenario;
|
||||
std::string mobile;
|
||||
std::vector<std::string> signedSkillGroupIdList;
|
||||
std::string extension;
|
||||
std::string userId;
|
||||
long heartbeat;
|
||||
std::string workMode;
|
||||
std::string jobId;
|
||||
long reserved;
|
||||
};
|
||||
UserContext userContext;
|
||||
long contextId;
|
||||
CallContext callContext;
|
||||
};
|
||||
|
||||
|
||||
CancelAttendedTransferResult();
|
||||
explicit CancelAttendedTransferResult(const std::string &payload);
|
||||
~CancelAttendedTransferResult();
|
||||
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_CANCELATTENDEDTRANSFERRESULT_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CANCELJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CANCELJOBSREQUEST_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 CancelJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelJobsRequest();
|
||||
~CancelJobsRequest();
|
||||
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getJobReferenceId()const;
|
||||
void setJobReferenceId(const std::vector<std::string>& jobReferenceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::vector<std::string> getJobId()const;
|
||||
void setJobId(const std::vector<std::string>& jobId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
|
||||
private:
|
||||
bool all_;
|
||||
std::vector<std::string> jobReferenceId_;
|
||||
std::string groupId_;
|
||||
std::vector<std::string> jobId_;
|
||||
std::string instanceId_;
|
||||
std::string scenarioId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CANCELJOBSREQUEST_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CANCELJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CANCELJOBSRESULT_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 CancelJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CancelJobsResult();
|
||||
explicit CancelJobsResult(const std::string &payload);
|
||||
~CancelJobsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CANCELJOBSRESULT_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/ChangeWorkModeRequest.h
Normal file
57
ccc/include/alibabacloud/ccc/model/ChangeWorkModeRequest.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_CHANGEWORKMODEREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODEREQUEST_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 ChangeWorkModeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ChangeWorkModeRequest();
|
||||
~ChangeWorkModeRequest();
|
||||
|
||||
std::string getWorkMode()const;
|
||||
void setWorkMode(const std::string& workMode);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string workMode_;
|
||||
std::string userId_;
|
||||
std::string deviceId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODEREQUEST_H_
|
||||
72
ccc/include/alibabacloud/ccc/model/ChangeWorkModeResult.h
Normal file
72
ccc/include/alibabacloud/ccc/model/ChangeWorkModeResult.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_CHANGEWORKMODERESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODERESULT_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 ChangeWorkModeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string extension;
|
||||
std::string userState;
|
||||
std::string instanceId;
|
||||
std::string deviceId;
|
||||
std::string userId;
|
||||
std::string breakCode;
|
||||
bool outboundScenario;
|
||||
std::string workMode;
|
||||
std::string jobId;
|
||||
std::vector<std::string> signedSkillGroupIdList;
|
||||
};
|
||||
|
||||
|
||||
ChangeWorkModeResult();
|
||||
explicit ChangeWorkModeResult(const std::string &payload);
|
||||
~ChangeWorkModeResult();
|
||||
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_CHANGEWORKMODERESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CHECKNUMBERAVALIABLEREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CHECKNUMBERAVALIABLEREQUEST_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 CheckNumberAvaliableRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckNumberAvaliableRequest();
|
||||
~CheckNumberAvaliableRequest();
|
||||
|
||||
std::string getCaller()const;
|
||||
void setCaller(const std::string& caller);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCallee()const;
|
||||
void setCallee(const std::string& callee);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string caller_;
|
||||
std::string instanceId_;
|
||||
std::string callee_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CHECKNUMBERAVALIABLEREQUEST_H_
|
||||
@@ -1,71 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CHECKNUMBERAVALIABLERESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CHECKNUMBERAVALIABLERESULT_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 CheckNumberAvaliableResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CallerAvaliable
|
||||
{
|
||||
bool avaliable;
|
||||
std::string reason;
|
||||
};
|
||||
struct CalleeAvaliable
|
||||
{
|
||||
bool avaliable;
|
||||
std::string reason;
|
||||
};
|
||||
|
||||
|
||||
CheckNumberAvaliableResult();
|
||||
explicit CheckNumberAvaliableResult(const std::string &payload);
|
||||
~CheckNumberAvaliableResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
CallerAvaliable getCallerAvaliable()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
CalleeAvaliable getCalleeAvaliable()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
CallerAvaliable callerAvaliable_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
CalleeAvaliable calleeAvaliable_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CHECKNUMBERAVALIABLERESULT_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 skillGroupId;
|
||||
std::string associatedData;
|
||||
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 deviceId;
|
||||
std::string breakCode;
|
||||
bool outboundScenario;
|
||||
std::string uri;
|
||||
std::string mobile;
|
||||
std::vector<std::string> signedSkillGroupIdList;
|
||||
std::string extension;
|
||||
std::string deviceState;
|
||||
std::string userId;
|
||||
long heartbeat;
|
||||
std::string workMode;
|
||||
std::string jobId;
|
||||
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_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_COMMITCONTACTFLOWVERSIONMODIFICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_COMMITCONTACTFLOWVERSIONMODIFICATIONREQUEST_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 CommitContactFlowVersionModificationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CommitContactFlowVersionModificationRequest();
|
||||
~CommitContactFlowVersionModificationRequest();
|
||||
|
||||
std::string getCanvas()const;
|
||||
void setCanvas(const std::string& canvas);
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getContactFlowVersionId()const;
|
||||
void setContactFlowVersionId(const std::string& contactFlowVersionId);
|
||||
|
||||
private:
|
||||
std::string canvas_;
|
||||
std::string content_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
std::string contactFlowVersionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_COMMITCONTACTFLOWVERSIONMODIFICATIONREQUEST_H_
|
||||
@@ -1,71 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_COMMITCONTACTFLOWVERSIONMODIFICATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_COMMITCONTACTFLOWVERSIONMODIFICATIONRESULT_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 CommitContactFlowVersionModificationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ContactFlowVersion
|
||||
{
|
||||
std::string lastModified;
|
||||
std::string status;
|
||||
std::string lastModifiedBy;
|
||||
std::string lockedBy;
|
||||
std::string contactFlowVersionId;
|
||||
std::string version;
|
||||
std::string content;
|
||||
std::string canvas;
|
||||
std::string contactFlowVersionDescription;
|
||||
};
|
||||
|
||||
|
||||
CommitContactFlowVersionModificationResult();
|
||||
explicit CommitContactFlowVersionModificationResult(const std::string &payload);
|
||||
~CommitContactFlowVersionModificationResult();
|
||||
std::string getMessage()const;
|
||||
ContactFlowVersion getContactFlowVersion()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
ContactFlowVersion contactFlowVersion_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_COMMITCONTACTFLOWVERSIONMODIFICATIONRESULT_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_COMPLETEATTENDEDTRANSFERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_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 CompleteAttendedTransferRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CompleteAttendedTransferRequest();
|
||||
~CompleteAttendedTransferRequest();
|
||||
|
||||
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);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string deviceId_;
|
||||
std::string jobId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_H_
|
||||
@@ -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_COMPLETEATTENDEDTRANSFERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERRESULT_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 CompleteAttendedTransferResult : 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 skillGroupId;
|
||||
std::string associatedData;
|
||||
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 deviceId;
|
||||
std::string breakCode;
|
||||
bool outboundScenario;
|
||||
std::string mobile;
|
||||
std::vector<std::string> signedSkillGroupIdList;
|
||||
std::string extension;
|
||||
std::string userId;
|
||||
long heartbeat;
|
||||
std::string workMode;
|
||||
std::string jobId;
|
||||
long reserved;
|
||||
};
|
||||
UserContext userContext;
|
||||
long contextId;
|
||||
CallContext callContext;
|
||||
};
|
||||
|
||||
|
||||
CompleteAttendedTransferResult();
|
||||
explicit CompleteAttendedTransferResult(const std::string &payload);
|
||||
~CompleteAttendedTransferResult();
|
||||
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_COMPLETEATTENDEDTRANSFERRESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSREQUEST_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 CreateBatchJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateBatchJobsRequest();
|
||||
~CreateBatchJobsRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getJobFilePath()const;
|
||||
void setJobFilePath(const std::string& jobFilePath);
|
||||
std::vector<std::string> getCallingNumber()const;
|
||||
void setCallingNumber(const std::vector<std::string>& callingNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
bool getSubmitted()const;
|
||||
void setSubmitted(bool submitted);
|
||||
std::string getStrategyJson()const;
|
||||
void setStrategyJson(const std::string& strategyJson);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string jobFilePath_;
|
||||
std::vector<std::string> callingNumber_;
|
||||
std::string instanceId_;
|
||||
bool submitted_;
|
||||
std::string strategyJson_;
|
||||
std::string name_;
|
||||
std::string scenarioId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSREQUEST_H_
|
||||
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSRESULT_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 CreateBatchJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct JobGroup
|
||||
{
|
||||
struct Strategy
|
||||
{
|
||||
struct TimeFrame
|
||||
{
|
||||
std::string endTime;
|
||||
std::string beginTime;
|
||||
};
|
||||
std::vector<TimeFrame> workingTime;
|
||||
bool isTemplate;
|
||||
std::string repeatBy;
|
||||
int minAttemptInterval;
|
||||
long endTime;
|
||||
std::string strategyId;
|
||||
long startTime;
|
||||
std::string followUpStrategy;
|
||||
std::string type;
|
||||
std::string strategyName;
|
||||
std::string strategyDescription;
|
||||
std::string customized;
|
||||
int maxAttemptsPerDay;
|
||||
std::string routingStrategy;
|
||||
std::vector<std::string> repeatDays;
|
||||
};
|
||||
std::string jobGroupId;
|
||||
std::string scenarioId;
|
||||
std::string jobGroupName;
|
||||
long creationTime;
|
||||
Strategy strategy;
|
||||
std::string jobFilePath;
|
||||
std::string jobGroupDescription;
|
||||
std::vector<std::string> callingNumbers;
|
||||
};
|
||||
|
||||
|
||||
CreateBatchJobsResult();
|
||||
explicit CreateBatchJobsResult(const std::string &payload);
|
||||
~CreateBatchJobsResult();
|
||||
JobGroup getJobGroup()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
JobGroup jobGroup_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATECABINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATECABINSTANCEREQUEST_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 CreateCabInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCabInstanceRequest();
|
||||
~CreateCabInstanceRequest();
|
||||
|
||||
int getMaxConcurrentConversation()const;
|
||||
void setMaxConcurrentConversation(int maxConcurrentConversation);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getCallCenterInstanceId()const;
|
||||
void setCallCenterInstanceId(const std::string& callCenterInstanceId);
|
||||
std::string getInstanceDescription()const;
|
||||
void setInstanceDescription(const std::string& instanceDescription);
|
||||
|
||||
private:
|
||||
int maxConcurrentConversation_;
|
||||
std::string instanceName_;
|
||||
std::string callCenterInstanceId_;
|
||||
std::string instanceDescription_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATECABINSTANCEREQUEST_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATECABINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATECABINSTANCERESULT_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 CreateCabInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Instance
|
||||
{
|
||||
std::string instanceName;
|
||||
std::string owner;
|
||||
int maxConcurrentConversation;
|
||||
std::string instanceId;
|
||||
long creationTime;
|
||||
std::string instanceDescription;
|
||||
std::string callCenterInstanceId;
|
||||
};
|
||||
|
||||
|
||||
CreateCabInstanceResult();
|
||||
explicit CreateCabInstanceResult(const std::string &payload);
|
||||
~CreateCabInstanceResult();
|
||||
std::string getMessage()const;
|
||||
Instance getInstance()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Instance instance_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATECABINSTANCERESULT_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user