Compare commits

..

99 Commits

Author SHA1 Message Date
sdk-team
db5500f960 Add DescribeAppKey interface. 2022-05-06 03:27:33 +00:00
sdk-team
278c4950d0 Release RecognizeUkraineIdentityCard. 2022-05-05 10:22:24 +00:00
sdk-team
d175c6ad31 Support Latest APIs. 2022-05-05 08:28:28 +00:00
sdk-team
735d46b11a Supported CPFS Protocol. 2022-04-29 12:32:12 +00:00
sdk-team
42f2dbf095 CreateDataLimit add enable filed. 2022-04-27 09:22:05 +00:00
sdk-team
0c86b08087 Support to pass variables to authentication IVR. 2022-04-26 03:28:12 +00:00
sdk-team
26ae377767 Generated 2020-05-18 for dataworks-public. 2022-04-25 03:22:19 +00:00
sdk-team
ed52841639 Bill api add query conditions and return data field. 2022-04-24 11:37:31 +00:00
sdk-team
1310780a31 Support new feature. 2022-04-24 09:31:03 +00:00
sdk-team
8d654a308d Iot_20180120 old version sdk. 2022-04-22 03:40:42 +00:00
wen ping
1f6051b3b3 fix roarequest query parameters 2022-04-21 16:43:43 +08:00
sdk-team
382a4ff59d Supported new features etc. 2022-04-21 08:03:48 +00:00
sdk-team
4c3ae151cb Supported new features for outbound. 2022-04-21 07:59:27 +00:00
sdk-team
6d5e5142e1 Generated 2018-12-03 for Sas. 2022-04-21 03:41:05 +00:00
sdk-team
68ed888149 Add API OfflineTaskFlow. 2022-04-21 02:40:30 +00:00
sdk-team
e2f241db26 Generated 2018-12-03 for Sas. 2022-04-19 11:54:36 +00:00
sdk-team
72fcc70ac5 Change DescribeEventDetail Data. 2022-04-18 04:29:15 +00:00
sdk-team
92868c57c0 Generated 2016-11-01 for live. 2022-04-15 10:09:15 +00:00
sdk-team
c0cebe1843 Rename the return of ListTaskFlow API. 2022-04-15 08:39:44 +00:00
sdk-team
778feae703 Support throughput for API DescribeDisks. 2022-04-13 09:36:43 +00:00
sdk-team
4014391257 Remove redundant input for API ListTaskFlow. 2022-04-12 03:20:58 +00:00
sdk-team
8b405dedc5 Set multiple apis to public. 2022-04-11 06:45:57 +00:00
sdk-team
03d0b3ce63 Update by SDK platform. 2022-04-07 12:51:21 +00:00
sdk-team
0bab75ea88 Update by sdk platform. 2022-04-07 12:50:29 +00:00
sdk-team
2fa9cc7eb1 Release FeedbackSession. 2022-04-06 13:32:33 +00:00
sdk-team
08d76a4567 Create App Group Support Schedule Busy Workers. 2022-04-06 06:15:37 +00:00
sdk-team
417b73c84f Add ListTagResources api. 2022-04-06 03:51:09 +00:00
sdk-team
722e455a40 Support output dagName, dagOwnerId for api listTaskFlowAndScenario. 2022-04-06 02:31:28 +00:00
sdk-team
692eef0b24 Supported ListTaskFlow, ListTaskFlowInstance, GetTaskInstanceRelation, GetLhSpaceByName, DeleteLakeHouseSpace, DeleteTaskFlow API. 2022-03-31 08:46:41 +00:00
sdk-team
cffe37f2e6 CreateDataSourceItem. 2022-03-31 02:42:57 +00:00
sdk-team
f3e4ab14ee Generated 2016-11-01 for live. 2022-03-30 03:25:31 +00:00
sdk-team
7052337f54 Supported Trim, AndroidVivoPushMode, iOSInterruptionLevel, iOSRelevanceScore for Push and MassPush. 2022-03-29 08:35:48 +00:00
sdk-team
56cbac37fc Support more params in text, clockWidget. 2022-03-28 03:18:12 +00:00
sdk-team
51a7c5171c Iot_20180120 old version sdk. 2022-03-25 02:41:56 +00:00
sdk-team
fe5dcd30f9 Supported CreateLakeHouseSpace,AddLhMembers,DeleteLhMembers,ListLhTaskFlowAndScenario,ChangeLhDagOwner,ReDeployLhDagVersion API. 2022-03-24 08:22:02 +00:00
sdk-team
c5de90e7b9 Update by sdk platform. 2022-03-23 03:18:37 +00:00
sdk-team
b924b1d42c Get Job Support Query By Job Name. 2022-03-21 07:50:30 +00:00
sdk-team
adf8ff200a Supported CreateStandardGroup, ListStandardGroups API. 2022-03-18 07:41:26 +00:00
sdk-team
82e2b63b6d Support Latest APIs. 2022-03-17 08:35:37 +00:00
sdk-team
ba1f21822e Support Latest APIs. 2022-03-16 02:16:03 +00:00
sdk-team
26180c8b09 Add tcpInternetEndpoint field for the api OnsInstanceBaseInfo. 2022-03-15 09:58:21 +00:00
sdk-team
40ea7cd46c Support collect logs to kafka. 2022-03-15 06:26:55 +00:00
sdk-team
b3e7020b42 Update by sdk platform. 2022-03-15 03:11:51 +00:00
sdk-team
9c901043d8 Set multiple apis to private. 2022-03-15 02:34:45 +00:00
sdk-team
3086c83998 Iot_20180120 old version sdk. 2022-03-14 03:29:56 +00:00
sdk-team
a36e9edeee Modify the input parameter Action of CreateCen to be required. 2022-03-10 13:40:10 +00:00
sdk-team
3f43b4048c Disabled Spark Job API. 2022-03-10 08:13:59 +00:00
sdk-team
878b123ba6 Support modify params. 2022-03-09 12:00:13 +00:00
sdk-team
d120c9d112 Update RecognizeVideoCastCrewList. 2022-03-09 09:46:12 +00:00
sdk-team
ffd9d00a13 Generated 2016-11-01 for live. 2022-03-09 07:45:32 +00:00
sdk-team
db5e193d08 Create Lindorm Open api. 2022-03-07 13:13:55 +00:00
sdk-team
b2e60afde0 Supported new features etc. 2022-03-07 12:30:19 +00:00
sdk-team
a0cde540cb Supported new features for outbound. 2022-03-07 12:29:43 +00:00
sdk-team
e23adc1324 Initialize APIs. 2022-03-04 09:56:50 +00:00
sdk-team
a1e11dbb5b Release RecognizeVideoCastCrewList. 2022-03-03 13:10:16 +00:00
sdk-team
5fb8057a45 Add UpdateAnycastEipAddressAssociations Interface. 2022-02-24 03:54:57 +00:00
sdk-team
fa0fe1ae07 SDK. 2022-02-23 11:41:43 +00:00
sdk-team
89a2517800 Add AuthId. 2022-02-23 09:42:15 +00:00
sdk-team
d5af7a4c61 Support remediation. 2022-02-23 07:26:43 +00:00
sdk-team
ca3cd3584e Deprecated the OnsTopicUpdate api, and will be offline soon. 2022-02-22 12:28:06 +00:00
sdk-team
5dbd88a76d Support RefreshProxyLevel. 2022-02-22 07:29:13 +00:00
sdk-team
213faf8f4f Add event tasks. 2022-02-21 13:11:10 +00:00
sdk-team
d42d229efb Bugfix QueryMoniter. 2022-02-21 10:07:17 +00:00
sdk-team
bd57cca01a Add DleteNacosInstance. 2022-02-21 02:44:00 +00:00
sdk-team
4b57f18912 Iot_20180120 build sdk. 2022-02-18 09:13:20 +00:00
sdk-team
4134095a0d Add Gis open service add data api. 2022-02-18 07:08:23 +00:00
sdk-team
b1e2b491e9 Adjusted the call frequency limit of some APIs. 2022-02-17 02:23:12 +00:00
sdk-team
08961b2ff9 Generated 2016-04-08 for Emr. 2022-02-16 07:24:46 +00:00
sdk-team
25cc56a91b Generated 2021-03-20 for Emr. 2022-02-16 07:16:19 +00:00
sdk-team
1435718263 Fix normandy query api. 2022-02-16 02:37:36 +00:00
sdk-team
99a78222f2 Add OTA API, including ReupgradeOTATask. 2022-02-11 07:19:47 +00:00
sdk-team
4bfb40e4b1 Add deleteNacosInstance. 2022-02-10 01:24:21 +00:00
sdk-team
1a4543ff56 Added api QueryWorksBloodRelationship. 2022-02-09 02:59:02 +00:00
sdk-team
779ed847e3 Supported New Features. 2022-02-08 08:40:17 +00:00
sdk-team
20fb930aaf Iot_20180120 oldversion sdk. 2022-02-08 02:54:34 +00:00
sdk-team
a09a6e094a Support cloud disk. 2022-01-28 07:59:04 +00:00
sdk-team
d78148b8be Update by SDK platform. 2022-01-28 07:49:03 +00:00
sdk-team
47cbc71c7f Support SIP phone management. 2022-01-28 07:40:22 +00:00
sdk-team
63135520bc CreateContact API Add ContactGroupName. 2022-01-26 09:36:10 +00:00
sdk-team
d68d8044d3 Fix some bugs. 2022-01-26 08:53:12 +00:00
sdk-team
7e07a62c24 Create Lindorm Open api. 2022-01-25 13:01:49 +00:00
sdk-team
6007aa1ea1 Supported new features for outbound. 2022-01-25 12:53:30 +00:00
sdk-team
2de2101c40 Support Latest APIs. 2022-01-25 12:31:06 +00:00
sdk-team
c0bae997ea Add APIs, include, ListSharedReports, ListFavoriteReports, ListRecentViewReports, CreateTicket, QueryTicketInfo, UpdateTicketNum, DelayTicketExpireTime, DelayTicketExpireTime. 2022-01-25 12:08:01 +00:00
sdk-team
0060c7ff27 Generated 2016-11-01 for live. 2022-01-25 09:20:34 +00:00
sdk-team
621eb3945b Supported Get Worker List. 2022-01-25 07:29:28 +00:00
sdk-team
9b557e564e Update DetectFace. 2022-01-25 02:17:14 +00:00
sdk-team
605dc1cf5a Supported new features etc. 2022-01-21 08:47:26 +00:00
sdk-team
832a2a7525 Add Event Rule sql filter. 2022-01-21 08:37:48 +00:00
sdk-team
4f195142c9 Add Event Rule sql filter. 2022-01-21 08:28:17 +00:00
sdk-team
972958c1e3 Supported RestartDataCorrectSQLJob,PauseDataCorrectSQLJob API. 2022-01-21 07:36:52 +00:00
sdk-team
c2bfeb1216 Upgrade Service for SMS. 2022-01-19 11:44:35 +00:00
sdk-team
8383b37798 ReportOneAgentInfo. 2022-01-19 03:56:47 +00:00
sdk-team
8ca3ea3fdf Upgrade SDK. 2022-01-18 09:08:01 +00:00
sdk-team
f5a4f56f2c Support describe price. 2022-01-18 04:06:51 +00:00
sdk-team
ac0162b3c7 Supported more query conditions when searching resource group. 2022-01-14 07:26:15 +00:00
sdk-team
bd60fe6309 Supported more query conditions when searching resource group. 2022-01-14 06:18:37 +00:00
sdk-team
e2e36ad513 Supported New Features. 2022-01-13 03:25:21 +00:00
sdk-team
ad478b719d Supported new features for outbound. 2022-01-12 12:30:44 +00:00
7483 changed files with 336643 additions and 222473 deletions

308
CHANGELOG
View File

@@ -1,3 +1,311 @@
2022-05-06 Version: 1.36.1122
- Add DescribeAppKey interface.
2022-05-05 Version: 1.36.1121
- Release RecognizeUkraineIdentityCard.
2022-05-05 Version: 1.36.1120
- Support Latest APIs.
2022-04-29 Version: 1.36.1119
- Supported CPFS Protocol.
2022-04-27 Version: 1.36.1118
- CreateDataLimit add enable filed.
2022-04-26 Version: 1.36.1117
- Support to pass variables to authentication IVR.
2022-04-25 Version: 1.36.1116
- Generated 2020-05-18 for `dataworks-public`.
2022-04-24 Version: 1.36.1115
- Bill api add query conditions and return data field.
2022-04-24 Version: 1.36.1114
- Support new feature.
2022-04-22 Version: 1.36.1113
- Iot_20180120 old version sdk.
2022-04-21 Version: 1.36.1112
- Supported new features etc.
2022-04-21 Version: 1.36.1111
- Supported new features for outbound.
2022-04-21 Version: 1.36.1110
- Generated 2018-12-03 for `Sas`.
2022-04-21 Version: 1.36.1109
- Add API OfflineTaskFlow.
2022-04-19 Version: 1.36.1108
- Generated 2018-12-03 for `Sas`.
2022-04-18 Version: 1.36.1107
- Change DescribeEventDetail Data.
2022-04-15 Version: 1.36.1106
- Generated 2016-11-01 for `live`.
2022-04-15 Version: 1.36.1105
- Rename the return of ListTaskFlow API.
2022-04-13 Version: 1.36.1104
- Support throughput for API DescribeDisks.
2022-04-12 Version: 1.36.1103
- Remove redundant input for API ListTaskFlow.
2022-04-11 Version: 1.36.1102
- Set multiple apis to public.
2022-04-07 Version: 1.36.1101
- Update by SDK platform.
2022-04-07 Version: 1.36.1100
- Update by sdk platform.
2022-04-06 Version: 1.36.1099
- Release FeedbackSession.
2022-04-06 Version: 1.36.1098
- Create App Group Support Schedule Busy Workers.
2022-04-06 Version: 1.36.1097
- Add ListTagResources api.
- Add TagResources api.
- Add UntagResources api.
2022-04-06 Version: 1.36.1096
- Support output dagName, dagOwnerId for api listTaskFlowAndScenario.
- Change output DbType to DwDbType for api GetLhSpaceByName.
2022-03-31 Version: 1.36.1095
- Supported ListTaskFlow, ListTaskFlowInstance, GetTaskInstanceRelation, GetLhSpaceByName, DeleteLakeHouseSpace, DeleteTaskFlow API.
2022-03-31 Version: 1.36.1094
- CreateDataSourceItem.
- ListDataSourceItem.
2022-03-30 Version: 1.36.1093
- Generated 2016-11-01 for `live`.
2022-03-29 Version: 1.36.1092
- Supported Trim, AndroidVivoPushMode, iOSInterruptionLevel, iOSRelevanceScore for Push and MassPush.
2022-03-28 Version: 1.36.1091
- Support more params in text, clockWidget.
2022-03-25 Version: 1.36.1090
- Iot_20180120 old version sdk.
2022-03-24 Version: 1.36.1089
- Supported CreateLakeHouseSpace,AddLhMembers,DeleteLhMembers,ListLhTaskFlowAndScenario,ChangeLhDagOwner,ReDeployLhDagVersion API.
2022-03-23 Version: 1.36.1088
- Update by sdk platform.
2022-03-21 Version: 1.36.1087
- Get Job Support Query By Job Name.
- Add Api Create Namespace.
- Create App Support Set User Defined App Key.
2022-03-18 Version: 1.36.1086
- Supported CreateStandardGroup, ListStandardGroups API.
2022-03-17 Version: 1.36.1085
- Support Latest APIs.
2022-03-16 Version: 1.36.1084
- Support Latest APIs.
2022-03-15 Version: 1.36.1083
- Add tcpInternetEndpoint field for the api OnsInstanceBaseInfo.
2022-03-15 Version: 1.36.1082
- Support collect logs to kafka.
2022-03-15 Version: 1.36.1081
- Update by sdk platform.
2022-03-15 Version: 1.36.1080
- Set multiple apis to private.
2022-03-14 Version: 1.36.1079
- Iot_20180120 old version sdk.
2022-03-10 Version: 1.36.1078
- Modify the input parameter Action of CreateCen to be required.
2022-03-10 Version: 1.36.1077
- Disabled Spark Job API.
2022-03-09 Version: 1.36.1076
- Support modify params.
2022-03-09 Version: 1.36.1075
- Update RecognizeVideoCastCrewList.
2022-03-09 Version: 1.36.1074
- Generated 2016-11-01 for `live`.
2022-03-07 Version: 1.36.1073
- Create Lindorm Open api.
2022-03-07 Version: 1.36.1072
- Supported new features etc.
2022-03-07 Version: 1.36.1071
- Supported new features for outbound.
2022-03-04 Version: 1.36.1070
- Initialize APIs.
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.

View File

@@ -1 +1 @@
1.36.1024
1.36.1122

View File

@@ -40,6 +40,7 @@ public:
};
struct ZoneMappings {
std::string vSwitchId;
std::string eipType;
std::string zoneId;
std::string allocationId;
};

View File

@@ -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;

View File

@@ -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;

View File

@@ -52,6 +52,10 @@ public:
int cookieTimeout;
std::string stickySessionType;
};
struct UchConfig {
std::string type;
std::string value;
};
CreateServerGroupRequest();
~CreateServerGroupRequest();
std::string getServerGroupName() const;
@@ -80,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_;
@@ -95,6 +101,7 @@ private:
bool ipv6Enabled_;
std::string serverGroupType_;
std::string vpcId_;
UchConfig uchConfig_;
};
} // namespace Model
} // namespace Alb

View File

@@ -67,7 +67,10 @@ namespace AlibabaCloud
{
struct LoadBalancerAddress
{
std::string intranetAddress;
std::string address;
std::string allocationId;
std::string eipType;
std::string ipv6Address;
};
std::string zoneId;

View File

@@ -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_;

View File

@@ -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;

View File

@@ -58,6 +58,11 @@ namespace AlibabaCloud
std::string stickySessionType;
bool stickySessionEnabled;
};
struct UchConfig
{
std::string type;
std::string value;
};
struct Tag
{
std::string value;
@@ -65,10 +70,13 @@ namespace AlibabaCloud
};
bool serviceManagedEnabled;
std::vector<std::string> relatedLoadBalancerIds;
std::vector<std::string> relatedListenerIds;
std::string resourceGroupId;
UchConfig uchConfig;
std::string scheduler;
bool upstreamKeepaliveEnabled;
StickySessionConfig stickySessionConfig;
std::vector<std::string> relatedRuleIds;
std::string serverGroupId;
int serverCount;
std::string serverGroupType;

View File

@@ -36,6 +36,8 @@ public:
~UnTagResourcesRequest();
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
bool getAll() const;
void setAll(bool all);
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
std::string getResourceType() const;
@@ -45,6 +47,7 @@ public:
private:
std::vector<Tag> tag_;
bool all_;
std::vector<std::string> resourceId_;
std::string resourceType_;
std::vector<std::string> tagKey_;

View File

@@ -30,6 +30,7 @@ class ALIBABACLOUD_ALB_EXPORT UpdateLoadBalancerAddressTypeConfigRequest : publi
public:
struct ZoneMappings {
std::string vSwitchId;
std::string eipType;
std::string zoneId;
std::string allocationId;
};

View File

@@ -30,6 +30,7 @@ class ALIBABACLOUD_ALB_EXPORT UpdateLoadBalancerZonesRequest : public RpcService
public:
struct ZoneMappings {
std::string vSwitchId;
std::string eipType;
std::string zoneId;
std::string allocationId;
};

View File

@@ -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;

View File

@@ -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;

View File

@@ -52,6 +52,10 @@ public:
int cookieTimeout;
std::string stickySessionType;
};
struct UchConfig {
std::string type;
std::string value;
};
UpdateServerGroupAttributeRequest();
~UpdateServerGroupAttributeRequest();
std::string getServerGroupName() const;
@@ -72,6 +76,8 @@ public:
void setStickySessionConfig(const StickySessionConfig &stickySessionConfig);
bool getDryRun() const;
void setDryRun(bool dryRun);
UchConfig getUchConfig() const;
void setUchConfig(const UchConfig &uchConfig);
private:
std::string serverGroupName_;
@@ -83,6 +89,7 @@ private:
std::string serviceName_;
StickySessionConfig stickySessionConfig_;
bool dryRun_;
UchConfig uchConfig_;
};
} // namespace Model
} // namespace Alb

View File

@@ -136,6 +136,7 @@ void CreateLoadBalancerRequest::setZoneMappings(const std::vector<CreateLoadBala
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) + ".EipType", zoneMappings[dep1].eipType);
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);
}

View File

@@ -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);

View File

@@ -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);

View File

@@ -162,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);
}

View File

@@ -75,6 +75,12 @@ void GetLoadBalancerAttributeResult::parse(const std::string &payload)
loadBalancerAddressesObject.address = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Address"].asString();
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Ipv6Address"].isNull())
loadBalancerAddressesObject.ipv6Address = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["Ipv6Address"].asString();
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["IntranetAddress"].isNull())
loadBalancerAddressesObject.intranetAddress = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["IntranetAddress"].asString();
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["AllocationId"].isNull())
loadBalancerAddressesObject.allocationId = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["AllocationId"].asString();
if(!valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["EipType"].isNull())
loadBalancerAddressesObject.eipType = valueZoneMappingsZoneMappingLoadBalancerAddressesLoadBalancerAddress["EipType"].asString();
zoneMappingsObject.loadBalancerAddresses.push_back(loadBalancerAddressesObject);
}
zoneMappings_.push_back(zoneMappingsObject);

View File

@@ -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_;
}

View File

@@ -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"];

View File

@@ -123,9 +123,20 @@ 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());
auto allRelatedListenerIds = value["RelatedListenerIds"]["RelatedListenerIds"];
for (auto value : allRelatedListenerIds)
serverGroupsObject.relatedListenerIds.push_back(value.asString());
auto allRelatedRuleIds = value["RelatedRuleIds"]["RelatedRuleIds"];
for (auto value : allRelatedRuleIds)
serverGroupsObject.relatedRuleIds.push_back(value.asString());
serverGroups_.push_back(serverGroupsObject);
}
if(!value["MaxResults"].isNull())

View File

@@ -37,6 +37,15 @@ void UnTagResourcesRequest::setTag(const std::vector<UnTagResourcesRequest::Tag>
}
}
bool UnTagResourcesRequest::getAll() const {
return all_;
}
void UnTagResourcesRequest::setAll(bool all) {
all_ = all;
setParameter(std::string("All"), all ? "true" : "false");
}
std::vector<UnTagResourcesRequest::std::string> UnTagResourcesRequest::getResourceId() const {
return resourceId_;
}

View File

@@ -60,6 +60,7 @@ void UpdateLoadBalancerAddressTypeConfigRequest::setZoneMappings(const std::vect
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) + ".EipType", zoneMappings[dep1].eipType);
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);
}

View File

@@ -51,6 +51,7 @@ void UpdateLoadBalancerZonesRequest::setZoneMappings(const std::vector<UpdateLoa
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) + ".EipType", zoneMappings[dep1].eipType);
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);
}

View File

@@ -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);

View File

@@ -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);

View File

@@ -126,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);
}

View File

@@ -45,6 +45,8 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/CreateResellerUserQuotaResult.h
include/alibabacloud/bssopenapi/model/CreateResourcePackageRequest.h
include/alibabacloud/bssopenapi/model/CreateResourcePackageResult.h
include/alibabacloud/bssopenapi/model/CreateSavingsPlansInstanceRequest.h
include/alibabacloud/bssopenapi/model/CreateSavingsPlansInstanceResult.h
include/alibabacloud/bssopenapi/model/DeleteCostUnitRequest.h
include/alibabacloud/bssopenapi/model/DeleteCostUnitResult.h
include/alibabacloud/bssopenapi/model/DescribeInstanceBillRequest.h
@@ -73,6 +75,8 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/DescribeSplitItemBillResult.h
include/alibabacloud/bssopenapi/model/EnableBillGenerationRequest.h
include/alibabacloud/bssopenapi/model/EnableBillGenerationResult.h
include/alibabacloud/bssopenapi/model/GetAccountRelationRequest.h
include/alibabacloud/bssopenapi/model/GetAccountRelationResult.h
include/alibabacloud/bssopenapi/model/GetCustomerAccountInfoRequest.h
include/alibabacloud/bssopenapi/model/GetCustomerAccountInfoResult.h
include/alibabacloud/bssopenapi/model/GetCustomerListRequest.h
@@ -85,6 +89,8 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/GetResourcePackagePriceResult.h
include/alibabacloud/bssopenapi/model/GetSubscriptionPriceRequest.h
include/alibabacloud/bssopenapi/model/GetSubscriptionPriceResult.h
include/alibabacloud/bssopenapi/model/InquiryPriceRefundInstanceRequest.h
include/alibabacloud/bssopenapi/model/InquiryPriceRefundInstanceResult.h
include/alibabacloud/bssopenapi/model/ModifyAccountRelationRequest.h
include/alibabacloud/bssopenapi/model/ModifyAccountRelationResult.h
include/alibabacloud/bssopenapi/model/ModifyCostUnitRequest.h
@@ -163,6 +169,8 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/QuerySplitItemBillResult.h
include/alibabacloud/bssopenapi/model/QueryUserOmsDataRequest.h
include/alibabacloud/bssopenapi/model/QueryUserOmsDataResult.h
include/alibabacloud/bssopenapi/model/RefundInstanceRequest.h
include/alibabacloud/bssopenapi/model/RefundInstanceResult.h
include/alibabacloud/bssopenapi/model/RelieveAccountRelationRequest.h
include/alibabacloud/bssopenapi/model/RelieveAccountRelationResult.h
include/alibabacloud/bssopenapi/model/RenewInstanceRequest.h
@@ -220,6 +228,8 @@ set(bssopenapi_src
src/model/CreateResellerUserQuotaResult.cc
src/model/CreateResourcePackageRequest.cc
src/model/CreateResourcePackageResult.cc
src/model/CreateSavingsPlansInstanceRequest.cc
src/model/CreateSavingsPlansInstanceResult.cc
src/model/DeleteCostUnitRequest.cc
src/model/DeleteCostUnitResult.cc
src/model/DescribeInstanceBillRequest.cc
@@ -248,6 +258,8 @@ set(bssopenapi_src
src/model/DescribeSplitItemBillResult.cc
src/model/EnableBillGenerationRequest.cc
src/model/EnableBillGenerationResult.cc
src/model/GetAccountRelationRequest.cc
src/model/GetAccountRelationResult.cc
src/model/GetCustomerAccountInfoRequest.cc
src/model/GetCustomerAccountInfoResult.cc
src/model/GetCustomerListRequest.cc
@@ -260,6 +272,8 @@ set(bssopenapi_src
src/model/GetResourcePackagePriceResult.cc
src/model/GetSubscriptionPriceRequest.cc
src/model/GetSubscriptionPriceResult.cc
src/model/InquiryPriceRefundInstanceRequest.cc
src/model/InquiryPriceRefundInstanceResult.cc
src/model/ModifyAccountRelationRequest.cc
src/model/ModifyAccountRelationResult.cc
src/model/ModifyCostUnitRequest.cc
@@ -338,6 +352,8 @@ set(bssopenapi_src
src/model/QuerySplitItemBillResult.cc
src/model/QueryUserOmsDataRequest.cc
src/model/QueryUserOmsDataResult.cc
src/model/RefundInstanceRequest.cc
src/model/RefundInstanceResult.cc
src/model/RelieveAccountRelationRequest.cc
src/model/RelieveAccountRelationResult.cc
src/model/RenewInstanceRequest.cc

View File

@@ -46,6 +46,8 @@
#include "model/CreateResellerUserQuotaResult.h"
#include "model/CreateResourcePackageRequest.h"
#include "model/CreateResourcePackageResult.h"
#include "model/CreateSavingsPlansInstanceRequest.h"
#include "model/CreateSavingsPlansInstanceResult.h"
#include "model/DeleteCostUnitRequest.h"
#include "model/DeleteCostUnitResult.h"
#include "model/DescribeInstanceBillRequest.h"
@@ -74,6 +76,8 @@
#include "model/DescribeSplitItemBillResult.h"
#include "model/EnableBillGenerationRequest.h"
#include "model/EnableBillGenerationResult.h"
#include "model/GetAccountRelationRequest.h"
#include "model/GetAccountRelationResult.h"
#include "model/GetCustomerAccountInfoRequest.h"
#include "model/GetCustomerAccountInfoResult.h"
#include "model/GetCustomerListRequest.h"
@@ -86,6 +90,8 @@
#include "model/GetResourcePackagePriceResult.h"
#include "model/GetSubscriptionPriceRequest.h"
#include "model/GetSubscriptionPriceResult.h"
#include "model/InquiryPriceRefundInstanceRequest.h"
#include "model/InquiryPriceRefundInstanceResult.h"
#include "model/ModifyAccountRelationRequest.h"
#include "model/ModifyAccountRelationResult.h"
#include "model/ModifyCostUnitRequest.h"
@@ -164,6 +170,8 @@
#include "model/QuerySplitItemBillResult.h"
#include "model/QueryUserOmsDataRequest.h"
#include "model/QueryUserOmsDataResult.h"
#include "model/RefundInstanceRequest.h"
#include "model/RefundInstanceResult.h"
#include "model/RelieveAccountRelationRequest.h"
#include "model/RelieveAccountRelationResult.h"
#include "model/RenewInstanceRequest.h"
@@ -239,6 +247,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateResourcePackageResult> CreateResourcePackageOutcome;
typedef std::future<CreateResourcePackageOutcome> CreateResourcePackageOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::CreateResourcePackageRequest&, const CreateResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateResourcePackageAsyncHandler;
typedef Outcome<Error, Model::CreateSavingsPlansInstanceResult> CreateSavingsPlansInstanceOutcome;
typedef std::future<CreateSavingsPlansInstanceOutcome> CreateSavingsPlansInstanceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::CreateSavingsPlansInstanceRequest&, const CreateSavingsPlansInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSavingsPlansInstanceAsyncHandler;
typedef Outcome<Error, Model::DeleteCostUnitResult> DeleteCostUnitOutcome;
typedef std::future<DeleteCostUnitOutcome> DeleteCostUnitOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DeleteCostUnitRequest&, const DeleteCostUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCostUnitAsyncHandler;
@@ -281,6 +292,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::EnableBillGenerationResult> EnableBillGenerationOutcome;
typedef std::future<EnableBillGenerationOutcome> EnableBillGenerationOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::EnableBillGenerationRequest&, const EnableBillGenerationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableBillGenerationAsyncHandler;
typedef Outcome<Error, Model::GetAccountRelationResult> GetAccountRelationOutcome;
typedef std::future<GetAccountRelationOutcome> GetAccountRelationOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::GetAccountRelationRequest&, const GetAccountRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountRelationAsyncHandler;
typedef Outcome<Error, Model::GetCustomerAccountInfoResult> GetCustomerAccountInfoOutcome;
typedef std::future<GetCustomerAccountInfoOutcome> GetCustomerAccountInfoOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::GetCustomerAccountInfoRequest&, const GetCustomerAccountInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomerAccountInfoAsyncHandler;
@@ -299,6 +313,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetSubscriptionPriceResult> GetSubscriptionPriceOutcome;
typedef std::future<GetSubscriptionPriceOutcome> GetSubscriptionPriceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::GetSubscriptionPriceRequest&, const GetSubscriptionPriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSubscriptionPriceAsyncHandler;
typedef Outcome<Error, Model::InquiryPriceRefundInstanceResult> InquiryPriceRefundInstanceOutcome;
typedef std::future<InquiryPriceRefundInstanceOutcome> InquiryPriceRefundInstanceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::InquiryPriceRefundInstanceRequest&, const InquiryPriceRefundInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InquiryPriceRefundInstanceAsyncHandler;
typedef Outcome<Error, Model::ModifyAccountRelationResult> ModifyAccountRelationOutcome;
typedef std::future<ModifyAccountRelationOutcome> ModifyAccountRelationOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::ModifyAccountRelationRequest&, const ModifyAccountRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountRelationAsyncHandler;
@@ -416,6 +433,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryUserOmsDataResult> QueryUserOmsDataOutcome;
typedef std::future<QueryUserOmsDataOutcome> QueryUserOmsDataOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryUserOmsDataRequest&, const QueryUserOmsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserOmsDataAsyncHandler;
typedef Outcome<Error, Model::RefundInstanceResult> RefundInstanceOutcome;
typedef std::future<RefundInstanceOutcome> RefundInstanceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::RefundInstanceRequest&, const RefundInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefundInstanceAsyncHandler;
typedef Outcome<Error, Model::RelieveAccountRelationResult> RelieveAccountRelationOutcome;
typedef std::future<RelieveAccountRelationOutcome> RelieveAccountRelationOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::RelieveAccountRelationRequest&, const RelieveAccountRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RelieveAccountRelationAsyncHandler;
@@ -502,6 +522,9 @@ namespace AlibabaCloud
CreateResourcePackageOutcome createResourcePackage(const Model::CreateResourcePackageRequest &request)const;
void createResourcePackageAsync(const Model::CreateResourcePackageRequest& request, const CreateResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateResourcePackageOutcomeCallable createResourcePackageCallable(const Model::CreateResourcePackageRequest& request) const;
CreateSavingsPlansInstanceOutcome createSavingsPlansInstance(const Model::CreateSavingsPlansInstanceRequest &request)const;
void createSavingsPlansInstanceAsync(const Model::CreateSavingsPlansInstanceRequest& request, const CreateSavingsPlansInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSavingsPlansInstanceOutcomeCallable createSavingsPlansInstanceCallable(const Model::CreateSavingsPlansInstanceRequest& request) const;
DeleteCostUnitOutcome deleteCostUnit(const Model::DeleteCostUnitRequest &request)const;
void deleteCostUnitAsync(const Model::DeleteCostUnitRequest& request, const DeleteCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteCostUnitOutcomeCallable deleteCostUnitCallable(const Model::DeleteCostUnitRequest& request) const;
@@ -544,6 +567,9 @@ namespace AlibabaCloud
EnableBillGenerationOutcome enableBillGeneration(const Model::EnableBillGenerationRequest &request)const;
void enableBillGenerationAsync(const Model::EnableBillGenerationRequest& request, const EnableBillGenerationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableBillGenerationOutcomeCallable enableBillGenerationCallable(const Model::EnableBillGenerationRequest& request) const;
GetAccountRelationOutcome getAccountRelation(const Model::GetAccountRelationRequest &request)const;
void getAccountRelationAsync(const Model::GetAccountRelationRequest& request, const GetAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAccountRelationOutcomeCallable getAccountRelationCallable(const Model::GetAccountRelationRequest& request) const;
GetCustomerAccountInfoOutcome getCustomerAccountInfo(const Model::GetCustomerAccountInfoRequest &request)const;
void getCustomerAccountInfoAsync(const Model::GetCustomerAccountInfoRequest& request, const GetCustomerAccountInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCustomerAccountInfoOutcomeCallable getCustomerAccountInfoCallable(const Model::GetCustomerAccountInfoRequest& request) const;
@@ -562,6 +588,9 @@ namespace AlibabaCloud
GetSubscriptionPriceOutcome getSubscriptionPrice(const Model::GetSubscriptionPriceRequest &request)const;
void getSubscriptionPriceAsync(const Model::GetSubscriptionPriceRequest& request, const GetSubscriptionPriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSubscriptionPriceOutcomeCallable getSubscriptionPriceCallable(const Model::GetSubscriptionPriceRequest& request) const;
InquiryPriceRefundInstanceOutcome inquiryPriceRefundInstance(const Model::InquiryPriceRefundInstanceRequest &request)const;
void inquiryPriceRefundInstanceAsync(const Model::InquiryPriceRefundInstanceRequest& request, const InquiryPriceRefundInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InquiryPriceRefundInstanceOutcomeCallable inquiryPriceRefundInstanceCallable(const Model::InquiryPriceRefundInstanceRequest& request) const;
ModifyAccountRelationOutcome modifyAccountRelation(const Model::ModifyAccountRelationRequest &request)const;
void modifyAccountRelationAsync(const Model::ModifyAccountRelationRequest& request, const ModifyAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAccountRelationOutcomeCallable modifyAccountRelationCallable(const Model::ModifyAccountRelationRequest& request) const;
@@ -679,6 +708,9 @@ namespace AlibabaCloud
QueryUserOmsDataOutcome queryUserOmsData(const Model::QueryUserOmsDataRequest &request)const;
void queryUserOmsDataAsync(const Model::QueryUserOmsDataRequest& request, const QueryUserOmsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserOmsDataOutcomeCallable queryUserOmsDataCallable(const Model::QueryUserOmsDataRequest& request) const;
RefundInstanceOutcome refundInstance(const Model::RefundInstanceRequest &request)const;
void refundInstanceAsync(const Model::RefundInstanceRequest& request, const RefundInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RefundInstanceOutcomeCallable refundInstanceCallable(const Model::RefundInstanceRequest& request) const;
RelieveAccountRelationOutcome relieveAccountRelation(const Model::RelieveAccountRelationRequest &request)const;
void relieveAccountRelationAsync(const Model::RelieveAccountRelationRequest& request, const RelieveAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RelieveAccountRelationOutcomeCallable relieveAccountRelationCallable(const Model::RelieveAccountRelationRequest& request) const;

View File

@@ -1,66 +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_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT AddAccountRelationRequest : public RpcServiceRequest
{
public:
AddAccountRelationRequest();
~AddAccountRelationRequest();
std::string getChildNick()const;
void setChildNick(const std::string& childNick);
std::string getRelationType()const;
void setRelationType(const std::string& relationType);
long getParentUserId()const;
void setParentUserId(long parentUserId);
long getChildUserId()const;
void setChildUserId(long childUserId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::vector<std::string> getPermissionCodes()const;
void setPermissionCodes(const std::vector<std::string>& permissionCodes);
std::vector<std::string> getRoleCodes()const;
void setRoleCodes(const std::vector<std::string>& roleCodes);
private:
std::string childNick_;
std::string relationType_;
long parentUserId_;
long childUserId_;
std::string requestId_;
std::vector<std::string> permissionCodes_;
std::vector<std::string> roleCodes_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT AddAccountRelationRequest : public RpcServiceRequest {
public:
AddAccountRelationRequest();
~AddAccountRelationRequest();
std::string getChildNick() const;
void setChildNick(const std::string &childNick);
std::string getRelationType() const;
void setRelationType(const std::string &relationType);
long getParentUserId() const;
void setParentUserId(long parentUserId);
long getChildUserId() const;
void setChildUserId(long childUserId);
std::string getRequestId() const;
void setRequestId(const std::string &requestId);
std::vector<std::string> getPermissionCodes() const;
void setPermissionCodes(const std::vector<std::string> &permissionCodes);
std::vector<std::string> getRoleCodes() const;
void setRoleCodes(const std::vector<std::string> &roleCodes);
private:
std::string childNick_;
std::string relationType_;
long parentUserId_;
long childUserId_;
std::string requestId_;
std::vector<std::string> permissionCodes_;
std::vector<std::string> roleCodes_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct Data
{
long relationId;
std::string hostId;
};

View File

@@ -1,68 +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_BSSOPENAPI_MODEL_ALLOCATECOSTUNITRESOURCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATECOSTUNITRESOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT AllocateCostUnitResourceRequest : public RpcServiceRequest
{
public:
struct ResourceInstanceList
{
std::string resourceId;
std::string commodityCode;
std::string apportionCode;
long resourceUserId;
};
public:
AllocateCostUnitResourceRequest();
~AllocateCostUnitResourceRequest();
std::vector<ResourceInstanceList> getResourceInstanceList()const;
void setResourceInstanceList(const std::vector<ResourceInstanceList>& resourceInstanceList);
long getFromUnitId()const;
void setFromUnitId(long fromUnitId);
long getToUnitId()const;
void setToUnitId(long toUnitId);
long getFromUnitUserId()const;
void setFromUnitUserId(long fromUnitUserId);
long getToUnitUserId()const;
void setToUnitUserId(long toUnitUserId);
private:
std::vector<ResourceInstanceList> resourceInstanceList_;
long fromUnitId_;
long toUnitId_;
long fromUnitUserId_;
long toUnitUserId_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATECOSTUNITRESOURCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATECOSTUNITRESOURCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATECOSTUNITRESOURCEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT AllocateCostUnitResourceRequest : public RpcServiceRequest {
public:
struct ResourceInstanceList {
std::string resourceId;
std::string commodityCode;
std::string apportionCode;
long resourceUserId;
};
AllocateCostUnitResourceRequest();
~AllocateCostUnitResourceRequest();
std::vector<ResourceInstanceList> getResourceInstanceList() const;
void setResourceInstanceList(const std::vector<ResourceInstanceList> &resourceInstanceList);
long getFromUnitId() const;
void setFromUnitId(long fromUnitId);
long getToUnitId() const;
void setToUnitId(long toUnitId);
long getFromUnitUserId() const;
void setFromUnitUserId(long fromUnitUserId);
long getToUnitUserId() const;
void setToUnitUserId(long toUnitUserId);
private:
std::vector<ResourceInstanceList> resourceInstanceList_;
long fromUnitId_;
long toUnitId_;
long fromUnitUserId_;
long toUnitUserId_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATECOSTUNITRESOURCEREQUEST_H_

View File

@@ -1,75 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_APPLYINVOICEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_APPLYINVOICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT ApplyInvoiceRequest : public RpcServiceRequest
{
public:
ApplyInvoiceRequest();
~ApplyInvoiceRequest();
int getInvoicingType()const;
void setInvoicingType(int invoicingType);
int getProcessWay()const;
void setProcessWay(int processWay);
long getOwnerId()const;
void setOwnerId(long ownerId);
long getInvoiceAmount()const;
void setInvoiceAmount(long invoiceAmount);
long getAddressId()const;
void setAddressId(long addressId);
std::string getApplyUserNick()const;
void setApplyUserNick(const std::string& applyUserNick);
bool getInvoiceByAmount()const;
void setInvoiceByAmount(bool invoiceByAmount);
long getCustomerId()const;
void setCustomerId(long customerId);
std::vector<long> getSelectedIds()const;
void setSelectedIds(const std::vector<long>& selectedIds);
std::string getUserRemark()const;
void setUserRemark(const std::string& userRemark);
private:
int invoicingType_;
int processWay_;
long ownerId_;
long invoiceAmount_;
long addressId_;
std::string applyUserNick_;
bool invoiceByAmount_;
long customerId_;
std::vector<long> selectedIds_;
std::string userRemark_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_APPLYINVOICEREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_APPLYINVOICEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_APPLYINVOICEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT ApplyInvoiceRequest : public RpcServiceRequest {
public:
ApplyInvoiceRequest();
~ApplyInvoiceRequest();
int getInvoicingType() const;
void setInvoicingType(int invoicingType);
int getProcessWay() const;
void setProcessWay(int processWay);
long getOwnerId() const;
void setOwnerId(long ownerId);
long getInvoiceAmount() const;
void setInvoiceAmount(long invoiceAmount);
long getAddressId() const;
void setAddressId(long addressId);
std::string getApplyUserNick() const;
void setApplyUserNick(const std::string &applyUserNick);
bool getInvoiceByAmount() const;
void setInvoiceByAmount(bool invoiceByAmount);
long getCustomerId() const;
void setCustomerId(long customerId);
std::vector<long> getSelectedIds() const;
void setSelectedIds(const std::vector<long> &selectedIds);
std::string getUserRemark() const;
void setUserRemark(const std::string &userRemark);
private:
int invoicingType_;
int processWay_;
long ownerId_;
long invoiceAmount_;
long addressId_;
std::string applyUserNick_;
bool invoiceByAmount_;
long customerId_;
std::vector<long> selectedIds_;
std::string userRemark_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_APPLYINVOICEREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CANCELORDERREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CANCELORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT CancelOrderRequest : public RpcServiceRequest
{
public:
CancelOrderRequest();
~CancelOrderRequest();
std::string getOrderId()const;
void setOrderId(const std::string& orderId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string orderId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CANCELORDERREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CANCELORDERREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CANCELORDERREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT CancelOrderRequest : public RpcServiceRequest {
public:
CancelOrderRequest();
~CancelOrderRequest();
std::string getOrderId() const;
void setOrderId(const std::string &orderId);
long getOwnerId() const;
void setOwnerId(long ownerId);
private:
std::string orderId_;
long ownerId_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CANCELORDERREQUEST_H_

View File

@@ -1,69 +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_BSSOPENAPI_MODEL_CHANGERESELLERCONSUMEAMOUNTREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGERESELLERCONSUMEAMOUNTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT ChangeResellerConsumeAmountRequest : public RpcServiceRequest
{
public:
ChangeResellerConsumeAmountRequest();
~ChangeResellerConsumeAmountRequest();
std::string getAmount()const;
void setAmount(const std::string& amount);
std::string getOutBizId()const;
void setOutBizId(const std::string& outBizId);
std::string getSource()const;
void setSource(const std::string& source);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getBusinessType()const;
void setBusinessType(const std::string& businessType);
std::string getAdjustType()const;
void setAdjustType(const std::string& adjustType);
std::string getExtendMap()const;
void setExtendMap(const std::string& extendMap);
std::string getCurrency()const;
void setCurrency(const std::string& currency);
private:
std::string amount_;
std::string outBizId_;
std::string source_;
long ownerId_;
std::string businessType_;
std::string adjustType_;
std::string extendMap_;
std::string currency_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGERESELLERCONSUMEAMOUNTREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGERESELLERCONSUMEAMOUNTREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGERESELLERCONSUMEAMOUNTREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT ChangeResellerConsumeAmountRequest : public RpcServiceRequest {
public:
ChangeResellerConsumeAmountRequest();
~ChangeResellerConsumeAmountRequest();
std::string getAmount() const;
void setAmount(const std::string &amount);
std::string getOutBizId() const;
void setOutBizId(const std::string &outBizId);
std::string getSource() const;
void setSource(const std::string &source);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getBusinessType() const;
void setBusinessType(const std::string &businessType);
std::string getAdjustType() const;
void setAdjustType(const std::string &adjustType);
std::string getExtendMap() const;
void setExtendMap(const std::string &extendMap);
std::string getCurrency() const;
void setCurrency(const std::string &currency);
private:
std::string amount_;
std::string outBizId_;
std::string source_;
long ownerId_;
std::string businessType_;
std::string adjustType_;
std::string extendMap_;
std::string currency_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGERESELLERCONSUMEAMOUNTREQUEST_H_

View File

@@ -1,63 +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_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT ConfirmRelationRequest : public RpcServiceRequest
{
public:
ConfirmRelationRequest();
~ConfirmRelationRequest();
std::string getRelationType()const;
void setRelationType(const std::string& relationType);
long getParentUserId()const;
void setParentUserId(long parentUserId);
std::string getConfirmCode()const;
void setConfirmCode(const std::string& confirmCode);
long getChildUserId()const;
void setChildUserId(long childUserId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::vector<std::string> getPermissionCodes()const;
void setPermissionCodes(const std::vector<std::string>& permissionCodes);
private:
std::string relationType_;
long parentUserId_;
std::string confirmCode_;
long childUserId_;
std::string requestId_;
std::vector<std::string> permissionCodes_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT ConfirmRelationRequest : public RpcServiceRequest {
public:
ConfirmRelationRequest();
~ConfirmRelationRequest();
std::string getRelationType() const;
void setRelationType(const std::string &relationType);
long getParentUserId() const;
void setParentUserId(long parentUserId);
std::string getConfirmCode() const;
void setConfirmCode(const std::string &confirmCode);
long getChildUserId() const;
void setChildUserId(long childUserId);
std::string getRequestId() const;
void setRequestId(const std::string &requestId);
std::vector<std::string> getPermissionCodes() const;
void setPermissionCodes(const std::vector<std::string> &permissionCodes);
long getRelationId() const;
void setRelationId(long relationId);
private:
std::string relationType_;
long parentUserId_;
std::string confirmCode_;
long childUserId_;
std::string requestId_;
std::vector<std::string> permissionCodes_;
long relationId_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_

View File

@@ -1,63 +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_BSSOPENAPI_MODEL_CONVERTCHARGETYPEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CONVERTCHARGETYPEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT ConvertChargeTypeRequest : public RpcServiceRequest
{
public:
ConvertChargeTypeRequest();
~ConvertChargeTypeRequest();
int getPeriod()const;
void setPeriod(int period);
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
int period_;
std::string productCode_;
std::string subscriptionType_;
long ownerId_;
std::string productType_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CONVERTCHARGETYPEREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CONVERTCHARGETYPEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CONVERTCHARGETYPEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT ConvertChargeTypeRequest : public RpcServiceRequest {
public:
ConvertChargeTypeRequest();
~ConvertChargeTypeRequest();
int getPeriod() const;
void setPeriod(int period);
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getProductType() const;
void setProductType(const std::string &productType);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
int period_;
std::string productCode_;
std::string subscriptionType_;
long ownerId_;
std::string productType_;
std::string instanceId_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CONVERTCHARGETYPEREQUEST_H_

View File

@@ -1,72 +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_BSSOPENAPI_MODEL_CREATEAGACCOUNTREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEAGACCOUNTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateAgAccountRequest : public RpcServiceRequest
{
public:
CreateAgAccountRequest();
~CreateAgAccountRequest();
std::string getFirstName()const;
void setFirstName(const std::string& firstName);
std::string getCityName()const;
void setCityName(const std::string& cityName);
std::string getPostcode()const;
void setPostcode(const std::string& postcode);
std::string getEnterpriseName()const;
void setEnterpriseName(const std::string& enterpriseName);
std::string getNationCode()const;
void setNationCode(const std::string& nationCode);
std::string getLastName()const;
void setLastName(const std::string& lastName);
std::string getLoginEmail()const;
void setLoginEmail(const std::string& loginEmail);
std::string getProvinceName()const;
void setProvinceName(const std::string& provinceName);
std::string getAccountAttr()const;
void setAccountAttr(const std::string& accountAttr);
private:
std::string firstName_;
std::string cityName_;
std::string postcode_;
std::string enterpriseName_;
std::string nationCode_;
std::string lastName_;
std::string loginEmail_;
std::string provinceName_;
std::string accountAttr_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEAGACCOUNTREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEAGACCOUNTREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEAGACCOUNTREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateAgAccountRequest : public RpcServiceRequest {
public:
CreateAgAccountRequest();
~CreateAgAccountRequest();
std::string getFirstName() const;
void setFirstName(const std::string &firstName);
std::string getCityName() const;
void setCityName(const std::string &cityName);
std::string getPostcode() const;
void setPostcode(const std::string &postcode);
std::string getEnterpriseName() const;
void setEnterpriseName(const std::string &enterpriseName);
std::string getNationCode() const;
void setNationCode(const std::string &nationCode);
std::string getLastName() const;
void setLastName(const std::string &lastName);
std::string getLoginEmail() const;
void setLoginEmail(const std::string &loginEmail);
std::string getProvinceName() const;
void setProvinceName(const std::string &provinceName);
std::string getAccountAttr() const;
void setAccountAttr(const std::string &accountAttr);
private:
std::string firstName_;
std::string cityName_;
std::string postcode_;
std::string enterpriseName_;
std::string nationCode_;
std::string lastName_;
std::string loginEmail_;
std::string provinceName_;
std::string accountAttr_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEAGACCOUNTREQUEST_H_

View File

@@ -1,55 +1,47 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BSSOPENAPI_MODEL_CREATECOSTUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATECOSTUNITREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateCostUnitRequest : public RpcServiceRequest
{
public:
struct UnitEntityList
{
std::string unitName;
long parentUnitId;
long ownerUid;
};
public:
CreateCostUnitRequest();
~CreateCostUnitRequest();
std::vector<UnitEntityList> getUnitEntityList()const;
void setUnitEntityList(const std::vector<UnitEntityList>& unitEntityList);
private:
std::vector<UnitEntityList> unitEntityList_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATECOSTUNITREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATECOSTUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATECOSTUNITREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateCostUnitRequest : public RpcServiceRequest {
public:
struct UnitEntityList {
std::string unitName;
long parentUnitId;
long ownerUid;
};
CreateCostUnitRequest();
~CreateCostUnitRequest();
std::vector<UnitEntityList> getUnitEntityList() const;
void setUnitEntityList(const std::vector<UnitEntityList> &unitEntityList);
private:
std::vector<UnitEntityList> unitEntityList_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATECOSTUNITREQUEST_H_

View File

@@ -1,81 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEINSTANCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateInstanceRequest : public RpcServiceRequest
{
public:
struct _Parameter
{
std::string code;
std::string value;
};
public:
CreateInstanceRequest();
~CreateInstanceRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
int getPeriod()const;
void setPeriod(int period);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
std::string getLogistics()const;
void setLogistics(const std::string& logistics);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
int getRenewPeriod()const;
void setRenewPeriod(int renewPeriod);
std::vector<_Parameter> get_Parameter()const;
void set_Parameter(const std::vector<_Parameter>& _parameter);
std::string getRenewalStatus()const;
void setRenewalStatus(const std::string& renewalStatus);
private:
std::string productCode_;
int period_;
std::string clientToken_;
std::string subscriptionType_;
std::string logistics_;
long ownerId_;
std::string productType_;
int renewPeriod_;
std::vector<_Parameter> _parameter_;
std::string renewalStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEINSTANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEINSTANCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEINSTANCEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateInstanceRequest : public RpcServiceRequest {
public:
struct _Parameter {
std::string code;
std::string value;
};
CreateInstanceRequest();
~CreateInstanceRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
int getPeriod() const;
void setPeriod(int period);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
std::string getLogistics() const;
void setLogistics(const std::string &logistics);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getProductType() const;
void setProductType(const std::string &productType);
int getRenewPeriod() const;
void setRenewPeriod(int renewPeriod);
std::string getRenewalStatus() const;
void setRenewalStatus(const std::string &renewalStatus);
std::vector<_Parameter> get_Parameter() const;
void set_Parameter(const std::vector<_Parameter> &_parameter);
private:
std::string productCode_;
int period_;
std::string clientToken_;
std::string subscriptionType_;
std::string logistics_;
long ownerId_;
std::string productType_;
int renewPeriod_;
std::string renewalStatus_;
std::vector<_Parameter> _parameter_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEINSTANCEREQUEST_H_

View File

@@ -1,57 +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_BSSOPENAPI_MODEL_CREATERESELLERUSERQUOTAREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESELLERUSERQUOTAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateResellerUserQuotaRequest : public RpcServiceRequest
{
public:
CreateResellerUserQuotaRequest();
~CreateResellerUserQuotaRequest();
std::string getAmount()const;
void setAmount(const std::string& amount);
std::string getOutBizId()const;
void setOutBizId(const std::string& outBizId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getCurrency()const;
void setCurrency(const std::string& currency);
private:
std::string amount_;
std::string outBizId_;
long ownerId_;
std::string currency_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESELLERUSERQUOTAREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESELLERUSERQUOTAREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESELLERUSERQUOTAREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateResellerUserQuotaRequest : public RpcServiceRequest {
public:
CreateResellerUserQuotaRequest();
~CreateResellerUserQuotaRequest();
std::string getAmount() const;
void setAmount(const std::string &amount);
std::string getOutBizId() const;
void setOutBizId(const std::string &outBizId);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getCurrency() const;
void setCurrency(const std::string &currency);
private:
std::string amount_;
std::string outBizId_;
long ownerId_;
std::string currency_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESELLERUSERQUOTAREQUEST_H_

View File

@@ -1,66 +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_BSSOPENAPI_MODEL_CREATERESOURCEPACKAGEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESOURCEPACKAGEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateResourcePackageRequest : public RpcServiceRequest
{
public:
CreateResourcePackageRequest();
~CreateResourcePackageRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getSpecification()const;
void setSpecification(const std::string& specification);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getEffectiveDate()const;
void setEffectiveDate(const std::string& effectiveDate);
int getDuration()const;
void setDuration(int duration);
std::string getPackageType()const;
void setPackageType(const std::string& packageType);
std::string getPricingCycle()const;
void setPricingCycle(const std::string& pricingCycle);
private:
std::string productCode_;
std::string specification_;
long ownerId_;
std::string effectiveDate_;
int duration_;
std::string packageType_;
std::string pricingCycle_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESOURCEPACKAGEREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESOURCEPACKAGEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESOURCEPACKAGEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateResourcePackageRequest : public RpcServiceRequest {
public:
CreateResourcePackageRequest();
~CreateResourcePackageRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getSpecification() const;
void setSpecification(const std::string &specification);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getEffectiveDate() const;
void setEffectiveDate(const std::string &effectiveDate);
int getDuration() const;
void setDuration(int duration);
std::string getPackageType() const;
void setPackageType(const std::string &packageType);
std::string getPricingCycle() const;
void setPricingCycle(const std::string &pricingCycle);
private:
std::string productCode_;
std::string specification_;
long ownerId_;
std::string effectiveDate_;
int duration_;
std::string packageType_;
std::string pricingCycle_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESOURCEPACKAGEREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATESAVINGSPLANSINSTANCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATESAVINGSPLANSINSTANCEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateSavingsPlansInstanceRequest : public RpcServiceRequest {
public:
CreateSavingsPlansInstanceRequest();
~CreateSavingsPlansInstanceRequest();
std::string getSpecification() const;
void setSpecification(const std::string &specification);
std::string getPoolValue() const;
void setPoolValue(const std::string &poolValue);
std::string getCommodityCode() const;
void setCommodityCode(const std::string &commodityCode);
std::string getType() const;
void setType(const std::string &type);
std::string getEffectiveDate() const;
void setEffectiveDate(const std::string &effectiveDate);
std::string getDuration() const;
void setDuration(const std::string &duration);
std::string getSpecType() const;
void setSpecType(const std::string &specType);
std::string getPayMode() const;
void setPayMode(const std::string &payMode);
std::string getRegion() const;
void setRegion(const std::string &region);
std::string getPricingCycle() const;
void setPricingCycle(const std::string &pricingCycle);
private:
std::string specification_;
std::string poolValue_;
std::string commodityCode_;
std::string type_;
std::string effectiveDate_;
std::string duration_;
std::string specType_;
std::string payMode_;
std::string region_;
std::string pricingCycle_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATESAVINGSPLANSINSTANCEREQUEST_H_

View File

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

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DELETECOSTUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DELETECOSTUNITREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DeleteCostUnitRequest : public RpcServiceRequest
{
public:
DeleteCostUnitRequest();
~DeleteCostUnitRequest();
long getUnitId()const;
void setUnitId(long unitId);
long getOwnerUid()const;
void setOwnerUid(long ownerUid);
private:
long unitId_;
long ownerUid_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DELETECOSTUNITREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DELETECOSTUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DELETECOSTUNITREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DeleteCostUnitRequest : public RpcServiceRequest {
public:
DeleteCostUnitRequest();
~DeleteCostUnitRequest();
long getUnitId() const;
void setUnitId(long unitId);
long getOwnerUid() const;
void setOwnerUid(long ownerUid);
private:
long unitId_;
long ownerUid_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DELETECOSTUNITREQUEST_H_

View File

@@ -1,84 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEBILLREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEBILLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeInstanceBillRequest : public RpcServiceRequest
{
public:
DescribeInstanceBillRequest();
~DescribeInstanceBillRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
bool getIsHideZeroCharge()const;
void setIsHideZeroCharge(bool isHideZeroCharge);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getBillingCycle()const;
void setBillingCycle(const std::string& billingCycle);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getBillingDate()const;
void setBillingDate(const std::string& billingDate);
bool getIsBillingItem()const;
void setIsBillingItem(bool isBillingItem);
std::string getInstanceID()const;
void setInstanceID(const std::string& instanceID);
std::string getGranularity()const;
void setGranularity(const std::string& granularity);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
std::string productCode_;
bool isHideZeroCharge_;
std::string subscriptionType_;
long billOwnerId_;
std::string productType_;
std::string nextToken_;
std::string billingCycle_;
long ownerId_;
std::string billingDate_;
bool isBillingItem_;
std::string instanceID_;
std::string granularity_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEBILLREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEBILLREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEBILLREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeInstanceBillRequest : public RpcServiceRequest {
public:
DescribeInstanceBillRequest();
~DescribeInstanceBillRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
bool getIsHideZeroCharge() const;
void setIsHideZeroCharge(bool isHideZeroCharge);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getProductType() const;
void setProductType(const std::string &productType);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getBillingDate() const;
void setBillingDate(const std::string &billingDate);
bool getIsBillingItem() const;
void setIsBillingItem(bool isBillingItem);
std::string getInstanceID() const;
void setInstanceID(const std::string &instanceID);
std::string getGranularity() const;
void setGranularity(const std::string &granularity);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string productCode_;
bool isHideZeroCharge_;
std::string subscriptionType_;
long billOwnerId_;
std::string productType_;
std::string nextToken_;
std::string billingCycle_;
long ownerId_;
std::string billingDate_;
bool isBillingItem_;
std::string instanceID_;
std::string granularity_;
int maxResults_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEBILLREQUEST_H_

View File

@@ -41,23 +41,25 @@ namespace AlibabaCloud
std::string instanceID;
std::string billAccountID;
float deductedByCashCoupons;
std::string listPriceUnit;
std::string billingDate;
std::string listPrice;
std::string listPriceUnit;
float paymentAmount;
std::string listPrice;
float deductedByPrepaidCard;
float invoiceDiscount;
std::string subscriptionType;
std::string item;
std::string subscriptionType;
float pretaxGrossAmount;
std::string instanceConfig;
std::string currency;
std::string commodityCode;
std::string itemName;
std::string costUnit;
std::string resourceGroup;
float adjustAmount;
std::string billingType;
std::string usage;
float deductedByCoupons;
std::string usage;
std::string productDetail;
std::string productCode;
std::string zone;
@@ -66,18 +68,20 @@ namespace AlibabaCloud
std::string bizType;
std::string billingItem;
std::string nickName;
std::string intranetIP;
std::string pipCode;
std::string intranetIP;
std::string servicePeriodUnit;
std::string servicePeriod;
std::string deductedByResourcePackage;
std::string usageUnit;
std::string ownerID;
float pretaxAmount;
std::string billingItemCode;
std::string internetIP;
std::string region;
float pretaxAmount;
std::string ownerID;
std::string billAccountName;
std::string region;
std::string tag;
float cashAmount;
};
std::string billingCycle;
int totalCount;

View File

@@ -1,57 +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_BSSOPENAPI_MODEL_DESCRIBEPRICINGMODULEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRICINGMODULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribePricingModuleRequest : public RpcServiceRequest
{
public:
DescribePricingModuleRequest();
~DescribePricingModuleRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
private:
std::string productCode_;
std::string subscriptionType_;
long ownerId_;
std::string productType_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRICINGMODULEREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRICINGMODULEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRICINGMODULEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribePricingModuleRequest : public RpcServiceRequest {
public:
DescribePricingModuleRequest();
~DescribePricingModuleRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getProductType() const;
void setProductType(const std::string &productType);
private:
std::string productCode_;
std::string subscriptionType_;
long ownerId_;
std::string productType_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRICINGMODULEREQUEST_H_

View File

@@ -48,8 +48,8 @@ namespace AlibabaCloud
{
std::string type;
std::string value;
std::string name;
std::string remark;
std::string name;
};
std::vector<Attribute::AttributeValue> values;
std::string unit;

View File

@@ -1,66 +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_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceCoverageDetailRequest : public RpcServiceRequest
{
public:
DescribeResourceCoverageDetailRequest();
~DescribeResourceCoverageDetailRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
std::string periodType_;
long billOwnerId_;
std::string resourceType_;
std::string startPeriod_;
std::string endPeriod_;
std::string nextToken_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceCoverageDetailRequest : public RpcServiceRequest {
public:
DescribeResourceCoverageDetailRequest();
~DescribeResourceCoverageDetailRequest();
std::string getPeriodType() const;
void setPeriodType(const std::string &periodType);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getStartPeriod() const;
void setStartPeriod(const std::string &startPeriod);
std::string getEndPeriod() const;
void setEndPeriod(const std::string &endPeriod);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string periodType_;
long billOwnerId_;
std::string resourceType_;
std::string startPeriod_;
std::string endPeriod_;
std::string nextToken_;
int maxResults_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILREQUEST_H_

View File

@@ -37,13 +37,13 @@ namespace AlibabaCloud
struct Item
{
std::string regionNo;
std::string userName;
std::string instanceSpec;
std::string userName;
std::string productName;
std::string endTime;
std::string productCode;
std::string instanceId;
std::string capacityUnit;
std::string instanceId;
std::string productCode;
std::string zone;
std::string startTime;
float paymentAmount;

View File

@@ -1,60 +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_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceCoverageTotalRequest : public RpcServiceRequest
{
public:
DescribeResourceCoverageTotalRequest();
~DescribeResourceCoverageTotalRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
private:
std::string periodType_;
long billOwnerId_;
std::string resourceType_;
std::string startPeriod_;
std::string endPeriod_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceCoverageTotalRequest : public RpcServiceRequest {
public:
DescribeResourceCoverageTotalRequest();
~DescribeResourceCoverageTotalRequest();
std::string getPeriodType() const;
void setPeriodType(const std::string &periodType);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getStartPeriod() const;
void setStartPeriod(const std::string &startPeriod);
std::string getEndPeriod() const;
void setEndPeriod(const std::string &endPeriod);
private:
std::string periodType_;
long billOwnerId_;
std::string resourceType_;
std::string startPeriod_;
std::string endPeriod_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALREQUEST_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BSSOPENAPI_MODEL_DESCRIBERESOURCEPACKAGEPRODUCTREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEPACKAGEPRODUCTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourcePackageProductRequest : public RpcServiceRequest
{
public:
DescribeResourcePackageProductRequest();
~DescribeResourcePackageProductRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
private:
std::string productCode_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEPACKAGEPRODUCTREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEPACKAGEPRODUCTREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEPACKAGEPRODUCTREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourcePackageProductRequest : public RpcServiceRequest {
public:
DescribeResourcePackageProductRequest();
~DescribeResourcePackageProductRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
private:
std::string productCode_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEPACKAGEPRODUCTREQUEST_H_

View File

@@ -1,66 +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_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceUsageDetailRequest : public RpcServiceRequest
{
public:
DescribeResourceUsageDetailRequest();
~DescribeResourceUsageDetailRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
std::string periodType_;
long billOwnerId_;
std::string resourceType_;
std::string startPeriod_;
std::string endPeriod_;
std::string nextToken_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceUsageDetailRequest : public RpcServiceRequest {
public:
DescribeResourceUsageDetailRequest();
~DescribeResourceUsageDetailRequest();
std::string getPeriodType() const;
void setPeriodType(const std::string &periodType);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getStartPeriod() const;
void setStartPeriod(const std::string &startPeriod);
std::string getEndPeriod() const;
void setEndPeriod(const std::string &endPeriod);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string periodType_;
long billOwnerId_;
std::string resourceType_;
std::string startPeriod_;
std::string endPeriod_;
std::string nextToken_;
int maxResults_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILREQUEST_H_

View File

@@ -39,8 +39,8 @@ namespace AlibabaCloud
std::string status;
std::string regionNo;
std::string postpaidCost;
std::string userName;
std::string instanceSpec;
std::string userName;
std::string endTime;
std::string capacityUnit;
std::string zone;
@@ -55,8 +55,8 @@ namespace AlibabaCloud
float totalQuantity;
std::string userId;
std::string currency;
std::string region;
std::string potentialSavedCost;
std::string region;
std::string resourceInstanceId;
float deductQuantity;
};

View File

@@ -1,60 +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_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceUsageTotalRequest : public RpcServiceRequest
{
public:
DescribeResourceUsageTotalRequest();
~DescribeResourceUsageTotalRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
private:
std::string periodType_;
long billOwnerId_;
std::string resourceType_;
std::string startPeriod_;
std::string endPeriod_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceUsageTotalRequest : public RpcServiceRequest {
public:
DescribeResourceUsageTotalRequest();
~DescribeResourceUsageTotalRequest();
std::string getPeriodType() const;
void setPeriodType(const std::string &periodType);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getStartPeriod() const;
void setStartPeriod(const std::string &startPeriod);
std::string getEndPeriod() const;
void setEndPeriod(const std::string &endPeriod);
private:
std::string periodType_;
long billOwnerId_;
std::string resourceType_;
std::string startPeriod_;
std::string endPeriod_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALREQUEST_H_

View File

@@ -1,63 +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_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGEDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGEDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeSavingsPlansCoverageDetailRequest : public RpcServiceRequest
{
public:
DescribeSavingsPlansCoverageDetailRequest();
~DescribeSavingsPlansCoverageDetailRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
std::string getToken()const;
void setToken(const std::string& token);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
std::string periodType_;
long billOwnerId_;
std::string startPeriod_;
std::string endPeriod_;
std::string token_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGEDETAILREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGEDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGEDETAILREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeSavingsPlansCoverageDetailRequest : public RpcServiceRequest {
public:
DescribeSavingsPlansCoverageDetailRequest();
~DescribeSavingsPlansCoverageDetailRequest();
std::string getPeriodType() const;
void setPeriodType(const std::string &periodType);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getStartPeriod() const;
void setStartPeriod(const std::string &startPeriod);
std::string getEndPeriod() const;
void setEndPeriod(const std::string &endPeriod);
std::string getToken() const;
void setToken(const std::string &token);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string periodType_;
long billOwnerId_;
std::string startPeriod_;
std::string endPeriod_;
std::string token_;
int maxResults_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGEDETAILREQUEST_H_

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
struct Item
{
float postpaidCost;
std::string userName;
std::string instanceSpec;
std::string userName;
std::string instanceId;
long userId;
std::string endPeriod;

View File

@@ -1,57 +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_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGETOTALREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGETOTALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeSavingsPlansCoverageTotalRequest : public RpcServiceRequest
{
public:
DescribeSavingsPlansCoverageTotalRequest();
~DescribeSavingsPlansCoverageTotalRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
private:
std::string periodType_;
long billOwnerId_;
std::string startPeriod_;
std::string endPeriod_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGETOTALREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGETOTALREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGETOTALREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeSavingsPlansCoverageTotalRequest : public RpcServiceRequest {
public:
DescribeSavingsPlansCoverageTotalRequest();
~DescribeSavingsPlansCoverageTotalRequest();
std::string getPeriodType() const;
void setPeriodType(const std::string &periodType);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getStartPeriod() const;
void setStartPeriod(const std::string &startPeriod);
std::string getEndPeriod() const;
void setEndPeriod(const std::string &endPeriod);
private:
std::string periodType_;
long billOwnerId_;
std::string startPeriod_;
std::string endPeriod_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGETOTALREQUEST_H_

View File

@@ -1,63 +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_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGEDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGEDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeSavingsPlansUsageDetailRequest : public RpcServiceRequest
{
public:
DescribeSavingsPlansUsageDetailRequest();
~DescribeSavingsPlansUsageDetailRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
std::string getToken()const;
void setToken(const std::string& token);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
std::string periodType_;
long billOwnerId_;
std::string startPeriod_;
std::string endPeriod_;
std::string token_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGEDETAILREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGEDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGEDETAILREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeSavingsPlansUsageDetailRequest : public RpcServiceRequest {
public:
DescribeSavingsPlansUsageDetailRequest();
~DescribeSavingsPlansUsageDetailRequest();
std::string getPeriodType() const;
void setPeriodType(const std::string &periodType);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getStartPeriod() const;
void setStartPeriod(const std::string &startPeriod);
std::string getEndPeriod() const;
void setEndPeriod(const std::string &endPeriod);
std::string getToken() const;
void setToken(const std::string &token);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string periodType_;
long billOwnerId_;
std::string startPeriod_;
std::string endPeriod_;
std::string token_;
int maxResults_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGEDETAILREQUEST_H_

View File

@@ -1,57 +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_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGETOTALREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGETOTALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeSavingsPlansUsageTotalRequest : public RpcServiceRequest
{
public:
DescribeSavingsPlansUsageTotalRequest();
~DescribeSavingsPlansUsageTotalRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
private:
std::string periodType_;
long billOwnerId_;
std::string startPeriod_;
std::string endPeriod_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGETOTALREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGETOTALREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGETOTALREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeSavingsPlansUsageTotalRequest : public RpcServiceRequest {
public:
DescribeSavingsPlansUsageTotalRequest();
~DescribeSavingsPlansUsageTotalRequest();
std::string getPeriodType() const;
void setPeriodType(const std::string &periodType);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getStartPeriod() const;
void setStartPeriod(const std::string &startPeriod);
std::string getEndPeriod() const;
void setEndPeriod(const std::string &endPeriod);
private:
std::string periodType_;
long billOwnerId_;
std::string startPeriod_;
std::string endPeriod_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGETOTALREQUEST_H_

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
struct TotalUsage
{
float postpaidCost;
float poolValue;
float savedCost;
float poolValue;
float usagePercentage;
};
struct Item

View File

@@ -1,90 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESPLITITEMBILLREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESPLITITEMBILLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeSplitItemBillRequest : public RpcServiceRequest
{
public:
struct TagFilter
{
std::vector<std::string> tagValues;
std::string tagKey;
};
public:
DescribeSplitItemBillRequest();
~DescribeSplitItemBillRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getSplitItemID()const;
void setSplitItemID(const std::string& splitItemID);
std::string getBillingCycle()const;
void setBillingCycle(const std::string& billingCycle);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::vector<TagFilter> getTagFilter()const;
void setTagFilter(const std::vector<TagFilter>& tagFilter);
std::string getBillingDate()const;
void setBillingDate(const std::string& billingDate);
std::string getInstanceID()const;
void setInstanceID(const std::string& instanceID);
std::string getGranularity()const;
void setGranularity(const std::string& granularity);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
std::string productCode_;
std::string subscriptionType_;
long billOwnerId_;
std::string productType_;
std::string nextToken_;
std::string splitItemID_;
std::string billingCycle_;
long ownerId_;
std::vector<TagFilter> tagFilter_;
std::string billingDate_;
std::string instanceID_;
std::string granularity_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESPLITITEMBILLREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESPLITITEMBILLREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESPLITITEMBILLREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeSplitItemBillRequest : public RpcServiceRequest {
public:
struct TagFilter {
std::string tagKey;
};
DescribeSplitItemBillRequest();
~DescribeSplitItemBillRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getProductType() const;
void setProductType(const std::string &productType);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::string getSplitItemID() const;
void setSplitItemID(const std::string &splitItemID);
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::vector<TagFilter> getTagFilter() const;
void setTagFilter(const std::vector<TagFilter> &tagFilter);
std::string getBillingDate() const;
void setBillingDate(const std::string &billingDate);
std::string getInstanceID() const;
void setInstanceID(const std::string &instanceID);
std::string getGranularity() const;
void setGranularity(const std::string &granularity);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string productCode_;
std::string subscriptionType_;
long billOwnerId_;
std::string productType_;
std::string nextToken_;
std::string splitItemID_;
std::string billingCycle_;
long ownerId_;
std::vector<TagFilter> tagFilter_;
std::string billingDate_;
std::string instanceID_;
std::string granularity_;
int maxResults_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESPLITITEMBILLREQUEST_H_

View File

@@ -40,8 +40,8 @@ namespace AlibabaCloud
std::string instanceID;
std::string billAccountID;
std::string splitCommodityCode;
std::string listPrice;
float paymentAmount;
std::string listPrice;
float deductedByPrepaidCard;
std::string splitItemName;
std::string subscriptionType;
@@ -60,18 +60,21 @@ namespace AlibabaCloud
std::string servicePeriodUnit;
std::string servicePeriod;
std::string usageUnit;
std::string ownerID;
std::string billingItemCode;
std::string internetIP;
std::string ownerID;
std::string region;
std::string instanceSpec;
float deductedByCashCoupons;
std::string listPriceUnit;
std::string billingDate;
std::string listPriceUnit;
float invoiceDiscount;
std::string splitProductDetail;
float pretaxGrossAmount;
std::string commodityCode;
std::string itemName;
std::string resourceGroup;
float adjustAmount;
std::string billingType;
std::string splitAccountName;
std::string usage;
@@ -86,6 +89,7 @@ namespace AlibabaCloud
float pretaxAmount;
std::string billAccountName;
std::string tag;
float cashAmount;
};
std::string billingCycle;
int totalCount;

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_ENABLEBILLGENERATIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ENABLEBILLGENERATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT EnableBillGenerationRequest : public RpcServiceRequest
{
public:
EnableBillGenerationRequest();
~EnableBillGenerationRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string productCode_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ENABLEBILLGENERATIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_ENABLEBILLGENERATIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ENABLEBILLGENERATIONREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT EnableBillGenerationRequest : public RpcServiceRequest {
public:
EnableBillGenerationRequest();
~EnableBillGenerationRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
long getOwnerId() const;
void setOwnerId(long ownerId);
private:
std::string productCode_;
long ownerId_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ENABLEBILLGENERATIONREQUEST_H_

View File

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

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_GETACCOUNTRELATIONRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETACCOUNTRELATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetAccountRelationResult : public ServiceResult
{
public:
struct Data
{
std::string status;
long childUserId;
std::string type;
long parentUserId;
long endTime;
long startTime;
long gmtModified;
long id;
};
GetAccountRelationResult();
explicit GetAccountRelationResult(const std::string &payload);
~GetAccountRelationResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETACCOUNTRELATIONRESULT_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BSSOPENAPI_MODEL_GETCUSTOMERACCOUNTINFOREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERACCOUNTINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetCustomerAccountInfoRequest : public RpcServiceRequest
{
public:
GetCustomerAccountInfoRequest();
~GetCustomerAccountInfoRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERACCOUNTINFOREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERACCOUNTINFOREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERACCOUNTINFOREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetCustomerAccountInfoRequest : public RpcServiceRequest {
public:
GetCustomerAccountInfoRequest();
~GetCustomerAccountInfoRequest();
long getOwnerId() const;
void setOwnerId(long ownerId);
private:
long ownerId_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERACCOUNTINFOREQUEST_H_

View File

@@ -1,45 +1,39 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BSSOPENAPI_MODEL_GETCUSTOMERLISTREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetCustomerListRequest : public RpcServiceRequest
{
public:
GetCustomerListRequest();
~GetCustomerListRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERLISTREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERLISTREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERLISTREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetCustomerListRequest : public RpcServiceRequest {
public:
GetCustomerListRequest();
~GetCustomerListRequest();
private:
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERLISTREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_GETORDERDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETORDERDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetOrderDetailRequest : public RpcServiceRequest
{
public:
GetOrderDetailRequest();
~GetOrderDetailRequest();
std::string getOrderId()const;
void setOrderId(const std::string& orderId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string orderId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETORDERDETAILREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_GETORDERDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETORDERDETAILREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetOrderDetailRequest : public RpcServiceRequest {
public:
GetOrderDetailRequest();
~GetOrderDetailRequest();
std::string getOrderId() const;
void setOrderId(const std::string &orderId);
long getOwnerId() const;
void setOwnerId(long ownerId);
private:
std::string orderId_;
long ownerId_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETORDERDETAILREQUEST_H_

View File

@@ -37,11 +37,11 @@ namespace AlibabaCloud
struct Order
{
std::string afterTaxAmount;
std::string subOrderId;
std::string config;
std::string subOrderId;
std::string paymentTime;
std::string _operator;
std::string tax;
std::string paymentTime;
std::string paymentCurrency;
std::string usageEndTime;
std::string subscriptionType;
@@ -55,18 +55,18 @@ namespace AlibabaCloud
std::string productCode;
std::string createTime;
std::string productType;
std::string relatedOrderId;
std::string quantity;
std::string relatedOrderId;
std::string orderId;
std::string pretaxAmount;
std::string orderSubType;
std::string pretaxAmount;
std::string region;
std::string instanceIDs;
std::string pretaxAmountLocal;
};
int totalCount;
int pageSize;
int pageNum;
int pageSize;
std::vector<Order> orderList;
std::string hostName;
};

View File

@@ -1,70 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_GETPAYASYOUGOPRICEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETPAYASYOUGOPRICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetPayAsYouGoPriceRequest : public RpcServiceRequest
{
public:
struct ModuleList
{
std::string moduleCode;
std::string priceType;
std::string config;
};
public:
GetPayAsYouGoPriceRequest();
~GetPayAsYouGoPriceRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
std::vector<ModuleList> getModuleList()const;
void setModuleList(const std::vector<ModuleList>& moduleList);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string productCode_;
std::string subscriptionType_;
std::vector<ModuleList> moduleList_;
long ownerId_;
std::string productType_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETPAYASYOUGOPRICEREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_GETPAYASYOUGOPRICEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETPAYASYOUGOPRICEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetPayAsYouGoPriceRequest : public RpcServiceRequest {
public:
struct ModuleList {
std::string moduleCode;
std::string priceType;
std::string config;
};
GetPayAsYouGoPriceRequest();
~GetPayAsYouGoPriceRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
std::vector<ModuleList> getModuleList() const;
void setModuleList(const std::vector<ModuleList> &moduleList);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getProductType() const;
void setProductType(const std::string &productType);
std::string getRegion() const;
void setRegion(const std::string &region);
private:
std::string productCode_;
std::string subscriptionType_;
std::vector<ModuleList> moduleList_;
long ownerId_;
std::string productType_;
std::string region_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETPAYASYOUGOPRICEREQUEST_H_

View File

@@ -1,72 +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_BSSOPENAPI_MODEL_GETRESOURCEPACKAGEPRICEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETRESOURCEPACKAGEPRICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetResourcePackagePriceRequest : public RpcServiceRequest
{
public:
GetResourcePackagePriceRequest();
~GetResourcePackagePriceRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getSpecification()const;
void setSpecification(const std::string& specification);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getEffectiveDate()const;
void setEffectiveDate(const std::string& effectiveDate);
int getDuration()const;
void setDuration(int duration);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getPackageType()const;
void setPackageType(const std::string& packageType);
std::string getPricingCycle()const;
void setPricingCycle(const std::string& pricingCycle);
std::string getOrderType()const;
void setOrderType(const std::string& orderType);
private:
std::string productCode_;
std::string specification_;
long ownerId_;
std::string effectiveDate_;
int duration_;
std::string instanceId_;
std::string packageType_;
std::string pricingCycle_;
std::string orderType_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETRESOURCEPACKAGEPRICEREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_GETRESOURCEPACKAGEPRICEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETRESOURCEPACKAGEPRICEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetResourcePackagePriceRequest : public RpcServiceRequest {
public:
GetResourcePackagePriceRequest();
~GetResourcePackagePriceRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getSpecification() const;
void setSpecification(const std::string &specification);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getEffectiveDate() const;
void setEffectiveDate(const std::string &effectiveDate);
int getDuration() const;
void setDuration(int duration);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getPackageType() const;
void setPackageType(const std::string &packageType);
std::string getPricingCycle() const;
void setPricingCycle(const std::string &pricingCycle);
std::string getOrderType() const;
void setOrderType(const std::string &orderType);
private:
std::string productCode_;
std::string specification_;
long ownerId_;
std::string effectiveDate_;
int duration_;
std::string instanceId_;
std::string packageType_;
std::string pricingCycle_;
std::string orderType_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETRESOURCEPACKAGEPRICEREQUEST_H_

View File

@@ -41,8 +41,8 @@ namespace AlibabaCloud
};
float originalPrice;
std::vector<Promotion> promotions;
std::string currency;
float discountPrice;
std::string currency;
float tradePrice;
};

View File

@@ -1,86 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_GETSUBSCRIPTIONPRICEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETSUBSCRIPTIONPRICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetSubscriptionPriceRequest : public RpcServiceRequest
{
public:
struct ModuleList
{
std::string moduleCode;
int moduleStatus;
std::string tag;
std::string config;
};
public:
GetSubscriptionPriceRequest();
~GetSubscriptionPriceRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
int getQuantity()const;
void setQuantity(int quantity);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
std::vector<ModuleList> getModuleList()const;
void setModuleList(const std::vector<ModuleList>& moduleList);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
int getServicePeriodQuantity()const;
void setServicePeriodQuantity(int servicePeriodQuantity);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getServicePeriodUnit()const;
void setServicePeriodUnit(const std::string& servicePeriodUnit);
std::string getRegion()const;
void setRegion(const std::string& region);
std::string getOrderType()const;
void setOrderType(const std::string& orderType);
private:
std::string productCode_;
int quantity_;
std::string subscriptionType_;
std::vector<ModuleList> moduleList_;
long ownerId_;
std::string productType_;
int servicePeriodQuantity_;
std::string instanceId_;
std::string servicePeriodUnit_;
std::string region_;
std::string orderType_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETSUBSCRIPTIONPRICEREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_GETSUBSCRIPTIONPRICEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETSUBSCRIPTIONPRICEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT GetSubscriptionPriceRequest : public RpcServiceRequest {
public:
struct ModuleList {
std::string moduleCode;
int moduleStatus;
std::string tag;
std::string config;
};
GetSubscriptionPriceRequest();
~GetSubscriptionPriceRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
int getQuantity() const;
void setQuantity(int quantity);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
std::vector<ModuleList> getModuleList() const;
void setModuleList(const std::vector<ModuleList> &moduleList);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getProductType() const;
void setProductType(const std::string &productType);
int getServicePeriodQuantity() const;
void setServicePeriodQuantity(int servicePeriodQuantity);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getServicePeriodUnit() const;
void setServicePeriodUnit(const std::string &servicePeriodUnit);
std::string getRegion() const;
void setRegion(const std::string &region);
std::string getOrderType() const;
void setOrderType(const std::string &orderType);
private:
std::string productCode_;
int quantity_;
std::string subscriptionType_;
std::vector<ModuleList> moduleList_;
long ownerId_;
std::string productType_;
int servicePeriodQuantity_;
std::string instanceId_;
std::string servicePeriodUnit_;
std::string region_;
std::string orderType_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETSUBSCRIPTIONPRICEREQUEST_H_

View 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_BSSOPENAPI_MODEL_INQUIRYPRICEREFUNDINSTANCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_INQUIRYPRICEREFUNDINSTANCEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT InquiryPriceRefundInstanceRequest : public RpcServiceRequest {
public:
InquiryPriceRefundInstanceRequest();
~InquiryPriceRefundInstanceRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getProductType() const;
void setProductType(const std::string &productType);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string productCode_;
std::string clientToken_;
std::string productType_;
std::string instanceId_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_INQUIRYPRICEREFUNDINSTANCEREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BSSOPENAPI_MODEL_INQUIRYPRICEREFUNDINSTANCERESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_INQUIRYPRICEREFUNDINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT InquiryPriceRefundInstanceResult : public ServiceResult
{
public:
struct Data
{
std::string instanceId;
std::string currency;
double refundAmount;
std::string hostId;
};
InquiryPriceRefundInstanceResult();
explicit InquiryPriceRefundInstanceResult(const std::string &payload);
~InquiryPriceRefundInstanceResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_INQUIRYPRICEREFUNDINSTANCERESULT_H_

View File

@@ -1,69 +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_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyAccountRelationRequest : public RpcServiceRequest
{
public:
ModifyAccountRelationRequest();
~ModifyAccountRelationRequest();
std::string getChildNick()const;
void setChildNick(const std::string& childNick);
std::string getRelationOperation()const;
void setRelationOperation(const std::string& relationOperation);
std::string getRelationType()const;
void setRelationType(const std::string& relationType);
long getParentUserId()const;
void setParentUserId(long parentUserId);
long getChildUserId()const;
void setChildUserId(long childUserId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::vector<std::string> getPermissionCodes()const;
void setPermissionCodes(const std::vector<std::string>& permissionCodes);
std::vector<std::string> getRoleCodes()const;
void setRoleCodes(const std::vector<std::string>& roleCodes);
private:
std::string childNick_;
std::string relationOperation_;
std::string relationType_;
long parentUserId_;
long childUserId_;
std::string requestId_;
std::vector<std::string> permissionCodes_;
std::vector<std::string> roleCodes_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyAccountRelationRequest : public RpcServiceRequest {
public:
ModifyAccountRelationRequest();
~ModifyAccountRelationRequest();
std::string getChildNick() const;
void setChildNick(const std::string &childNick);
long getParentUserId() const;
void setParentUserId(long parentUserId);
long getRelationId() const;
void setRelationId(long relationId);
std::vector<std::string> getRoleCodes() const;
void setRoleCodes(const std::vector<std::string> &roleCodes);
std::string getRelationOperation() const;
void setRelationOperation(const std::string &relationOperation);
std::string getRelationType() const;
void setRelationType(const std::string &relationType);
long getChildUserId() const;
void setChildUserId(long childUserId);
std::string getRequestId() const;
void setRequestId(const std::string &requestId);
std::vector<std::string> getPermissionCodes() const;
void setPermissionCodes(const std::vector<std::string> &permissionCodes);
private:
std::string childNick_;
long parentUserId_;
long relationId_;
std::vector<std::string> roleCodes_;
std::string relationOperation_;
std::string relationType_;
long childUserId_;
std::string requestId_;
std::vector<std::string> permissionCodes_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONREQUEST_H_

View File

@@ -1,55 +1,47 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BSSOPENAPI_MODEL_MODIFYCOSTUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYCOSTUNITREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyCostUnitRequest : public RpcServiceRequest
{
public:
struct UnitEntityList
{
std::string newUnitName;
long unitId;
long ownerUid;
};
public:
ModifyCostUnitRequest();
~ModifyCostUnitRequest();
std::vector<UnitEntityList> getUnitEntityList()const;
void setUnitEntityList(const std::vector<UnitEntityList>& unitEntityList);
private:
std::vector<UnitEntityList> unitEntityList_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYCOSTUNITREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYCOSTUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYCOSTUNITREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyCostUnitRequest : public RpcServiceRequest {
public:
struct UnitEntityList {
std::string newUnitName;
long unitId;
long ownerUid;
};
ModifyCostUnitRequest();
~ModifyCostUnitRequest();
std::vector<UnitEntityList> getUnitEntityList() const;
void setUnitEntityList(const std::vector<UnitEntityList> &unitEntityList);
private:
std::vector<UnitEntityList> unitEntityList_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYCOSTUNITREQUEST_H_

View File

@@ -1,75 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BSSOPENAPI_MODEL_MODIFYINSTANCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyInstanceRequest : public RpcServiceRequest
{
public:
struct _Parameter
{
std::string code;
std::string value;
};
public:
ModifyInstanceRequest();
~ModifyInstanceRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getModifyType()const;
void setModifyType(const std::string& modifyType);
std::vector<_Parameter> get_Parameter()const;
void set_Parameter(const std::vector<_Parameter>& _parameter);
private:
std::string productCode_;
std::string clientToken_;
std::string subscriptionType_;
long ownerId_;
std::string productType_;
std::string instanceId_;
std::string modifyType_;
std::vector<_Parameter> _parameter_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYINSTANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYINSTANCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYINSTANCEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyInstanceRequest : public RpcServiceRequest {
public:
struct _Parameter {
std::string code;
std::string value;
};
ModifyInstanceRequest();
~ModifyInstanceRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getProductType() const;
void setProductType(const std::string &productType);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getModifyType() const;
void setModifyType(const std::string &modifyType);
std::vector<_Parameter> get_Parameter() const;
void set_Parameter(const std::vector<_Parameter> &_parameter);
private:
std::string productCode_;
std::string clientToken_;
std::string subscriptionType_;
long ownerId_;
std::string productType_;
std::string instanceId_;
std::string modifyType_;
std::vector<_Parameter> _parameter_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYINSTANCEREQUEST_H_

View File

@@ -34,8 +34,8 @@ namespace AlibabaCloud
public:
struct Data
{
std::string hostId;
std::string orderId;
std::string hostId;
};

View File

@@ -1,45 +1,39 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BSSOPENAPI_MODEL_QUERYACCOUNTBALANCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBALANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountBalanceRequest : public RpcServiceRequest
{
public:
QueryAccountBalanceRequest();
~QueryAccountBalanceRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBALANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBALANCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBALANCEREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountBalanceRequest : public RpcServiceRequest {
public:
QueryAccountBalanceRequest();
~QueryAccountBalanceRequest();
private:
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBALANCEREQUEST_H_

View File

@@ -1,72 +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_BSSOPENAPI_MODEL_QUERYACCOUNTBILLREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBILLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountBillRequest : public RpcServiceRequest
{
public:
QueryAccountBillRequest();
~QueryAccountBillRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getBillingCycle()const;
void setBillingCycle(const std::string& billingCycle);
int getPageNum()const;
void setPageNum(int pageNum);
long getOwnerID()const;
void setOwnerID(long ownerID);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getBillingDate()const;
void setBillingDate(const std::string& billingDate);
bool getIsGroupByProduct()const;
void setIsGroupByProduct(bool isGroupByProduct);
std::string getGranularity()const;
void setGranularity(const std::string& granularity);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string productCode_;
std::string billingCycle_;
int pageNum_;
long ownerID_;
long billOwnerId_;
std::string billingDate_;
bool isGroupByProduct_;
std::string granularity_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBILLREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBILLREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBILLREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountBillRequest : public RpcServiceRequest {
public:
QueryAccountBillRequest();
~QueryAccountBillRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
int getPageNum() const;
void setPageNum(int pageNum);
long getOwnerID() const;
void setOwnerID(long ownerID);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getBillingDate() const;
void setBillingDate(const std::string &billingDate);
bool getIsGroupByProduct() const;
void setIsGroupByProduct(bool isGroupByProduct);
std::string getGranularity() const;
void setGranularity(const std::string &granularity);
int getPageSize() const;
void setPageSize(int pageSize);
private:
std::string productCode_;
std::string billingCycle_;
int pageNum_;
long ownerID_;
long billOwnerId_;
std::string billingDate_;
bool isGroupByProduct_;
std::string granularity_;
int pageSize_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBILLREQUEST_H_

View File

@@ -36,8 +36,8 @@ namespace AlibabaCloud
{
struct Item
{
float deductedByCoupons;
std::string ownerName;
float deductedByCoupons;
std::string productName;
std::string productCode;
std::string billAccountID;
@@ -46,16 +46,18 @@ namespace AlibabaCloud
std::string bizType;
std::string billingDate;
float paymentAmount;
float deductedByPrepaidCard;
std::string pipCode;
float deductedByPrepaidCard;
float invoiceDiscount;
std::string subscriptionType;
float pretaxGrossAmount;
std::string ownerID;
float pretaxAmount;
std::string ownerID;
std::string currency;
std::string billAccountName;
std::string costUnit;
float adjustAmount;
float cashAmount;
};
std::string billingCycle;
int totalCount;

View File

@@ -1,72 +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_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONDETAILSREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONDETAILSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountTransactionDetailsRequest : public RpcServiceRequest
{
public:
QueryAccountTransactionDetailsRequest();
~QueryAccountTransactionDetailsRequest();
std::string getTransactionType()const;
void setTransactionType(const std::string& transactionType);
std::string getCreateTimeEnd()const;
void setCreateTimeEnd(const std::string& createTimeEnd);
std::string getRecordID()const;
void setRecordID(const std::string& recordID);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::string getTransactionChannel()const;
void setTransactionChannel(const std::string& transactionChannel);
std::string getTransactionChannelSN()const;
void setTransactionChannelSN(const std::string& transactionChannelSN);
std::string getCreateTimeStart()const;
void setCreateTimeStart(const std::string& createTimeStart);
std::string getTransactionNumber()const;
void setTransactionNumber(const std::string& transactionNumber);
private:
std::string transactionType_;
std::string createTimeEnd_;
std::string recordID_;
std::string nextToken_;
int maxResults_;
std::string transactionChannel_;
std::string transactionChannelSN_;
std::string createTimeStart_;
std::string transactionNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONDETAILSREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONDETAILSREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONDETAILSREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountTransactionDetailsRequest : public RpcServiceRequest {
public:
QueryAccountTransactionDetailsRequest();
~QueryAccountTransactionDetailsRequest();
std::string getTransactionType() const;
void setTransactionType(const std::string &transactionType);
std::string getCreateTimeEnd() const;
void setCreateTimeEnd(const std::string &createTimeEnd);
std::string getRecordID() const;
void setRecordID(const std::string &recordID);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
int getMaxResults() const;
void setMaxResults(int maxResults);
std::string getTransactionChannel() const;
void setTransactionChannel(const std::string &transactionChannel);
std::string getTransactionChannelSN() const;
void setTransactionChannelSN(const std::string &transactionChannelSN);
std::string getCreateTimeStart() const;
void setCreateTimeStart(const std::string &createTimeStart);
std::string getTransactionNumber() const;
void setTransactionNumber(const std::string &transactionNumber);
private:
std::string transactionType_;
std::string createTimeEnd_;
std::string recordID_;
std::string nextToken_;
int maxResults_;
std::string transactionChannel_;
std::string transactionChannelSN_;
std::string createTimeStart_;
std::string transactionNumber_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONDETAILSREQUEST_H_

View File

@@ -36,8 +36,8 @@ namespace AlibabaCloud
{
struct AccountTransactionsListItem
{
std::string transactionType;
std::string billingCycle;
std::string transactionType;
std::string transactionNumber;
std::string amount;
std::string transactionAccount;

View File

@@ -1,66 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONSREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountTransactionsRequest : public RpcServiceRequest
{
public:
QueryAccountTransactionsRequest();
~QueryAccountTransactionsRequest();
int getPageNum()const;
void setPageNum(int pageNum);
std::string getCreateTimeEnd()const;
void setCreateTimeEnd(const std::string& createTimeEnd);
std::string getRecordID()const;
void setRecordID(const std::string& recordID);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getTransactionChannelSN()const;
void setTransactionChannelSN(const std::string& transactionChannelSN);
std::string getCreateTimeStart()const;
void setCreateTimeStart(const std::string& createTimeStart);
std::string getTransactionNumber()const;
void setTransactionNumber(const std::string& transactionNumber);
private:
int pageNum_;
std::string createTimeEnd_;
std::string recordID_;
int pageSize_;
std::string transactionChannelSN_;
std::string createTimeStart_;
std::string transactionNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONSREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONSREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONSREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountTransactionsRequest : public RpcServiceRequest {
public:
QueryAccountTransactionsRequest();
~QueryAccountTransactionsRequest();
int getPageNum() const;
void setPageNum(int pageNum);
std::string getTransactionType() const;
void setTransactionType(const std::string &transactionType);
std::string getCreateTimeEnd() const;
void setCreateTimeEnd(const std::string &createTimeEnd);
std::string getRecordID() const;
void setRecordID(const std::string &recordID);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getTransactionChannel() const;
void setTransactionChannel(const std::string &transactionChannel);
std::string getTransactionChannelSN() const;
void setTransactionChannelSN(const std::string &transactionChannelSN);
std::string getCreateTimeStart() const;
void setCreateTimeStart(const std::string &createTimeStart);
std::string getTransactionNumber() const;
void setTransactionNumber(const std::string &transactionNumber);
std::string getTransactionFlow() const;
void setTransactionFlow(const std::string &transactionFlow);
private:
int pageNum_;
std::string transactionType_;
std::string createTimeEnd_;
std::string recordID_;
int pageSize_;
std::string transactionChannel_;
std::string transactionChannelSN_;
std::string createTimeStart_;
std::string transactionNumber_;
std::string transactionFlow_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONSREQUEST_H_

View File

@@ -36,8 +36,8 @@ namespace AlibabaCloud
{
struct AccountTransactionsListItem
{
std::string transactionType;
std::string billingCycle;
std::string transactionType;
std::string transactionNumber;
std::string amount;
std::string transactionAccount;

View File

@@ -1,84 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYAVAILABLEINSTANCESREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYAVAILABLEINSTANCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAvailableInstancesRequest : public RpcServiceRequest
{
public:
QueryAvailableInstancesRequest();
~QueryAvailableInstancesRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getProductType()const;
void setProductType(const std::string& productType);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getRenewStatus()const;
void setRenewStatus(const std::string& renewStatus);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getEndTimeStart()const;
void setEndTimeStart(const std::string& endTimeStart);
std::string getCreateTimeEnd()const;
void setCreateTimeEnd(const std::string& createTimeEnd);
std::string getInstanceIDs()const;
void setInstanceIDs(const std::string& instanceIDs);
std::string getEndTimeEnd()const;
void setEndTimeEnd(const std::string& endTimeEnd);
std::string getCreateTimeStart()const;
void setCreateTimeStart(const std::string& createTimeStart);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string productCode_;
std::string subscriptionType_;
int pageNum_;
std::string productType_;
int pageSize_;
std::string renewStatus_;
long ownerId_;
std::string endTimeStart_;
std::string createTimeEnd_;
std::string instanceIDs_;
std::string endTimeEnd_;
std::string createTimeStart_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYAVAILABLEINSTANCESREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYAVAILABLEINSTANCESREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYAVAILABLEINSTANCESREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAvailableInstancesRequest : public RpcServiceRequest {
public:
QueryAvailableInstancesRequest();
~QueryAvailableInstancesRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
int getPageNum() const;
void setPageNum(int pageNum);
std::string getProductType() const;
void setProductType(const std::string &productType);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getRenewStatus() const;
void setRenewStatus(const std::string &renewStatus);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getEndTimeStart() const;
void setEndTimeStart(const std::string &endTimeStart);
std::string getCreateTimeEnd() const;
void setCreateTimeEnd(const std::string &createTimeEnd);
std::string getInstanceIDs() const;
void setInstanceIDs(const std::string &instanceIDs);
std::string getEndTimeEnd() const;
void setEndTimeEnd(const std::string &endTimeEnd);
std::string getCreateTimeStart() const;
void setCreateTimeStart(const std::string &createTimeStart);
std::string getRegion() const;
void setRegion(const std::string &region);
private:
std::string productCode_;
std::string subscriptionType_;
int pageNum_;
std::string productType_;
int pageSize_;
std::string renewStatus_;
long ownerId_;
std::string endTimeStart_;
std::string createTimeEnd_;
std::string instanceIDs_;
std::string endTimeEnd_;
std::string createTimeStart_;
std::string region_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYAVAILABLEINSTANCESREQUEST_H_

View File

@@ -36,12 +36,12 @@ namespace AlibabaCloud
{
struct Instance
{
std::string expectedReleaseTime;
std::string status;
std::string expectedReleaseTime;
int renewalDuration;
std::string endTime;
std::string productCode;
std::string instanceID;
std::string productCode;
std::string createTime;
std::string productType;
std::string renewStatus;
@@ -49,8 +49,8 @@ namespace AlibabaCloud
long ownerId;
std::string releaseTime;
long sellerId;
std::string region;
std::string renewalDurationUnit;
std::string region;
std::string seller;
std::string subStatus;
std::string stopTime;

View File

@@ -1,60 +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_BSSOPENAPI_MODEL_QUERYBILLOVERVIEWREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLOVERVIEWREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryBillOverviewRequest : public RpcServiceRequest
{
public:
QueryBillOverviewRequest();
~QueryBillOverviewRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
std::string getBillingCycle()const;
void setBillingCycle(const std::string& billingCycle);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
private:
std::string productCode_;
std::string subscriptionType_;
std::string billingCycle_;
long billOwnerId_;
std::string productType_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLOVERVIEWREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLOVERVIEWREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLOVERVIEWREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryBillOverviewRequest : public RpcServiceRequest {
public:
QueryBillOverviewRequest();
~QueryBillOverviewRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getProductType() const;
void setProductType(const std::string &productType);
private:
std::string productCode_;
std::string subscriptionType_;
std::string billingCycle_;
long billOwnerId_;
std::string productType_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLOVERVIEWREQUEST_H_

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
float pretaxGrossAmount;
std::string currency;
std::string commodityCode;
float adjustAmount;
float deductedByCoupons;
std::string roundDownDiscount;
std::string productDetail;
@@ -61,6 +62,7 @@ namespace AlibabaCloud
float pretaxAmount;
std::string ownerID;
std::string billAccountName;
float cashAmount;
float pretaxAmountLocal;
};
std::string billingCycle;

View File

@@ -1,78 +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_BSSOPENAPI_MODEL_QUERYBILLREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryBillRequest : public RpcServiceRequest
{
public:
QueryBillRequest();
~QueryBillRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
bool getIsHideZeroCharge()const;
void setIsHideZeroCharge(bool isHideZeroCharge);
bool getIsDisplayLocalCurrency()const;
void setIsDisplayLocalCurrency(bool isDisplayLocalCurrency);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
std::string getBillingCycle()const;
void setBillingCycle(const std::string& billingCycle);
std::string getType()const;
void setType(const std::string& type);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getPageNum()const;
void setPageNum(int pageNum);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getProductType()const;
void setProductType(const std::string& productType);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string productCode_;
bool isHideZeroCharge_;
bool isDisplayLocalCurrency_;
std::string subscriptionType_;
std::string billingCycle_;
std::string type_;
long ownerId_;
int pageNum_;
long billOwnerId_;
std::string productType_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryBillRequest : public RpcServiceRequest {
public:
QueryBillRequest();
~QueryBillRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
bool getIsHideZeroCharge() const;
void setIsHideZeroCharge(bool isHideZeroCharge);
bool getIsDisplayLocalCurrency() const;
void setIsDisplayLocalCurrency(bool isDisplayLocalCurrency);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
std::string getType() const;
void setType(const std::string &type);
long getOwnerId() const;
void setOwnerId(long ownerId);
int getPageNum() const;
void setPageNum(int pageNum);
long getBillOwnerId() const;
void setBillOwnerId(long billOwnerId);
std::string getProductType() const;
void setProductType(const std::string &productType);
int getPageSize() const;
void setPageSize(int pageSize);
private:
std::string productCode_;
bool isHideZeroCharge_;
bool isDisplayLocalCurrency_;
std::string subscriptionType_;
std::string billingCycle_;
std::string type_;
long ownerId_;
int pageNum_;
long billOwnerId_;
std::string productType_;
int pageSize_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLREQUEST_H_

View File

@@ -53,6 +53,7 @@ namespace AlibabaCloud
std::string currency;
std::string commodityCode;
std::string usageStartTime;
float adjustAmount;
std::string status;
std::string paymentTransactionID;
float deductedByCoupons;
@@ -62,9 +63,10 @@ namespace AlibabaCloud
std::string productType;
float outstandingAmount;
std::string pipCode;
std::string ownerID;
float pretaxAmount;
std::string ownerID;
std::string recordID;
float cashAmount;
float pretaxAmountLocal;
};
std::string billingCycle;

View File

@@ -1,45 +1,39 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BSSOPENAPI_MODEL_QUERYBILLTOOSSSUBSCRIPTIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLTOOSSSUBSCRIPTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryBillToOSSSubscriptionRequest : public RpcServiceRequest
{
public:
QueryBillToOSSSubscriptionRequest();
~QueryBillToOSSSubscriptionRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLTOOSSSUBSCRIPTIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLTOOSSSUBSCRIPTIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLTOOSSSUBSCRIPTIONREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryBillToOSSSubscriptionRequest : public RpcServiceRequest {
public:
QueryBillToOSSSubscriptionRequest();
~QueryBillToOSSSubscriptionRequest();
private:
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLTOOSSSUBSCRIPTIONREQUEST_H_

View File

@@ -1,54 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCASHCOUPONSREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCASHCOUPONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryCashCouponsRequest : public RpcServiceRequest
{
public:
QueryCashCouponsRequest();
~QueryCashCouponsRequest();
std::string getExpiryTimeEnd()const;
void setExpiryTimeEnd(const std::string& expiryTimeEnd);
std::string getExpiryTimeStart()const;
void setExpiryTimeStart(const std::string& expiryTimeStart);
bool getEffectiveOrNot()const;
void setEffectiveOrNot(bool effectiveOrNot);
private:
std::string expiryTimeEnd_;
std::string expiryTimeStart_;
bool effectiveOrNot_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCASHCOUPONSREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCASHCOUPONSREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCASHCOUPONSREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryCashCouponsRequest : public RpcServiceRequest {
public:
QueryCashCouponsRequest();
~QueryCashCouponsRequest();
std::string getExpiryTimeEnd() const;
void setExpiryTimeEnd(const std::string &expiryTimeEnd);
std::string getExpiryTimeStart() const;
void setExpiryTimeStart(const std::string &expiryTimeStart);
bool getEffectiveOrNot() const;
void setEffectiveOrNot(bool effectiveOrNot);
private:
std::string expiryTimeEnd_;
std::string expiryTimeStart_;
bool effectiveOrNot_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCASHCOUPONSREQUEST_H_

View File

@@ -1,57 +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_BSSOPENAPI_MODEL_QUERYCOSTUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryCostUnitRequest : public RpcServiceRequest
{
public:
QueryCostUnitRequest();
~QueryCostUnitRequest();
long getParentUnitId()const;
void setParentUnitId(long parentUnitId);
int getPageNum()const;
void setPageNum(int pageNum);
int getPageSize()const;
void setPageSize(int pageSize);
long getOwnerUid()const;
void setOwnerUid(long ownerUid);
private:
long parentUnitId_;
int pageNum_;
int pageSize_;
long ownerUid_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITREQUEST_H_
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryCostUnitRequest : public RpcServiceRequest {
public:
QueryCostUnitRequest();
~QueryCostUnitRequest();
long getParentUnitId() const;
void setParentUnitId(long parentUnitId);
int getPageNum() const;
void setPageNum(int pageNum);
int getPageSize() const;
void setPageSize(int pageSize);
long getOwnerUid() const;
void setOwnerUid(long ownerUid);
private:
long parentUnitId_;
int pageNum_;
int pageSize_;
long ownerUid_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITREQUEST_H_

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