Compare commits

..

402 Commits

Author SHA1 Message Date
sdk-team
5400fc5e09 Supported API GetTxtRecordForVerify. 2019-11-28 16:26:20 +08:00
sdk-team
059ea89535 Supported dash for compress. 2019-11-28 15:17:44 +08:00
sdk-team
55ccde8b7c Eni Supports Multi-SecurityGroup. 2019-11-28 10:22:33 +08:00
sdk-team
a25fc9202a CreateReplicationJob API supports the specified instance type. 2019-11-27 18:05:30 +08:00
sdk-team
d499a02ffc Modify QueryBill, add SubOrderId in item of response. 2019-11-26 15:45:37 +08:00
sdk-team
d1a9328f7e Supported API BindInstanceDomains. 2019-11-26 15:23:11 +08:00
sdk-team
54d2d73410 Generated 2019-10-30 for aliyuncvc. 2019-11-25 10:59:11 +08:00
sdk-team
80e1de8211 One or more people can be subscribed when creating tasks. 2019-11-25 10:23:20 +08:00
page
08230d3328 Merge pull request #80 from aliyun/re-generate-ivision-sdk
re-generate ivision sdk
2019-11-21 15:59:08 +08:00
wb-hx510875
517de0ab21 re-generate ivision sdk 2019-11-21 15:54:33 +08:00
sdk-team
c1cb2b567a Add ConvertPayType. 2019-11-21 15:32:21 +08:00
sdk-team
76073f9272 Generated 2017-10-11 for Chatbot. 2019-11-21 12:43:40 +08:00
sdk-team
fd462547f3 Generated 2017-10-11 for Chatbot. 2019-11-21 11:27:03 +08:00
sdk-team
5c65a87e3a Generated 2019-10-30 for aliyuncvc. 2019-11-21 10:40:11 +08:00
sdk-team
acd143c294 Update Nlp Automl SDK. 2019-11-20 22:03:43 +08:00
sdk-team
ec00b5d969 Add new OpenAPI. 2019-11-20 20:36:20 +08:00
sdk-team
18e5c75e02 Add new pop api. 2019-11-20 19:55:20 +08:00
sdk-team
0db2a87588 Generated 2014-05-26 for Ecs. 2019-11-20 19:32:48 +08:00
sdk-team
973d0d3250 Generated 2018-04-12 for EHPC. 2019-11-20 19:32:05 +08:00
sdk-team
8936a9504e Supported ecsDemand CreateDemand, ModifyDemand, DeleteDemand API. 2019-11-20 19:27:27 +08:00
sdk-team
22a5112af0 Generated 2019-01-01 for HBase. 2019-11-20 17:24:05 +08:00
sdk-team
99ae87ba10 Add API ReportVoipProblems. 2019-11-20 10:45:49 +08:00
sdk-team
b0c5f8414d Nlp Automl SDK. 2019-11-15 22:31:16 +08:00
sdk-team
b3e689b905 Sync cdn APIs. 2019-11-15 15:11:23 +08:00
sdk-team
2e832b9098 Fixed bugs. 2019-11-15 14:36:38 +08:00
sdk-team
9cc8d6643d Add Scdn APIS. 2019-11-15 14:16:55 +08:00
sdk-team
47fda11426 Modify QueryAccountBill, support group by product. 2019-11-15 09:47:44 +08:00
sdk-team
85c4ce8295 Modify DescribeRestoreRangeInfo. 2019-11-15 02:11:29 +08:00
sdk-team
7a898c20fc Add DescribeRestoreRangeInfo. 2019-11-15 01:34:57 +08:00
sdk-team
dae639ec05 Released dysms OpenAPI. 2019-11-14 22:43:29 +08:00
sdk-team
4819dbb983 Support Tag OpenAPI. 2019-11-14 15:22:17 +08:00
sdk-team
7e643e8a5d Initial construction. 2019-11-14 10:36:18 +08:00
sdk-team
5d643e91c9 Supported Stream analyse. 2019-11-13 20:41:28 +08:00
sdk-team
27cd07c728 Fix ResourceId type from Long to String on QueryCostUnitResource. 2019-11-13 18:06:04 +08:00
sdk-team
a9de1411e4 Fix ResourceId type from Long to String on QueryCostUnitResource. 2019-11-13 16:38:49 +08:00
sdk-team
022c13a360 Add new API QueryBillToOSSSubscription. 2019-11-13 16:03:30 +08:00
sdk-team
ceba891a32 Supported API UpdateDomainRemark for Update Domain Remark. 2019-11-13 15:50:54 +08:00
sdk-team
f59d8a8426 Support Go SDK. 2019-11-13 10:16:03 +08:00
sdk-team
33986d6ed1 Add DescribeJobErrorCode. 2019-11-08 15:05:57 +08:00
sdk-team
cb3390b9f5 Add OperateBlackNo. 2019-11-05 19:16:27 +08:00
sdk-team
686a7259ce Generated 2017-05-25 for Dyvmsapi. 2019-11-02 21:38:36 +08:00
sdk-team
273bf64803 Initial construction. 2019-10-31 19:19:33 +08:00
sdk-team
a1a8ca58a8 Initial construction. 2019-10-31 19:18:30 +08:00
sdk-team
0d843e2d71 Add a new Alibaba Cloud Bill API named QueryAccountBill. 2019-10-29 14:57:42 +08:00
wb-hx510875
58ae8a9ac1 upgrade makeRequest 2019-10-25 18:06:06 +08:00
sdk-team
c175a0587d Initial construction. 2019-10-25 16:33:45 +08:00
sdk-team
c5ef4b1c88 Supported query push records. 2019-10-25 15:35:50 +08:00
宋神宗
5a9569e804 Merge pull request #75 from aliyun/fixed/issue_74
fixed issue #74
2019-10-25 13:44:10 +08:00
wb-hx510875
f0779e31fe fixed ft 2019-10-25 13:14:41 +08:00
wb-hx510875
0831be3ba4 fixed issue #74 2019-10-25 12:53:20 +08:00
sdk-team
0c750a10f5 Add DescribeDBClusterPerformance, DescribeDBNodePerformance for performance. 2019-10-25 10:36:53 +08:00
sdk-team
2f32d7f5fd Generated 2017-12-14 for BssOpenApi. 2019-10-24 17:44:15 +08:00
sdk-team
2cf121437d Add a new api named SubmitDynamicImageJob capture a certain part of the video as a dynamic image. 2019-10-23 14:26:23 +08:00
sdk-team
dd14b71d04 Add a new api named SubmitDynamicImageJob capture a certain part of the video as a dynamic image. 2019-10-23 14:21:21 +08:00
sdk-team
85d11c3bba Add a new api named SubmitDynamicImageJob capture a certain part of the video as a dynamic image. 2019-10-23 12:52:03 +08:00
sdk-team
bba9532ea7 RunInstances support AutoSnapshotPolicyId. 2019-10-22 16:51:54 +08:00
sdk-team
c9f3f1182e Supported ExternalId IMM. 2019-10-22 10:07:21 +08:00
sdk-team
63f8b47b8d Release first version. 2019-10-21 11:23:43 +08:00
sdk-team
e3c9867b49 Generated 2019-09-10 for DnsKnocker. 2019-10-18 18:48:15 +08:00
宋神宗
cef7d9d526 Merge pull request #73 from aliyun/fixed/issue_70
fixed #70
2019-10-17 15:14:36 +08:00
wb-hx510875
501fec720e fixed #70 2019-10-17 12:57:23 +08:00
sdk-team
031a93374f Add ListTagResources OpenApi. 2019-10-16 12:33:43 +08:00
sdk-team
8fe6dfd981 Support continuous pushing. 2019-10-14 14:05:26 +08:00
sdk-team
0dc8a66e75 Add VideoCancelScan Api. 2019-10-09 17:27:41 +08:00
sdk-team
dcd246f4ed Support API RecognizeImageColor. 2019-10-09 14:20:15 +08:00
sdk-team
82ba7e55bb Supported Grab Frame IMM. 2019-10-08 16:50:20 +08:00
sdk-team
009add7f30 Supported API MassPush for Push Message or Notice. 2019-10-08 16:31:12 +08:00
sdk-team
032fbad258 Generated 2016-01-20 for Kms. 2019-10-08 11:28:14 +08:00
sdk-team
e5ca2d25d5 Supported RingConfig for BindAxb,BindAxn,BindAxg,BindAxnExtension. 2019-09-26 10:55:03 +08:00
sdk-team
0a74578464 Add param, DescribePrice supprot ReservedInstance. 2019-09-23 11:41:41 +08:00
sdk-team
a744629799 Supported Video Abstract for IMM. 2019-09-19 16:10:49 +08:00
sdk-team
fea7e3c707 Generated 2018-01-20 for Iot. 2019-09-19 13:42:58 +08:00
宋神宗
6e22443d07 Merge pull request #69 from aliyun/fixed/result_struct_sub_array_item_name
Fixed issue #51
2019-09-19 11:42:36 +08:00
wb-hx510875
ba463ae2dc fixed #51 2019-09-19 11:14:07 +08:00
sdk-team
2f6036b803 Supported Video Abstract for IMM. 2019-09-19 10:29:32 +08:00
sdk-team
9eb37c0d7a Add bizSubCode and so on. 2019-09-19 09:44:21 +08:00
sdk-team
9349d95473 Supported Video Abstract for IMM. 2019-09-18 19:39:31 +08:00
宋神宗
586bad6468 Merge pull request #68 from aliyun/rebuild
Generate SDK by new Generator
2019-09-18 12:08:18 +08:00
wb-hx510875
83be2456fc fixed 2019-09-18 11:44:22 +08:00
wb-hx510875
f3eaf1d292 Generate SDK by new Generator 2019-09-18 11:18:56 +08:00
sdk-team
be86048a76 Generated 2018-04-12 for EHPC. 2019-09-17 16:23:25 +08:00
sdk-team
377f28812e Generated 2018-04-12 for EHPC. 2019-09-16 11:23:11 +08:00
sdk-team
b655d570b7 Generated 2018-04-12 for EHPC. 2019-09-16 10:46:38 +08:00
sdk-team
6a6423a1ac Generated 2016-11-11 for aegis. 2019-09-16 02:57:02 +08:00
sdk-team
441afe4150 Generated 2018-04-12 for EHPC. 2019-09-15 11:02:43 +08:00
sdk-team
504b56bd22 Generated 2019-08-08 for ARMS. 2019-09-14 20:29:22 +08:00
sdk-team
175945ea81 Fixed CMakeLists file. 2019-09-12 15:52:54 +08:00
sdk-team
6e222e7102 Fixed CMakeLists file. 2019-09-12 15:52:26 +08:00
sdk-team
a489a9d52e Fixed CMakeLists file. 2019-09-12 15:46:27 +08:00
sdk-team
2fde71e2cc Fixed CMakeLists file. 2019-09-12 15:46:06 +08:00
sdk-team
e088aa3aa0 Fixed CMakeLists file. 2019-09-12 15:45:45 +08:00
sdk-team
2a1802385d Fixed CMakeLists file. 2019-09-12 15:43:08 +08:00
sdk-team
d9475ed9f2 Fixed CMakeLists file. 2019-09-12 15:42:40 +08:00
sdk-team
788f4ca3f4 Fixed CMakeLists file. 2019-09-12 15:42:12 +08:00
sdk-team
964eb558d3 Fixed CMakeLists file. 2019-09-12 15:41:57 +08:00
sdk-team
c0a942a2b0 Fixed CMakeLists file. 2019-09-12 15:41:41 +08:00
sdk-team
457f479d27 Fixed CMakeLists file. 2019-09-12 15:41:22 +08:00
sdk-team
04a4ca109f Fixed CMakeLists file. 2019-09-12 15:41:05 +08:00
sdk-team
c50eec40c2 Fixed CMakeLists file. 2019-09-12 15:39:52 +08:00
sdk-team
6f9991c09c Fixed CMakeLists file. 2019-09-12 15:38:46 +08:00
sdk-team
98ee2fb7f9 CreateInstance add toen. 2019-09-09 10:21:45 +08:00
sdk-team
b24f4a88d4 Update endpoint data. 2019-09-06 13:19:52 +08:00
sdk-team
5817ec77ab Generated 2016-04-28 for Vpc. 2019-09-06 10:46:10 +08:00
sdk-team
44bbd797e7 Supported for setEndpoint method. 2019-09-05 16:44:55 +08:00
sdk-team
04cde44618 Generated 2014-05-15 for Slb. 2019-09-05 14:18:00 +08:00
sdk-team
69e482b761 Generated 2017-07-05 for CCC. 2019-09-05 14:16:42 +08:00
sdk-team
eee0e638e8 Generated 2018-11-11 for foas. 2019-09-05 14:14:33 +08:00
sdk-team
bc3bb187a2 Generated 2019-05-24 for cusanalytic_sc_online. 2019-09-05 14:01:54 +08:00
sdk-team
1b553992aa Generated 2015-11-01 for Market. 2019-09-05 14:00:42 +08:00
sdk-team
8b48258e4e Generated 2016-07-14 for CloudAPI. 2019-09-05 13:57:50 +08:00
sdk-team
8f03f1dba5 Generated 2017-08-01 for polardb. 2019-09-05 13:50:24 +08:00
sdk-team
1deafa95da Generated 2017-12-14 for BssOpenApi. 2019-09-05 13:46:16 +08:00
sdk-team
6c7e427683 Generated 2014-08-15 for Rds. 2019-09-03 18:28:46 +08:00
sdk-team
ea79682ddf Revert to 2015-09-01. 2019-08-30 15:07:15 +08:00
sdk-team
695aa4ad06 Release Apis of Version 2019-09-10. 2019-08-30 14:14:51 +08:00
sdk-team
586250dbe5 Supported Meida complex for IMM. 2019-08-30 12:46:32 +08:00
sdk-team
51b76b4599 Add api for getTrace and searchTracelist. 2019-08-30 11:03:04 +08:00
sdk-team
ff63a49df8 Move StopExecution params to body. 2019-08-29 14:26:47 +08:00
sdk-team
51589f4643 For publish. 2019-08-29 11:20:44 +08:00
sdk-team
955ec5dc2d Add DBS API UpgradeBackupPlan. 2019-08-28 18:12:30 +08:00
sdk-team
fcfbd8becc QueryInstanceBillResponse change ownerId type from Long to String. 2019-08-26 17:10:48 +08:00
sdk-team
ed89d6f242 Support API RecognizeImageColor. 2019-08-22 15:33:35 +08:00
sdk-team
e498e9b8b4 Api release 2019-08-08 public sdk 2-5-2 sdk release 20190822 shichun-fsc. 2019-08-22 11:11:40 +08:00
sdk-team
6876310a85 Move StartExecution params to body. 2019-08-21 20:11:35 +08:00
sdk-team
48eb3c101f Return backup job id when create backup. 2019-08-21 17:00:13 +08:00
sdk-team
92ca679477 API TaobaoFilmGetSchedules retrun col add hallId. 2019-08-20 15:43:44 +08:00
sdk-team
2244282621 FnF public version. 2019-08-15 14:42:06 +08:00
sdk-team
8be7bd42dc Add API BatchStartCdnDomain, BatchStopCdnDomain, DescribeTagResources, DescribeUserTags, TagResources, UntagResources. 2019-08-15 14:01:08 +08:00
sdk-team
2dcbea3a7f QueryInstanceBillResponse add ServicePeriod. 2019-08-15 10:49:30 +08:00
宋神宗
a00b4c14e4 Merge pull request #62 from aliyun/fix_jsoncpp_version_old
fix read json by jsoncpp
2019-08-15 10:10:04 +08:00
wb-hx510875
090c615625 fix read json by jsoncpp 2019-08-15 10:05:03 +08:00
wb-hx510875
b8ab18d3e1 fix endpointProvider read json 2019-08-14 18:25:42 +08:00
Axios
c43307bc80 Rebuild sdk (#60)
* rebuild sdk

* fixed ut include Utils.h
2019-08-14 14:34:09 +08:00
宋神宗
f3d9843e63 Merge pull request #59 from aliyun/cancel_ft
cancel ft
2019-08-14 11:36:30 +08:00
wb-hx510875
4002936e36 cancel ft 2019-08-14 11:34:09 +08:00
宋神宗
ec82496f23 Merge pull request #58 from aliyun/fix_travis_ci_config
fix travis ci config
2019-08-14 11:30:56 +08:00
wb-hx510875
4262cf11c8 fix travis ci config 2019-08-14 11:28:34 +08:00
宋神宗
c144a383a7 Merge pull request #57 from aliyun/supported_json_param
upgrade sdk core
2019-08-14 11:26:43 +08:00
wb-hx510875
08faebee0d upgrade sdk core:
supported json param;
change the way of include Utils.h;
2019-08-14 11:13:26 +08:00
sdk-team
090cb08688 Generated 2018-01-20 for Iot. 2019-08-14 10:53:31 +08:00
sdk-team
600883d23a Optimize return code. 2019-08-13 22:13:11 +08:00
sdk-team
919e9477c5 Supported for openapi new version. 2019-08-13 14:50:03 +08:00
sdk-team
4316f41346 Support Defect Face API. 2019-08-12 11:14:38 +08:00
sdk-team
29401f9711 Add CreateStorageSet api to support storageSet. 2019-08-08 16:13:07 +08:00
sdk-team
1f20945851 Group, Plugin support tag authentication. 2019-08-08 11:58:23 +08:00
sdk-team
14b6a27113 Supported GetMediaMeta for IMM. 2019-08-06 19:59:16 +08:00
sdk-team
609490f13d Supported GetMediaMeta for IMM. 2019-08-06 19:58:03 +08:00
sdk-team
7b50e51b83 Supported GetMediaMeta for IMM. 2019-08-06 19:56:13 +08:00
sdk-team
389cd20a93 Supported GetMediaMeta for IMM. 2019-08-06 19:42:38 +08:00
sdk-team
76644841af Supported GetMediaMeta for IMM. 2019-08-06 19:37:03 +08:00
sdk-team
8d4de3d11c GetOrderDetail add originalConfig param. 2019-08-05 17:42:58 +08:00
sdk-team
298e53fbf1 GetOrderDetail add originalConfig param. 2019-08-05 17:22:30 +08:00
sdk-team
84ecf03540 Modify DBS API DescribeFullBackupList. 2019-08-05 12:22:25 +08:00
sdk-team
da0d2aaa74 SubscribeBillToOSSRequest add multAccountRelSubscribe, bucketOwnerId. 2019-08-02 14:09:51 +08:00
sdk-team
c7d371409b Endpoint auto route. 2019-07-31 21:17:44 +08:00
sdk-team
a4f0e7ce39 Generated 2019-05-24 for cusanalytic_sc_online. 2019-07-26 19:56:42 +08:00
sdk-team
43fc3bf567 Generated 2019-05-24 for cusanalytic_sc_online. 2019-07-26 19:54:22 +08:00
sdk-team
3e04864236 App-related actions support tag authentication. 2019-07-25 13:57:09 +08:00
sdk-team
7237daffa7 Supported CreationOption of CreateDBCluster with CloneFromPolarDB ,CloneFromRDS,MigrationFromRDS. 2019-07-23 15:53:51 +08:00
sdk-team
aab08f0a43 QueryMonthlyBillResponse add roundDownDiscount. 2019-07-19 17:51:25 +08:00
sdk-team
af8563e7c6 Add a new field named Input to SubmitAIJob api request to set the input file of AI job. 2019-07-18 15:26:41 +08:00
sdk-team
6d801b67b6 Modify DBS API DescribeBackupPlanList. 2019-07-14 23:46:19 +08:00
sdk-team
891ece6182 Modify DBS API DescribeBackupPlanList. 2019-07-14 23:41:00 +08:00
sdk-team
82a3e5c595 Public api AddLivePullStreamInfoConfig. 2019-07-12 12:13:44 +08:00
sdk-team
79d7afefd8 Modify CreateBackupPlan. 2019-07-11 15:36:56 +08:00
sdk-team
d9d4b6f085 Supported library managment for simillarity scene. 2019-07-05 16:41:38 +08:00
sdk-team
c6f3fb19b6 Add TaskCancelStatus for QueryTaskList api. 2019-07-05 14:16:16 +08:00
sdk-team
b69e3ecb0d Supported API DescribeRecordStatisticsy for Query Volume. 2019-07-04 14:08:27 +08:00
sdk-team
c8e94ac56e Supported API DescribeRecordStatisticsSummary for Query Volume. 2019-07-03 13:57:46 +08:00
sdk-team
6825dae756 FnF public version. 2019-07-02 13:54:20 +08:00
sdk-team
3453c560b2 Fix Double to double. 2019-07-02 11:42:57 +08:00
sdk-team
c6effd8aaa Support cloud_essd disk category for API CreateDisk, CreateInstance and RunInstances, and support configurating PerformanceLevel when choose cloud_essd. 2019-07-01 14:54:13 +08:00
sdk-team
015b2ed1d2 Added setting of crop_mode parameter. 2019-06-27 18:09:12 +08:00
sdk-team
e7043d157a Add some new apis to manage VoD domain, such as AddVodDomain, UpdateVodDomain, DeleteVodDomain, BatchStartVodDomain, BatchStopVodDomain, DescribeVodUserDomains, DescribeVodDomainDetail. 2019-06-24 11:53:40 +08:00
sdk-team
cec12f8e0e Add some new apis to manage VoD domain, such as AddVodDomain, UpdateVodDomain, DeleteVodDomain, BatchStartVodDomain, BatchStopVodDomain, DescribeVodUserDomains, DescribeVodDomainDetail. 2019-06-24 11:30:52 +08:00
sdk-team
a587859196 1. Supported the related recommend. 2019-06-18 12:24:25 +08:00
sdk-team
ff57895e48 companyreg release 2019-06-17 14:41:40 +08:00
sdk-team
8cdf451859 1, fixed DescribeAvailableResource OpenApi AvailableZones value problem. 2019-06-13 20:03:16 +08:00
sdk-team
5996d35d87 Generated 2015-01-01 for R-kvstore 2019-06-13 19:59:59 +08:00
sdk-team
e7cdb2e8d1 Add Network Assistant openapi sdk 2019-06-13 14:07:38 +08:00
sdk-team
f66472a0a1 1, Add RenewBackupPlan DBS interface. 2019-06-12 18:30:02 +08:00
sdk-team
c69537b970 1.Fix bug 2019-06-12 15:47:46 +08:00
sdk-team
4b7328cd62 1, Add InvokeDataAPIService interface, support invoke service of data api to get sql query result. 2019-06-12 13:48:09 +08:00
sdk-team
3369d7ef9d SDDP SDK Auto Released By pingzhun,Version:1.36.43
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-06-05 13:21:33 +08:00
sdk-team
67e0beb4b2 LIVE SDK Auto Released By wb-czb515173,Version:1.36.42
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-06-04 18:35:43 +08:00
sdk-team
9accac447f SMARTAG SDK Auto Released By jijun.jj,Version:1.36.41
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-06-03 20:08:06 +08:00
sdk-team
cab1294e1a ARMS SDK Auto Released By shichun.fsc,Version:1.36.40
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-31 14:38:45 +08:00
sdk-team
f3144309f2 CLOUDAUTH SDK Auto Released By gongpei.gp,Version:1.36.39
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-31 10:51:42 +08:00
sdk-team
74dce9533b update Smartag 2019-05-29 16:54:38 +08:00
sdk-team
e4f9772459 update product 2019-05-29 15:22:25 +08:00
sdk-team
d5eca473f1 RDS SDK Auto Released By tangtai,Version:1.36.36
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-29 15:06:33 +08:00
sdk-team
67bc9aa0c6 RDS SDK Auto Released By tangtai,Version:1.36.35
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-28 11:57:53 +08:00
sdk-team
769d0b4573 IMM SDK Auto Released By zhengrui.lj,Version:1.36.34
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-27 22:16:31 +08:00
sdk-team
b149df91f7 SDDP SDK Auto Released By zuochao,Version:1.36.33
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-27 14:55:29 +08:00
sdk-team
de0a72b9c7 ECS SDK Auto Released By shaoyi.qusy,Version:1.36.32
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-22 16:13:42 +08:00
sdk-team
ddd7183cb1 TRADEMARK SDK Auto Released By jim.xj,Version:1.36.31
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-20 13:42:23 +08:00
sdk-team
164b701c97 YUNDUN-DS SDK Auto Released By pingzhun,Version:1.36.30
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-20 11:28:58 +08:00
sdk-team
f032a433f2 VOD SDK Auto Released By guzhaoyuan,Version:1.36.29
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-16 15:47:21 +08:00
sdk-team
150db4c6af ECS SDK Auto Released By corey.ql,Version:1.36.28
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-15 15:57:03 +08:00
sdk-team
d2fe63b527 IMM SDK Auto Released By zhengrui.lj,Version:1.36.27
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-14 17:19:53 +08:00
sdk-team
45b9477b0e IMM SDK Auto Released By zhengrui.lj,Version:1.36.26
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-14 15:31:32 +08:00
sdk-team
ebcf5e990d IMM SDK Auto Released By zhengrui.lj,Version:1.36.25
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-14 14:50:52 +08:00
sdk-team
e1febab02f IMM SDK Auto Released By zhengrui.lj,Version:1.36.24
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-14 14:34:52 +08:00
sdk-team
eb42c015e7 ECS SDK Auto Released By ansen.as,Version:1.36.23
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-13 16:34:52 +08:00
haowei.yao
a95ff9b425 RDS SDK Auto Released By junjun.zhang,Version:1.36.22
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-26 10:01:05 +08:00
haowei.yao
b3c7c65989 EHPC SDK Auto Released By qianzheng.llc,Version:1.36.21
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-23 16:55:43 +08:00
haowei.yao
a4e469e042 BSSOPENAPI SDK Auto Released By xiaocun.zxc,Version:1.36.20
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-22 17:23:28 +08:00
haowei.yao
c4e4d725b9 DDS SDK Auto Released By junjun.zhang,Version:1.36.19
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-18 18:18:18 +08:00
haowei.yao
dcbaed3217 R-KVSTORE SDK Auto Released By junjun.zhang,Version:1.36.18
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-18 17:25:13 +08:00
haowei.yao
34fabe824b ECS SDK Auto Released By shaoyi.qusy,Version:1.36.17
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-18 12:08:27 +08:00
haowei.yao
2ee90f14b2 DBS SDK Auto Released By wanxin,Version:1.36.16
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-17 00:30:27 +08:00
haowei.yao
464ff6cf22 R-KVSTORE SDK Auto Released By yuxuan,Version:1.36.15
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-16 20:45:38 +08:00
haowei.yao
33495451a4 SAS SDK Auto Released By lai.zhoulai,Version:1.36.14
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-16 19:43:04 +08:00
haowei.yao
d7d4173ecf R-KVSTORE SDK Auto Released By yuxuan,Version:1.36.13
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-16 18:03:20 +08:00
haowei.yao
d1c1c6ec8f RDS SDK Auto Released By tangtai,Version:1.36.12
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-16 17:02:59 +08:00
haowei.yao
04cd172d50 IMM SDK Auto Released By zhengrui.lj,Version:1.36.11
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-16 16:37:00 +08:00
haowei.yao
6597ce59e5 IMM SDK Auto Released By zhengrui.lj,Version:1.36.10
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-16 16:03:36 +08:00
haowei.yao
7abb8ce3d7 IMM SDK Auto Released By zhengrui.lj,Version:1.36.9
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-16 15:32:51 +08:00
haowei.yao
66e3e2f5c1 IMM SDK Auto Released By zhengrui.lj,Version:1.36.8
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-16 14:39:53 +08:00
haowei.yao
bcea2432e3 DBS SDK Auto Released By wanxin,Version:1.36.7
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-15 19:09:31 +08:00
haowei.yao
328288acb1 ECS SDK Auto Released By zhiye,Version:1.36.6
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-15 18:07:26 +08:00
haowei.yao
643a939c6d AEGIS SDK Auto Released By lai.zhoulai,Version:1.36.5
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-15 14:17:29 +08:00
haowei.yao
a99e207d8f IMM SDK Auto Released By zhengrui.lj,Version:1.36.4
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-15 13:16:50 +08:00
haowei.yao
34aa394fbb IVISION SDK Auto Released By wb-czb515173,Version:1.36.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-11 18:15:58 +08:00
haowei.yao
e0ba4b2b8f VOD SDK Auto Released By guzhaoyuan,Version:1.36.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-11 18:03:35 +08:00
haowei.yao
fa74cc1f43 DBS SDK Auto Released By wanxin,Version:1.36.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-10 23:30:48 +08:00
haowei.yao
eafc1d87f5 EHPC SDK Auto Released By qianzheng.llc,Version:1.36.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-10 11:21:39 +08:00
haowei.yao
a4b515be6c ECS SDK Auto Released By ansen.as,Version:1.35.9
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-09 17:30:45 +08:00
haowei.yao
6ca39abbdc CLOUDAUTH SDK Auto Released By gongpei.gp,Version:1.35.8
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-09 16:20:28 +08:00
haowei.yao
e2d0c496e9 DBS SDK Auto Released By wanxin,Version:1.35.7
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-08 20:31:42 +08:00
haowei.yao
861713f586 DBS SDK Auto Released By wanxin,Version:1.35.6
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-08 17:05:17 +08:00
zhangzifa
d1cf7d3344 ess not supported currently 2019-04-04 17:20:02 +08:00
haowei.yao
b43fffae26 ESS SDK Auto Released By wujin.lhr,Version:1.35.5
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-04 10:36:37 +08:00
haowei.yao
6010788ba3 SAS SDK Auto Released By lai.zhoulai,Version:1.35.4
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-04-03 15:32:54 +08:00
zhangzifa
fc0d3e912a remove unsupported product finmall 2019-04-02 14:20:54 +08:00
顾咏
2e42d8fa7f update readme 2019-04-01 18:29:33 +08:00
zhangzifa
fe958d3794 refactor readme 2019-04-01 15:11:25 +08:00
haowei.yao
96bab78790 ONS SDK Auto Released By wenting.ywt,Version:1.35.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-29 10:02:01 +08:00
haowei.yao
55ec616f75 BSSOPENAPI SDK Auto Released By zhangzifa,Version:1.35.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-28 16:25:21 +08:00
haowei.yao
436b88a23f ECS SDK Auto Released By hongchen,Version:1.35.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-28 14:35:48 +08:00
haowei.yao
1befab93b1 IMM SDK Auto Released By zhengrui.lj,Version:1.35.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-28 11:20:44 +08:00
zhangzifa
97716c02e9 adapt product parameter with name parameter 2019-03-27 17:46:05 +08:00
haowei.yao
c522fc5468 IVISION SDK Auto Released By hanxu,Version:1.34.66
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-27 17:21:47 +08:00
haowei.yao
f1948842ea IVISION SDK Auto Released By wb-czb515173,Version:1.34.65
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-27 14:06:57 +08:00
haowei.yao
208c428cfc ONS SDK Auto Released By wenting.ywt,Version:1.34.64
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-27 11:35:33 +08:00
haowei.yao
21d175fb29 ONS SDK Auto Released By wenting.ywt,Version:1.34.63
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-27 11:19:13 +08:00
haowei.yao
25bddc9e7a DYSMSAPI SDK Auto Released By zhangzifa,Version:1.34.62
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-27 10:37:13 +08:00
haowei.yao
5d1aad0c37 CMS SDK Auto Released By zhangzifa,Version:1.34.61
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-25 15:31:26 +08:00
haowei.yao
28c7a67d80 MTS SDK Auto Released By zhangzifa,Version:1.34.60
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-25 15:26:47 +08:00
haowei.yao
b4c6fc0aeb JARVIS-PUBLIC SDK Auto Released By zhangzifa,Version:1.34.59
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-25 15:18:21 +08:00
haowei.yao
ea81585f2e SAS-API SDK Auto Released By zhangzifa,Version:1.34.58
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-25 15:13:36 +08:00
haowei.yao
c98efebbad KMS SDK Auto Released By shenshi,Version:1.34.57
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-21 17:12:57 +08:00
haowei.yao
50463a22aa CRM SDK Auto Released By shenshi,Version:1.34.56
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-21 11:49:09 +08:00
haowei.yao
00a377f110 CMS SDK Auto Released By shenshi,Version:1.34.55
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-20 17:40:22 +08:00
zhangzifa
815b6202ed remove cpp sdk not supported products 2019-03-20 15:07:38 +08:00
haowei.yao
2561eb446f HTTPDNS SDK Auto Released By shenshi,Version:1.34.54
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-20 13:43:00 +08:00
haowei.yao
4165dc1e2c CLOUDWF SDK Auto Released By zhangzifa,Version:1.34.53
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-20 11:35:06 +08:00
haowei.yao
7c93bd13dc ALIDNS SDK Auto Released By shenshi,Version:1.34.52
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-20 11:17:20 +08:00
haowei.yao
9b1ab3027a CDN SDK Auto Released By wb-czb515173,Version:1.34.51
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 18:50:41 +08:00
haowei.yao
8f3285e140 XSPACE SDK Auto Released By yanjiang.yy,Version:1.34.50
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 16:27:51 +08:00
haowei.yao
947fa7238f XSPACE SDK Auto Released By yanjiang.yy,Version:1.34.49
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 16:14:52 +08:00
haowei.yao
fd2e75bb77 BSSOPENAPI SDK Auto Released By simon.lb,Version:1.34.48
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 15:48:18 +08:00
haowei.yao
3e476f2647 CS SDK Auto Released By shenshi,Version:1.34.47
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 10:48:53 +08:00
haowei.yao
87b0903e59 CLOUDWF SDK Auto Released By shenshi,Version:1.34.46
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 10:38:38 +08:00
haowei.yao
63a13d7b24 BSSOPENAPI SDK Auto Released By xiaocun.zxc,Version:1.34.45
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 10:16:29 +08:00
haowei.yao
c63bc0bcc9 RDS SDK Auto Released By zhangzifa,Version:1.34.44
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 18:44:58 +08:00
haowei.yao
797aedc7fe ECS SDK Auto Released By zhangzifa,Version:1.34.43
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 18:33:12 +08:00
haowei.yao
e7c17519db CAS SDK Auto Released By lihai.zhang,Version:1.34.42
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 16:01:55 +08:00
haowei.yao
549e90ee7c IMAGESEARCH SDK Auto Released By shenshi,Version:1.34.41
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 15:40:31 +08:00
haowei.yao
d51acd44d7 XSPACE SDK Auto Released By yanjiang.yy,Version:1.34.40
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 14:49:27 +08:00
haowei.yao
da8c6b2c70 ARMS4FINANCE SDK Auto Released By shenshi,Version:1.34.39
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 14:13:09 +08:00
haowei.yao
feae502d3a OTS SDK Auto Released By shenshi,Version:1.34.38
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 11:44:19 +08:00
haowei.yao
6d54401df2 CCS SDK Auto Released By shenshi,Version:1.34.37
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 11:35:09 +08:00
haowei.yao
38e88e6678 AFS SDK Auto Released By shenshi,Version:1.34.36
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 10:26:25 +08:00
haowei.yao
eea054f3c4 YUNDUN SDK Auto Released By shenshi,Version:1.34.35
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 18:02:59 +08:00
zhangzifa
619a7827de timeout support when create client or make request 2019-03-15 17:20:18 +08:00
haowei.yao
8c9353a007 UBSMS SDK Auto Released By shenshi,Version:1.34.34
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 16:33:42 +08:00
haowei.yao
191f3c859f SNSUAPI SDK Auto Released By shenshi,Version:1.34.33
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 16:23:30 +08:00
haowei.yao
4a0a5164c7 RTC SDK Auto Released By shenshi,Version:1.34.32
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 16:02:06 +08:00
haowei.yao
7f97b2de78 OPENANALYTICS SDK Auto Released By shenshi,Version:1.34.31
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 15:50:09 +08:00
haowei.yao
e0174350ec FINMALL SDK Auto Released By shenshi,Version:1.34.30
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 15:35:52 +08:00
haowei.yao
f3507a5be6 CLOUDPHOTO SDK Auto Released By shenshi,Version:1.34.29
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 13:32:41 +08:00
haowei.yao
e9b2a0c830 PVTZ SDK Auto Released By shenshi,Version:1.34.28
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 12:18:40 +08:00
haowei.yao
e62af34b2a CR SDK Auto Released By shenshi,Version:1.34.27
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 11:24:49 +08:00
haowei.yao
91746b862f MTS SDK Auto Released By shenshi,Version:1.34.26
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 10:43:06 +08:00
haowei.yao
67a361ad2d MTS SDK Auto Released By shenshi,Version:1.34.25
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 09:57:48 +08:00
haowei.yao
1da6c4aa18 CR SDK Auto Released By shenshi,Version:1.34.24
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 16:22:34 +08:00
haowei.yao
6da61cc993 MOPEN SDK Auto Released By shenshi,Version:1.34.23
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 16:00:18 +08:00
haowei.yao
f75e990c49 SAS-API SDK Auto Released By shenshi,Version:1.34.22
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 15:01:38 +08:00
haowei.yao
8ac2f2bd4a HSM SDK Auto Released By shenshi,Version:1.34.21
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 14:36:53 +08:00
haowei.yao
996c9b497a GPDB SDK Auto Released By shenshi,Version:1.34.20
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 14:26:21 +08:00
haowei.yao
a59527266e STS SDK Auto Released By shenshi,Version:1.34.19
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 13:35:32 +08:00
haowei.yao
26d4cdb3b5 RAM SDK Auto Released By shenshi,Version:1.34.18
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 13:05:33 +08:00
haowei.yao
aa06915a34 EMR SDK Auto Released By xiaoyan.yan,Version:1.34.17
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 12:10:20 +08:00
haowei.yao
cac98a349f CBN SDK Auto Released By shenshi,Version:1.34.16
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 10:27:46 +08:00
haowei.yao
bfe051d983 JARVIS SDK Auto Released By shenshi,Version:1.34.15
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-13 18:32:51 +08:00
haowei.yao
5e5610d91f JARVIS-PUBLIC SDK Auto Released By shenshi,Version:1.34.14
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-13 18:15:44 +08:00
haowei.yao
88ef8f3618 VPC SDK Auto Released By shenshi,Version:1.34.13
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-13 17:53:36 +08:00
haowei.yao
7f3826c2f9 TESLASTREAM SDK Auto Released By shenshi,Version:1.34.12
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-13 16:52:50 +08:00
haowei.yao
596b96d689 ECS SDK Auto Released By junmei.zjm,Version:1.34.11
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-13 16:42:23 +08:00
haowei.yao
43169f9d50 TESLAMAXCOMPUTE SDK Auto Released By shenshi,Version:1.34.10
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-13 16:05:42 +08:00
zhangzifa
c99809b8e4 support http put and delete 2019-03-13 14:35:52 +08:00
haowei.yao
85e2f3ebe4 XSPACE SDK Auto Released By xiaoyan.yan,Version:1.34.9
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-12 12:28:26 +08:00
zhangzifa
a6d33574bd fix windows string length strict 2019-03-12 12:18:57 +08:00
zhangzifa
c17dc7c79a refactor endpoints implementation 2019-03-08 14:05:32 +08:00
zhangzifa
563e907601 fix ecs deleteInstance invalid Force parameter 2019-03-08 13:49:02 +08:00
zhangzifa
33a44c856d provide more information when error occurs 2019-02-27 11:44:11 +08:00
zhangzifa
f877a9ef39 update readme 2019-02-22 17:31:00 +08:00
zhangzifa
eb7ab33440 add DEBUG switch and fix win build error 2019-02-21 13:35:56 +08:00
zhangzifa
6a5f788210 fix memory leak in url encode and decode 2019-02-21 10:29:22 +08:00
zhangzifa
fdc3251134 fix most cpplint checkpoint 2019-02-19 16:24:07 +08:00
zhangzifa
043df1b674 add more unit test for location and sts 2019-02-18 10:50:59 +08:00
zhangzifa
5f3caa1943 add examples and build with as many cpus as possible 2019-02-15 14:56:39 +08:00
Jackson Tian
01dcff0b7c Update README.md 2019-02-13 17:10:20 +08:00
zhangzifa
ae7e11733f handle kinds of error message
update test case and reduce duplicate code
2019-02-13 17:09:18 +08:00
zhangzifa
da28515bd8 replace tab with 2 spaces in core dir
Copyright time changed to 1999-2019
2019-02-03 11:34:19 +08:00
zhangzifa
138dbdc61e add POST support and fix user specified scheme via commonrequest 2019-01-31 17:11:31 +08:00
zhangzifa
b429dcc915 add basic function test
update travis to run function test
2019-01-28 19:37:52 +08:00
zhangzifa
57daafe4cc fix ecs build failure 2019-01-25 21:20:25 +08:00
zhangzifa
ecd09578e8 fix typo in issue template
optimize issu template description
2019-01-24 10:55:51 +08:00
zhangzifa
78df52c437 add issue template 2019-01-23 20:46:47 +08:00
zhangzifa
e477d06dea unit test for coreclient 2019-01-23 15:03:38 +08:00
zhangzifa
e00a04b071 unit test for InstanceProfileCredentialsProvider 2019-01-18 21:37:30 +08:00
zhangzifa
48fc5dfe8c unit test for EndpointProvider and StsAssumeRoleCrendentialsProvider 2019-01-18 16:38:43 +08:00
zhangzifa
6cfcc11657 unit test for sts and location 2019-01-17 22:50:14 +08:00
Jackson Tian
7b7c45cb26 Update README_zh.md 2019-01-17 07:57:21 +08:00
Jackson Tian
cf825c63a5 Update README.md 2019-01-17 07:57:21 +08:00
zhangzifa
fc29617d7d add unit test case for ecsmetadata and fix other ut 2019-01-14 20:57:24 +08:00
zhangzifa
352be1dd14 add more unit test for location and std 2019-01-12 23:29:10 +08:00
zhangzifa
66910b1961 add more unit test 2019-01-11 17:31:24 +08:00
Jackson Tian
790577e792 Add codecov badge 2019-01-10 20:51:55 +08:00
Jackson Tian
1ee62b8677 update license year 2019-01-10 19:07:59 +08:00
zhangzifa
21edc7f283 fix unit test build failed 2019-01-10 18:55:58 +08:00
Jackson Tian
919f98cbdd fix travis config
* fix travis config
* remove the useless files
2019-01-10 15:59:00 +08:00
zhangzifa
ad045aa702 fix build failed 2019-01-10 15:47:11 +08:00
Jackson Tian
6e65f364a1 Add travis config 2019-01-10 11:23:54 +08:00
Jackson Tian
bc0df2dcec use github repo as central 2019-01-09 14:07:33 +08:00
yixiong.jxy
9664fb1b00 DCDN SDK Auto Released By xiaoyao,Version:1.34.8
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-20 15:37:04 +08:00
yixiong.jxy
0df947c481 DCDN SDK Auto Released By xiaoyao,Version:1.34.7
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-11 19:52:39 +08:00
yixiong.jxy
9b7dbef9c8 LIVE SDK Auto Released By renrang.yl,Version:1.34.6
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-06 10:28:48 +08:00
yixiong.jxy
e5522c68c8 SCDN SDK Auto Released By xiaoyao,Version:1.34.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-03 19:32:39 +08:00
yixiong.jxy
24eaa468b9 DCDN SDK Auto Released By xiaoyao,Version:1.34.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-03 17:42:54 +08:00
yixiong.jxy
44ac453806 CDN SDK Auto Released By xiaoyao,Version:1.34.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-03 16:57:53 +08:00
yixiong.jxy
aa71e41fab ESS SDK Auto Released By deyan.jdy,Version:1.34.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-03 15:07:49 +08:00
yixiong.jxy
2fb169a7d4 VOD SDK Auto Released By xiao.xwp,Version:1.34.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-30 15:20:26 +08:00
yixiong.jxy
bdfb1e8514 ECS SDK Auto Released By licheng.lj,Version:1.34.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-28 18:28:25 +08:00
yixiong.jxy
cc52fb9dd8 IOT SDK Auto Released By cheyun.lxf,Version:1.33.6
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-28 13:45:18 +08:00
yixiong.jxy
893339c43d IOT SDK Auto Released By cheyun.lxf,Version:1.33.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-27 15:00:25 +08:00
yixiong.jxy
012634c7ea ALIMT SDK Auto Released By xulei.xl,Version:1.33.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-22 17:42:36 +08:00
yixiong.jxy
892b77665e ECS SDK Auto Released By zhengguang.yzg,Version:1.33.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-22 10:42:36 +08:00
yixiong.jxy
ded565f3f3 VOD SDK Auto Released By guzhaoyuan,Version:1.33.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-21 14:09:40 +08:00
yixiong.jxy
66cfddf930 ALIMT SDK Auto Released By xulei.xl,Version:1.33.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-16 15:49:36 +08:00
yixiong.jxy
819afce83a ECS SDK Auto Released By ansen.as,Version:1.33.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-15 23:02:32 +08:00
yixiong.jxy
e93d1a7c5c EHPC SDK Auto Released By qianzheng.llc,Version:1.32.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-14 18:23:57 +08:00
yixiong.jxy
6072a0309b DOMAIN SDK Auto Released By lukang.zlh,Version:1.31.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-13 14:39:51 +08:00
yixiong.jxy
cb0d2daccc CDN SDK Auto Released By xiaoyao,Version:1.30.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-10 11:58:19 +08:00
jxyowen
231cbea1ef Merge pull request #8 from aliyun/pre-release
CORE SDK Auto Released By yixiong.jxy,Version:1.2.10
2018-11-08 18:56:20 +08:00
jxyowen
cbab25c0c1 Merge branch 'master' into pre-release 2018-11-08 18:56:03 +08:00
yixiong.jxy
da6b0bb892 CORE SDK Auto Released By yixiong.jxy,Version:1.2.10
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-08 18:49:38 +08:00
yixiong.jxy
76e63d3f8d RTC SDK Auto Released By renrang.yl,Version:1.30.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-08 16:40:15 +08:00
yixiong.jxy
374b56dd63 RTC SDK Auto Released By renrang.yl,Version:1.30.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-07 17:36:33 +08:00
yixiong.jxy
f189a9dbb2 LINKFACE SDK Auto Released By jiayao.wjy,Version:1.30.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-02 19:41:11 +08:00
yixiong.jxy
f87f6a1649 LUBANCLOUD SDK Auto Released By benxiang.hhq,Version:1.30.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-02 13:33:46 +08:00
yixiong.jxy
d26289131f CDN SDK Auto Released By xiaoyao,Version:1.29.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-31 17:59:35 +08:00
yixiong.jxy
6119508e3b CDN SDK Auto Released By xiaoyao,Version:1.29.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-31 16:47:43 +08:00
yixiong.jxy
1f03f4f394 CDN SDK Auto Released By xiaoyao,Version:1.29.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-31 15:55:51 +08:00
yixiong.jxy
214a571b8a LIVE SDK Auto Released By renrang.yl,Version:1.29.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-30 19:09:16 +08:00
yixiong.jxy
b3d7dcffc4 CLOUDAUTH SDK Auto Released By gongpei.gp,Version:1.29.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-26 13:53:54 +08:00
yixiong.jxy
623d36b29e DOMAIN SDK Auto Released By huizeng.zh,Version:1.29.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-25 16:00:45 +08:00
jxyowen
643f3a01b8 Update README_zh.md 2018-10-22 16:47:52 +08:00
yixiong.jxy
61e665d20e ARMS SDK Auto Released By qikai.yangqikai,Version:1.28.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-16 16:10:34 +08:00
yixiong.jxy
13aa2520bf ARMS SDK Auto Released By qikai.yangqikai,Version:1.28.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-16 15:51:54 +08:00
yixiong.jxy
bc8404e573 ARMS SDK Auto Released By qikai.yangqikai,Version:1.28.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-16 15:15:31 +08:00
yixiong.jxy
59a99f2145 ECS SDK Auto Released By corey.ql,Version:1.28.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-16 15:00:01 +08:00
yixiong.jxy
f0ad440f3d IOT SDK Auto Released By cheyun.lxf,Version:1.27.11
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-16 14:14:51 +08:00
yixiong.jxy
6b2d4bad71 IOT SDK Auto Released By cheyun.lxf,Version:1.27.10
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-13 15:30:30 +08:00
yixiong.jxy
a2308b2c95 IOT SDK Auto Released By cheyun.lxf,Version:1.27.9
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-13 15:03:41 +08:00
yixiong.jxy
1a86503742 IOT SDK Auto Released By cheyun.lxf,Version:1.27.8
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-13 08:17:43 +08:00
yixiong.jxy
ccec5843c8 VOD SDK Auto Released By guzhaoyuan,Version:1.27.7
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-11 13:20:26 +08:00
yixiong.jxy
6182017316 SAF SDK Auto Released By xinfa.duanxf,Version:1.27.6
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-09 21:31:14 +08:00
yixiong.jxy
a2e022baf7 CDN SDK Auto Released By xiaoyao,Version:1.27.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-30 16:30:31 +08:00
yixiong.jxy
cb75e762ab DCDN SDK Auto Released By xiaoyao,Version:1.27.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-29 14:30:38 +08:00
yixiong.jxy
e82b02a876 SCDN SDK Auto Released By xiaoyao,Version:1.27.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-29 14:20:30 +08:00
yixiong.jxy
d66718d980 CDN SDK Auto Released By xiaoyao,Version:1.27.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-29 11:20:36 +08:00
yixiong.jxy
5e73931c1d IOT SDK Auto Released By yuxing.liyuxing,Version:1.27.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-28 01:09:28 +08:00
yixiong.jxy
f2a390fbc8 EHPC SDK Auto Released By qianzheng.llc,Version:1.27.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-27 15:12:27 +08:00
yixiong.jxy
46a517571d GREEN SDK Auto Released By fengdong.xfd,Version:1.26.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-27 11:44:50 +08:00
yixiong.jxy
eadff9b0ef GREEN SDK Auto Released By fengdong.xfd,Version:1.26.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-27 11:28:11 +08:00
yixiong.jxy
6e9b1bebe0 CCS SDK Auto Released By wilson.liuw,Version:1.26.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-25 20:09:14 +08:00
yixiong.jxy
857329972e update 2018-09-20 17:00:13 +08:00
yixiong.jxy
b2637b8f3c update 2018-09-20 16:55:59 +08:00
yixiong.jxy
844fe8856e LIVE SDK Auto Released By renrang.yl,Version:1.26.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-17 19:48:03 +08:00
yixiong.jxy
02d22470b7 ECS SDK Auto Released By yuanping.wyp,Version:1.26.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-14 15:04:37 +08:00
yixiong.jxy
6c1391eb82 RTC SDK Auto Released By renrang.yl,Version:1.25.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-13 19:39:14 +08:00
yixiong.jxy
60a0077509 ESS SDK Auto Released By kangning.tkn,Version:1.25.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-06 16:00:16 +08:00
yixiong.jxy
ee5b4ca599 IOT SDK Auto Released By cheyun.lxf,Version:1.25.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-06 01:09:55 +08:00
yixiong.jxy
e96ffc6afe EHPC SDK Auto Released By qianzheng.llc,Version:1.25.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-05 10:48:44 +08:00
yixiong.jxy
19a082eb56 GREEN SDK Auto Released By liuhai.lh,Version:1.24.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-03 16:45:19 +08:00
yixiong.jxy
002d5fb06f CSB SDK Auto Released By yaolan.lt,Version:1.24.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-03 15:28:25 +08:00
yixiong.jxy
c960a34373 EHPC SDK Auto Released By qianzheng.llc,Version:1.24.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-28 20:44:35 +08:00
yixiong.jxy
84adbb2cb8 SLB SDK Auto Released By laysong.sl,Version:1.23.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-28 16:48:49 +08:00
yixiong.jxy
db4f78e6de ESS SDK Auto Released By kangning.tkn,Version:1.23.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-27 20:29:54 +08:00
21529 changed files with 1437159 additions and 277078 deletions

26
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,26 @@
---
name: "Bug Report"
about: Create a report to help us improve
---
<!--
Thank you for reporting a possible bug in Alibaba Cloud C++ SDK
Please fill in as much of the template below as you can.
Product and API: the product and API you are working on when bug occurs
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
How to Reproduce: If possible, please provide code that demonstrates the problem,
keeping it as simple and free of external dependencies as you can.
If crash, please provide the stack trace.
If build error, please provide compiler information: compiler and version, etc
-->
* **Product and API**:
* **Platform**:
* **How to Reproduce**
<!-- Please provide more details below this comment. -->

28
.github/ISSUE_TEMPLATE/bug_report_cn.md vendored Normal file
View File

@@ -0,0 +1,28 @@
---
name: "缺陷问题反馈"
about: 提交缺陷问题反馈
---
<!--
感谢提交问题反馈。
请提供尽量全面的信息协助问题定位修复。
产品和接口问题发生时工作所在的产品和调用的API
平台:操作系统信息,类型,版本
如果可能,请提供一份最小问题复现代码。
如果崩溃,请提供错误栈。
如果编译出错,请提供 cmake 版本,编译器版本,编译命令等信息。
-->
* **产品和接口**:
* **平台**:
* **最小代码**:
<!-- 请提供其他可能协助问题定位的信息 -->

14
.gitignore vendored Normal file
View File

@@ -0,0 +1,14 @@
tools/endpoints.json
initCoverage.info
testCoverage.info
coverageReport/
Testing/
.vscode/
ft_build/
ut_build/
sdk_build/
examples/build/
test/httpserver/node_modules
test/httpserver/package-lock.json
test/httpserver/nohup.out
.idea

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

8
.idea/modules.xml generated
View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/aliyun-openapi-cpp-sdk.iml" filepath="$PROJECT_DIR$/.idea/aliyun-openapi-cpp-sdk.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml generated
View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

316
.idea/workspace.xml generated
View File

@@ -1,316 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="0b8685e8-e176-4bd1-aecd-39914b115815" name="Default" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="FileEditorManager">
<leaf>
<file leaf-file-name="README_zh.md" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/README_zh.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="97">
<caret line="13" column="0" lean-forward="true" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="README.md" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/README.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="139">
<caret line="43" column="0" lean-forward="true" selection-start-line="43" selection-start-column="0" selection-end-line="43" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="GradleLocalSettings">
<option name="externalProjectsViewState">
<projects_view />
</option>
<option name="projectSyncType">
<map>
<entry key="$PROJECT_DIR$/../../study/swagger2markup" value="PREVIEW" />
</map>
</option>
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/README_zh.md" />
<option value="$PROJECT_DIR$/README.md" />
</list>
</option>
</component>
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsGulpfileManager">
<detection-done>true</detection-done>
<sorting>DEFINITION_ORDER</sorting>
</component>
<component name="ProjectFrameBounds">
<option name="y" value="23" />
<option name="width" value="1440" />
<option name="height" value="828" />
</component>
<component name="ProjectView">
<navigator currentView="ProjectPane" proportions="" version="1">
<flattenPackages />
<showMembers />
<showModules />
<showLibraryContents />
<hideEmptyPackages />
<abbreviatePackageNames />
<autoscrollToSource />
<autoscrollFromSource />
<sortByType />
<manualOrder />
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="PackagesPane" />
<pane id="Scratches" />
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="aliyun-openapi-cpp-sdk" type="b2602c69:ProjectViewProjectNode" />
<item name="aliyun-openapi-cpp-sdk" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="AndroidView" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$" />
</key>
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
<component name="RunManager">
<configuration default="true" type="Applet" factoryName="Applet">
<option name="WIDTH" value="400" />
<option name="HEIGHT" value="300" />
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
<module />
</configuration>
<configuration default="true" type="Application" factoryName="Application">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<option name="MAIN_CLASS_NAME" />
<option name="VM_PARAMETERS" />
<option name="PROGRAM_PARAMETERS" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="" />
<envs />
</configuration>
<configuration default="true" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<module name="" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PACKAGE_NAME" />
<option name="MAIN_CLASS_NAME" />
<option name="METHOD_NAME" />
<option name="TEST_OBJECT" value="class" />
<option name="VM_PARAMETERS" value="-ea" />
<option name="PARAMETERS" />
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="singleModule" />
</option>
<envs />
<patterns />
</configuration>
<configuration default="true" type="Remote" factoryName="Remote">
<option name="USE_SOCKET_TRANSPORT" value="true" />
<option name="SERVER_MODE" value="false" />
<option name="SHMEM_ADDRESS" value="javadebug" />
<option name="HOST" value="localhost" />
<option name="PORT" value="5005" />
</configuration>
<configuration default="true" type="TestNG" factoryName="TestNG">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<module name="" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="SUITE_NAME" />
<option name="PACKAGE_NAME" />
<option name="MAIN_CLASS_NAME" />
<option name="METHOD_NAME" />
<option name="GROUP_NAME" />
<option name="TEST_OBJECT" value="CLASS" />
<option name="VM_PARAMETERS" value="-ea" />
<option name="PARAMETERS" />
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
<option name="OUTPUT_DIRECTORY" />
<option name="ANNOTATION_TYPE" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="singleModule" />
</option>
<option name="USE_DEFAULT_REPORTERS" value="false" />
<option name="PROPERTIES_FILE" />
<envs />
<properties />
<listeners />
</configuration>
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
<module name="" />
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
<option name="PROGRAM_PARAMETERS" />
<predefined_log_file id="idea.log" enabled="true" />
</configuration>
</component>
<component name="ShelveChangesManager" show_recycled="false">
<option name="remove_strategy" value="false" />
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="0b8685e8-e176-4bd1-aecd-39914b115815" name="Default" comment="" />
<created>1525523789426</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1525523789426</updated>
<workItem from="1525523790774" duration="312000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="312000" />
</component>
<component name="ToolWindowManager">
<frame x="0" y="23" width="1440" height="828" extended-state="0" />
<editor active="true" />
<layout>
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3287858" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24964234" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
</layout>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager />
<watches-manager />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/README_zh.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="97">
<caret line="13" column="0" lean-forward="true" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/README.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="139">
<caret line="43" column="0" lean-forward="true" selection-start-line="43" selection-start-column="0" selection-end-line="43" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</component>
<component name="masterDetails">
<states>
<state key="ProjectJDKs.UI">
<settings>
<last-edited>1.6</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states>
</component>
</project>

18
.travis.yml Normal file
View File

@@ -0,0 +1,18 @@
dist: xenial
sudo: require
language: cpp
compiler: gcc
install:
- sudo apt-get install lcov libcurl4-openssl-dev libssl-dev uuid-dev libjson-c-dev libjsoncpp-dev nodejs npm
env:
- CPLUS_INCLUDE_PATH="/usr/local/include/:/usr/include/jsoncpp/:/usr/local/opt/openssl/include/:/usr/lib/"
script:
- ./unit_test.sh
- ./generate_code_cov.sh
- ./function_test.sh
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@@ -44,9 +44,10 @@ endif()
ExternalProject_Add(catch
URL ${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp
URL_HASH MD5=9b3d2cb5c0f9532cddfbbfd0a622f0af
DOWNLOAD_NO_EXTRACT 1
CONFIGURE_COMMAND ""
DOWNLOAD_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND
${CMAKE_COMMAND} -E copy_if_different <DOWNLOADED_FILE> <INSTALL_DIR>/catch.hpp
${CMAKE_COMMAND} -E copy_if_different
${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp <INSTALL_DIR>/catch.hpp
)

1199
CHANGELOG

File diff suppressed because it is too large Load Diff

View File

@@ -1,90 +1,127 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
cmake_minimum_required(VERSION 3.1)
cmake_policy(SET CMP0048 NEW)
file(STRINGS "VERSION" version)
project(alibabacloud-sdk VERSION ${version})
message(STATUS "Project version: ${PROJECT_VERSION}")
set(TARGET_OUTPUT_NAME_PREFIX "alibabacloud-sdk-" CACHE STRING "The target's output name prefix")
option(BUILD_SHARED_LIBS "Enable shared library" ON)
option(BUILD_UNIT_TESTS "Enable unit tests" OFF)
option(BUILD_FUNCTION_TESTS "Enable function test" OFF)
set(LIB_TYPE STATIC)
if(BUILD_SHARED_LIBS)
set(LIB_TYPE SHARED)
add_definitions(-DALIBABACLOUD_SHARED)
endif()
set_property(GLOBAL
PROPERTY
USE_FOLDERS ON)
set(CMAKE_CXX_STANDARD 11)
include(ExternalProject)
include(GNUInstallDirs)
add_subdirectory(3rdparty)
add_subdirectory(core)
if(BUILD_UNIT_TESTS)
enable_testing()
add_subdirectory(test/core)
endif()
if(BUILD_FUNCTION_TESTS)
enable_testing()
add_subdirectory(test/function_test/cdn)
add_subdirectory(test/function_test/core)
add_subdirectory(test/function_test/cs)
add_subdirectory(test/function_test/ecs)
add_subdirectory(test/function_test/nlp)
add_subdirectory(test/function_test/rds)
add_subdirectory(test/function_test/slb)
add_subdirectory(test/function_test/vpc)
endif()
add_subdirectory(ecs)
add_subdirectory(slb)
add_subdirectory(vpc)
add_subdirectory(cdn)
add_subdirectory(rds)
add_subdirectory(cloudphoto)
add_subdirectory(tesladam)
add_subdirectory(cms)
add_subdirectory(afs)
add_subdirectory(aegis)
add_subdirectory(ehpc)
add_subdirectory(cs)
add_subdirectory(ccc)
add_subdirectory(teslamaxcompute)
add_subdirectory(push)
add_subdirectory(csb)
add_subdirectory(domain)
add_subdirectory(green)
add_subdirectory(hsm)
add_subdirectory(dcdn)
add_subdirectory(pvtz)
add_subdirectory(cloudauth)
add_subdirectory(dyvmsapi)
add_subdirectory(drds)
add_subdirectory(jarvis)
add_subdirectory(scdn)
add_subdirectory(live)
add_subdirectory(rtc)
add_subdirectory(chatbot)
add_subdirectory(teslastream)
add_subdirectory(mopen)
add_subdirectory(iot)
add_subdirectory(linkface)
add_subdirectory(ots)
add_subdirectory(smartag)
add_subdirectory(vod)
add_subdirectory(ccs)
add_subdirectory(saf)
add_subdirectory(arms)
add_subdirectory(lubancloud)
add_subdirectory(alimt)
add_subdirectory(xspace)
add_subdirectory(cbn)
add_subdirectory(ram)
add_subdirectory(sts)
add_subdirectory(gpdb)
add_subdirectory(cr)
add_subdirectory(openanalytics)
add_subdirectory(snsuapi)
add_subdirectory(ubsms)
add_subdirectory(yundun)
add_subdirectory(arms4finance)
add_subdirectory(imagesearch)
add_subdirectory(cas)
add_subdirectory(cloudwf)
add_subdirectory(alidns)
add_subdirectory(httpdns)
cmake_minimum_required(VERSION 3.1)
cmake_policy(SET CMP0048 NEW)
file(STRINGS "VERSION" version)
project(alibabacloud-sdk VERSION ${version})
message(STATUS "Project version: ${PROJECT_VERSION}")
set(TARGET_OUTPUT_NAME_PREFIX "alibabacloud-sdk-" CACHE STRING "The target's output name prefix")
option(BUILD_SHARED_LIBS "Enable shared library" ON)
option(BUILD_TESTS "Enable tests" ON)
set(LIB_TYPE STATIC)
if(BUILD_SHARED_LIBS)
set(LIB_TYPE SHARED)
add_definitions(-DALIBABACLOUD_SHARED)
endif()
set_property(GLOBAL
PROPERTY
USE_FOLDERS ON)
set(CMAKE_CXX_STANDARD 11)
include(ExternalProject)
include(GNUInstallDirs)
add_subdirectory(3rdparty)
add_subdirectory(core)
if(BUILD_TESTS)
enable_testing()
add_subdirectory(core-tests)
endif()
add_subdirectory(ecs)
add_subdirectory(slb)
add_subdirectory(vpc)
add_subdirectory(cdn)
add_subdirectory(rds)
add_subdirectory(cloudphoto)
add_subdirectory(ess)
add_subdirectory(tesladam)
add_subdirectory(cms)
add_subdirectory(afs)
add_subdirectory(aegis)
add_subdirectory(ehpc)
add_subdirectory(cs)
add_subdirectory(ccc)
add_subdirectory(teslamaxcompute)
add_subdirectory(push)
add_subdirectory(csb)
add_subdirectory(domain)
add_subdirectory(green)
add_subdirectory(hsm)
add_subdirectory(dcdn)
add_subdirectory(pvtz)
add_subdirectory(cloudauth)
add_subdirectory(dyvmsapi)
add_subdirectory(drds)
add_subdirectory(jarvis)
add_subdirectory(scdn)
add_subdirectory(live)
add_subdirectory(rtc)
add_subdirectory(chatbot)
add_subdirectory(teslastream)
add_subdirectory(mopen)
add_subdirectory(crm)
add_subdirectory(kms)
add_subdirectory(sas-api)
add_subdirectory(jarvis-public)
add_subdirectory(mts)
add_subdirectory(iot)
add_subdirectory(linkface)
add_subdirectory(ots)
add_subdirectory(smartag)
add_subdirectory(vod)
add_subdirectory(dysmsapi)
add_subdirectory(ons)
add_subdirectory(ivision)
add_subdirectory(imm)
add_subdirectory(bssopenapi)
add_subdirectory(sas)
add_subdirectory(dbs)
add_subdirectory(r-kvstore)
add_subdirectory(dds)
add_subdirectory(yundun-ds)
add_subdirectory(trademark)
add_subdirectory(sddp)

20
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,20 @@
# Contributing to this SDK project
We work hard to provide a high-quality and useful SDK for Alibaba Cloud, and
we greatly value feedback and contributions from our community. Please submit
your [issues](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues) or [pull requests](https://github.com/aliyun/aliyun-openapi-cpp-sdk/pulls) through GitHub.
## Tips
- The SDK is released under the [Apache license][license]. Any code you submit
will be released under that license. For substantial contributions, we may
ask you to sign a [Alibaba Documentation Corporate Contributor License
Agreement (CLA)][cla].
- We maintain a high percentage of code coverage in our unit tests. If you make
changes to the code, please add, update, and/or remove tests as appropriate.
[issues]: https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues
[pull-requests]: https://github.com/aliyun-openapi-cpp-sdk/pulls
[license]: http://www.apache.org/licenses/LICENSE-2.0
[cla]: https://alibaba-cla-2018.oss-cn-beijing.aliyuncs.com/Alibaba_Documentation_Open_Source_Corporate_CLA.pdf
[docs-readme]: https://github.com/aliyun/aliyun-openapi-cpp-sdk/blob/master/README.md

View File

@@ -1,4 +1,4 @@
Copyright 2009-2017 Alibaba Cloud All rights reserved.
Copyright 2009-2019 Alibaba Cloud All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -10,4 +10,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.

258
README-CN.md Normal file
View File

@@ -0,0 +1,258 @@
[English](./README.md) | 简体中文
<p align="center">
<a href="https://www.alibabacloud.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/Aliyun.svg"></a>
</p>
<h1 align="center">Alibaba Cloud SDK for C++</h1>
<p align="center">
<a href="https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk"><img src="https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk.svg?branch=master" alt="Travis Build Status"></a>
<a href="https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk"><img src="https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk/branch/master/graph/badge.svg" alt="codecov"></a>
</p>
Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负载均衡、云监控等阿里云服务。这里向您介绍如何获取 Alibaba Cloud SDK for C++ 并开始调用。
如果您在使用的过程中遇到任何问题,欢迎前往[阿里云SDK问答社区](https://yq.aliyun.com/tags/type_ask-tagid_23350)提问,提问前请阅读[提问引导](https://help.aliyun.com/document_detail/93957.html)。亦可在当前 GitHub [提交 Issues](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new)。
## 环境要求
在使用 Alibaba Cloud SDK for C++ 前,确保您已经:
* 注册了阿里云账号并获取了访问密钥AccessKey
> **说明:** 为了保证您的账号安全建议您使用RAM账号来访问阿里云服务。阿里云账号对拥有的资源有全部权限。RAM账号由阿里云账号授权创建仅有对特定资源限定的操作权限。详情[参见RAM](https://help.aliyun.com/document_detail/28647.html)。
* 开通了云产品服务。有些云产品如对象存储OSS需要先在[阿里云控制台](https://home.console.aliyun.com)开通服务。
* 安装支持 C++ 11 或更高版本的编译器:
* Windows: Visual Studio 2015 或以上版本
* Linux: GCC 4.9 或以上版本
* 安装 CMake 3.0 或以上版本
* 建议 4G 或以上内存
## 安装 (从源代码构建)
1. 从 GitHub 下载或 Git 克隆 [aliyun-openapi-cpp-sdk](https://github.com/aliyun/aliyun-openapi-cpp-sdk)
* 直接下载 https://github.com/aliyun/aliyun-openapi-cpp-sdk/archive/master.zip
* 使用 Git 命令获取
```
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
2. 创建生成必要的构建文件
```bash
cd <path/to/aliyun-openapi-cpp-sdk>
mkdir sdk_build
cd sdk_build
cmake ..
```
### Linux
要在 Linux 平台进行编译, 您必须安装依赖的外部库文件 libcurl、libopenssl、libuuid、libjsoncpp, 通常情况下,系统的包管理器中的会有提供。
例如:在基于 Redhat / Fedora 的系统上安装这些软件包
```bash
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
```
在基于 Debian/Ubuntu 的系统
```bash
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
```
在安装依赖库后执行以下命令编译并安装:
手动编译安装
```bash
cd aliyun-openapi-cpp-sdk
mkdir sdk_build
cd sdk_build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
```
或者通过 `easyinstall.sh`一键式安装
```bash
cd aliyun-openapi-cpp-sdk
sudo sh easyinstall.sh
```
**Alibaba Cloud SDK for C++ 将被安装在 `/usr`.**
### Windows
通过 cmake 生成 Visual Studio 解决方案:
在 aliyun-openapi-cpp-sdk 下创建 sdk_build 目录
打开 cmake-ui 选择源代码目录和构建目录,点击 `配置(configure)``生成(generate)` 构建 VS 解决方案。
进入 sdk_build 目录使用 Visual Studio 打开 alibabacloud-sdk.sln 解决方案。
选择构建 `Release` 输出,并打开配置管理器勾选 `INSTALL`
构建 -> 生成解决方案。
或者您也可以使用 VS 的开发人员命令提示符,执行以下命令编译并安装:
```
msbuild ALL_BUILD.vcxproj
msbuild INSTALL.vcxproj
```
**Alibaba Cloud SDK for C++ 将安装在 `C:\Program File (x86)\alibabacloud-sdk` 目录**
**注意:请以管理员身份运行 Visual Studio否则无法安装 SDK**
## 快速使用
在调用 Alibaba Cloud SDK for C++ 时,您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证并指定云服务的地域然后发送API请求。
以下代码展示了如何调用 DescribeInstancesAPI 查询指定地域所有 ECS 实例的详细信息。
> **说明:** 您需要替换示例中的 your-region-id、your-access-key-id 和 your-access-key-secret 的值。
```
#include <iostream>
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/ecs/EcsClient.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Ecs;
int main(int argc, char** argv) {
// 初始化 SDK
AlibabaCloud::InitializeSdk();
// 配置 ecs 实例
ClientConfiguration configuration("<your-region-id>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// 创建API请求并设置参数
Model::DescribeInstancesRequest request;
request.setPageSize(10);
auto outcome = client.describeInstances(request);
if (!outcome.isSuccess()) {
// 异常处理
std::cout << outcome.error().errorCode() << std::endl;
AlibabaCloud::ShutdownSdk();
return -1;
}
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
// 关闭 SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```
复制上述文件到 ecs_test.cc。
Linux 下
```bash
~$ g++ -o ecstest ecs_test.cc --std=c++11 -lalibabacloud-sdk-core -l alibabacloud-sdk-ecs
~$ ./ecstest
# 结果或错误返回将在此展示
~$
```
## Timeout 设置
CPP SDK 使用 libcurl 作为底层 HTTP 传输库。
- 下面两个参数用来传递超时参数到 libcurl。
- `connectTimeout`: 连接超时设置。 [参考](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html).
- `readTimeout`: 传输超时设置。[参考](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html)
- 默认值
- connectTimeout: 5000ms
- readTimeout: 10000ms
- 可以在创建 Client 或者发 Requst 设置超时参数。
- Requst 设置优先级高于 Client 设置。
- 输入 0 或者 -1 到 `setConnectTimeout``setReadTimeout` 可以禁用此功能。
下面代码是设置超时参数的例子,由于 Request 优先级高于 Client所以最终 `ConnectTimeout``1000ms` `readTimeout``6000ms`
```cpp
#include <iostream>
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/ecs/EcsClient.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Ecs;
int main(int argc, char** argv) {
// Initialize the SDK
AlibabaCloud::InitializeSdk();
// Configure the ECS instance
ClientConfiguration configuration("<your-region-id>");
// specify timeout when create client.
configuration.setConnectTimeout(1500);
configuration.setReadTimeout(4000);
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// Create an API request and set parameters
Model::DescribeInstancesRequest request;
request.setPageSize(10);
// specify timeout when request
request.setConnectTimeout(1000);
request.setReadTimeout(6000);
auto outcome = client.describeInstances(request);
if (!outcome.isSuccess()) {
// Handle exceptions
std::cout << outcome.error().errorCode() << std::endl;
AlibabaCloud::ShutdownSdk();
return -1;
}
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
// Close the SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```
**更多 [例程](https://github.com/aliyun/aliyun-openapi-cpp-sdk/tree/master/examples)**
## 问题
[提交 Issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new/choose), 不符合指南的问题可能会立即关闭。
## 发行说明
每个版本的详细更改记录在[发行说明](CHANGELOG)中。
## 贡献
提交 Pull Request 之前请阅读[贡献指南](CONTRIBUTING.md)。
## 许可证
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
版权所有 1999-2019 阿里巴巴集团

328
README.md
View File

@@ -1,81 +1,247 @@
# Alibaba Cloud C++ Software Development Kit
[中文文档](./README_zh.md)
The Alibaba Cloud C++ Software Development Kit (SDK) allows you to access Alibaba Cloud services such as Elastic Compute Service (ECS), Server Load Balancer (SLB), and CloudMonitor. You can access Alibaba Cloud services without the need to handle API related tasks, such as signing and constructing your requests.
This document introduces how to obtain and call Alibaba Cloud C++ SDK.
If you have any problem while using C++ SDK, please join the **DingTalk group: 11771185 (the official SDK customer service group of Alibaba Cloud)** for consultation.
## Prerequisites
- To use Alibaba Cloud C++ SDK, you must have an Alibaba Cloud account and an AccessKey.
The AccessKey is required when initializing the client. You can create an AccessKey in the Alibaba Cloud console. For more information, see [Create an AccessKey](https://usercenter.console.aliyun.com/?spm=5176.doc52740.2.3.QKZk8w#/manage/ak).
>**Note:** To increase the security of your account, we recommend that you use the AccessKey of the RAM user to access Alibaba Cloud services.
- To use Alibaba Cloud C++ SDK to access the APIs of a product, you must first activate the product on the [Alibaba Cloud console](https://home.console.aliyun.com/?spm=5176.doc52740.2.4.QKZk8w) if required.
## Install C++ SDK
1. Install third-party libraries on the Linux platform, including `libcurl`, `libopenssl`, `libuuid`, and `libjsoncpp`.
- Run the following commands on the Redhat/Fedora system to install third-party libraries.
```
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
```
- Run the following commands on the Debian/Ubuntu system to install third-party libraries.
```
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
```
2. Run the following commands to clone source codes from GitHub.
```
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
## Use the C++ SDK
Before using C++ SDK, you must first configure the preprocessor to define `ALIBABACLOUD_SHARED` to achieve dynamic linking with Alibaba Cloud C++ SDK shared libraries. Then you must create a client instance, specify the region of cloud services and provide authentication parameters before sending API requests.
The following code shows how to call the [DescribeInstances](~~25506~~) API of ECS to query detailed information of all ECS instances in a specific region.
```
#include <iostream>
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/ecs/EcsClient.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Ecs;
int main(int argc, char** argv)
{
// Initialize the SDK
AlibabaCloud::InitializeSdk();
// Configure the ECS instance
ClientConfiguration configuration("<your-region-id>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// Create an API request and set parameters
Model::DescribeInstancesRequest request;
request.setPageSize(10);
auto outcome = client.describeInstances(request);
if (!outcome.isSuccess())
{
// Handle exceptions
std::cout << outcome.error().errorCode() << std::endl;
AlibabaCloud::ShutdownSdk();
return -1;
}
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
// Close the SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```
English | [简体中文](./README-CN.md)
<p align="center">
<a href="https://www.alibabacloud.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg"></a>
</p>
<h1 align="center">Alibaba Cloud SDK for C++</h1>
<p align="center">
<a href="https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk"><img src="https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk.svg?branch=master" alt="Travis Build Status"></a>
<a href="https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk"><img src="https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk/branch/master/graph/badge.svg" alt="codecov"></a>
</p>
Alibaba Cloud SDK for C++ allows you to access Alibaba Cloud services such as Elastic Compute Service (ECS), Server Load Balancer (SLB), and CloudMonitor. You can access Alibaba Cloud services without the need to handle API related tasks, such as signing and constructing your requests.
This document introduces how to obtain and call this SDK.
If you have any problem while using Alibaba Cloud SDK for C++, please submit an [issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new).
## Requirements
- To use this SDK, you must have an Alibaba Cloud account and an AccessKey.
The AccessKey is required when initializing the client. You can create an AccessKey in the Alibaba Cloud console. For more information, see [Create an AccessKey](https://usercenter.console.aliyun.com/?spm=5176.doc52740.2.3.QKZk8w#/manage/ak).
>**Note:** To increase the security of your account, we recommend that you use the AccessKey of the RAM user to access Alibaba Cloud services.
- To use this SDK to access the APIs of a product, you must first activate the product on the [Alibaba Cloud console](https://home.console.aliyun.com/?spm=5176.doc52740.2.4.QKZk8w) if required.
- C++11 supported compiler installed
- Windows: Visual Studio 2015 or newer
- Linux: GCC 4.9 or newer
- CMake 3.0 or newer
- 4G memory or more
## Installation
### Linux
1. Install third-party libraries on the Linux platform, including `libcurl`, `libopenssl`, `libuuid`, and `libjsoncpp`.
- Run the following commands on the `Redhat/Fedora` system
```
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
```
- Run the following commands on the `Debian/Ubuntu` system
```
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
```
2. Run the following commands to clone source codes from GitHub.
```bash
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
3. Build and install SDK
- Manually build and install
```bash
cd aliyun-openapi-cpp-sdk
mkdir sdk_build
cd sdk_build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
```
- Or you may do this with `easyinstall.sh` in the source directory
```shell
cd aliyun-openapi-cpp-sdk
sudo sh easyinstall.sh
```
**The Alibaba Cloud SDK for C++ will be installed to `/usr`.**
### Windows
1. Install [perl](https://www.perl.org/get.html#win32).
2. Run the following command to clone code from Github via git-bash:
```bash
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
2. Build Visual Studio solution
- Change directory to source code and make directory sdk_build
- Open CMake UI and
- `Browse Source` to open source code directory.
- `Browse build` to open the created sdk_build directory
- `Configure`
- `Generate`
3. Build and Install C++ SDK
- Open `aliyun-openapi-cpp-sdk\\sdk_build\\alibabacloud-sdk.sln` with Visual Studio
- Select `Release`
- Check INSTALL option from Build -> Configuration Manager
- Build->Build Solutions to build.
**Alibaba Cloud SDK for C++ will be installed to `C:\Program File (x86)\alibabacloud-sdk`**
## Quick Examples
Before using this SDK, you must first configure the preprocessor to define `ALIBABACLOUD_SHARED` to achieve dynamic linking with the SDK shared libraries. Then you must create a client instance, specify the region of cloud services and provide authentication parameters before sending API requests.
The following code shows how to call the [DescribeInstances](~~25506~~) API of ECS to query detailed information of all ECS instances in a specific region.
```cpp
#include <iostream>
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/ecs/EcsClient.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Ecs;
int main(int argc, char** argv) {
// Initialize the SDK
AlibabaCloud::InitializeSdk();
// Configure the ECS instance
ClientConfiguration configuration("<your-region-id>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// Create an API request and set parameters
Model::DescribeInstancesRequest request;
request.setPageSize(10);
auto outcome = client.describeInstances(request);
if (!outcome.isSuccess()) {
// Handle exceptions
std::cout << outcome.error().errorCode() << std::endl;
AlibabaCloud::ShutdownSdk();
return -1;
}
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
// Close the SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```
Copy the above to ecs_test.cc, then build with the following command.
```bash
~$ g++ -o ecstest ecs_test.cc --std=c++11 -lalibabacloud-sdk-core -l alibabacloud-sdk-ecs
~$ ./ecstest
# Result or error message will be shown here.
~$
```
## Timeout Configuration
CPP SDK uses libcurl to do HTTP transfer.
- The following timeout parameters are used to for libcurl.
- `connectTimeout`: timeout for the connect phase. [Refer](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html).
- `readTimeout`: maximum time the request is allowed to take, [Refer](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html)
- Default Value
- `connectTimeout`: 5000ms
- `readTimeout`: 10000ms
- You may specify `timeout` parameters when create a client or make a request.
- Request timeout has higher priority than client timeout.
- If you want to disable timeout feature, deliver `0` or `-1` to `setConnectTimeout` and `setReadTimeout`.
The following code shows hot to specify `timeout` parameters, and the final connectTimeout is 1000ms and readTimeout 6000ms.
```cpp
#include <iostream>
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/ecs/EcsClient.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Ecs;
int main(int argc, char** argv) {
// Initialize the SDK
AlibabaCloud::InitializeSdk();
// Configure the ECS instance
ClientConfiguration configuration("<your-region-id>");
// specify timeout when create client.
configuration.setConnectTimeout(1500);
configuration.setReadTimeout(4000);
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// Create an API request and set parameters
Model::DescribeInstancesRequest request;
request.setPageSize(10);
// specify timeout when request
request.setConnectTimeout(1000);
request.setReadTimeout(6000);
auto outcome = client.describeInstances(request);
if (!outcome.isSuccess()) {
// Handle exceptions
std::cout << outcome.error().errorCode() << std::endl;
AlibabaCloud::ShutdownSdk();
return -1;
}
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
// Close the SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```
**More [examples](https://github.com/aliyun/aliyun-openapi-cpp-sdk/tree/master/examples)**
## Issues
[Opening an Issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new/choose), Issues not conforming to the guidelines may be closed immediately.
## Changelog
Detailed changes for each release are documented in the [release notes](CHANGELOG).
## Contribution
Please make sure to read the [Contributing Guide](CONTRIBUTING.md) before making a pull request.
## License
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Copyright 1999-2019 Alibaba Group Holding Ltd.

View File

@@ -1,118 +0,0 @@
# 阿里云开发者C++工具套件
欢迎使用阿里云开发者工具套件SDK
适用于阿里云的 C++ SDK 提供了一组现代化的 C++C++ 11 或更高版本)接口,让您不用复杂编程即可访问云服务器、云监控等多个阿里云服务。
完成本文档中的操作开始使用 C++ SDK。
## 前提条件
在使用 C++ SDK 前,确保您已经:
* 注册了阿里云账号并获取了访问密钥AccessKey
> **说明:** 为了保证您的账号安全建议您使用RAM账号来访问阿里云服务。阿里云账号对拥有的资源有全部权限。RAM账号由阿里云账号授权创建仅有对特定资源限定的操作权限。详情[参见RAM](https://help.aliyun.com/document_detail/28647.html)。
* 开通了云产品服务。有些云产品如对象存储OSS需要先在[阿里云控制台](https://home.console.aliyun.com)开通服务。
* 安装支持 C++ 11 或更高版本的编译器:
* Visual Studio 2015 或以上版本
* 或 GCC 4.9 或以上版本
## 从源代码构建 SDK
1. 从 GitHub 下载或 Git 克隆 [aliyun-openapi-cpp-sdk](https://github.com/aliyun/aliyun-openapi-cpp-sdk)
* 直接下载 https://github.com/aliyun/aliyun-openapi-cpp-sdk/archive/master.zip
* 使用 Git 命令获取
```
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
2. 安装 cmake 3.0 或以上版本,进入 SDK 创建生成必要的构建文件
```
cd <path/to/aliyun-openapi-cpp-sdk>
mkdir sdk_build
cd sdk_build
cmake ..
```
### Windows
进入 sdk_build 目录使用 Visual Studio 打开 alibabacloud-sdk.sln 生成解决方案。
或者您也可以使用 VS 的开发人员命令提示符,执行以下命令编译并安装:
```
msbuild ALL_BUILD.vcxproj
msbuild INSTALL.vcxproj
```
### Linux
要在 Linux 平台进行编译, 您必须安装依赖的外部库文件 libcurl、libopenssl、libuuid、libjsoncpp, 通常情况下,系统的包管理器中的会有提供。
例如:在基于 Redhat / Fedora 的系统上安装这些软件包
```
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
```
在安装依赖库后执行以下命令编译并安装:
```
make
sudo make install
```
## 如何使用 C++ SDK
在调用 C++ SDK时您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证并指定云服务的地域然后发送API请求。
以下代码展示了如何调用 DescribeInstancesAPI 查询指定地域所有 ECS 实例的详细信息。
> **说明:** 您需要替换示例中的 your-region-id、your-access-key-id 和 your-access-key-secret 的值。
```
#include <iostream>
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/ecs/EcsClient.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Ecs;
int main(int argc, char** argv)
{
// 初始化 SDK
AlibabaCloud::InitializeSdk();
// 配置 ecs 实例
ClientConfiguration configuration("<your-region-id>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// 创建API请求并设置参数
Model::DescribeInstancesRequest request;
request.setPageSize(10);
auto outcome = client.describeInstances(request);
if (!outcome.isSuccess())
{
// 异常处理
std::cout << outcome.error().errorCode() << std::endl;
AlibabaCloud::ShutdownSdk();
return -1;
}
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
// 关闭 SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```
## 许可协议
请参阅 LICENSE 文件Apache 2.0 许可证)。

View File

@@ -1 +1 @@
1.23.2
1.36.203

198
adb/CMakeLists.txt Normal file
View File

@@ -0,0 +1,198 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(adb_public_header
include/alibabacloud/adb/AdbClient.h
include/alibabacloud/adb/AdbExport.h )
set(adb_public_header_model
include/alibabacloud/adb/model/AllocateClusterPublicConnectionRequest.h
include/alibabacloud/adb/model/AllocateClusterPublicConnectionResult.h
include/alibabacloud/adb/model/CreateAccountRequest.h
include/alibabacloud/adb/model/CreateAccountResult.h
include/alibabacloud/adb/model/CreateDBClusterRequest.h
include/alibabacloud/adb/model/CreateDBClusterResult.h
include/alibabacloud/adb/model/DeleteAccountRequest.h
include/alibabacloud/adb/model/DeleteAccountResult.h
include/alibabacloud/adb/model/DescribeAccountsRequest.h
include/alibabacloud/adb/model/DescribeAccountsResult.h
include/alibabacloud/adb/model/DescribeAutoRenewAttributeRequest.h
include/alibabacloud/adb/model/DescribeAutoRenewAttributeResult.h
include/alibabacloud/adb/model/DescribeBackupPolicyRequest.h
include/alibabacloud/adb/model/DescribeBackupPolicyResult.h
include/alibabacloud/adb/model/DescribeBackupsRequest.h
include/alibabacloud/adb/model/DescribeBackupsResult.h
include/alibabacloud/adb/model/DescribeDBClusterAccessWhiteListRequest.h
include/alibabacloud/adb/model/DescribeDBClusterAccessWhiteListResult.h
include/alibabacloud/adb/model/DescribeDBClusterAttributeRequest.h
include/alibabacloud/adb/model/DescribeDBClusterAttributeResult.h
include/alibabacloud/adb/model/DescribeDBClusterNetInfoRequest.h
include/alibabacloud/adb/model/DescribeDBClusterNetInfoResult.h
include/alibabacloud/adb/model/DescribeDBClusterPerformanceRequest.h
include/alibabacloud/adb/model/DescribeDBClusterPerformanceResult.h
include/alibabacloud/adb/model/DescribeDBClustersRequest.h
include/alibabacloud/adb/model/DescribeDBClustersResult.h
include/alibabacloud/adb/model/DescribeOperatorPermissionRequest.h
include/alibabacloud/adb/model/DescribeOperatorPermissionResult.h
include/alibabacloud/adb/model/DescribeRegionsRequest.h
include/alibabacloud/adb/model/DescribeRegionsResult.h
include/alibabacloud/adb/model/DescribeSlowLogRecordsRequest.h
include/alibabacloud/adb/model/DescribeSlowLogRecordsResult.h
include/alibabacloud/adb/model/DescribeSlowLogTrendRequest.h
include/alibabacloud/adb/model/DescribeSlowLogTrendResult.h
include/alibabacloud/adb/model/GrantOperatorPermissionRequest.h
include/alibabacloud/adb/model/GrantOperatorPermissionResult.h
include/alibabacloud/adb/model/ListTagResourcesRequest.h
include/alibabacloud/adb/model/ListTagResourcesResult.h
include/alibabacloud/adb/model/ModifyAccountDescriptionRequest.h
include/alibabacloud/adb/model/ModifyAccountDescriptionResult.h
include/alibabacloud/adb/model/ModifyAutoRenewAttributeRequest.h
include/alibabacloud/adb/model/ModifyAutoRenewAttributeResult.h
include/alibabacloud/adb/model/ModifyDBClusterAccessWhiteListRequest.h
include/alibabacloud/adb/model/ModifyDBClusterAccessWhiteListResult.h
include/alibabacloud/adb/model/ModifyDBClusterDescriptionRequest.h
include/alibabacloud/adb/model/ModifyDBClusterDescriptionResult.h
include/alibabacloud/adb/model/ModifyDBClusterMaintainTimeRequest.h
include/alibabacloud/adb/model/ModifyDBClusterMaintainTimeResult.h
include/alibabacloud/adb/model/ReleaseClusterPublicConnectionRequest.h
include/alibabacloud/adb/model/ReleaseClusterPublicConnectionResult.h
include/alibabacloud/adb/model/ResetAccountPasswordRequest.h
include/alibabacloud/adb/model/ResetAccountPasswordResult.h
include/alibabacloud/adb/model/RevokeOperatorPermissionRequest.h
include/alibabacloud/adb/model/RevokeOperatorPermissionResult.h
include/alibabacloud/adb/model/TagResourcesRequest.h
include/alibabacloud/adb/model/TagResourcesResult.h
include/alibabacloud/adb/model/UntagResourcesRequest.h
include/alibabacloud/adb/model/UntagResourcesResult.h )
set(adb_src
src/AdbClient.cc
src/model/AllocateClusterPublicConnectionRequest.cc
src/model/AllocateClusterPublicConnectionResult.cc
src/model/CreateAccountRequest.cc
src/model/CreateAccountResult.cc
src/model/CreateDBClusterRequest.cc
src/model/CreateDBClusterResult.cc
src/model/DeleteAccountRequest.cc
src/model/DeleteAccountResult.cc
src/model/DescribeAccountsRequest.cc
src/model/DescribeAccountsResult.cc
src/model/DescribeAutoRenewAttributeRequest.cc
src/model/DescribeAutoRenewAttributeResult.cc
src/model/DescribeBackupPolicyRequest.cc
src/model/DescribeBackupPolicyResult.cc
src/model/DescribeBackupsRequest.cc
src/model/DescribeBackupsResult.cc
src/model/DescribeDBClusterAccessWhiteListRequest.cc
src/model/DescribeDBClusterAccessWhiteListResult.cc
src/model/DescribeDBClusterAttributeRequest.cc
src/model/DescribeDBClusterAttributeResult.cc
src/model/DescribeDBClusterNetInfoRequest.cc
src/model/DescribeDBClusterNetInfoResult.cc
src/model/DescribeDBClusterPerformanceRequest.cc
src/model/DescribeDBClusterPerformanceResult.cc
src/model/DescribeDBClustersRequest.cc
src/model/DescribeDBClustersResult.cc
src/model/DescribeOperatorPermissionRequest.cc
src/model/DescribeOperatorPermissionResult.cc
src/model/DescribeRegionsRequest.cc
src/model/DescribeRegionsResult.cc
src/model/DescribeSlowLogRecordsRequest.cc
src/model/DescribeSlowLogRecordsResult.cc
src/model/DescribeSlowLogTrendRequest.cc
src/model/DescribeSlowLogTrendResult.cc
src/model/GrantOperatorPermissionRequest.cc
src/model/GrantOperatorPermissionResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ModifyAccountDescriptionRequest.cc
src/model/ModifyAccountDescriptionResult.cc
src/model/ModifyAutoRenewAttributeRequest.cc
src/model/ModifyAutoRenewAttributeResult.cc
src/model/ModifyDBClusterAccessWhiteListRequest.cc
src/model/ModifyDBClusterAccessWhiteListResult.cc
src/model/ModifyDBClusterDescriptionRequest.cc
src/model/ModifyDBClusterDescriptionResult.cc
src/model/ModifyDBClusterMaintainTimeRequest.cc
src/model/ModifyDBClusterMaintainTimeResult.cc
src/model/ReleaseClusterPublicConnectionRequest.cc
src/model/ReleaseClusterPublicConnectionResult.cc
src/model/ResetAccountPasswordRequest.cc
src/model/ResetAccountPasswordResult.cc
src/model/RevokeOperatorPermissionRequest.cc
src/model/RevokeOperatorPermissionResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc )
add_library(adb ${LIB_TYPE}
${adb_public_header}
${adb_public_header_model}
${adb_src})
set_target_properties(adb
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}adb
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(adb
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_ADB_LIBRARY)
endif()
target_include_directories(adb
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(adb
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(adb
jsoncpp)
target_include_directories(adb
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(adb
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(adb
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(adb
PRIVATE /usr/include/jsoncpp)
target_link_libraries(adb
jsoncpp)
endif()
install(FILES ${adb_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/adb)
install(FILES ${adb_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/adb/model)
install(TARGETS adb
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,278 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADB_ADBCLIENT_H_
#define ALIBABACLOUD_ADB_ADBCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "AdbExport.h"
#include "model/AllocateClusterPublicConnectionRequest.h"
#include "model/AllocateClusterPublicConnectionResult.h"
#include "model/CreateAccountRequest.h"
#include "model/CreateAccountResult.h"
#include "model/CreateDBClusterRequest.h"
#include "model/CreateDBClusterResult.h"
#include "model/DeleteAccountRequest.h"
#include "model/DeleteAccountResult.h"
#include "model/DescribeAccountsRequest.h"
#include "model/DescribeAccountsResult.h"
#include "model/DescribeAutoRenewAttributeRequest.h"
#include "model/DescribeAutoRenewAttributeResult.h"
#include "model/DescribeBackupPolicyRequest.h"
#include "model/DescribeBackupPolicyResult.h"
#include "model/DescribeBackupsRequest.h"
#include "model/DescribeBackupsResult.h"
#include "model/DescribeDBClusterAccessWhiteListRequest.h"
#include "model/DescribeDBClusterAccessWhiteListResult.h"
#include "model/DescribeDBClusterAttributeRequest.h"
#include "model/DescribeDBClusterAttributeResult.h"
#include "model/DescribeDBClusterNetInfoRequest.h"
#include "model/DescribeDBClusterNetInfoResult.h"
#include "model/DescribeDBClusterPerformanceRequest.h"
#include "model/DescribeDBClusterPerformanceResult.h"
#include "model/DescribeDBClustersRequest.h"
#include "model/DescribeDBClustersResult.h"
#include "model/DescribeOperatorPermissionRequest.h"
#include "model/DescribeOperatorPermissionResult.h"
#include "model/DescribeRegionsRequest.h"
#include "model/DescribeRegionsResult.h"
#include "model/DescribeSlowLogRecordsRequest.h"
#include "model/DescribeSlowLogRecordsResult.h"
#include "model/DescribeSlowLogTrendRequest.h"
#include "model/DescribeSlowLogTrendResult.h"
#include "model/GrantOperatorPermissionRequest.h"
#include "model/GrantOperatorPermissionResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ModifyAccountDescriptionRequest.h"
#include "model/ModifyAccountDescriptionResult.h"
#include "model/ModifyAutoRenewAttributeRequest.h"
#include "model/ModifyAutoRenewAttributeResult.h"
#include "model/ModifyDBClusterAccessWhiteListRequest.h"
#include "model/ModifyDBClusterAccessWhiteListResult.h"
#include "model/ModifyDBClusterDescriptionRequest.h"
#include "model/ModifyDBClusterDescriptionResult.h"
#include "model/ModifyDBClusterMaintainTimeRequest.h"
#include "model/ModifyDBClusterMaintainTimeResult.h"
#include "model/ReleaseClusterPublicConnectionRequest.h"
#include "model/ReleaseClusterPublicConnectionResult.h"
#include "model/ResetAccountPasswordRequest.h"
#include "model/ResetAccountPasswordResult.h"
#include "model/RevokeOperatorPermissionRequest.h"
#include "model/RevokeOperatorPermissionResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
namespace AlibabaCloud
{
namespace Adb
{
class ALIBABACLOUD_ADB_EXPORT AdbClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AllocateClusterPublicConnectionResult> AllocateClusterPublicConnectionOutcome;
typedef std::future<AllocateClusterPublicConnectionOutcome> AllocateClusterPublicConnectionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::AllocateClusterPublicConnectionRequest&, const AllocateClusterPublicConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateClusterPublicConnectionAsyncHandler;
typedef Outcome<Error, Model::CreateAccountResult> CreateAccountOutcome;
typedef std::future<CreateAccountOutcome> CreateAccountOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::CreateAccountRequest&, const CreateAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccountAsyncHandler;
typedef Outcome<Error, Model::CreateDBClusterResult> CreateDBClusterOutcome;
typedef std::future<CreateDBClusterOutcome> CreateDBClusterOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::CreateDBClusterRequest&, const CreateDBClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDBClusterAsyncHandler;
typedef Outcome<Error, Model::DeleteAccountResult> DeleteAccountOutcome;
typedef std::future<DeleteAccountOutcome> DeleteAccountOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DeleteAccountRequest&, const DeleteAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccountAsyncHandler;
typedef Outcome<Error, Model::DescribeAccountsResult> DescribeAccountsOutcome;
typedef std::future<DescribeAccountsOutcome> DescribeAccountsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeAccountsRequest&, const DescribeAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountsAsyncHandler;
typedef Outcome<Error, Model::DescribeAutoRenewAttributeResult> DescribeAutoRenewAttributeOutcome;
typedef std::future<DescribeAutoRenewAttributeOutcome> DescribeAutoRenewAttributeOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeAutoRenewAttributeRequest&, const DescribeAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAutoRenewAttributeAsyncHandler;
typedef Outcome<Error, Model::DescribeBackupPolicyResult> DescribeBackupPolicyOutcome;
typedef std::future<DescribeBackupPolicyOutcome> DescribeBackupPolicyOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeBackupPolicyRequest&, const DescribeBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupPolicyAsyncHandler;
typedef Outcome<Error, Model::DescribeBackupsResult> DescribeBackupsOutcome;
typedef std::future<DescribeBackupsOutcome> DescribeBackupsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeBackupsRequest&, const DescribeBackupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupsAsyncHandler;
typedef Outcome<Error, Model::DescribeDBClusterAccessWhiteListResult> DescribeDBClusterAccessWhiteListOutcome;
typedef std::future<DescribeDBClusterAccessWhiteListOutcome> DescribeDBClusterAccessWhiteListOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterAccessWhiteListRequest&, const DescribeDBClusterAccessWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterAccessWhiteListAsyncHandler;
typedef Outcome<Error, Model::DescribeDBClusterAttributeResult> DescribeDBClusterAttributeOutcome;
typedef std::future<DescribeDBClusterAttributeOutcome> DescribeDBClusterAttributeOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterAttributeRequest&, const DescribeDBClusterAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterAttributeAsyncHandler;
typedef Outcome<Error, Model::DescribeDBClusterNetInfoResult> DescribeDBClusterNetInfoOutcome;
typedef std::future<DescribeDBClusterNetInfoOutcome> DescribeDBClusterNetInfoOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterNetInfoRequest&, const DescribeDBClusterNetInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterNetInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeDBClusterPerformanceResult> DescribeDBClusterPerformanceOutcome;
typedef std::future<DescribeDBClusterPerformanceOutcome> DescribeDBClusterPerformanceOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterPerformanceRequest&, const DescribeDBClusterPerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterPerformanceAsyncHandler;
typedef Outcome<Error, Model::DescribeDBClustersResult> DescribeDBClustersOutcome;
typedef std::future<DescribeDBClustersOutcome> DescribeDBClustersOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClustersRequest&, const DescribeDBClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClustersAsyncHandler;
typedef Outcome<Error, Model::DescribeOperatorPermissionResult> DescribeOperatorPermissionOutcome;
typedef std::future<DescribeOperatorPermissionOutcome> DescribeOperatorPermissionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeOperatorPermissionRequest&, const DescribeOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOperatorPermissionAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
typedef Outcome<Error, Model::DescribeSlowLogRecordsResult> DescribeSlowLogRecordsOutcome;
typedef std::future<DescribeSlowLogRecordsOutcome> DescribeSlowLogRecordsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeSlowLogRecordsRequest&, const DescribeSlowLogRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSlowLogRecordsAsyncHandler;
typedef Outcome<Error, Model::DescribeSlowLogTrendResult> DescribeSlowLogTrendOutcome;
typedef std::future<DescribeSlowLogTrendOutcome> DescribeSlowLogTrendOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeSlowLogTrendRequest&, const DescribeSlowLogTrendOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSlowLogTrendAsyncHandler;
typedef Outcome<Error, Model::GrantOperatorPermissionResult> GrantOperatorPermissionOutcome;
typedef std::future<GrantOperatorPermissionOutcome> GrantOperatorPermissionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::GrantOperatorPermissionRequest&, const GrantOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GrantOperatorPermissionAsyncHandler;
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
typedef Outcome<Error, Model::ModifyAccountDescriptionResult> ModifyAccountDescriptionOutcome;
typedef std::future<ModifyAccountDescriptionOutcome> ModifyAccountDescriptionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ModifyAccountDescriptionRequest&, const ModifyAccountDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountDescriptionAsyncHandler;
typedef Outcome<Error, Model::ModifyAutoRenewAttributeResult> ModifyAutoRenewAttributeOutcome;
typedef std::future<ModifyAutoRenewAttributeOutcome> ModifyAutoRenewAttributeOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ModifyAutoRenewAttributeRequest&, const ModifyAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAutoRenewAttributeAsyncHandler;
typedef Outcome<Error, Model::ModifyDBClusterAccessWhiteListResult> ModifyDBClusterAccessWhiteListOutcome;
typedef std::future<ModifyDBClusterAccessWhiteListOutcome> ModifyDBClusterAccessWhiteListOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ModifyDBClusterAccessWhiteListRequest&, const ModifyDBClusterAccessWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBClusterAccessWhiteListAsyncHandler;
typedef Outcome<Error, Model::ModifyDBClusterDescriptionResult> ModifyDBClusterDescriptionOutcome;
typedef std::future<ModifyDBClusterDescriptionOutcome> ModifyDBClusterDescriptionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ModifyDBClusterDescriptionRequest&, const ModifyDBClusterDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBClusterDescriptionAsyncHandler;
typedef Outcome<Error, Model::ModifyDBClusterMaintainTimeResult> ModifyDBClusterMaintainTimeOutcome;
typedef std::future<ModifyDBClusterMaintainTimeOutcome> ModifyDBClusterMaintainTimeOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ModifyDBClusterMaintainTimeRequest&, const ModifyDBClusterMaintainTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBClusterMaintainTimeAsyncHandler;
typedef Outcome<Error, Model::ReleaseClusterPublicConnectionResult> ReleaseClusterPublicConnectionOutcome;
typedef std::future<ReleaseClusterPublicConnectionOutcome> ReleaseClusterPublicConnectionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ReleaseClusterPublicConnectionRequest&, const ReleaseClusterPublicConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseClusterPublicConnectionAsyncHandler;
typedef Outcome<Error, Model::ResetAccountPasswordResult> ResetAccountPasswordOutcome;
typedef std::future<ResetAccountPasswordOutcome> ResetAccountPasswordOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ResetAccountPasswordRequest&, const ResetAccountPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetAccountPasswordAsyncHandler;
typedef Outcome<Error, Model::RevokeOperatorPermissionResult> RevokeOperatorPermissionOutcome;
typedef std::future<RevokeOperatorPermissionOutcome> RevokeOperatorPermissionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::RevokeOperatorPermissionRequest&, const RevokeOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeOperatorPermissionAsyncHandler;
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
AdbClient(const Credentials &credentials, const ClientConfiguration &configuration);
AdbClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
AdbClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~AdbClient();
AllocateClusterPublicConnectionOutcome allocateClusterPublicConnection(const Model::AllocateClusterPublicConnectionRequest &request)const;
void allocateClusterPublicConnectionAsync(const Model::AllocateClusterPublicConnectionRequest& request, const AllocateClusterPublicConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AllocateClusterPublicConnectionOutcomeCallable allocateClusterPublicConnectionCallable(const Model::AllocateClusterPublicConnectionRequest& request) const;
CreateAccountOutcome createAccount(const Model::CreateAccountRequest &request)const;
void createAccountAsync(const Model::CreateAccountRequest& request, const CreateAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAccountOutcomeCallable createAccountCallable(const Model::CreateAccountRequest& request) const;
CreateDBClusterOutcome createDBCluster(const Model::CreateDBClusterRequest &request)const;
void createDBClusterAsync(const Model::CreateDBClusterRequest& request, const CreateDBClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDBClusterOutcomeCallable createDBClusterCallable(const Model::CreateDBClusterRequest& request) const;
DeleteAccountOutcome deleteAccount(const Model::DeleteAccountRequest &request)const;
void deleteAccountAsync(const Model::DeleteAccountRequest& request, const DeleteAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAccountOutcomeCallable deleteAccountCallable(const Model::DeleteAccountRequest& request) const;
DescribeAccountsOutcome describeAccounts(const Model::DescribeAccountsRequest &request)const;
void describeAccountsAsync(const Model::DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAccountsOutcomeCallable describeAccountsCallable(const Model::DescribeAccountsRequest& request) const;
DescribeAutoRenewAttributeOutcome describeAutoRenewAttribute(const Model::DescribeAutoRenewAttributeRequest &request)const;
void describeAutoRenewAttributeAsync(const Model::DescribeAutoRenewAttributeRequest& request, const DescribeAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAutoRenewAttributeOutcomeCallable describeAutoRenewAttributeCallable(const Model::DescribeAutoRenewAttributeRequest& request) const;
DescribeBackupPolicyOutcome describeBackupPolicy(const Model::DescribeBackupPolicyRequest &request)const;
void describeBackupPolicyAsync(const Model::DescribeBackupPolicyRequest& request, const DescribeBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBackupPolicyOutcomeCallable describeBackupPolicyCallable(const Model::DescribeBackupPolicyRequest& request) const;
DescribeBackupsOutcome describeBackups(const Model::DescribeBackupsRequest &request)const;
void describeBackupsAsync(const Model::DescribeBackupsRequest& request, const DescribeBackupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBackupsOutcomeCallable describeBackupsCallable(const Model::DescribeBackupsRequest& request) const;
DescribeDBClusterAccessWhiteListOutcome describeDBClusterAccessWhiteList(const Model::DescribeDBClusterAccessWhiteListRequest &request)const;
void describeDBClusterAccessWhiteListAsync(const Model::DescribeDBClusterAccessWhiteListRequest& request, const DescribeDBClusterAccessWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterAccessWhiteListOutcomeCallable describeDBClusterAccessWhiteListCallable(const Model::DescribeDBClusterAccessWhiteListRequest& request) const;
DescribeDBClusterAttributeOutcome describeDBClusterAttribute(const Model::DescribeDBClusterAttributeRequest &request)const;
void describeDBClusterAttributeAsync(const Model::DescribeDBClusterAttributeRequest& request, const DescribeDBClusterAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterAttributeOutcomeCallable describeDBClusterAttributeCallable(const Model::DescribeDBClusterAttributeRequest& request) const;
DescribeDBClusterNetInfoOutcome describeDBClusterNetInfo(const Model::DescribeDBClusterNetInfoRequest &request)const;
void describeDBClusterNetInfoAsync(const Model::DescribeDBClusterNetInfoRequest& request, const DescribeDBClusterNetInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterNetInfoOutcomeCallable describeDBClusterNetInfoCallable(const Model::DescribeDBClusterNetInfoRequest& request) const;
DescribeDBClusterPerformanceOutcome describeDBClusterPerformance(const Model::DescribeDBClusterPerformanceRequest &request)const;
void describeDBClusterPerformanceAsync(const Model::DescribeDBClusterPerformanceRequest& request, const DescribeDBClusterPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterPerformanceOutcomeCallable describeDBClusterPerformanceCallable(const Model::DescribeDBClusterPerformanceRequest& request) const;
DescribeDBClustersOutcome describeDBClusters(const Model::DescribeDBClustersRequest &request)const;
void describeDBClustersAsync(const Model::DescribeDBClustersRequest& request, const DescribeDBClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClustersOutcomeCallable describeDBClustersCallable(const Model::DescribeDBClustersRequest& request) const;
DescribeOperatorPermissionOutcome describeOperatorPermission(const Model::DescribeOperatorPermissionRequest &request)const;
void describeOperatorPermissionAsync(const Model::DescribeOperatorPermissionRequest& request, const DescribeOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeOperatorPermissionOutcomeCallable describeOperatorPermissionCallable(const Model::DescribeOperatorPermissionRequest& request) const;
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
DescribeSlowLogRecordsOutcome describeSlowLogRecords(const Model::DescribeSlowLogRecordsRequest &request)const;
void describeSlowLogRecordsAsync(const Model::DescribeSlowLogRecordsRequest& request, const DescribeSlowLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSlowLogRecordsOutcomeCallable describeSlowLogRecordsCallable(const Model::DescribeSlowLogRecordsRequest& request) const;
DescribeSlowLogTrendOutcome describeSlowLogTrend(const Model::DescribeSlowLogTrendRequest &request)const;
void describeSlowLogTrendAsync(const Model::DescribeSlowLogTrendRequest& request, const DescribeSlowLogTrendAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSlowLogTrendOutcomeCallable describeSlowLogTrendCallable(const Model::DescribeSlowLogTrendRequest& request) const;
GrantOperatorPermissionOutcome grantOperatorPermission(const Model::GrantOperatorPermissionRequest &request)const;
void grantOperatorPermissionAsync(const Model::GrantOperatorPermissionRequest& request, const GrantOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GrantOperatorPermissionOutcomeCallable grantOperatorPermissionCallable(const Model::GrantOperatorPermissionRequest& request) const;
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
ModifyAccountDescriptionOutcome modifyAccountDescription(const Model::ModifyAccountDescriptionRequest &request)const;
void modifyAccountDescriptionAsync(const Model::ModifyAccountDescriptionRequest& request, const ModifyAccountDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAccountDescriptionOutcomeCallable modifyAccountDescriptionCallable(const Model::ModifyAccountDescriptionRequest& request) const;
ModifyAutoRenewAttributeOutcome modifyAutoRenewAttribute(const Model::ModifyAutoRenewAttributeRequest &request)const;
void modifyAutoRenewAttributeAsync(const Model::ModifyAutoRenewAttributeRequest& request, const ModifyAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAutoRenewAttributeOutcomeCallable modifyAutoRenewAttributeCallable(const Model::ModifyAutoRenewAttributeRequest& request) const;
ModifyDBClusterAccessWhiteListOutcome modifyDBClusterAccessWhiteList(const Model::ModifyDBClusterAccessWhiteListRequest &request)const;
void modifyDBClusterAccessWhiteListAsync(const Model::ModifyDBClusterAccessWhiteListRequest& request, const ModifyDBClusterAccessWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDBClusterAccessWhiteListOutcomeCallable modifyDBClusterAccessWhiteListCallable(const Model::ModifyDBClusterAccessWhiteListRequest& request) const;
ModifyDBClusterDescriptionOutcome modifyDBClusterDescription(const Model::ModifyDBClusterDescriptionRequest &request)const;
void modifyDBClusterDescriptionAsync(const Model::ModifyDBClusterDescriptionRequest& request, const ModifyDBClusterDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDBClusterDescriptionOutcomeCallable modifyDBClusterDescriptionCallable(const Model::ModifyDBClusterDescriptionRequest& request) const;
ModifyDBClusterMaintainTimeOutcome modifyDBClusterMaintainTime(const Model::ModifyDBClusterMaintainTimeRequest &request)const;
void modifyDBClusterMaintainTimeAsync(const Model::ModifyDBClusterMaintainTimeRequest& request, const ModifyDBClusterMaintainTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDBClusterMaintainTimeOutcomeCallable modifyDBClusterMaintainTimeCallable(const Model::ModifyDBClusterMaintainTimeRequest& request) const;
ReleaseClusterPublicConnectionOutcome releaseClusterPublicConnection(const Model::ReleaseClusterPublicConnectionRequest &request)const;
void releaseClusterPublicConnectionAsync(const Model::ReleaseClusterPublicConnectionRequest& request, const ReleaseClusterPublicConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseClusterPublicConnectionOutcomeCallable releaseClusterPublicConnectionCallable(const Model::ReleaseClusterPublicConnectionRequest& request) const;
ResetAccountPasswordOutcome resetAccountPassword(const Model::ResetAccountPasswordRequest &request)const;
void resetAccountPasswordAsync(const Model::ResetAccountPasswordRequest& request, const ResetAccountPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResetAccountPasswordOutcomeCallable resetAccountPasswordCallable(const Model::ResetAccountPasswordRequest& request) const;
RevokeOperatorPermissionOutcome revokeOperatorPermission(const Model::RevokeOperatorPermissionRequest &request)const;
void revokeOperatorPermissionAsync(const Model::RevokeOperatorPermissionRequest& request, const RevokeOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RevokeOperatorPermissionOutcomeCallable revokeOperatorPermissionCallable(const Model::RevokeOperatorPermissionRequest& request) const;
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_ADB_ADBCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADB_ADBEXPORT_H_
#define ALIBABACLOUD_ADB_ADBEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_ADB_LIBRARY)
# define ALIBABACLOUD_ADB_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_ADB_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_ADB_EXPORT
#endif
#endif // !ALIBABACLOUD_ADB_ADBEXPORT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_ALLOCATECLUSTERPUBLICCONNECTIONREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_ALLOCATECLUSTERPUBLICCONNECTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT AllocateClusterPublicConnectionRequest : public RpcServiceRequest
{
public:
AllocateClusterPublicConnectionRequest();
~AllocateClusterPublicConnectionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getConnectionStringPrefix()const;
void setConnectionStringPrefix(const std::string& connectionStringPrefix);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string connectionStringPrefix_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_ALLOCATECLUSTERPUBLICCONNECTIONREQUEST_H_

View File

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

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_CREATEACCOUNTREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_CREATEACCOUNTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT CreateAccountRequest : public RpcServiceRequest
{
public:
CreateAccountRequest();
~CreateAccountRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccountDescription()const;
void setAccountDescription(const std::string& accountDescription);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountName()const;
void setAccountName(const std::string& accountName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccountPassword()const;
void setAccountPassword(const std::string& accountPassword);
private:
long resourceOwnerId_;
std::string accountDescription_;
std::string accessKeyId_;
std::string accountName_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
std::string accountPassword_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_CREATEACCOUNTREQUEST_H_

View File

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

View File

@@ -0,0 +1,105 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_CREATEDBCLUSTERREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_CREATEDBCLUSTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT CreateDBClusterRequest : public RpcServiceRequest
{
public:
CreateDBClusterRequest();
~CreateDBClusterRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDBClusterDescription()const;
void setDBClusterDescription(const std::string& dBClusterDescription);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDBClusterCategory()const;
void setDBClusterCategory(const std::string& dBClusterCategory);
std::string getDBClusterNetworkType()const;
void setDBClusterNetworkType(const std::string& dBClusterNetworkType);
std::string getPeriod()const;
void setPeriod(const std::string& period);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDBClusterVersion()const;
void setDBClusterVersion(const std::string& dBClusterVersion);
std::string getDBClusterClass()const;
void setDBClusterClass(const std::string& dBClusterClass);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBNodeGroupCount()const;
void setDBNodeGroupCount(const std::string& dBNodeGroupCount);
std::string getUsedTime()const;
void setUsedTime(const std::string& usedTime);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getDBNodeStorage()const;
void setDBNodeStorage(const std::string& dBNodeStorage);
std::string getVPCId()const;
void setVPCId(const std::string& vPCId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getPayType()const;
void setPayType(const std::string& payType);
private:
long resourceOwnerId_;
std::string dBClusterDescription_;
std::string clientToken_;
std::string accessKeyId_;
std::string regionId_;
std::string dBClusterCategory_;
std::string dBClusterNetworkType_;
std::string period_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBClusterVersion_;
std::string dBClusterClass_;
long ownerId_;
std::string dBNodeGroupCount_;
std::string usedTime_;
std::string vSwitchId_;
std::string dBNodeStorage_;
std::string vPCId_;
std::string zoneId_;
std::string payType_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_CREATEDBCLUSTERREQUEST_H_

View File

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

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DELETEACCOUNTREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DELETEACCOUNTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DeleteAccountRequest : public RpcServiceRequest
{
public:
DeleteAccountRequest();
~DeleteAccountRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountName()const;
void setAccountName(const std::string& accountName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string accountName_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DELETEACCOUNTREQUEST_H_

View File

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

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEACCOUNTSREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEACCOUNTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeAccountsRequest : public RpcServiceRequest
{
public:
DescribeAccountsRequest();
~DescribeAccountsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountName()const;
void setAccountName(const std::string& accountName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string accountName_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEACCOUNTSREQUEST_H_

View File

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

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAUTORENEWATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUTORENEWATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeAutoRenewAttributeRequest : public RpcServiceRequest
{
public:
DescribeAutoRenewAttributeRequest();
~DescribeAutoRenewAttributeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBClusterIds()const;
void setDBClusterIds(const std::string& dBClusterIds);
private:
long resourceOwnerId_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int pageSize_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string dBClusterIds_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUTORENEWATTRIBUTEREQUEST_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAUTORENEWATTRIBUTERESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUTORENEWATTRIBUTERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeAutoRenewAttributeResult : public ServiceResult
{
public:
struct AutoRenewAttribute
{
bool autoRenewEnabled;
std::string dBClusterId;
std::string renewalStatus;
int duration;
std::string regionId;
std::string periodUnit;
};
DescribeAutoRenewAttributeResult();
explicit DescribeAutoRenewAttributeResult(const std::string &payload);
~DescribeAutoRenewAttributeResult();
int getTotalRecordCount()const;
int getPageRecordCount()const;
int getPageNumber()const;
std::vector<AutoRenewAttribute> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalRecordCount_;
int pageRecordCount_;
int pageNumber_;
std::vector<AutoRenewAttribute> items_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUTORENEWATTRIBUTERESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeBackupPolicyRequest : public RpcServiceRequest
{
public:
DescribeBackupPolicyRequest();
~DescribeBackupPolicyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_

View File

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

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEBACKUPSREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEBACKUPSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeBackupsRequest : public RpcServiceRequest
{
public:
DescribeBackupsRequest();
~DescribeBackupsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getBackupId()const;
void setBackupId(const std::string& backupId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string startTime_;
int pageNumber_;
std::string accessKeyId_;
int pageSize_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
std::string backupId_;
std::string endTime_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEBACKUPSREQUEST_H_

View File

@@ -0,0 +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_ADB_MODEL_DESCRIBEBACKUPSRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEBACKUPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeBackupsResult : public ServiceResult
{
public:
struct Backup
{
std::string backupMethod;
std::string backupEndTime;
int backupSize;
std::string dBClusterId;
std::string backupStartTime;
std::string backupId;
std::string backupType;
};
DescribeBackupsResult();
explicit DescribeBackupsResult(const std::string &payload);
~DescribeBackupsResult();
std::string getTotalCount()const;
std::string getPageSize()const;
std::string getPageNumber()const;
std::vector<Backup> getItems()const;
protected:
void parse(const std::string &payload);
private:
std::string totalCount_;
std::string pageSize_;
std::string pageNumber_;
std::vector<Backup> items_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEBACKUPSRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERACCESSWHITELISTREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERACCESSWHITELISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterAccessWhiteListRequest : public RpcServiceRequest
{
public:
DescribeDBClusterAccessWhiteListRequest();
~DescribeDBClusterAccessWhiteListRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERACCESSWHITELISTREQUEST_H_

View File

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

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterAttributeRequest : public RpcServiceRequest
{
public:
DescribeDBClusterAttributeRequest();
~DescribeDBClusterAttributeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERATTRIBUTEREQUEST_H_

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERATTRIBUTERESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERATTRIBUTERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterAttributeResult : public ServiceResult
{
public:
struct DBCluster
{
struct Tag
{
std::string value;
std::string key;
};
std::string category;
std::string dBClusterId;
std::string dBClusterNetworkType;
std::string dBClusterType;
std::string dBVersion;
long dBNodeCount;
std::string commodityCode;
std::string lockReason;
std::string maintainTime;
std::vector<DBCluster::Tag> tags;
std::string engine;
long dBNodeStorage;
std::string zoneId;
std::string vPCId;
std::string dBClusterStatus;
std::string vSwitchId;
std::string dBClusterDescription;
std::string expired;
std::string lockMode;
std::string payType;
std::string dBNodeClass;
std::string vPCCloudInstanceId;
std::string creationTime;
std::string regionId;
std::string expireTime;
};
DescribeDBClusterAttributeResult();
explicit DescribeDBClusterAttributeResult(const std::string &payload);
~DescribeDBClusterAttributeResult();
std::vector<DBCluster> getItems()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DBCluster> items_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERATTRIBUTERESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERNETINFOREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERNETINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterNetInfoRequest : public RpcServiceRequest
{
public:
DescribeDBClusterNetInfoRequest();
~DescribeDBClusterNetInfoRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERNETINFOREQUEST_H_

View File

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

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERPERFORMANCEREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERPERFORMANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterPerformanceRequest : public RpcServiceRequest
{
public:
DescribeDBClusterPerformanceRequest();
~DescribeDBClusterPerformanceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getKey()const;
void setKey(const std::string& key);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string startTime_;
std::string accessKeyId_;
std::string key_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
std::string endTime_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERPERFORMANCEREQUEST_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_ADB_MODEL_DESCRIBEDBCLUSTERPERFORMANCERESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERPERFORMANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterPerformanceResult : public ServiceResult
{
public:
struct PerformanceItem
{
struct SeriesItem
{
std::vector<std::string> values;
std::string name;
};
std::vector<PerformanceItem::SeriesItem> series;
std::string unit;
std::string key;
};
DescribeDBClusterPerformanceResult();
explicit DescribeDBClusterPerformanceResult(const std::string &payload);
~DescribeDBClusterPerformanceResult();
std::string getEndTime()const;
std::string getDBClusterId()const;
std::string getStartTime()const;
std::vector<PerformanceItem> getPerformances()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string dBClusterId_;
std::string startTime_;
std::vector<PerformanceItem> performances_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERPERFORMANCERESULT_H_

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADB_MODEL_DESCRIBEDBCLUSTERSREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeDBClustersRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
DescribeDBClustersRequest();
~DescribeDBClustersRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDBClusterDescription()const;
void setDBClusterDescription(const std::string& dBClusterDescription);
std::string getDBClusterStatus()const;
void setDBClusterStatus(const std::string& dBClusterStatus);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBClusterIds()const;
void setDBClusterIds(const std::string& dBClusterIds);
private:
long resourceOwnerId_;
std::string dBClusterDescription_;
std::string dBClusterStatus_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int pageSize_;
std::vector<Tag> tag_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string dBClusterIds_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERSREQUEST_H_

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADB_MODEL_DESCRIBEDBCLUSTERSRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeDBClustersResult : public ServiceResult
{
public:
struct DBCluster
{
struct Tag
{
std::string value;
std::string key;
};
long dBNodeStorage;
std::string dBClusterStatus;
std::string createTime;
std::string dBClusterId;
std::string dBClusterDescription;
std::string expired;
std::string payType;
std::string lockMode;
std::string dBNodeClass;
std::string dBClusterType;
std::string dBVersion;
long dBNodeCount;
std::string commodityCode;
std::string regionId;
std::string expireTime;
std::string lockReason;
std::vector<DBCluster::Tag> tags;
};
DescribeDBClustersResult();
explicit DescribeDBClustersResult(const std::string &payload);
~DescribeDBClustersResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<DBCluster> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<DBCluster> items_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERSRESULT_H_

View File

@@ -14,21 +14,21 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEOPERATORPERMISSIONREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEOPERATORPERMISSIONREQUEST_H_
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEOPERATORPERMISSIONREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEOPERATORPERMISSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rds/RdsExport.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Rds
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeOperatorPermissionRequest : public RpcServiceRequest
class ALIBABACLOUD_ADB_EXPORT DescribeOperatorPermissionRequest : public RpcServiceRequest
{
public:
@@ -37,27 +37,27 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEOPERATORPERMISSIONREQUEST_H_
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEOPERATORPERMISSIONREQUEST_H_

View File

@@ -14,22 +14,22 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEOPERATORPERMISSIONRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEOPERATORPERMISSIONRESULT_H_
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEOPERATORPERMISSIONRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEOPERATORPERMISSIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rds/RdsExport.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Rds
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeOperatorPermissionResult : public ServiceResult
class ALIBABACLOUD_ADB_EXPORT DescribeOperatorPermissionResult : public ServiceResult
{
public:
@@ -40,6 +40,7 @@ namespace AlibabaCloud
std::string getCreatedTime()const;
std::string getPrivileges()const;
std::string getExpiredTime()const;
std::string getDBClusterId()const;
protected:
void parse(const std::string &payload);
@@ -47,9 +48,10 @@ namespace AlibabaCloud
std::string createdTime_;
std::string privileges_;
std::string expiredTime_;
std::string dBClusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEOPERATORPERMISSIONRESULT_H_
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEOPERATORPERMISSIONRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEREGIONSREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEREGIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeRegionsRequest : public RpcServiceRequest
{
public:
DescribeRegionsRequest();
~DescribeRegionsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEREGIONSREQUEST_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_ADB_MODEL_DESCRIBEREGIONSRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEREGIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeRegionsResult : public ServiceResult
{
public:
struct Region
{
struct Zone
{
bool vpcEnabled;
std::string zoneId;
};
std::string regionId;
std::vector<Region::Zone> zones;
};
DescribeRegionsResult();
explicit DescribeRegionsResult(const std::string &payload);
~DescribeRegionsResult();
std::vector<Region> getRegions()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Region> regions_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEREGIONSRESULT_H_

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeSlowLogRecordsRequest : public RpcServiceRequest
{
public:
DescribeSlowLogRecordsRequest();
~DescribeSlowLogRecordsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBName()const;
void setDBName(const std::string& dBName);
private:
long resourceOwnerId_;
std::string startTime_;
int pageNumber_;
std::string accessKeyId_;
int pageSize_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
std::string endTime_;
long ownerId_;
std::string dBName_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBESLOWLOGRECORDSRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBESLOWLOGRECORDSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeSlowLogRecordsResult : public ServiceResult
{
public:
struct SlowLogRecord
{
std::string userName;
std::string executionStartTime;
long returnRowCounts;
std::string dBName;
long queryTime;
long parseRowCounts;
std::string processID;
std::string hostAddress;
std::string sQLText;
};
DescribeSlowLogRecordsResult();
explicit DescribeSlowLogRecordsResult(const std::string &payload);
~DescribeSlowLogRecordsResult();
std::string getTotalCount()const;
std::string getPageSize()const;
std::string getPageNumber()const;
std::string getDBClusterId()const;
std::vector<SlowLogRecord> getItems()const;
protected:
void parse(const std::string &payload);
private:
std::string totalCount_;
std::string pageSize_;
std::string pageNumber_;
std::string dBClusterId_;
std::vector<SlowLogRecord> items_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESLOWLOGRECORDSRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBESLOWLOGTRENDREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBESLOWLOGTRENDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeSlowLogTrendRequest : public RpcServiceRequest
{
public:
DescribeSlowLogTrendRequest();
~DescribeSlowLogTrendRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBName()const;
void setDBName(const std::string& dBName);
private:
long resourceOwnerId_;
std::string startTime_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
std::string endTime_;
long ownerId_;
std::string dBName_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESLOWLOGTRENDREQUEST_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_ADB_MODEL_DESCRIBESLOWLOGTRENDRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBESLOWLOGTRENDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeSlowLogTrendResult : public ServiceResult
{
public:
struct SlowLogTrendItem
{
struct SeriesItem
{
std::string values;
std::string name;
};
std::vector<SlowLogTrendItem::SeriesItem> series;
std::string unit;
std::string key;
};
DescribeSlowLogTrendResult();
explicit DescribeSlowLogTrendResult(const std::string &payload);
~DescribeSlowLogTrendResult();
std::string getEndTime()const;
std::string getDBClusterId()const;
std::string getStartTime()const;
std::vector<SlowLogTrendItem> getItems()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string dBClusterId_;
std::string startTime_;
std::vector<SlowLogTrendItem> items_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESLOWLOGTRENDRESULT_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_ADB_MODEL_GRANTOPERATORPERMISSIONREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_GRANTOPERATORPERMISSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT GrantOperatorPermissionRequest : public RpcServiceRequest
{
public:
GrantOperatorPermissionRequest();
~GrantOperatorPermissionRequest();
std::string getPrivileges()const;
void setPrivileges(const std::string& privileges);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getExpiredTime()const;
void setExpiredTime(const std::string& expiredTime);
private:
std::string privileges_;
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
std::string expiredTime_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_GRANTOPERATORPERMISSIONREQUEST_H_

View File

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

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ListTagResourcesRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
ListTagResourcesRequest();
~ListTagResourcesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string nextToken_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESREQUEST_H_

View File

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

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ModifyAccountDescriptionRequest : public RpcServiceRequest
{
public:
ModifyAccountDescriptionRequest();
~ModifyAccountDescriptionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccountDescription()const;
void setAccountDescription(const std::string& accountDescription);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountName()const;
void setAccountName(const std::string& accountName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accountDescription_;
std::string accessKeyId_;
std::string accountName_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_

View File

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

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYAUTORENEWATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYAUTORENEWATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ModifyAutoRenewAttributeRequest : public RpcServiceRequest
{
public:
ModifyAutoRenewAttributeRequest();
~ModifyAutoRenewAttributeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDuration()const;
void setDuration(const std::string& duration);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getRenewalStatus()const;
void setRenewalStatus(const std::string& renewalStatus);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPeriodUnit()const;
void setPeriodUnit(const std::string& periodUnit);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string duration_;
std::string regionId_;
std::string renewalStatus_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
std::string periodUnit_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYAUTORENEWATTRIBUTEREQUEST_H_

View File

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

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERACCESSWHITELISTREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERACCESSWHITELISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ModifyDBClusterAccessWhiteListRequest : public RpcServiceRequest
{
public:
ModifyDBClusterAccessWhiteListRequest();
~ModifyDBClusterAccessWhiteListRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSecurityIps()const;
void setSecurityIps(const std::string& securityIps);
std::string getDBClusterIPArrayAttribute()const;
void setDBClusterIPArrayAttribute(const std::string& dBClusterIPArrayAttribute);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getModifyMode()const;
void setModifyMode(const std::string& modifyMode);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBClusterIPArrayName()const;
void setDBClusterIPArrayName(const std::string& dBClusterIPArrayName);
private:
long resourceOwnerId_;
std::string securityIps_;
std::string dBClusterIPArrayAttribute_;
std::string accessKeyId_;
std::string modifyMode_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
std::string dBClusterIPArrayName_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERACCESSWHITELISTREQUEST_H_

View File

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

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERDESCRIPTIONREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERDESCRIPTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ModifyDBClusterDescriptionRequest : public RpcServiceRequest
{
public:
ModifyDBClusterDescriptionRequest();
~ModifyDBClusterDescriptionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDBClusterDescription()const;
void setDBClusterDescription(const std::string& dBClusterDescription);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string dBClusterDescription_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERDESCRIPTIONREQUEST_H_

View File

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

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERMAINTAINTIMEREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERMAINTAINTIMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ModifyDBClusterMaintainTimeRequest : public RpcServiceRequest
{
public:
ModifyDBClusterMaintainTimeRequest();
~ModifyDBClusterMaintainTimeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getMaintainTime()const;
void setMaintainTime(const std::string& maintainTime);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string maintainTime_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERMAINTAINTIMEREQUEST_H_

View File

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

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_RELEASECLUSTERPUBLICCONNECTIONREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_RELEASECLUSTERPUBLICCONNECTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ReleaseClusterPublicConnectionRequest : public RpcServiceRequest
{
public:
ReleaseClusterPublicConnectionRequest();
~ReleaseClusterPublicConnectionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_RELEASECLUSTERPUBLICCONNECTIONREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_RELEASECLUSTERPUBLICCONNECTIONRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_RELEASECLUSTERPUBLICCONNECTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ReleaseClusterPublicConnectionResult : public ServiceResult
{
public:
ReleaseClusterPublicConnectionResult();
explicit ReleaseClusterPublicConnectionResult(const std::string &payload);
~ReleaseClusterPublicConnectionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_RELEASECLUSTERPUBLICCONNECTIONRESULT_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_ADB_MODEL_RESETACCOUNTPASSWORDREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_RESETACCOUNTPASSWORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ResetAccountPasswordRequest : public RpcServiceRequest
{
public:
ResetAccountPasswordRequest();
~ResetAccountPasswordRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccountName()const;
void setAccountName(const std::string& accountName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccountPassword()const;
void setAccountPassword(const std::string& accountPassword);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string accountName_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
std::string accountPassword_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_RESETACCOUNTPASSWORDREQUEST_H_

View File

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

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_REVOKEOPERATORPERMISSIONREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_REVOKEOPERATORPERMISSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT RevokeOperatorPermissionRequest : public RpcServiceRequest
{
public:
RevokeOperatorPermissionRequest();
~RevokeOperatorPermissionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_REVOKEOPERATORPERMISSIONREQUEST_H_

View File

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

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_TAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_TAGRESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT TagResourcesRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
TagResourcesRequest();
~TagResourcesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_TAGRESOURCESREQUEST_H_

View File

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

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT UntagResourcesRequest : public RpcServiceRequest
{
public:
UntagResourcesRequest();
~UntagResourcesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getAll()const;
void setAll(bool all);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::vector<std::string> getTagKey()const;
void setTagKey(const std::vector<std::string>& tagKey);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
bool all_;
std::vector<std::string> resourceId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
std::vector<std::string> tagKey_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESREQUEST_H_

View File

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

1097
adb/src/AdbClient.cc Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/AllocateClusterPublicConnectionRequest.h>
using AlibabaCloud::Adb::Model::AllocateClusterPublicConnectionRequest;
AllocateClusterPublicConnectionRequest::AllocateClusterPublicConnectionRequest() :
RpcServiceRequest("adb", "2019-03-15", "AllocateClusterPublicConnection")
{
setMethod(HttpRequest::Method::Post);
}
AllocateClusterPublicConnectionRequest::~AllocateClusterPublicConnectionRequest()
{}
long AllocateClusterPublicConnectionRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void AllocateClusterPublicConnectionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AllocateClusterPublicConnectionRequest::getConnectionStringPrefix()const
{
return connectionStringPrefix_;
}
void AllocateClusterPublicConnectionRequest::setConnectionStringPrefix(const std::string& connectionStringPrefix)
{
connectionStringPrefix_ = connectionStringPrefix;
setCoreParameter("ConnectionStringPrefix", connectionStringPrefix);
}
std::string AllocateClusterPublicConnectionRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void AllocateClusterPublicConnectionRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string AllocateClusterPublicConnectionRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void AllocateClusterPublicConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AllocateClusterPublicConnectionRequest::getDBClusterId()const
{
return dBClusterId_;
}
void AllocateClusterPublicConnectionRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setCoreParameter("DBClusterId", dBClusterId);
}
std::string AllocateClusterPublicConnectionRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void AllocateClusterPublicConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long AllocateClusterPublicConnectionRequest::getOwnerId()const
{
return ownerId_;
}
void AllocateClusterPublicConnectionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}

View File

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

View File

@@ -0,0 +1,128 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/CreateAccountRequest.h>
using AlibabaCloud::Adb::Model::CreateAccountRequest;
CreateAccountRequest::CreateAccountRequest() :
RpcServiceRequest("adb", "2019-03-15", "CreateAccount")
{
setMethod(HttpRequest::Method::Post);
}
CreateAccountRequest::~CreateAccountRequest()
{}
long CreateAccountRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateAccountRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateAccountRequest::getAccountDescription()const
{
return accountDescription_;
}
void CreateAccountRequest::setAccountDescription(const std::string& accountDescription)
{
accountDescription_ = accountDescription;
setCoreParameter("AccountDescription", accountDescription);
}
std::string CreateAccountRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateAccountRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string CreateAccountRequest::getAccountName()const
{
return accountName_;
}
void CreateAccountRequest::setAccountName(const std::string& accountName)
{
accountName_ = accountName;
setCoreParameter("AccountName", accountName);
}
std::string CreateAccountRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateAccountRequest::getDBClusterId()const
{
return dBClusterId_;
}
void CreateAccountRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setCoreParameter("DBClusterId", dBClusterId);
}
std::string CreateAccountRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateAccountRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long CreateAccountRequest::getOwnerId()const
{
return ownerId_;
}
void CreateAccountRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateAccountRequest::getAccountPassword()const
{
return accountPassword_;
}
void CreateAccountRequest::setAccountPassword(const std::string& accountPassword)
{
accountPassword_ = accountPassword;
setCoreParameter("AccountPassword", accountPassword);
}

View File

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

View File

@@ -0,0 +1,249 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/CreateDBClusterRequest.h>
using AlibabaCloud::Adb::Model::CreateDBClusterRequest;
CreateDBClusterRequest::CreateDBClusterRequest() :
RpcServiceRequest("adb", "2019-03-15", "CreateDBCluster")
{
setMethod(HttpRequest::Method::Post);
}
CreateDBClusterRequest::~CreateDBClusterRequest()
{}
long CreateDBClusterRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateDBClusterRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateDBClusterRequest::getDBClusterDescription()const
{
return dBClusterDescription_;
}
void CreateDBClusterRequest::setDBClusterDescription(const std::string& dBClusterDescription)
{
dBClusterDescription_ = dBClusterDescription;
setCoreParameter("DBClusterDescription", dBClusterDescription);
}
std::string CreateDBClusterRequest::getClientToken()const
{
return clientToken_;
}
void CreateDBClusterRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}
std::string CreateDBClusterRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string CreateDBClusterRequest::getRegionId()const
{
return regionId_;
}
void CreateDBClusterRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string CreateDBClusterRequest::getDBClusterCategory()const
{
return dBClusterCategory_;
}
void CreateDBClusterRequest::setDBClusterCategory(const std::string& dBClusterCategory)
{
dBClusterCategory_ = dBClusterCategory;
setCoreParameter("DBClusterCategory", dBClusterCategory);
}
std::string CreateDBClusterRequest::getDBClusterNetworkType()const
{
return dBClusterNetworkType_;
}
void CreateDBClusterRequest::setDBClusterNetworkType(const std::string& dBClusterNetworkType)
{
dBClusterNetworkType_ = dBClusterNetworkType;
setCoreParameter("DBClusterNetworkType", dBClusterNetworkType);
}
std::string CreateDBClusterRequest::getPeriod()const
{
return period_;
}
void CreateDBClusterRequest::setPeriod(const std::string& period)
{
period_ = period;
setCoreParameter("Period", period);
}
std::string CreateDBClusterRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateDBClusterRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateDBClusterRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateDBClusterRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
std::string CreateDBClusterRequest::getDBClusterVersion()const
{
return dBClusterVersion_;
}
void CreateDBClusterRequest::setDBClusterVersion(const std::string& dBClusterVersion)
{
dBClusterVersion_ = dBClusterVersion;
setCoreParameter("DBClusterVersion", dBClusterVersion);
}
std::string CreateDBClusterRequest::getDBClusterClass()const
{
return dBClusterClass_;
}
void CreateDBClusterRequest::setDBClusterClass(const std::string& dBClusterClass)
{
dBClusterClass_ = dBClusterClass;
setCoreParameter("DBClusterClass", dBClusterClass);
}
long CreateDBClusterRequest::getOwnerId()const
{
return ownerId_;
}
void CreateDBClusterRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateDBClusterRequest::getDBNodeGroupCount()const
{
return dBNodeGroupCount_;
}
void CreateDBClusterRequest::setDBNodeGroupCount(const std::string& dBNodeGroupCount)
{
dBNodeGroupCount_ = dBNodeGroupCount;
setCoreParameter("DBNodeGroupCount", dBNodeGroupCount);
}
std::string CreateDBClusterRequest::getUsedTime()const
{
return usedTime_;
}
void CreateDBClusterRequest::setUsedTime(const std::string& usedTime)
{
usedTime_ = usedTime;
setCoreParameter("UsedTime", usedTime);
}
std::string CreateDBClusterRequest::getVSwitchId()const
{
return vSwitchId_;
}
void CreateDBClusterRequest::setVSwitchId(const std::string& vSwitchId)
{
vSwitchId_ = vSwitchId;
setCoreParameter("VSwitchId", vSwitchId);
}
std::string CreateDBClusterRequest::getDBNodeStorage()const
{
return dBNodeStorage_;
}
void CreateDBClusterRequest::setDBNodeStorage(const std::string& dBNodeStorage)
{
dBNodeStorage_ = dBNodeStorage;
setCoreParameter("DBNodeStorage", dBNodeStorage);
}
std::string CreateDBClusterRequest::getVPCId()const
{
return vPCId_;
}
void CreateDBClusterRequest::setVPCId(const std::string& vPCId)
{
vPCId_ = vPCId;
setCoreParameter("VPCId", vPCId);
}
std::string CreateDBClusterRequest::getZoneId()const
{
return zoneId_;
}
void CreateDBClusterRequest::setZoneId(const std::string& zoneId)
{
zoneId_ = zoneId;
setCoreParameter("ZoneId", zoneId);
}
std::string CreateDBClusterRequest::getPayType()const
{
return payType_;
}
void CreateDBClusterRequest::setPayType(const std::string& payType)
{
payType_ = payType;
setCoreParameter("PayType", payType);
}

View File

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

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DeleteAccountRequest.h>
using AlibabaCloud::Adb::Model::DeleteAccountRequest;
DeleteAccountRequest::DeleteAccountRequest() :
RpcServiceRequest("adb", "2019-03-15", "DeleteAccount")
{
setMethod(HttpRequest::Method::Post);
}
DeleteAccountRequest::~DeleteAccountRequest()
{}
long DeleteAccountRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteAccountRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteAccountRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeleteAccountRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string DeleteAccountRequest::getAccountName()const
{
return accountName_;
}
void DeleteAccountRequest::setAccountName(const std::string& accountName)
{
accountName_ = accountName;
setCoreParameter("AccountName", accountName);
}
std::string DeleteAccountRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteAccountRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DeleteAccountRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setCoreParameter("DBClusterId", dBClusterId);
}
std::string DeleteAccountRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteAccountRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long DeleteAccountRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteAccountRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}

View File

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

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeAccountsRequest.h>
using AlibabaCloud::Adb::Model::DescribeAccountsRequest;
DescribeAccountsRequest::DescribeAccountsRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeAccounts")
{
setMethod(HttpRequest::Method::Post);
}
DescribeAccountsRequest::~DescribeAccountsRequest()
{}
long DescribeAccountsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeAccountsRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeAccountsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeAccountsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string DescribeAccountsRequest::getAccountName()const
{
return accountName_;
}
void DescribeAccountsRequest::setAccountName(const std::string& accountName)
{
accountName_ = accountName;
setCoreParameter("AccountName", accountName);
}
std::string DescribeAccountsRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeAccountsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeAccountsRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DescribeAccountsRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setCoreParameter("DBClusterId", dBClusterId);
}
std::string DescribeAccountsRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeAccountsRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long DescribeAccountsRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeAccountsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeAccountsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeAccountsResult::DescribeAccountsResult() :
ServiceResult()
{}
DescribeAccountsResult::DescribeAccountsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAccountsResult::~DescribeAccountsResult()
{}
void DescribeAccountsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allAccountListNode = value["AccountList"]["DBAccount"];
for (auto valueAccountListDBAccount : allAccountListNode)
{
DBAccount accountListObject;
if(!valueAccountListDBAccount["AccountName"].isNull())
accountListObject.accountName = valueAccountListDBAccount["AccountName"].asString();
if(!valueAccountListDBAccount["AccountStatus"].isNull())
accountListObject.accountStatus = valueAccountListDBAccount["AccountStatus"].asString();
if(!valueAccountListDBAccount["AccountDescription"].isNull())
accountListObject.accountDescription = valueAccountListDBAccount["AccountDescription"].asString();
if(!valueAccountListDBAccount["AccountType"].isNull())
accountListObject.accountType = valueAccountListDBAccount["AccountType"].asString();
accountList_.push_back(accountListObject);
}
}
std::vector<DescribeAccountsResult::DBAccount> DescribeAccountsResult::getAccountList()const
{
return accountList_;
}

View File

@@ -0,0 +1,128 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeAutoRenewAttributeRequest.h>
using AlibabaCloud::Adb::Model::DescribeAutoRenewAttributeRequest;
DescribeAutoRenewAttributeRequest::DescribeAutoRenewAttributeRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeAutoRenewAttribute")
{
setMethod(HttpRequest::Method::Post);
}
DescribeAutoRenewAttributeRequest::~DescribeAutoRenewAttributeRequest()
{}
long DescribeAutoRenewAttributeRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeAutoRenewAttributeRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
int DescribeAutoRenewAttributeRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeAutoRenewAttributeRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setCoreParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeAutoRenewAttributeRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeAutoRenewAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string DescribeAutoRenewAttributeRequest::getRegionId()const
{
return regionId_;
}
void DescribeAutoRenewAttributeRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
int DescribeAutoRenewAttributeRequest::getPageSize()const
{
return pageSize_;
}
void DescribeAutoRenewAttributeRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeAutoRenewAttributeRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeAutoRenewAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeAutoRenewAttributeRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeAutoRenewAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long DescribeAutoRenewAttributeRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeAutoRenewAttributeRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeAutoRenewAttributeRequest::getDBClusterIds()const
{
return dBClusterIds_;
}
void DescribeAutoRenewAttributeRequest::setDBClusterIds(const std::string& dBClusterIds)
{
dBClusterIds_ = dBClusterIds;
setCoreParameter("DBClusterIds", dBClusterIds);
}

View File

@@ -0,0 +1,88 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeAutoRenewAttributeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeAutoRenewAttributeResult::DescribeAutoRenewAttributeResult() :
ServiceResult()
{}
DescribeAutoRenewAttributeResult::DescribeAutoRenewAttributeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAutoRenewAttributeResult::~DescribeAutoRenewAttributeResult()
{}
void DescribeAutoRenewAttributeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItemsNode = value["Items"]["AutoRenewAttribute"];
for (auto valueItemsAutoRenewAttribute : allItemsNode)
{
AutoRenewAttribute itemsObject;
if(!valueItemsAutoRenewAttribute["DBClusterId"].isNull())
itemsObject.dBClusterId = valueItemsAutoRenewAttribute["DBClusterId"].asString();
if(!valueItemsAutoRenewAttribute["RegionId"].isNull())
itemsObject.regionId = valueItemsAutoRenewAttribute["RegionId"].asString();
if(!valueItemsAutoRenewAttribute["AutoRenewEnabled"].isNull())
itemsObject.autoRenewEnabled = valueItemsAutoRenewAttribute["AutoRenewEnabled"].asString() == "true";
if(!valueItemsAutoRenewAttribute["Duration"].isNull())
itemsObject.duration = std::stoi(valueItemsAutoRenewAttribute["Duration"].asString());
if(!valueItemsAutoRenewAttribute["PeriodUnit"].isNull())
itemsObject.periodUnit = valueItemsAutoRenewAttribute["PeriodUnit"].asString();
if(!valueItemsAutoRenewAttribute["RenewalStatus"].isNull())
itemsObject.renewalStatus = valueItemsAutoRenewAttribute["RenewalStatus"].asString();
items_.push_back(itemsObject);
}
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["TotalRecordCount"].isNull())
totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString());
if(!value["PageRecordCount"].isNull())
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
}
int DescribeAutoRenewAttributeResult::getTotalRecordCount()const
{
return totalRecordCount_;
}
int DescribeAutoRenewAttributeResult::getPageRecordCount()const
{
return pageRecordCount_;
}
int DescribeAutoRenewAttributeResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<DescribeAutoRenewAttributeResult::AutoRenewAttribute> DescribeAutoRenewAttributeResult::getItems()const
{
return items_;
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeBackupPolicyRequest.h>
using AlibabaCloud::Adb::Model::DescribeBackupPolicyRequest;
DescribeBackupPolicyRequest::DescribeBackupPolicyRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeBackupPolicy")
{
setMethod(HttpRequest::Method::Post);
}
DescribeBackupPolicyRequest::~DescribeBackupPolicyRequest()
{}
long DescribeBackupPolicyRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeBackupPolicyRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeBackupPolicyRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeBackupPolicyRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string DescribeBackupPolicyRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeBackupPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeBackupPolicyRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DescribeBackupPolicyRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setCoreParameter("DBClusterId", dBClusterId);
}
std::string DescribeBackupPolicyRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeBackupPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long DescribeBackupPolicyRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeBackupPolicyRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeBackupPolicyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeBackupPolicyResult::DescribeBackupPolicyResult() :
ServiceResult()
{}
DescribeBackupPolicyResult::DescribeBackupPolicyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeBackupPolicyResult::~DescribeBackupPolicyResult()
{}
void DescribeBackupPolicyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["BackupRetentionPeriod"].isNull())
backupRetentionPeriod_ = std::stoi(value["BackupRetentionPeriod"].asString());
if(!value["PreferredBackupTime"].isNull())
preferredBackupTime_ = value["PreferredBackupTime"].asString();
if(!value["PreferredBackupPeriod"].isNull())
preferredBackupPeriod_ = value["PreferredBackupPeriod"].asString();
if(!value["EnableBackupLog"].isNull())
enableBackupLog_ = value["EnableBackupLog"].asString();
if(!value["LogBackupRetentionPeriod"].isNull())
logBackupRetentionPeriod_ = std::stoi(value["LogBackupRetentionPeriod"].asString());
}
std::string DescribeBackupPolicyResult::getPreferredBackupPeriod()const
{
return preferredBackupPeriod_;
}
int DescribeBackupPolicyResult::getLogBackupRetentionPeriod()const
{
return logBackupRetentionPeriod_;
}
std::string DescribeBackupPolicyResult::getPreferredBackupTime()const
{
return preferredBackupTime_;
}
std::string DescribeBackupPolicyResult::getEnableBackupLog()const
{
return enableBackupLog_;
}
int DescribeBackupPolicyResult::getBackupRetentionPeriod()const
{
return backupRetentionPeriod_;
}

View File

@@ -0,0 +1,150 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeBackupsRequest.h>
using AlibabaCloud::Adb::Model::DescribeBackupsRequest;
DescribeBackupsRequest::DescribeBackupsRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeBackups")
{
setMethod(HttpRequest::Method::Post);
}
DescribeBackupsRequest::~DescribeBackupsRequest()
{}
long DescribeBackupsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeBackupsRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeBackupsRequest::getStartTime()const
{
return startTime_;
}
void DescribeBackupsRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", startTime);
}
int DescribeBackupsRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeBackupsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setCoreParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeBackupsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeBackupsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
int DescribeBackupsRequest::getPageSize()const
{
return pageSize_;
}
void DescribeBackupsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeBackupsRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeBackupsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeBackupsRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DescribeBackupsRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setCoreParameter("DBClusterId", dBClusterId);
}
std::string DescribeBackupsRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeBackupsRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
std::string DescribeBackupsRequest::getBackupId()const
{
return backupId_;
}
void DescribeBackupsRequest::setBackupId(const std::string& backupId)
{
backupId_ = backupId;
setCoreParameter("BackupId", backupId);
}
std::string DescribeBackupsRequest::getEndTime()const
{
return endTime_;
}
void DescribeBackupsRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setCoreParameter("EndTime", endTime);
}
long DescribeBackupsRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeBackupsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeBackupsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeBackupsResult::DescribeBackupsResult() :
ServiceResult()
{}
DescribeBackupsResult::DescribeBackupsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeBackupsResult::~DescribeBackupsResult()
{}
void DescribeBackupsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItemsNode = value["Items"]["Backup"];
for (auto valueItemsBackup : allItemsNode)
{
Backup itemsObject;
if(!valueItemsBackup["BackupId"].isNull())
itemsObject.backupId = valueItemsBackup["BackupId"].asString();
if(!valueItemsBackup["DBClusterId"].isNull())
itemsObject.dBClusterId = valueItemsBackup["DBClusterId"].asString();
if(!valueItemsBackup["BackupStartTime"].isNull())
itemsObject.backupStartTime = valueItemsBackup["BackupStartTime"].asString();
if(!valueItemsBackup["BackupEndTime"].isNull())
itemsObject.backupEndTime = valueItemsBackup["BackupEndTime"].asString();
if(!valueItemsBackup["BackupSize"].isNull())
itemsObject.backupSize = std::stoi(valueItemsBackup["BackupSize"].asString());
if(!valueItemsBackup["BackupMethod"].isNull())
itemsObject.backupMethod = valueItemsBackup["BackupMethod"].asString();
if(!valueItemsBackup["BackupType"].isNull())
itemsObject.backupType = valueItemsBackup["BackupType"].asString();
items_.push_back(itemsObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = value["TotalCount"].asString();
if(!value["PageNumber"].isNull())
pageNumber_ = value["PageNumber"].asString();
if(!value["PageSize"].isNull())
pageSize_ = value["PageSize"].asString();
}
std::string DescribeBackupsResult::getTotalCount()const
{
return totalCount_;
}
std::string DescribeBackupsResult::getPageSize()const
{
return pageSize_;
}
std::string DescribeBackupsResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<DescribeBackupsResult::Backup> DescribeBackupsResult::getItems()const
{
return items_;
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeDBClusterAccessWhiteListRequest.h>
using AlibabaCloud::Adb::Model::DescribeDBClusterAccessWhiteListRequest;
DescribeDBClusterAccessWhiteListRequest::DescribeDBClusterAccessWhiteListRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeDBClusterAccessWhiteList")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDBClusterAccessWhiteListRequest::~DescribeDBClusterAccessWhiteListRequest()
{}
long DescribeDBClusterAccessWhiteListRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeDBClusterAccessWhiteListRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeDBClusterAccessWhiteListRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeDBClusterAccessWhiteListRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string DescribeDBClusterAccessWhiteListRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeDBClusterAccessWhiteListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeDBClusterAccessWhiteListRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DescribeDBClusterAccessWhiteListRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setCoreParameter("DBClusterId", dBClusterId);
}
std::string DescribeDBClusterAccessWhiteListRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeDBClusterAccessWhiteListRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long DescribeDBClusterAccessWhiteListRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDBClusterAccessWhiteListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}

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.
*/
#include <alibabacloud/adb/model/DescribeDBClusterAccessWhiteListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeDBClusterAccessWhiteListResult::DescribeDBClusterAccessWhiteListResult() :
ServiceResult()
{}
DescribeDBClusterAccessWhiteListResult::DescribeDBClusterAccessWhiteListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBClusterAccessWhiteListResult::~DescribeDBClusterAccessWhiteListResult()
{}
void DescribeDBClusterAccessWhiteListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItemsNode = value["Items"]["IPArray"];
for (auto valueItemsIPArray : allItemsNode)
{
IPArray itemsObject;
if(!valueItemsIPArray["DBClusterIPArrayName"].isNull())
itemsObject.dBClusterIPArrayName = valueItemsIPArray["DBClusterIPArrayName"].asString();
if(!valueItemsIPArray["SecurityIPList"].isNull())
itemsObject.securityIPList = valueItemsIPArray["SecurityIPList"].asString();
if(!valueItemsIPArray["DBClusterIPArrayAttribute"].isNull())
itemsObject.dBClusterIPArrayAttribute = valueItemsIPArray["DBClusterIPArrayAttribute"].asString();
items_.push_back(itemsObject);
}
}
std::vector<DescribeDBClusterAccessWhiteListResult::IPArray> DescribeDBClusterAccessWhiteListResult::getItems()const
{
return items_;
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeDBClusterAttributeRequest.h>
using AlibabaCloud::Adb::Model::DescribeDBClusterAttributeRequest;
DescribeDBClusterAttributeRequest::DescribeDBClusterAttributeRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeDBClusterAttribute")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDBClusterAttributeRequest::~DescribeDBClusterAttributeRequest()
{}
long DescribeDBClusterAttributeRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeDBClusterAttributeRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeDBClusterAttributeRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeDBClusterAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string DescribeDBClusterAttributeRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeDBClusterAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeDBClusterAttributeRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DescribeDBClusterAttributeRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setCoreParameter("DBClusterId", dBClusterId);
}
std::string DescribeDBClusterAttributeRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeDBClusterAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long DescribeDBClusterAttributeRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDBClusterAttributeRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,113 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeDBClusterAttributeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeDBClusterAttributeResult::DescribeDBClusterAttributeResult() :
ServiceResult()
{}
DescribeDBClusterAttributeResult::DescribeDBClusterAttributeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBClusterAttributeResult::~DescribeDBClusterAttributeResult()
{}
void DescribeDBClusterAttributeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItemsNode = value["Items"]["DBCluster"];
for (auto valueItemsDBCluster : allItemsNode)
{
DBCluster itemsObject;
if(!valueItemsDBCluster["RegionId"].isNull())
itemsObject.regionId = valueItemsDBCluster["RegionId"].asString();
if(!valueItemsDBCluster["ZoneId"].isNull())
itemsObject.zoneId = valueItemsDBCluster["ZoneId"].asString();
if(!valueItemsDBCluster["DBClusterId"].isNull())
itemsObject.dBClusterId = valueItemsDBCluster["DBClusterId"].asString();
if(!valueItemsDBCluster["DBClusterType"].isNull())
itemsObject.dBClusterType = valueItemsDBCluster["DBClusterType"].asString();
if(!valueItemsDBCluster["DBClusterDescription"].isNull())
itemsObject.dBClusterDescription = valueItemsDBCluster["DBClusterDescription"].asString();
if(!valueItemsDBCluster["Category"].isNull())
itemsObject.category = valueItemsDBCluster["Category"].asString();
if(!valueItemsDBCluster["LockMode"].isNull())
itemsObject.lockMode = valueItemsDBCluster["LockMode"].asString();
if(!valueItemsDBCluster["LockReason"].isNull())
itemsObject.lockReason = valueItemsDBCluster["LockReason"].asString();
if(!valueItemsDBCluster["PayType"].isNull())
itemsObject.payType = valueItemsDBCluster["PayType"].asString();
if(!valueItemsDBCluster["DBVersion"].isNull())
itemsObject.dBVersion = valueItemsDBCluster["DBVersion"].asString();
if(!valueItemsDBCluster["DBClusterStatus"].isNull())
itemsObject.dBClusterStatus = valueItemsDBCluster["DBClusterStatus"].asString();
if(!valueItemsDBCluster["DBNodeStorage"].isNull())
itemsObject.dBNodeStorage = std::stol(valueItemsDBCluster["DBNodeStorage"].asString());
if(!valueItemsDBCluster["DBNodeClass"].isNull())
itemsObject.dBNodeClass = valueItemsDBCluster["DBNodeClass"].asString();
if(!valueItemsDBCluster["DBNodeCount"].isNull())
itemsObject.dBNodeCount = std::stol(valueItemsDBCluster["DBNodeCount"].asString());
if(!valueItemsDBCluster["CreationTime"].isNull())
itemsObject.creationTime = valueItemsDBCluster["CreationTime"].asString();
if(!valueItemsDBCluster["ExpireTime"].isNull())
itemsObject.expireTime = valueItemsDBCluster["ExpireTime"].asString();
if(!valueItemsDBCluster["Expired"].isNull())
itemsObject.expired = valueItemsDBCluster["Expired"].asString();
if(!valueItemsDBCluster["MaintainTime"].isNull())
itemsObject.maintainTime = valueItemsDBCluster["MaintainTime"].asString();
if(!valueItemsDBCluster["Engine"].isNull())
itemsObject.engine = valueItemsDBCluster["Engine"].asString();
if(!valueItemsDBCluster["VPCId"].isNull())
itemsObject.vPCId = valueItemsDBCluster["VPCId"].asString();
if(!valueItemsDBCluster["VSwitchId"].isNull())
itemsObject.vSwitchId = valueItemsDBCluster["VSwitchId"].asString();
if(!valueItemsDBCluster["VPCCloudInstanceId"].isNull())
itemsObject.vPCCloudInstanceId = valueItemsDBCluster["VPCCloudInstanceId"].asString();
if(!valueItemsDBCluster["CommodityCode"].isNull())
itemsObject.commodityCode = valueItemsDBCluster["CommodityCode"].asString();
if(!valueItemsDBCluster["DBClusterNetworkType"].isNull())
itemsObject.dBClusterNetworkType = valueItemsDBCluster["DBClusterNetworkType"].asString();
auto allTagsNode = allItemsNode["Tags"]["Tag"];
for (auto allItemsNodeTagsTag : allTagsNode)
{
DBCluster::Tag tagsObject;
if(!allItemsNodeTagsTag["Key"].isNull())
tagsObject.key = allItemsNodeTagsTag["Key"].asString();
if(!allItemsNodeTagsTag["Value"].isNull())
tagsObject.value = allItemsNodeTagsTag["Value"].asString();
itemsObject.tags.push_back(tagsObject);
}
items_.push_back(itemsObject);
}
}
std::vector<DescribeDBClusterAttributeResult::DBCluster> DescribeDBClusterAttributeResult::getItems()const
{
return items_;
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeDBClusterNetInfoRequest.h>
using AlibabaCloud::Adb::Model::DescribeDBClusterNetInfoRequest;
DescribeDBClusterNetInfoRequest::DescribeDBClusterNetInfoRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeDBClusterNetInfo")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDBClusterNetInfoRequest::~DescribeDBClusterNetInfoRequest()
{}
long DescribeDBClusterNetInfoRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeDBClusterNetInfoRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeDBClusterNetInfoRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeDBClusterNetInfoRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string DescribeDBClusterNetInfoRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeDBClusterNetInfoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeDBClusterNetInfoRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DescribeDBClusterNetInfoRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setCoreParameter("DBClusterId", dBClusterId);
}
std::string DescribeDBClusterNetInfoRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeDBClusterNetInfoRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long DescribeDBClusterNetInfoRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDBClusterNetInfoRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}

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