Compare commits

..

266 Commits

Author SHA1 Message Date
sdk-team
f5698956a8 Add new tags for corp group. 2020-08-17 09:39:38 +08:00
sdk-team
0acc11e160 Add new tags for corp group. 2020-08-17 09:33:09 +08:00
sdk-team
b3f8f634b5 Add new tags for corp group. 2020-08-16 06:10:13 +08:00
sdk-team
1185622959 Add sdk. 2020-08-14 17:15:54 +08:00
sdk-team
4836dfddfc Supported Api DetectIPCPedestrian. 2020-08-14 16:04:45 +08:00
sdk-team
08e11e9bb0 Supported CheckCloudResourceAuthorized API. 2020-08-14 14:30:34 +08:00
sdk-team
8c4cc55d22 Add project Api. 2020-08-14 14:06:01 +08:00
sdk-team
2191c80b02 Add PipCode and CommodityCode for QueryInstanceBill, QueryBillOverview, QueryBill, QuerySettleBill, QueryAccountBill, QuerySplitItemBill. 2020-08-13 19:11:22 +08:00
sdk-team
22d322118a Release DetectKneeXRay DetectSpineMRI TranslateMed. 2020-08-13 16:55:14 +08:00
sdk-team
1358a6ec39 Release DetectKneeXRay DetectSpineMRI TranslateMed. 2020-08-13 16:49:09 +08:00
sdk-team
41ea6f3a12 Release DetectKneeXRay DetectSpineMRI TranslateMed. 2020-08-13 16:38:17 +08:00
sdk-team
83f2c53623 GetImageTranslate add column orc. 2020-08-13 16:00:15 +08:00
sdk-team
314c523174 DescribePrice update amount parameters type, float to string. 2020-08-13 15:56:17 +08:00
sdk-team
0d054dfb79 Release SegmentHalfBody. 2020-08-13 15:53:06 +08:00
sdk-team
8af4775c5e Release SegmentHalfBody. 2020-08-13 15:41:51 +08:00
sdk-team
2f6b7ad555 Support corp group api. 2020-08-12 18:08:25 +08:00
sdk-team
faf9b3fb11 Add pipeline status api. 2020-08-12 18:00:12 +08:00
sdk-team
6642aa94e5 Generated 2015-01-01 for R-kvstore. 2020-08-12 11:06:05 +08:00
sdk-team
0aa44135e7 Generated 2020-05-18 for dataworks-public. 2020-08-11 19:55:40 +08:00
sdk-team
839effe699 Update DescribeRefreshTask. 2020-08-11 11:44:11 +08:00
sdk-team
4e6956c3f2 Add ResourceGroup in resource snapshot. 2020-08-11 11:31:40 +08:00
sdk-team
1b2fe667ba Generated 2020-05-18 for dataworks-public. 2020-08-10 17:31:34 +08:00
sdk-team
91c8eee22c Add source id for list face detail. 2020-08-10 15:50:28 +08:00
sdk-team
fd4bd1e797 Add extend value for list event detail. 2020-08-10 09:29:21 +08:00
sdk-team
bd27e98c03 Add extend value for list event detail. 2020-08-09 23:28:40 +08:00
sdk-team
3a88e60d04 Update SearchImage. 2020-08-08 17:13:38 +08:00
sdk-team
83bb5be02b GetTitleDiagnose GetTitleGenerate GetImageTranslate supported. 2020-08-07 17:35:54 +08:00
sdk-team
beacaac234 Generated 2020-05-18 for dataworks-public. 2020-08-07 16:43:09 +08:00
sdk-team
52ee14ba5d GetTitleDiagnose GetTitleGenerate GetImageTranslate supported. 2020-08-07 16:09:08 +08:00
sdk-team
b257cba9c3 Add FindServiceList and GetService qps. 2020-08-07 11:54:10 +08:00
sdk-team
55baab421e Add Smart Cloudauth API. 2020-08-06 10:45:10 +08:00
sdk-team
67f50165c9 Update RecognizeTable. 2020-08-04 16:27:21 +08:00
sdk-team
1cce84c75f Add Image Url parameter for invoke motor algorithm. 2020-08-04 09:35:57 +08:00
sdk-team
90e4ddb22a Add source picture url for Monitor. 2020-08-04 09:16:59 +08:00
sdk-team
d412a52735 Add source picture url for Monitor. 2020-08-03 23:41:58 +08:00
sdk-team
2960652dcb Fix Some API Response Define. 2020-08-03 21:09:33 +08:00
sdk-team
48a3320ae9 Add source picture url for Monitor. 2020-08-03 17:40:57 +08:00
sdk-team
60539f067e Add Voice Synchronous Scan API. 2020-08-03 14:28:04 +08:00
sdk-team
d486d13814 Add ExtractPedestrianFeatureAttribute. 2020-08-03 12:03:09 +08:00
sdk-team
2de462bea7 Update DetectCelebrity. 2020-07-31 16:02:49 +08:00
sdk-team
5d7cb923d0 Edit GetStack api. 2020-07-31 11:39:38 +08:00
sdk-team
8520626698 Add Smart Cloudauth API. 2020-07-30 17:10:00 +08:00
sdk-team
9d57625a58 Supported ChatApp for SDK. 2020-07-30 14:14:04 +08:00
sdk-team
b60a834a97 Generated 2020-06-29 for alinlp. 2020-07-30 14:05:55 +08:00
sdk-team
49e97628f4 Add CreateGetDBListFromAgentTask. 2020-07-29 17:42:31 +08:00
sdk-team
5b5f0128c9 API GetTaskStatus return task detail. 2020-07-29 15:56:24 +08:00
sdk-team
b5ed975753 Generated 2020-05-18 for dataworks-public. 2020-07-29 10:47:59 +08:00
sdk-team
f0c20f05b7 Supported CheckCloudResourceAuthorized API. 2020-07-27 15:35:25 +08:00
sdk-team
d769c974ab Add HSF apis. 2020-07-27 14:53:12 +08:00
sdk-team
4d0d947bf1 Edit ListTraceApp api with add tags. 2020-07-24 20:52:26 +08:00
sdk-team
2738249b7d Add DescribeBackupTasks. 2020-07-24 18:39:22 +08:00
sdk-team
6f1c636c7e Support GetImageCroppingSuggestions API. 2020-07-24 13:00:20 +08:00
sdk-team
70047f9bc7 First build. 2020-07-24 10:45:33 +08:00
sdk-team
6088526cd8 Supported CloudGame. 2020-07-23 21:40:19 +08:00
sdk-team
0e02d3bc63 Supported AAA for BBB. 2020-07-23 16:24:02 +08:00
sdk-team
f289e0290b Add AddSecretBlacklist and DeleteSecretBlacklist. 2020-07-23 13:28:54 +08:00
sdk-team
3e25f8bde6 Add GenerateAndExportDataKey, ExportDataKey, ReEncrypt api. 2020-07-23 09:34:05 +08:00
sdk-team
84d7d5b467 Add GenerateAndExportDataKey, ExportDataKey, ReEncrypt api. 2020-07-23 09:28:08 +08:00
sdk-team
e57fc8314f Generated 2015-01-01 for R-kvstore. 2020-07-22 22:20:42 +08:00
sdk-team
60b042fbe6 Add snapshot settings. 2020-07-22 22:08:07 +08:00
sdk-team
70d2fb850d Add SourceId for SearchFace. 2020-07-22 21:04:30 +08:00
sdk-team
0cb799a37d Add source id for file uploader. 2020-07-22 18:14:51 +08:00
sdk-team
812a50b07f Add source id for file uploader. 2020-07-22 00:18:27 +08:00
sdk-team
a4f9a98de3 Support Tag API. 2020-07-21 14:24:35 +08:00
sdk-team
6f44f27802 Add algorithm type for ListPerson. 2020-07-21 14:09:08 +08:00
sdk-team
b64262402e Add DescribeRegions. 2020-07-17 18:49:59 +08:00
sdk-team
4d79d51820 Add DescribeDBClusterAuditLogCollector. 2020-07-17 15:27:49 +08:00
sdk-team
44130b741e Public beta version. 2020-07-17 11:47:07 +08:00
sdk-team
1ac661d847 Edit ListTraceApp api. 2020-07-15 20:11:42 +08:00
sdk-team
401f5f7e4c Modify ConfigureBackupPlan. 2020-07-15 18:18:52 +08:00
sdk-team
eee5186ffd Support ModifyImageAttribute by LaunchPermission. 2020-07-15 17:26:53 +08:00
sdk-team
ac957846a2 Add ListEventAlgorithmResult API. 2020-07-14 19:42:20 +08:00
sdk-team
bf6b90c665 Add ListEventAlgorithmResult API. 2020-07-14 17:51:23 +08:00
sdk-team
499b696774 Add ListBodyAlgorithmResult API. 2020-07-14 17:44:54 +08:00
sdk-team
8bcded107d Add ListBodyAlgorithmResult API. 2020-07-14 17:32:48 +08:00
sdk-team
26788350a5 Add ListBodyAlgorithmResult API. 2020-07-14 15:29:19 +08:00
sdk-team
37e0116875 Add ListBodyAlgorithmResult API. 2020-07-10 13:58:39 +08:00
sdk-team
6a5e45a550 Add ListBodyAlgorithmResult API. 2020-07-10 13:25:08 +08:00
sdk-team
fd6a6949fb Remove GetFootwearPosition PullTakeShoesEvent PullTryOnShoesEvent. 2020-07-08 19:54:20 +08:00
sdk-team
4cda4f477d Generated 2020-05-18 for dataworks-public. 2020-07-08 17:40:37 +08:00
sdk-team
7959141d87 Add video compose api. 2020-07-08 17:39:55 +08:00
sdk-team
53ce2f6947 Add video summarization related API. 2020-07-08 16:02:33 +08:00
sdk-team
161e51556b Add video summarization related API. 2020-07-07 23:35:51 +08:00
sdk-team
fc24f8e624 Generated 2020-05-18 for dataworks-public. 2020-07-07 17:20:53 +08:00
wb-hx510875
b5602fc4a4 fix code style 2020-07-07 14:19:04 +08:00
sdk-team
4332019dac Supported UpdateUserBucketConfig. 2020-07-03 23:47:06 +08:00
sdk-team
7107481ad3 Generated 2017-05-25 for Dypnsapi. 2020-07-03 17:25:13 +08:00
sdk-team
13c3b8b414 Generated 2017-05-25 for Dypnsapi. 2020-07-03 17:17:56 +08:00
sdk-team
1a401aa70a Generated 2018-10-12 for Airec. 2020-07-03 16:53:23 +08:00
sdk-team
8d0bff56a9 Add ListResourceExecutionStatus API. 2020-07-03 14:56:50 +08:00
sdk-team
4b39c98f5a Supports tag management APIs. 2020-07-03 10:53:44 +08:00
sdk-team
7fecdadace Add PicUrl parameter for picture related API. 2020-07-03 10:49:19 +08:00
sdk-team
8ab4232b59 Add PicUrl parameter for picture related API. 2020-07-03 00:22:36 +08:00
sdk-team
882187b0e9 Generated 2020-05-18 for dataworks-public. 2020-07-02 17:34:31 +08:00
sdk-team
f0ef60d4fa Add GetFootwearPosition. 2020-07-02 15:39:46 +08:00
sdk-team
f29a3fe06e Add GetFootwearPosition. 2020-07-02 14:38:00 +08:00
sdk-team
9c7cbba02f Update endpoint. 2020-07-02 12:45:24 +08:00
sdk-team
65a601c5ba CreateShardingDBInstance add ProtocolType, to support DynamoDB. 2020-07-02 11:50:28 +08:00
sdk-team
3ee66cb2b2 Add ListFace-MotorAlgorithmResults API. 2020-07-01 22:37:33 +08:00
wb-hx510875
a57f6ec422 fix code style
1. add .clang-format code style file.
2. format code of core.

use `clang-format -i -style=file ./core/*/*.cc ./core/*/*.h` command to format
2020-07-01 16:45:38 +08:00
sdk-team
e065d50def Add API for GetMetadataAmount. 2020-07-01 16:08:59 +08:00
sdk-team
97918475fb Support Saf For ExecuteExtendService. 2020-07-01 15:12:17 +08:00
wb-hx510875
5a451d16d4 supported config useSSL 2020-07-01 14:51:13 +08:00
wb-hx510875
8bed6eecc7 improve CmakeLists file 2020-07-01 14:51:13 +08:00
sdk-team
db4bd7ae11 Add ListMetrics API. 2020-06-30 14:20:43 +08:00
sdk-team
7e4fbe6210 Supported Rotate. 2020-06-29 19:41:42 +08:00
sdk-team
de0798d2dd Supported Rotate. 2020-06-29 17:15:51 +08:00
sdk-team
2650ca7420 Add Model Parameter For InitFaceVerify API. 2020-06-29 12:48:10 +08:00
sdk-team
59d9eaf390 Supported Api EraseLogoInVideo. 2020-06-26 17:48:17 +08:00
sdk-team
1ae8883f81 Add DescribeBackupPlanBilling. 2020-06-24 12:38:11 +08:00
sdk-team
30469764de Add face quality detection API. 2020-06-23 23:57:16 +08:00
sdk-team
aeea3c2fea Add face quality detection API. 2020-06-23 21:21:35 +08:00
sdk-team
743309716b Add face quality detection API. 2020-06-23 20:07:28 +08:00
sdk-team
c9ae7d0b7e Add face quality detection API. 2020-06-23 18:10:55 +08:00
sdk-team
def35a6602 Generated 2015-12-15 for CS. 2020-06-23 16:56:59 +08:00
sdk-team
da7aefe5aa Support SubmitOperationAuditInfo for Support self-service submission of approval information. 2020-06-23 16:26:17 +08:00
sdk-team
243879b17f Generated 2018-08-28 for Tag. 2020-06-23 16:23:57 +08:00
sdk-team
942248dfb0 Public beta version. 2020-06-23 14:06:07 +08:00
sdk-team
8f92463d90 Public beta version. 2020-06-23 10:04:31 +08:00
sdk-team
dbe8804b96 Public beta version. 2020-06-23 09:36:12 +08:00
sdk-team
6e880496ba Add support cn-shenzhen region. 2020-06-22 16:56:25 +08:00
sdk-team
fbf5bf0457 Add GetMultipleTrace api. 2020-06-22 12:15:04 +08:00
sdk-team
e32ce45b9d Add persons API. 2020-06-21 22:21:45 +08:00
sdk-team
053c0dc1a1 Supported TransformDBInstancePayType API. 2020-06-18 16:40:36 +08:00
sdk-team
2070ee03ba Add GetAuthToken OpenAPI. 2020-06-18 15:38:53 +08:00
sdk-team
e611ec2db4 Public beta version. 2020-06-18 10:39:31 +08:00
sdk-team
57416bd581 Supported sync create eni and assign private ip. 2020-06-17 18:04:12 +08:00
sdk-team
2df6079b2d Public beta version. 2020-06-17 14:30:20 +08:00
sdk-team
39221a5319 Support TargetImageId in ApplyNodes Interface. 2020-06-16 16:35:28 +08:00
sdk-team
6bba61cebe Update monitor related API. 2020-06-16 00:29:30 +08:00
sdk-team
a869068f77 Generated 2019-09-10 for waf-openapi. 2020-06-15 14:06:18 +08:00
sdk-team
cf9eca9516 Generated 2019-09-10 for waf-openapi. 2020-06-15 12:27:04 +08:00
sdk-team
9ae74a6524 Add CreateProduct API ProductSecret in Response. 2020-06-12 13:50:54 +08:00
sdk-team
1855010705 Update monitor related API. 2020-06-12 11:26:37 +08:00
sdk-team
654af055e6 Add support for enable hbaseue extra module like lindorm-search or lindorm-sql. 2020-06-12 10:59:41 +08:00
sdk-team
07b50e30ef Support ServicePeriodUnit in QueryInstanceBill. 2020-06-11 21:17:59 +08:00
sdk-team
767dcb5bee Public beta version. 2020-06-10 22:13:03 +08:00
sdk-team
42b4be9e1f Public beta version. 2020-06-10 22:06:17 +08:00
sdk-team
c811dc5d85 Generate dbfs sdk. 2020-06-08 15:05:24 +08:00
sdk-team
84659b3f3e Support offline instance. 2020-06-08 12:59:33 +08:00
sdk-team
e3faa7d285 Support for addrp. 2020-06-04 21:10:51 +08:00
sdk-team
99feb0fdea Supported Eni Trunking. 2020-06-04 18:21:00 +08:00
sdk-team
d58606d853 Update monitor related API. 2020-06-04 17:11:06 +08:00
sdk-team
db4fde36ee Add SubmitMediaDNADeleteJob and ListMediaDNADeleteJob. 2020-06-04 15:10:52 +08:00
sdk-team
b7d0012a43 Update monitor related API. 2020-06-04 14:53:25 +08:00
sdk-team
9c23d3e24b Update monitor related API. 2020-06-04 11:25:39 +08:00
sdk-team
11bf538b08 Describe describeAvailableResource. 2020-06-03 10:14:09 +08:00
sdk-team
266bdb38c6 Describe describeAvailableResource. 2020-06-03 10:06:38 +08:00
sdk-team
d4576ea2f3 Generated 2019-01-01 for Cassandra. 2020-06-03 10:04:22 +08:00
sdk-team
e051f5848b DescribeCameraStatistics add filed. 2020-06-03 09:52:49 +08:00
sdk-team
bfe6e5b081 Edit SearchTraces api. 2020-06-02 21:21:42 +08:00
sdk-team
03a2cd3731 Supported AndroidNotificationXiaomiChannel for Push and MassPush. 2020-05-28 14:52:08 +08:00
sdk-team
83df0154da Added cn-heyuan endpoint url. 2020-05-27 14:19:03 +08:00
sdk-team
ec5269015c Add support for create hbaseue multizone instance. 2020-05-27 14:17:37 +08:00
sdk-team
95a93b89f1 Support DescribeAllEntity API. 2020-05-26 18:09:28 +08:00
sdk-team
bd0d4f669a Add smartcall service api. 2020-05-26 17:42:13 +08:00
sdk-team
c6be4b4083 Add smartcall service api. 2020-05-26 17:10:25 +08:00
sdk-team
dad64fbdea Add monitor related API. 2020-05-26 11:33:40 +08:00
sdk-team
ff1e74581f Add monitor related. 2020-05-26 10:29:43 +08:00
sdk-team
304717df66 Add monitor related. 2020-05-26 10:22:17 +08:00
sdk-team
d4d401ed4e Add monitor related. 2020-05-25 16:16:14 +08:00
sdk-team
670f1bb324 Add monitor related. 2020-05-25 16:13:07 +08:00
sdk-team
07721caa35 Generated 2015-01-01 for R-kvstore. 2020-05-23 00:59:45 +08:00
wb-hx510875
9315d79274 delete invalid api code 2020-05-22 17:13:45 +08:00
sdk-team
3d5b584e84 Add schedule crud api. 2020-05-22 11:02:20 +08:00
sdk-team
37abc8eec5 Support more error Codes. 2020-05-21 16:39:18 +08:00
sdk-team
d55b09e788 Generated 2019-09-10 for waf-openapi. 2020-05-20 17:33:50 +08:00
sdk-team
f6e57b5ea2 Edit GetTrace and SearchTraces api. 2020-05-20 16:56:27 +08:00
sdk-team
68d7262f25 Public beta version. 2020-05-20 10:59:54 +08:00
sdk-team
ea41bc1249 Public beta version. 2020-05-19 16:29:23 +08:00
sdk-team
4b3913d6cd Initial version. 2020-05-19 15:27:18 +08:00
sdk-team
9c95c03a45 Support sequence for listNodes. 2020-05-18 14:55:15 +08:00
sdk-team
c0ffe42087 Fix DescribeIpcLiveAddress , add in params. 2020-05-18 14:31:31 +08:00
sdk-team
2cc7e5ae64 Fix DescribeIpcLiveAddress , add in params. 2020-05-18 12:17:24 +08:00
sdk-team
1a056a97c6 Open API publish. 2020-05-17 13:32:04 +08:00
sdk-team
46862eb08d Open API publish. 2020-05-17 11:39:09 +08:00
sdk-team
bb4a9050b4 Open API publish. 2020-05-17 11:30:02 +08:00
sdk-team
1cba907b97 Open API publish. 2020-05-17 09:43:24 +08:00
sdk-team
efc5b31e28 Open API publish. 2020-05-17 08:58:34 +08:00
sdk-team
23a40fc487 Generated 2015-01-01 for R-kvstore. 2020-05-14 17:32:00 +08:00
sdk-team
03fb512456 Supported Grant Permission. 2020-05-14 14:08:24 +08:00
sdk-team
56c516a238 Add demo edition auth. 2020-05-14 10:33:25 +08:00
sdk-team
2fd4ebc0a8 Add ListDevicesImages DescribeIpcLiveAddress. 2020-05-13 19:41:49 +08:00
sdk-team
735c64063a Add ExportTas apis. 2020-05-13 16:55:49 +08:00
sdk-team
bb7f64aeb3 Generated 2019-09-10 for waf-openapi. 2020-05-13 15:34:52 +08:00
sdk-team
396541400e Supported AAA for BBB. 2020-05-13 14:44:31 +08:00
sdk-team
e312177cd9 Add ExportTas apis. 2020-05-13 11:32:32 +08:00
sdk-team
f60556764e About 2019-03-07 and 2018-09-16 Version. 2020-05-13 11:27:22 +08:00
sdk-team
6c1dbc8b06 Supported DRM. 2020-05-12 11:28:55 +08:00
sdk-team
ab7e92063b Add new openapi ApplyNodes. 2020-05-11 18:08:58 +08:00
sdk-team
92d767384b Support CreationCategory for CreateDBCluster. 2020-05-11 15:09:53 +08:00
sdk-team
32e4dafba9 Generated 2019-01-01 for Cassandra. 2020-05-09 22:55:19 +08:00
sdk-team
9f2fb5a595 VideoSearch deploy SDK. 2020-05-09 17:31:25 +08:00
sdk-team
590e1bdfaf Support sg for region. 2020-05-08 09:45:11 +08:00
sdk-team
bde21ef594 Describe describeAvailableResource. 2020-05-06 17:59:18 +08:00
sdk-team
7a8130ffb0 Add prometheus ListDashboards api. 2020-04-30 00:11:09 +08:00
sdk-team
4bb1852f8a Add prometheus ListDashboards api. 2020-04-29 23:47:40 +08:00
sdk-team
b1e2187ca5 Add prometheus ListDashboards api. 2020-04-29 23:13:32 +08:00
sdk-team
92be79728f Supported VideoProduce. 2020-04-29 20:05:40 +08:00
sdk-team
e1097547c2 Supported VideoProduce. 2020-04-29 20:00:15 +08:00
sdk-team
87957e1677 Supported VideoProduce. 2020-04-29 19:55:15 +08:00
sdk-team
8ef38637d2 Add ListTemplateVersions API. 2020-04-29 19:13:11 +08:00
sdk-team
7041b32dc4 Support groupId operations. 2020-04-29 18:52:43 +08:00
sdk-team
d3ae1f02a3 Add ExportTas apis. 2020-04-29 17:31:49 +08:00
sdk-team
87fc3376cb Support Document Translation. 2020-04-29 16:47:05 +08:00
sdk-team
f6ec6326cb Sync cdn APIs. 2020-04-29 16:35:08 +08:00
sdk-team
bd43e54271 Add Scdn APIS. 2020-04-29 16:10:26 +08:00
wb-hx510875
f16150baca fix : code patch
1. fixed code about delete char*
2. free curl_slist
3. added lock for EndpointProvider::LoadLocalEndpoints()
2020-04-28 16:41:32 +08:00
sdk-team
a51834c8d0 Generated 2019-03-15 for fnf. 2020-04-28 15:43:32 +08:00
sdk-team
23bea0505a Add CompareFaceVerify API. 2020-04-28 15:40:24 +08:00
sdk-team
8c15acf5c8 Support watermark. 2020-04-27 20:40:39 +08:00
sdk-team
00cb41817f Describe describeAvailableResource. 2020-04-27 20:35:05 +08:00
sdk-team
f90eac2a6c ContrastFaceVerify Return SubCode. 2020-04-27 17:52:10 +08:00
sdk-team
f69779be3f Generated 2019-01-01 for Cassandra. 2020-04-27 14:39:32 +08:00
sdk-team
feab9dcc06 New api publish. 2020-04-26 16:18:38 +08:00
sdk-team
d1c3599e3d Generated 2015-01-01 for R-kvstore. 2020-04-25 16:36:42 +08:00
sdk-team
f1483f8582 Publish apis for ledger instances. 2020-04-24 16:05:24 +08:00
sdk-team
d005611f56 Publish apis for ledger instances. 2020-04-24 16:01:11 +08:00
sdk-team
7e80260525 GetUser API return user execute query count information. 2020-04-23 22:37:56 +08:00
sdk-team
4aa00d49d1 Fixed bugs for MassPush API. 2020-04-23 17:51:52 +08:00
sdk-team
a1dd7e1dbd Add location info. 2020-04-23 10:38:48 +08:00
sdk-team
e6cff897c5 Support groupId operations. 2020-04-23 10:35:18 +08:00
sdk-team
4d493b157c Generated 2019-01-01 for Cassandra. 2020-04-22 17:17:11 +08:00
sdk-team
8a1c79417e Supported API for DescribeTags. 2020-04-21 11:02:12 +08:00
sdk-team
ad02a00036 Supported PackageDesign Apis. 2020-04-21 10:51:59 +08:00
sdk-team
3dd38f70c2 Add Statistics API. 2020-04-21 09:54:00 +08:00
sdk-team
cc6cea96e4 Add TemplateId. 2020-04-20 16:31:50 +08:00
sdk-team
f819d8866c Fix FaceContrastPicture. 2020-04-20 14:55:57 +08:00
sdk-team
d53a27c55f Add kibana network white Ips. 2020-04-20 14:25:18 +08:00
sdk-team
112b1d25da Multimedia poc modified. 2020-04-19 18:02:55 +08:00
sdk-team
f51d79f1b9 DescribeInstanceTypes support TotalEniQueueQuantity. 2020-04-17 17:56:20 +08:00
sdk-team
e53482d9c6 Modify SubmitSmarttagJob. 2020-04-16 19:47:18 +08:00
sdk-team
b004f4b9fa Add ModifyWhiteIps. 2020-04-16 18:17:53 +08:00
sdk-team
c9cf723562 Add BatchOptimization param in Stop and Start Instances. 2020-04-16 18:06:50 +08:00
sdk-team
b1020d412c Add features for open api. 2020-04-16 14:55:14 +08:00
sdk-team
c4d6cb06f1 Add pre train service api. 2020-04-15 19:58:49 +08:00
sdk-team
eeaeed4023 CreateNode API add return NodeId. 2020-04-15 14:44:32 +08:00
sdk-team
d7e14e0c1b Vision-poc response modified. 2020-04-15 11:24:42 +08:00
sdk-team
18dc3cd7d9 Support ListSensitiveColumns, ListSensitiveColumnsDetail API. 2020-04-14 21:52:24 +08:00
sdk-team
2dbb76d303 Supported CreateSegmentBodyJob. 2020-04-14 15:04:45 +08:00
sdk-team
ae65dcf4c3 Fix ListTaskExecutions SDK error. 2020-04-13 12:05:53 +08:00
sdk-team
1c5ad6a48c Generated 2017-05-25 for Dypnsapi. 2020-04-10 17:08:22 +08:00
sdk-team
1a13b03f29 Support GetOfficeEditURL. 2020-04-10 16:49:00 +08:00
wb-hx510875
c1e07be47e improve build 2020-04-10 15:58:45 +08:00
sdk-team
8fdb5cc851 Generated 2019-01-01 for Cassandra. 2020-04-10 15:09:26 +08:00
sdk-team
20774ebe3a Support DescribeIpv4Location. 2020-04-10 11:53:07 +08:00
sdk-team
485d712ddd Add prometheus api AddGrafana and AddIntegration. 2020-04-09 21:22:01 +08:00
sdk-team
abfdc41f3b Generated 2018-03-13 for retailcloud. 2020-04-09 16:22:52 +08:00
sdk-team
093332279d Add DescribePrice API. 2020-04-09 11:12:46 +08:00
sdk-team
85daa7c446 WAF OpenApi SDK Release. 2020-04-09 11:10:33 +08:00
sdk-team
2e465b8b77 Add DescribeDBClusterAvailableResources. 2020-04-09 10:52:46 +08:00
sdk-team
c58d7b0968 Generated 2015-01-01 for R-kvstore. 2020-04-09 09:50:22 +08:00
sdk-team
528c5282a8 Add SubCode for DescribeFaceVerify. 2020-04-08 21:43:09 +08:00
sdk-team
ec000a3be6 Generated 2019-01-01 for Cassandra. 2020-04-08 19:29:51 +08:00
sdk-team
636e24a33f Add trace api. 2020-04-03 19:52:25 +08:00
sdk-team
cc1b078ff1 Support shelf type for planogram position. 2020-04-03 18:17:04 +08:00
sdk-team
30fd9f48a0 Support namespaces. 2020-04-03 10:54:39 +08:00
sdk-team
c911315170 Add API ContrastFaceVerify. 2020-04-02 17:57:12 +08:00
sdk-team
26e49b09e1 Support for WaitTimeSeconds for DescribeExecution. 2020-04-02 02:54:57 +08:00
sdk-team
677473908b DescribeVerifyToken API Add Parameters-UserIp and UserPhoneNumber and UserRegistTime. 2020-04-01 20:18:17 +08:00
sdk-team
99a35f493e Parameters is string in StartExecution Response. 2020-04-01 17:39:25 +08:00
sdk-team
2efc5c0610 Counters and Parameters are changed to Map in ListExections and StartExecution. 2020-04-01 16:07:28 +08:00
peze
773c9d68dd delete php file 2020-04-01 09:53:30 +08:00
wb-hx510875
dab595d041 improve readme 2020-03-27 15:47:12 +08:00
wb-hx510875
361993f224 regenerate cpp code
improve CMakeLists
fixed tests
2020-03-27 13:58:57 +08:00
wb-hx510875
31f2c5d410 improve cmake compile 2020-03-27 11:04:28 +08:00
5452 changed files with 343858 additions and 34386 deletions

137
.clang-format Normal file
View File

@@ -0,0 +1,137 @@
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
- Regex: '.*'
Priority: 1
SortPriority: 0
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentCaseLabels: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentWidth: 2
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
Standard: Latest
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseCRLF: false
UseTab: Never
...

876
CHANGELOG
View File

@@ -1,3 +1,879 @@
2020-08-17 Version: 1.36.587
- Add new tags for corp group.
2020-08-17 Version: 1.36.586
- Add new tags for corp group.
2020-08-16 Version: 1.36.585
- Add new tags for corp group.
2020-08-14 Version: 1.36.584
- Add sdk.
2020-08-14 Version: 1.36.583
- Supported Api DetectIPCPedestrian.
2020-08-14 Version: 1.36.582
- Supported CheckCloudResourceAuthorized API.
2020-08-14 Version: 1.36.581
- Add project Api.
2020-08-13 Version: 1.36.580
- Add PipCode and CommodityCode for QueryInstanceBill, QueryBillOverview, QueryBill, QuerySettleBill, QueryAccountBill, QuerySplitItemBill.
- Support BillOwnerId filter for QueryInstanceBill, QueryBillOverview, QueryBill, QuerySettleBill, QueryAccountBill, QuerySplitItemBill.
2020-08-13 Version: 1.36.579
- Release DetectKneeXRay DetectSpineMRI TranslateMed.
2020-08-13 Version: 1.36.578
- Release DetectKneeXRay DetectSpineMRI TranslateMed.
2020-08-13 Version: 1.36.577
- Release DetectKneeXRay DetectSpineMRI TranslateMed.
2020-08-13 Version: 1.36.576
- GetImageTranslate add column orc.
2020-08-13 Version: 1.36.575
- DescribePrice update amount parameters type, float to string.
- Add ResourceGroupId parameter to support resource group.
2020-08-13 Version: 1.36.574
- Release SegmentHalfBody.
2020-08-13 Version: 1.36.573
- Release SegmentHalfBody.
2020-08-12 Version: 1.36.572
- Support corp group api.
2020-08-12 Version: 1.36.571
- Add pipeline status api.
2020-08-12 Version: 1.36.570
- Generated 2015-01-01 for `R-kvstore`.
- SyncDtsStatus API add TaskId parameter.
2020-08-11 Version: 1.36.569
- Generated 2020-05-18 for `dataworks-public`.
2020-08-11 Version: 1.36.568
- Update DescribeRefreshTask.
2020-08-11 Version: 1.36.567
- Add ResourceGroup in resource snapshot.
2020-08-10 Version: 1.36.566
- Generated 2020-05-18 for `dataworks-public`.
2020-08-10 Version: 1.36.565
- Add source id for list face detail.
2020-08-10 Version: 1.36.564
- Add extend value for list event detail.
2020-08-09 Version: 1.36.563
- Add extend value for list event detail.
2020-08-08 Version: 1.36.562
- Update SearchImage.
2020-08-07 Version: 1.36.561
- GetTitleDiagnose GetTitleGenerate GetImageTranslate supported.
2020-08-07 Version: 1.36.560
- Generated 2020-05-18 for `dataworks-public`.
2020-08-07 Version: 1.36.559
- GetTitleDiagnose GetTitleGenerate GetImageTranslate supported.
2020-08-07 Version: 1.36.558
- Add FindServiceList and GetService qps.
2020-08-06 Version: 1.36.557
- Add Smart Cloudauth API.
2020-08-04 Version: 1.36.556
- Update RecognizeTable.
2020-08-04 Version: 1.36.555
- Add Image Url parameter for invoke motor algorithm.
2020-08-04 Version: 1.36.554
- Add source picture url for Monitor.
2020-08-03 Version: 1.36.553
- Add source picture url for Monitor.
2020-08-03 Version: 1.36.552
- Fix Some API Response Define.
2020-08-03 Version: 1.36.551
- Add source picture url for Monitor.
2020-08-03 Version: 1.36.550
- Add Voice Synchronous Scan API.
2020-08-03 Version: 1.36.549
- Add ExtractPedestrianFeatureAttribute.
2020-07-31 Version: 1.36.548
- Update DetectCelebrity.
2020-07-31 Version: 1.36.547
- Edit GetStack api.
2020-07-30 Version: 1.36.546
- Add Smart Cloudauth API.
2020-07-30 Version: 1.36.545
- Supported ChatApp for SDK.
2020-07-30 Version: 1.36.544
- Generated 2020-06-29 for `alinlp`.
2020-07-29 Version: 1.36.543
- Add CreateGetDBListFromAgentTask.
- Add GetDBListFromAgent.
2020-07-29 Version: 1.36.542
- API GetTaskStatus return task detail.
2020-07-29 Version: 1.36.541
- Generated 2020-05-18 for `dataworks-public`.
2020-07-27 Version: 1.36.540
- Supported CheckCloudResourceAuthorized API.
2020-07-27 Version: 1.36.539
- Add HSF apis.
2020-07-24 Version: 1.36.538
- Edit ListTraceApp api with add tags.
- Edit SearchTraceAppByName api with add tags.
- Edut SearchTraceAppByPage api with add tags.
2020-07-24 Version: 1.36.537
- Add DescribeBackupTasks.
2020-07-24 Version: 1.36.536
- Support GetImageCroppingSuggestions API.
- Add Remarks to face group related APIs.
- Add Model parameter to blind watermark related APIs.
2020-07-24 Version: 1.36.535
- First build.
2020-07-23 Version: 1.36.534
- Supported CloudGame.
2020-07-23 Version: 1.36.533
- Supported AAA for BBB.
- Fixed bugs for CCC.
2020-07-23 Version: 1.36.532
- Add AddSecretBlacklist and DeleteSecretBlacklist.
- Suppoort ASR.
2020-07-23 Version: 1.36.531
- Add GenerateAndExportDataKey, ExportDataKey, ReEncrypt api.
2020-07-23 Version: 1.36.530
- Add GenerateAndExportDataKey, ExportDataKey, ReEncrypt api.
2020-07-22 Version: 1.36.529
- Generated 2015-01-01 for `R-kvstore`.
- Add SyncDtsStatus API.
2020-07-22 Version: 1.36.528
- Add snapshot settings.
- Add ElasticTask.
2020-07-22 Version: 1.36.527
- Add SourceId for SearchFace.
2020-07-22 Version: 1.36.526
- Add source id for file uploader.
2020-07-22 Version: 1.36.525
- Add source id for file uploader.
2020-07-21 Version: 1.36.524
- Support Tag API.
2020-07-21 Version: 1.36.523
- Add algorithm type for ListPerson.
2020-07-17 Version: 1.36.522
- Add DescribeRegions.
- Modify DescribeFullBackupList.
- Modify DescribeBackupPlanList.
- Modify DescribeRestoreRangeInfo.
2020-07-17 Version: 1.36.521
- Add DescribeDBClusterAuditLogCollector.
- Add DescribeBackupPolicy.
- Support polardb for pgsql and oracle customize endpoints.
2020-07-17 Version: 1.36.520
- Public beta version.
- Add Api Overseas.
2020-07-15 Version: 1.36.519
- Edit ListTraceApp api.
- Edit SearchTraceAppByName api.
- Edut SearchTraceAppByPage api.
2020-07-15 Version: 1.36.518
- Modify ConfigureBackupPlan.
- Modify DescribeFullBackupList.
- Modify DescribeBackupPlanList.
- Modify DescribeRestoreRangeInfo.
2020-07-15 Version: 1.36.517
- Support ModifyImageAttribute by LaunchPermission.
- Support ImageFamily.
2020-07-14 Version: 1.36.516
- Add ListEventAlgorithmResult API.
2020-07-14 Version: 1.36.515
- Add ListEventAlgorithmResult API.
2020-07-14 Version: 1.36.514
- Add ListBodyAlgorithmResult API.
2020-07-14 Version: 1.36.513
- Add ListBodyAlgorithmResult API.
2020-07-14 Version: 1.36.512
- Add ListBodyAlgorithmResult API.
2020-07-10 Version: 1.36.511
- Add ListBodyAlgorithmResult API.
2020-07-10 Version: 1.36.510
- Add ListBodyAlgorithmResult API.
2020-07-08 Version: 1.36.509
- Remove GetFootwearPosition PullTakeShoesEvent PullTryOnShoesEvent.
- Add GetFootwearEvent.
- Please ignore the pd s pot.
2020-07-08 Version: 1.36.508
- Generated 2020-05-18 for `dataworks-public`.
2020-07-08 Version: 1.36.507
- Add video compose api.
2020-07-08 Version: 1.36.506
- Add video summarization related API.
2020-07-07 Version: 1.36.505
- Add video summarization related API.
2020-07-07 Version: 1.36.504
- Generated 2020-05-18 for `dataworks-public`.
2020-07-03 Version: 1.36.503
- Supported UpdateUserBucketConfig.
2020-07-03 Version: 1.36.502
- Generated 2017-05-25 for `Dypnsapi`.
2020-07-03 Version: 1.36.501
- Generated 2017-05-25 for `Dypnsapi`.
2020-07-03 Version: 1.36.500
- Generated 2018-10-12 for `Airec`.
2020-07-03 Version: 1.36.499
- Add ListResourceExecutionStatus API.
- ListExecutions API supports filtering by resource id.
- TriggerExecution API supports TimerTrigger.
2020-07-03 Version: 1.36.498
- Supports tag management APIs.
2020-07-03 Version: 1.36.497
- Add PicUrl parameter for picture related API.
2020-07-03 Version: 1.36.496
- Add PicUrl parameter for picture related API.
2020-07-02 Version: 1.36.495
- Generated 2020-05-18 for `dataworks-public`.
2020-07-02 Version: 1.36.494
- Add GetFootwearPosition.
- Add PullTakeShoesEvent.
- Add PullTryOnShoesEvent.
2020-07-02 Version: 1.36.493
- Add GetFootwearPosition.
- Add PullTakeShoesEvent.
- Add PullTryOnShoesEvent.
2020-07-02 Version: 1.36.492
- Update endpoint.
2020-07-02 Version: 1.36.491
- CreateShardingDBInstance add ProtocolType, to support DynamoDB.
- DescribeDBInstances add return ResourceGroupId.
2020-07-01 Version: 1.36.490
- Add ListFace-MotorAlgorithmResults API.
2020-07-01 Version: 1.36.489
- Add API for GetMetadataAmount.
2020-07-01 Version: 1.36.488
- Support Saf For ExecuteExtendService.
2020-06-30 Version: 1.36.487
- Add ListMetrics API.
2020-06-29 Version: 1.36.486
- Supported Rotate.
2020-06-29 Version: 1.36.485
- Supported Rotate.
2020-06-29 Version: 1.36.484
- Add Model Parameter For InitFaceVerify API.
2020-06-26 Version: 1.36.483
- Supported Api EraseLogoInVideo.
2020-06-24 Version: 1.36.482
- Add DescribeBackupPlanBilling.
- Modify ConfigureBackupPlan.
- Modify CreateBackupPlan.
- Modify CreateRestoreTask.
- Modify DescribeRestoreTaskList.
- Modify DescribeBackupPlanList.
- Modify ModifyBackupSourceEndpoint.
- Modify ModifyBackupStrategy.
2020-06-23 Version: 1.36.481
- Add face quality detection API.
2020-06-23 Version: 1.36.480
- Add face quality detection API.
2020-06-23 Version: 1.36.479
- Add face quality detection API.
2020-06-23 Version: 1.36.478
- Add face quality detection API.
2020-06-23 Version: 1.36.477
- Generated 2015-12-15 for `CS`.
2020-06-23 Version: 1.36.476
- Support SubmitOperationAuditInfo for Support self-service submission of approval information.
- Support SubmitOperationCredentials for self-service submission of certificate information.
- Support CancelOperationAudit for cancel audit.
- Support GetOperationOssUploadPolic for get oss policy.
- Support QueryOperationAuditInfoLis for query audit list.
- Support QueryOperationAuditInfoDetail for query audit details.
2020-06-23 Version: 1.36.475
- Generated 2018-08-28 for `Tag`.
2020-06-23 Version: 1.36.474
- Public beta version.
- Add Api Overseas.
2020-06-23 Version: 1.36.473
- Public beta version.
- Add Api Overseas.
2020-06-23 Version: 1.36.472
- Public beta version.
- Add Api Overseas.
2020-06-22 Version: 1.36.471
- Add support cn-shenzhen region.
2020-06-22 Version: 1.36.470
- Add GetMultipleTrace api.
- Add SearchTracesByPage api.
- Add GetStack api.
2020-06-21 Version: 1.36.469
- Add persons API.
2020-06-18 Version: 1.36.468
- Supported TransformDBInstancePayType API.
2020-06-18 Version: 1.36.467
- Add GetAuthToken OpenAPI.
2020-06-18 Version: 1.36.466
- Public beta version.
- Add Api Overseas.
2020-06-17 Version: 1.36.465
- Supported sync create eni and assign private ip.
2020-06-17 Version: 1.36.464
- Public beta version.
- Add Api Overseas.
2020-06-16 Version: 1.36.463
- Support TargetImageId in ApplyNodes Interface.
2020-06-16 Version: 1.36.462
- Update monitor related API.
2020-06-15 Version: 1.36.461
- Generated 2019-09-10 for `waf-openapi`.
2020-06-15 Version: 1.36.460
- Generated 2019-09-10 for `waf-openapi`.
2020-06-12 Version: 1.36.459
- Add CreateProduct API ProductSecret in Response.
- Add AMQP APIs, including CreateSubscribeRelation, CreateConsumerGroup, etc.
- Add LinkIoTEdge CreateSceneRule API.
- Add LinkIoTEdge DeleteSceneRule API.
- Add LinkIoTEdge UpdateSceneRule API.
- Add LinkIoTEdge GetSceneRule API.
- Add LinkIoTEdge QuerySceneRule API.
- Add LinkIoTEdge EnableSceneRule API.
- Add LinkIoTEdge DisableSceneRule API.
- Add LinkIoTEdge TriggerSceneRule API.
- Add LinkIoTEdge QuerySummarySceneRuleLog API.
- Add LinkIoTEdge QueryDetailSceneRuleLog API.
- Add LinkIoTEdge BindSceneRuleToEdgeInstance API.
- Add LinkIoTEdge UnbindSceneRuleFromEdgeInstance API.
- Add LinkIoTEdge QueryEdgeInstanceSceneRule API.
2020-06-12 Version: 1.36.458
- Update monitor related API.
2020-06-12 Version: 1.36.457
- Add support for enable hbaseue extra module like lindorm-search or lindorm-sql.
2020-06-11 Version: 1.36.456
- Support ServicePeriodUnit in QueryInstanceBill.
2020-06-10 Version: 1.36.455
- Public beta version.
- Add Api Overseas.
2020-06-10 Version: 1.36.454
- Public beta version.
- Add Api Overseas.
2020-06-08 Version: 1.36.453
- Generate dbfs sdk.
2020-06-08 Version: 1.36.452
- Support offline instance.
2020-06-04 Version: 1.36.451
- Support for addrp.
2020-06-04 Version: 1.36.450
- Supported Eni Trunking.
2020-06-04 Version: 1.36.449
- Update monitor related API.
2020-06-04 Version: 1.36.448
- Add SubmitMediaDNADeleteJob and ListMediaDNADeleteJob.
- Modify GetMediaAuditResult interface, support ad logo and live result.
- Modify GetMediaAuditResultTimeline interface, support ad logo and live result.
2020-06-04 Version: 1.36.447
- Update monitor related API.
2020-06-04 Version: 1.36.446
- Update monitor related API.
2020-06-03 Version: 1.36.445
- Describe describeAvailableResource.
2020-06-03 Version: 1.36.444
- Describe describeAvailableResource.
2020-06-03 Version: 1.36.443
- Generated 2019-01-01 for `Cassandra`.
2020-06-03 Version: 1.36.442
- DescribeCameraStatistics add filed.
2020-06-02 Version: 1.36.441
- Edit SearchTraces api.
2020-05-28 Version: 1.36.440
- Supported AndroidNotificationXiaomiChannel for Push and MassPush.
2020-05-27 Version: 1.36.439
- Added cn-heyuan endpoint url.
- Added cn-wulanchabu endpoint url.
2020-05-27 Version: 1.36.438
- Add support for create hbaseue multizone instance.
2020-05-26 Version: 1.36.437
- Support DescribeAllEntity API.
2020-05-26 Version: 1.36.436
- Add smartcall service api.
2020-05-26 Version: 1.36.435
- Add smartcall service api.
2020-05-26 Version: 1.36.434
- Add monitor related API.
2020-05-26 Version: 1.36.433
- Add monitor related.
2020-05-26 Version: 1.36.432
- Add monitor related.
2020-05-25 Version: 1.36.431
- Add monitor related.
2020-05-25 Version: 1.36.430
- Add monitor related.
2020-05-23 Version: 1.36.429
- Generated 2015-01-01 for `R-kvstore`.
- Add ModifyResourceGroup API.
- DescribeInstanceAttribute return ResourceGroupId.
2020-05-22 Version: 1.36.428
- Add schedule crud api.
2020-05-21 Version: 1.36.427
- Support more error Codes.
2020-05-20 Version: 1.36.426
- Generated 2019-09-10 for `waf-openapi`.
2020-05-20 Version: 1.36.425
- Edit GetTrace and SearchTraces api.
2020-05-20 Version: 1.36.424
- Public beta version.
- Add Api Overseas.
2020-05-19 Version: 1.36.423
- Public beta version.
- Add Api Overseas.
2020-05-19 Version: 1.36.422
- Initial version.
2020-05-18 Version: 1.36.421
- Support sequence for listNodes.
- Support StrictSatisfiedTargetCapacity for applyNodes.
2020-05-18 Version: 1.36.420
- Fix DescribeIpcLiveAddress , add in params.
2020-05-18 Version: 1.36.419
- Fix DescribeIpcLiveAddress , add in params.
2020-05-17 Version: 1.36.418
- Open API publish.
2020-05-17 Version: 1.36.417
- Open API publish.
2020-05-17 Version: 1.36.416
- Open API publish.
2020-05-17 Version: 1.36.415
- Open API publish.
2020-05-17 Version: 1.36.414
- Open API publish.
2020-05-14 Version: 1.36.413
- Generated 2015-01-01 for `R-kvstore`.
- Fix DescribeCacheAnalysisReport return empty BigKeys because of wrong type defination.
2020-05-14 Version: 1.36.412
- Supported Grant Permission.
- Supported Revoke Permission.
2020-05-14 Version: 1.36.411
- Add demo edition auth.
2020-05-13 Version: 1.36.410
- Add ListDevicesImages DescribeIpcLiveAddress.
- Modify DescribeDevices.
2020-05-13 Version: 1.36.409
- Add ExportTas apis.
2020-05-13 Version: 1.36.408
- Generated 2019-09-10 for `waf-openapi`.
2020-05-13 Version: 1.36.407
- Supported AAA for BBB.
- Fixed bugs for CCC.
2020-05-13 Version: 1.36.406
- Add ExportTas apis.
2020-05-13 Version: 1.36.405
- About 2019-03-07 and 2018-09-16 Version.
2020-05-12 Version: 1.36.404
- Supported DRM.
2020-05-11 Version: 1.36.403
- Add new openapi ApplyNodes.
2020-05-11 Version: 1.36.402
- Support CreationCategory for CreateDBCluster.
2020-05-09 Version: 1.36.401
- Generated 2019-01-01 for `Cassandra`.
2020-05-09 Version: 1.36.400
- VideoSearch deploy SDK.
2020-05-08 Version: 1.36.399
- Support sg for region.
2020-05-06 Version: 1.36.398
- Describe describeAvailableResource.
2020-04-30 Version: 1.36.397
- Add prometheus ListDashboards api.
2020-04-29 Version: 1.36.396
- Add prometheus ListDashboards api.
2020-04-29 Version: 1.36.395
- Add prometheus ListDashboards api.
2020-04-29 Version: 1.36.394
- Supported VideoProduce.
2020-04-29 Version: 1.36.393
- Supported VideoProduce.
2020-04-29 Version: 1.36.392
- Supported VideoProduce.
2020-04-29 Version: 1.36.391
- Add ListTemplateVersions API.
- GenerateExecutionPolicy supports TemplateVersion.
- CreateTemplate and UpdateTemplate support VersionName.
2020-04-29 Version: 1.36.390
- Support groupId operations.
2020-04-29 Version: 1.36.389
- Add ExportTas apis.
2020-04-29 Version: 1.36.388
- Support Document Translation.
- Support Lanuage Detection.
2020-04-29 Version: 1.36.387
- Sync cdn APIs.
2020-04-29 Version: 1.36.386
- Add Scdn APIS.
- Sync cdn APIS.
2020-04-28 Version: 1.36.385
- Generated 2019-03-15 for `fnf`.
2020-04-28 Version: 1.36.384
- Add CompareFaceVerify API.
2020-04-27 Version: 1.36.383
- Support watermark.
2020-04-27 Version: 1.36.382
- Describe describeAvailableResource.
2020-04-27 Version: 1.36.381
- ContrastFaceVerify Return SubCode.
2020-04-27 Version: 1.36.380
- Generated 2019-01-01 for `Cassandra`.
2020-04-26 Version: 1.36.379
- New api publish.
2020-04-25 Version: 1.36.378
- Generated 2015-01-01 for `R-kvstore`.
- Add RestoreTime for CreateInstance API.
2020-04-24 Version: 1.36.377
- Publish apis for ledger instances.
- Publish apis for members.
- Publish apis for time anchors.
- Publish apis for endpoints.
2020-04-24 Version: 1.36.376
- Publish apis for ledger instances.
- Publish apis for members.
- Publish apis for time anchors.
- Publish apis for endpoints.
2020-04-23 Version: 1.36.375
- GetUser API return user execute query count information.
2020-04-23 Version: 1.36.374
- Fixed bugs for MassPush API.
2020-04-23 Version: 1.36.373
- Add location info.
2020-04-23 Version: 1.36.372
- Support groupId operations.
2020-04-22 Version: 1.36.371
- Generated 2019-01-01 for `Cassandra`.
2020-04-21 Version: 1.36.370
- Supported API for DescribeTags.
- Supported API for ListTagResources.
- Supported API for TagResources.
- Supported API for UntagResources.
2020-04-21 Version: 1.36.369
- Supported PackageDesign Apis.
- Supported Api ListPackageDesignModelTypes.
- Supported Api PreviewModelForPackageDesign.
- Supported Api RenderImageForPackageDesign.
- Supported Api GetRenderResult.
2020-04-21 Version: 1.36.368
- Add Statistics API.
2020-04-20 Version: 1.36.367
- Add TemplateId.
2020-04-20 Version: 1.36.366
- Fix FaceContrastPicture.
2020-04-20 Version: 1.36.365
- Add kibana network white Ips.
2020-04-19 Version: 1.36.364
- Multimedia poc modified.
2020-04-17 Version: 1.36.363
- DescribeInstanceTypes support TotalEniQueueQuantity.
2020-04-16 Version: 1.36.362
- Modify `SubmitSmarttagJob`.
2020-04-16 Version: 1.36.361
- Add ModifyWhiteIps.
2020-04-16 Version: 1.36.360
- Add BatchOptimization param in Stop and Start Instances.
- Add RemoveSymbols in GetInstanceConsoleOutput.
- Add ImageFamily in ModifyImageAttribute.
- Customize InstanceType on DedicatedHosts is supported.
- Add StorageCapacityUnit interfaces.
- Add param Tag in CreateAutoSnapshotPolicy.
2020-04-16 Version: 1.36.359
- Add features for open api.
2020-04-15 Version: 1.36.358
- Add pre train service api.
2020-04-15 Version: 1.36.357
- CreateNode API add return NodeId.
2020-04-15 Version: 1.36.356
- Vision-poc response modified.
2020-04-14 Version: 1.36.355
- Support ListSensitiveColumns, ListSensitiveColumnsDetail API.
- ListUsers API return user execute query count information.
- Fix ListWorkFlowTemplates to return create user information.
- UpdateUser API support to update user max execute query count.
2020-04-14 Version: 1.36.354
- Supported CreateSegmentBodyJob.
2020-04-13 Version: 1.36.353
- Fix ListTaskExecutions SDK error.
2020-04-10 Version: 1.36.352
- Generated 2017-05-25 for `Dypnsapi`.
2020-04-10 Version: 1.36.351
- Support GetOfficeEditURL.
- Support RefreshOfficeEditToken.
2020-04-10 Version: 1.36.350
- Generated 2019-01-01 for `Cassandra`.
2020-04-10 Version: 1.36.349
- Support DescribeIpv4Location.
2020-04-09 Version: 1.36.348
- Add prometheus api AddGrafana and AddIntegration.
2020-04-09 Version: 1.36.347
- Generated 2018-03-13 for `retailcloud`.
2020-04-09 Version: 1.36.346
- Add DescribePrice API.
2020-04-09 Version: 1.36.345
- WAF OpenApi SDK Release.
2020-04-09 Version: 1.36.344
- Add DescribeDBClusterAvailableResources.
2020-04-09 Version: 1.36.343
- Generated 2015-01-01 for `R-kvstore`.
- Add DescribePrice API.
2020-04-08 Version: 1.36.342
- Add SubCode for DescribeFaceVerify.
2020-04-08 Version: 1.36.341
- Generated 2019-01-01 for `Cassandra`.
2020-04-03 Version: 1.36.340
- Add trace api.
- Add prometheus api.
2020-04-03 Version: 1.36.339
- Support shelf type for planogram position.
2020-04-03 Version: 1.36.338
- Support namespaces.
2020-04-02 Version: 1.36.337
- Add API ContrastFaceVerify.
2020-04-02 Version: 1.36.336
- Support for WaitTimeSeconds for DescribeExecution.
2020-04-01 Version: 1.36.335
- DescribeVerifyToken API Add Parameters-UserIp and UserPhoneNumber and UserRegistTime.
2020-04-01 Version: 1.36.334
- Parameters is string in StartExecution Response.
2020-04-01 Version: 1.36.333
- Counters and Parameters are changed to Map in ListExections and StartExecution.
2020-03-24 Version: 1.36.332
- DescribeInstanceTypes Supports EniIpv6AddressQuantity.

View File

@@ -9,11 +9,14 @@ 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")
set(BUILD_PRODUCT "" CACHE STRING "Build by lower name of product")
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)
@@ -29,15 +32,23 @@ include(ExternalProject)
include(GNUInstallDirs)
add_subdirectory(3rdparty)
add_subdirectory(core)
if(BUILD_UNIT_TESTS)
enable_testing()
add_subdirectory(test/core)
enable_testing()
add_subdirectory(core)
add_subdirectory(test/core)
endif()
if(BUILD_FUNCTION_TESTS)
enable_testing()
add_subdirectory(core)
add_subdirectory(cdn)
add_subdirectory(cs)
add_subdirectory(ecs)
add_subdirectory(nlp)
add_subdirectory(rds)
add_subdirectory(slb)
add_subdirectory(vpc)
add_subdirectory(test/function_test/cdn)
add_subdirectory(test/function_test/core)
add_subdirectory(test/function_test/cs)
@@ -48,79 +59,12 @@ if(BUILD_FUNCTION_TESTS)
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(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)
add_subdirectory(crm)
add_subdirectory(kms)
add_subdirectory(sas-api)
add_subdirectory(jarvis-public)
add_subdirectory(mts)
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)
if(BUILD_PRODUCT STREQUAL "")
message(WARNING "Please set the value of 'BUILD_PRODUCT'")
elseif(BUILD_PRODUCT STREQUAL "core")
add_subdirectory(core)
else()
add_subdirectory(core)
add_subdirectory(${BUILD_PRODUCT})
message(STATUS "'BUILD_PRODUCT'=${BUILD_PRODUCT}")
endif()

View File

@@ -77,7 +77,11 @@ sudo make install
```bash
cd aliyun-openapi-cpp-sdk
sudo sh easyinstall.sh
sudo sh easyinstall.sh <lower name of product (like 'ecs')>
# example
sudo sh easyinstall.sh core
sudo sh easyinstall.sh ecs
```
**Alibaba Cloud SDK for C++ 将被安装在 `/usr` .**
@@ -99,6 +103,7 @@ sudo sh easyinstall.sh
* 选择 `Browse Source` 为 `源代码目录(aliyun-openapi-cpp-sdk)`
* 选择 `Browse build` 为 `构建目录(sdk_build)`
* 点击 `configure`
* 使用小写的产品名称,设置 `BUILD_PRODUCT` 参数的值
* 点击 `generate`, 构建 VS 解决方案。
4. 编译安装 C++ SDK

View File

@@ -21,9 +21,9 @@ If you have any problem while using Alibaba Cloud SDK for C++, please submit an
- 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).
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.
>**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.
@@ -78,7 +78,11 @@ sudo make install
```bash
cd aliyun-openapi-cpp-sdk
sudo sh easyinstall.sh
sudo sh easyinstall.sh <lower name of product (like 'ecs')>
# example
sudo sh easyinstall.sh core
sudo sh easyinstall.sh ecs
```
**The Alibaba Cloud SDK for C++ will be installed to `/usr`.**
@@ -105,6 +109,8 @@ git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
- `Configure`
- use the lower name of product to set the value of `BUILD_PRODUCT`
- `Generate`
4. Build and Install C++ SDK

View File

@@ -1 +1 @@
1.36.332
1.36.587

View File

@@ -35,6 +35,8 @@ set(acm_public_header_model
include/alibabacloud/acm/model/DescribeConfigurationResult.h
include/alibabacloud/acm/model/DescribeNamespaceRequest.h
include/alibabacloud/acm/model/DescribeNamespaceResult.h
include/alibabacloud/acm/model/DescribeNamespacesRequest.h
include/alibabacloud/acm/model/DescribeNamespacesResult.h
include/alibabacloud/acm/model/UpdateNamespaceRequest.h
include/alibabacloud/acm/model/UpdateNamespaceResult.h )
@@ -54,6 +56,8 @@ set(acm_src
src/model/DescribeConfigurationResult.cc
src/model/DescribeNamespaceRequest.cc
src/model/DescribeNamespaceResult.cc
src/model/DescribeNamespacesRequest.cc
src/model/DescribeNamespacesResult.cc
src/model/UpdateNamespaceRequest.cc
src/model/UpdateNamespaceResult.cc )

View File

@@ -36,6 +36,8 @@
#include "model/DescribeConfigurationResult.h"
#include "model/DescribeNamespaceRequest.h"
#include "model/DescribeNamespaceResult.h"
#include "model/DescribeNamespacesRequest.h"
#include "model/DescribeNamespacesResult.h"
#include "model/UpdateNamespaceRequest.h"
#include "model/UpdateNamespaceResult.h"
@@ -68,6 +70,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeNamespaceResult> DescribeNamespaceOutcome;
typedef std::future<DescribeNamespaceOutcome> DescribeNamespaceOutcomeCallable;
typedef std::function<void(const AcmClient*, const Model::DescribeNamespaceRequest&, const DescribeNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNamespaceAsyncHandler;
typedef Outcome<Error, Model::DescribeNamespacesResult> DescribeNamespacesOutcome;
typedef std::future<DescribeNamespacesOutcome> DescribeNamespacesOutcomeCallable;
typedef std::function<void(const AcmClient*, const Model::DescribeNamespacesRequest&, const DescribeNamespacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNamespacesAsyncHandler;
typedef Outcome<Error, Model::UpdateNamespaceResult> UpdateNamespaceOutcome;
typedef std::future<UpdateNamespaceOutcome> UpdateNamespaceOutcomeCallable;
typedef std::function<void(const AcmClient*, const Model::UpdateNamespaceRequest&, const UpdateNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateNamespaceAsyncHandler;
@@ -97,6 +102,9 @@ namespace AlibabaCloud
DescribeNamespaceOutcome describeNamespace(const Model::DescribeNamespaceRequest &request)const;
void describeNamespaceAsync(const Model::DescribeNamespaceRequest& request, const DescribeNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNamespaceOutcomeCallable describeNamespaceCallable(const Model::DescribeNamespaceRequest& request) const;
DescribeNamespacesOutcome describeNamespaces(const Model::DescribeNamespacesRequest &request)const;
void describeNamespacesAsync(const Model::DescribeNamespacesRequest& request, const DescribeNamespacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNamespacesOutcomeCallable describeNamespacesCallable(const Model::DescribeNamespacesRequest& request) const;
UpdateNamespaceOutcome updateNamespace(const Model::UpdateNamespaceRequest &request)const;
void updateNamespaceAsync(const Model::UpdateNamespaceRequest& request, const UpdateNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateNamespaceOutcomeCallable updateNamespaceCallable(const Model::UpdateNamespaceRequest& request) const;

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACM_MODEL_DESCRIBENAMESPACESREQUEST_H_
#define ALIBABACLOUD_ACM_MODEL_DESCRIBENAMESPACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/acm/AcmExport.h>
namespace AlibabaCloud
{
namespace Acm
{
namespace Model
{
class ALIBABACLOUD_ACM_EXPORT DescribeNamespacesRequest : public RoaServiceRequest
{
public:
DescribeNamespacesRequest();
~DescribeNamespacesRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_ACM_MODEL_DESCRIBENAMESPACESREQUEST_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_ACM_MODEL_DESCRIBENAMESPACESRESULT_H_
#define ALIBABACLOUD_ACM_MODEL_DESCRIBENAMESPACESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/acm/AcmExport.h>
namespace AlibabaCloud
{
namespace Acm
{
namespace Model
{
class ALIBABACLOUD_ACM_EXPORT DescribeNamespacesResult : public ServiceResult
{
public:
struct _Namespace
{
std::string namespaceName;
int type;
int quota;
int configCount;
std::string namespaceId;
};
DescribeNamespacesResult();
explicit DescribeNamespacesResult(const std::string &payload);
~DescribeNamespacesResult();
std::vector<_Namespace> getNamespaces()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<_Namespace> namespaces_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_ACM_MODEL_DESCRIBENAMESPACESRESULT_H_

View File

@@ -303,6 +303,42 @@ AcmClient::DescribeNamespaceOutcomeCallable AcmClient::describeNamespaceCallable
return task->get_future();
}
AcmClient::DescribeNamespacesOutcome AcmClient::describeNamespaces(const DescribeNamespacesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeNamespacesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeNamespacesOutcome(DescribeNamespacesResult(outcome.result()));
else
return DescribeNamespacesOutcome(outcome.error());
}
void AcmClient::describeNamespacesAsync(const DescribeNamespacesRequest& request, const DescribeNamespacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeNamespaces(request), context);
};
asyncExecute(new Runnable(fn));
}
AcmClient::DescribeNamespacesOutcomeCallable AcmClient::describeNamespacesCallable(const DescribeNamespacesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeNamespacesOutcome()>>(
[this, request]()
{
return this->describeNamespaces(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AcmClient::UpdateNamespaceOutcome AcmClient::updateNamespace(const UpdateNamespaceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,30 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/acm/model/DescribeNamespacesRequest.h>
using AlibabaCloud::Acm::Model::DescribeNamespacesRequest;
DescribeNamespacesRequest::DescribeNamespacesRequest() :
RoaServiceRequest("acm", "2020-02-06")
{
setResourcePath("/diamond-ops/pop/namespace/list");
setMethod(HttpRequest::Method::Get);
}
DescribeNamespacesRequest::~DescribeNamespacesRequest()
{}

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/acm/model/DescribeNamespacesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Acm;
using namespace AlibabaCloud::Acm::Model;
DescribeNamespacesResult::DescribeNamespacesResult() :
ServiceResult()
{}
DescribeNamespacesResult::DescribeNamespacesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeNamespacesResult::~DescribeNamespacesResult()
{}
void DescribeNamespacesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allNamespacesNode = value["Namespaces"]["Namespace"];
for (auto valueNamespacesNamespace : allNamespacesNode)
{
_Namespace namespacesObject;
if(!valueNamespacesNamespace["ConfigCount"].isNull())
namespacesObject.configCount = std::stoi(valueNamespacesNamespace["ConfigCount"].asString());
if(!valueNamespacesNamespace["NamespaceId"].isNull())
namespacesObject.namespaceId = valueNamespacesNamespace["NamespaceId"].asString();
if(!valueNamespacesNamespace["NamespaceName"].isNull())
namespacesObject.namespaceName = valueNamespacesNamespace["NamespaceName"].asString();
if(!valueNamespacesNamespace["Quota"].isNull())
namespacesObject.quota = std::stoi(valueNamespacesNamespace["Quota"].asString());
if(!valueNamespacesNamespace["Type"].isNull())
namespacesObject.type = std::stoi(valueNamespacesNamespace["Type"].asString());
namespaces_.push_back(namespacesObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::vector<DescribeNamespacesResult::_Namespace> DescribeNamespacesResult::getNamespaces()const
{
return namespaces_;
}
std::string DescribeNamespacesResult::getMessage()const
{
return message_;
}
std::string DescribeNamespacesResult::getCode()const
{
return code_;
}

View File

@@ -35,6 +35,10 @@ set(adb_public_header_model
include/alibabacloud/adb/model/DescribeAccountsResult.h
include/alibabacloud/adb/model/DescribeAllDataSourceRequest.h
include/alibabacloud/adb/model/DescribeAllDataSourceResult.h
include/alibabacloud/adb/model/DescribeAuditLogConfigRequest.h
include/alibabacloud/adb/model/DescribeAuditLogConfigResult.h
include/alibabacloud/adb/model/DescribeAuditLogRecordsRequest.h
include/alibabacloud/adb/model/DescribeAuditLogRecordsResult.h
include/alibabacloud/adb/model/DescribeAutoRenewAttributeRequest.h
include/alibabacloud/adb/model/DescribeAutoRenewAttributeResult.h
include/alibabacloud/adb/model/DescribeAvailableResourceRequest.h
@@ -57,10 +61,6 @@ set(adb_public_header_model
include/alibabacloud/adb/model/DescribeDBClustersResult.h
include/alibabacloud/adb/model/DescribeInclinedTablesRequest.h
include/alibabacloud/adb/model/DescribeInclinedTablesResult.h
include/alibabacloud/adb/model/DescribeLogStoreKeysRequest.h
include/alibabacloud/adb/model/DescribeLogStoreKeysResult.h
include/alibabacloud/adb/model/DescribeLoghubDetailRequest.h
include/alibabacloud/adb/model/DescribeLoghubDetailResult.h
include/alibabacloud/adb/model/DescribeOperatorPermissionRequest.h
include/alibabacloud/adb/model/DescribeOperatorPermissionResult.h
include/alibabacloud/adb/model/DescribeProcessListRequest.h
@@ -75,6 +75,8 @@ set(adb_public_header_model
include/alibabacloud/adb/model/DescribeSlowLogTrendResult.h
include/alibabacloud/adb/model/DescribeTableDetailRequest.h
include/alibabacloud/adb/model/DescribeTableDetailResult.h
include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseRequest.h
include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseResult.h
include/alibabacloud/adb/model/DescribeTablesRequest.h
include/alibabacloud/adb/model/DescribeTablesResult.h
include/alibabacloud/adb/model/DescribeTaskInfoRequest.h
@@ -87,6 +89,8 @@ set(adb_public_header_model
include/alibabacloud/adb/model/ListTagResourcesResult.h
include/alibabacloud/adb/model/ModifyAccountDescriptionRequest.h
include/alibabacloud/adb/model/ModifyAccountDescriptionResult.h
include/alibabacloud/adb/model/ModifyAuditLogConfigRequest.h
include/alibabacloud/adb/model/ModifyAuditLogConfigResult.h
include/alibabacloud/adb/model/ModifyAutoRenewAttributeRequest.h
include/alibabacloud/adb/model/ModifyAutoRenewAttributeResult.h
include/alibabacloud/adb/model/ModifyBackupPolicyRequest.h
@@ -130,6 +134,10 @@ set(adb_src
src/model/DescribeAccountsResult.cc
src/model/DescribeAllDataSourceRequest.cc
src/model/DescribeAllDataSourceResult.cc
src/model/DescribeAuditLogConfigRequest.cc
src/model/DescribeAuditLogConfigResult.cc
src/model/DescribeAuditLogRecordsRequest.cc
src/model/DescribeAuditLogRecordsResult.cc
src/model/DescribeAutoRenewAttributeRequest.cc
src/model/DescribeAutoRenewAttributeResult.cc
src/model/DescribeAvailableResourceRequest.cc
@@ -152,10 +160,6 @@ set(adb_src
src/model/DescribeDBClustersResult.cc
src/model/DescribeInclinedTablesRequest.cc
src/model/DescribeInclinedTablesResult.cc
src/model/DescribeLogStoreKeysRequest.cc
src/model/DescribeLogStoreKeysResult.cc
src/model/DescribeLoghubDetailRequest.cc
src/model/DescribeLoghubDetailResult.cc
src/model/DescribeOperatorPermissionRequest.cc
src/model/DescribeOperatorPermissionResult.cc
src/model/DescribeProcessListRequest.cc
@@ -170,6 +174,8 @@ set(adb_src
src/model/DescribeSlowLogTrendResult.cc
src/model/DescribeTableDetailRequest.cc
src/model/DescribeTableDetailResult.cc
src/model/DescribeTablePartitionDiagnoseRequest.cc
src/model/DescribeTablePartitionDiagnoseResult.cc
src/model/DescribeTablesRequest.cc
src/model/DescribeTablesResult.cc
src/model/DescribeTaskInfoRequest.cc
@@ -182,6 +188,8 @@ set(adb_src
src/model/ListTagResourcesResult.cc
src/model/ModifyAccountDescriptionRequest.cc
src/model/ModifyAccountDescriptionResult.cc
src/model/ModifyAuditLogConfigRequest.cc
src/model/ModifyAuditLogConfigResult.cc
src/model/ModifyAutoRenewAttributeRequest.cc
src/model/ModifyAutoRenewAttributeResult.cc
src/model/ModifyBackupPolicyRequest.cc

View File

@@ -36,6 +36,10 @@
#include "model/DescribeAccountsResult.h"
#include "model/DescribeAllDataSourceRequest.h"
#include "model/DescribeAllDataSourceResult.h"
#include "model/DescribeAuditLogConfigRequest.h"
#include "model/DescribeAuditLogConfigResult.h"
#include "model/DescribeAuditLogRecordsRequest.h"
#include "model/DescribeAuditLogRecordsResult.h"
#include "model/DescribeAutoRenewAttributeRequest.h"
#include "model/DescribeAutoRenewAttributeResult.h"
#include "model/DescribeAvailableResourceRequest.h"
@@ -58,10 +62,6 @@
#include "model/DescribeDBClustersResult.h"
#include "model/DescribeInclinedTablesRequest.h"
#include "model/DescribeInclinedTablesResult.h"
#include "model/DescribeLogStoreKeysRequest.h"
#include "model/DescribeLogStoreKeysResult.h"
#include "model/DescribeLoghubDetailRequest.h"
#include "model/DescribeLoghubDetailResult.h"
#include "model/DescribeOperatorPermissionRequest.h"
#include "model/DescribeOperatorPermissionResult.h"
#include "model/DescribeProcessListRequest.h"
@@ -76,6 +76,8 @@
#include "model/DescribeSlowLogTrendResult.h"
#include "model/DescribeTableDetailRequest.h"
#include "model/DescribeTableDetailResult.h"
#include "model/DescribeTablePartitionDiagnoseRequest.h"
#include "model/DescribeTablePartitionDiagnoseResult.h"
#include "model/DescribeTablesRequest.h"
#include "model/DescribeTablesResult.h"
#include "model/DescribeTaskInfoRequest.h"
@@ -88,6 +90,8 @@
#include "model/ListTagResourcesResult.h"
#include "model/ModifyAccountDescriptionRequest.h"
#include "model/ModifyAccountDescriptionResult.h"
#include "model/ModifyAuditLogConfigRequest.h"
#include "model/ModifyAuditLogConfigResult.h"
#include "model/ModifyAutoRenewAttributeRequest.h"
#include "model/ModifyAutoRenewAttributeResult.h"
#include "model/ModifyBackupPolicyRequest.h"
@@ -144,6 +148,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeAllDataSourceResult> DescribeAllDataSourceOutcome;
typedef std::future<DescribeAllDataSourceOutcome> DescribeAllDataSourceOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeAllDataSourceRequest&, const DescribeAllDataSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAllDataSourceAsyncHandler;
typedef Outcome<Error, Model::DescribeAuditLogConfigResult> DescribeAuditLogConfigOutcome;
typedef std::future<DescribeAuditLogConfigOutcome> DescribeAuditLogConfigOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeAuditLogConfigRequest&, const DescribeAuditLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuditLogConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeAuditLogRecordsResult> DescribeAuditLogRecordsOutcome;
typedef std::future<DescribeAuditLogRecordsOutcome> DescribeAuditLogRecordsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeAuditLogRecordsRequest&, const DescribeAuditLogRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuditLogRecordsAsyncHandler;
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;
@@ -177,12 +187,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeInclinedTablesResult> DescribeInclinedTablesOutcome;
typedef std::future<DescribeInclinedTablesOutcome> DescribeInclinedTablesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeInclinedTablesRequest&, const DescribeInclinedTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInclinedTablesAsyncHandler;
typedef Outcome<Error, Model::DescribeLogStoreKeysResult> DescribeLogStoreKeysOutcome;
typedef std::future<DescribeLogStoreKeysOutcome> DescribeLogStoreKeysOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeLogStoreKeysRequest&, const DescribeLogStoreKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogStoreKeysAsyncHandler;
typedef Outcome<Error, Model::DescribeLoghubDetailResult> DescribeLoghubDetailOutcome;
typedef std::future<DescribeLoghubDetailOutcome> DescribeLoghubDetailOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeLoghubDetailRequest&, const DescribeLoghubDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLoghubDetailAsyncHandler;
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;
@@ -204,6 +208,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeTableDetailResult> DescribeTableDetailOutcome;
typedef std::future<DescribeTableDetailOutcome> DescribeTableDetailOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeTableDetailRequest&, const DescribeTableDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTableDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeTablePartitionDiagnoseResult> DescribeTablePartitionDiagnoseOutcome;
typedef std::future<DescribeTablePartitionDiagnoseOutcome> DescribeTablePartitionDiagnoseOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeTablePartitionDiagnoseRequest&, const DescribeTablePartitionDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablePartitionDiagnoseAsyncHandler;
typedef Outcome<Error, Model::DescribeTablesResult> DescribeTablesOutcome;
typedef std::future<DescribeTablesOutcome> DescribeTablesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeTablesRequest&, const DescribeTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablesAsyncHandler;
@@ -222,6 +229,9 @@ namespace AlibabaCloud
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::ModifyAuditLogConfigResult> ModifyAuditLogConfigOutcome;
typedef std::future<ModifyAuditLogConfigOutcome> ModifyAuditLogConfigOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ModifyAuditLogConfigRequest&, const ModifyAuditLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAuditLogConfigAsyncHandler;
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;
@@ -287,6 +297,12 @@ namespace AlibabaCloud
DescribeAllDataSourceOutcome describeAllDataSource(const Model::DescribeAllDataSourceRequest &request)const;
void describeAllDataSourceAsync(const Model::DescribeAllDataSourceRequest& request, const DescribeAllDataSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAllDataSourceOutcomeCallable describeAllDataSourceCallable(const Model::DescribeAllDataSourceRequest& request) const;
DescribeAuditLogConfigOutcome describeAuditLogConfig(const Model::DescribeAuditLogConfigRequest &request)const;
void describeAuditLogConfigAsync(const Model::DescribeAuditLogConfigRequest& request, const DescribeAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAuditLogConfigOutcomeCallable describeAuditLogConfigCallable(const Model::DescribeAuditLogConfigRequest& request) const;
DescribeAuditLogRecordsOutcome describeAuditLogRecords(const Model::DescribeAuditLogRecordsRequest &request)const;
void describeAuditLogRecordsAsync(const Model::DescribeAuditLogRecordsRequest& request, const DescribeAuditLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAuditLogRecordsOutcomeCallable describeAuditLogRecordsCallable(const Model::DescribeAuditLogRecordsRequest& 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;
@@ -320,12 +336,6 @@ namespace AlibabaCloud
DescribeInclinedTablesOutcome describeInclinedTables(const Model::DescribeInclinedTablesRequest &request)const;
void describeInclinedTablesAsync(const Model::DescribeInclinedTablesRequest& request, const DescribeInclinedTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInclinedTablesOutcomeCallable describeInclinedTablesCallable(const Model::DescribeInclinedTablesRequest& request) const;
DescribeLogStoreKeysOutcome describeLogStoreKeys(const Model::DescribeLogStoreKeysRequest &request)const;
void describeLogStoreKeysAsync(const Model::DescribeLogStoreKeysRequest& request, const DescribeLogStoreKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLogStoreKeysOutcomeCallable describeLogStoreKeysCallable(const Model::DescribeLogStoreKeysRequest& request) const;
DescribeLoghubDetailOutcome describeLoghubDetail(const Model::DescribeLoghubDetailRequest &request)const;
void describeLoghubDetailAsync(const Model::DescribeLoghubDetailRequest& request, const DescribeLoghubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLoghubDetailOutcomeCallable describeLoghubDetailCallable(const Model::DescribeLoghubDetailRequest& 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;
@@ -347,6 +357,9 @@ namespace AlibabaCloud
DescribeTableDetailOutcome describeTableDetail(const Model::DescribeTableDetailRequest &request)const;
void describeTableDetailAsync(const Model::DescribeTableDetailRequest& request, const DescribeTableDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTableDetailOutcomeCallable describeTableDetailCallable(const Model::DescribeTableDetailRequest& request) const;
DescribeTablePartitionDiagnoseOutcome describeTablePartitionDiagnose(const Model::DescribeTablePartitionDiagnoseRequest &request)const;
void describeTablePartitionDiagnoseAsync(const Model::DescribeTablePartitionDiagnoseRequest& request, const DescribeTablePartitionDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTablePartitionDiagnoseOutcomeCallable describeTablePartitionDiagnoseCallable(const Model::DescribeTablePartitionDiagnoseRequest& request) const;
DescribeTablesOutcome describeTables(const Model::DescribeTablesRequest &request)const;
void describeTablesAsync(const Model::DescribeTablesRequest& request, const DescribeTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTablesOutcomeCallable describeTablesCallable(const Model::DescribeTablesRequest& request) const;
@@ -365,6 +378,9 @@ namespace AlibabaCloud
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;
ModifyAuditLogConfigOutcome modifyAuditLogConfig(const Model::ModifyAuditLogConfigRequest &request)const;
void modifyAuditLogConfigAsync(const Model::ModifyAuditLogConfigRequest& request, const ModifyAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAuditLogConfigOutcomeCallable modifyAuditLogConfigCallable(const Model::ModifyAuditLogConfigRequest& 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;

View File

@@ -41,8 +41,16 @@ namespace AlibabaCloud
void setDBClusterDescription(const std::string& dBClusterDescription);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getStorageType()const;
void setStorageType(const std::string& storageType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getMode()const;
void setMode(const std::string& mode);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getStorageResource()const;
void setStorageResource(const std::string& storageResource);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDBClusterCategory()const;
@@ -69,10 +77,14 @@ namespace AlibabaCloud
void setVSwitchId(const std::string& vSwitchId);
std::string getDBNodeStorage()const;
void setDBNodeStorage(const std::string& dBNodeStorage);
std::string getExecutorCount()const;
void setExecutorCount(const std::string& executorCount);
std::string getVPCId()const;
void setVPCId(const std::string& vPCId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getComputeResource()const;
void setComputeResource(const std::string& computeResource);
std::string getPayType()const;
void setPayType(const std::string& payType);
@@ -80,7 +92,11 @@ namespace AlibabaCloud
long resourceOwnerId_;
std::string dBClusterDescription_;
std::string clientToken_;
std::string storageType_;
std::string accessKeyId_;
std::string mode_;
std::string resourceGroupId_;
std::string storageResource_;
std::string regionId_;
std::string dBClusterCategory_;
std::string dBClusterNetworkType_;
@@ -94,8 +110,10 @@ namespace AlibabaCloud
std::string usedTime_;
std::string vSwitchId_;
std::string dBNodeStorage_;
std::string executorCount_;
std::string vPCId_;
std::string zoneId_;
std::string computeResource_;
std::string payType_;
};

View File

@@ -37,12 +37,14 @@ namespace AlibabaCloud
CreateDBClusterResult();
explicit CreateDBClusterResult(const std::string &payload);
~CreateDBClusterResult();
std::string getResourceGroupId()const;
std::string getDBClusterId()const;
std::string getOrderId()const;
protected:
void parse(const std::string &payload);
private:
std::string resourceGroupId_;
std::string dBClusterId_;
std::string orderId_;

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_DESCRIBEAUDITLOGCONFIGREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGREQUEST_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 DescribeAuditLogConfigRequest : public RpcServiceRequest
{
public:
DescribeAuditLogConfigRequest();
~DescribeAuditLogConfigRequest();
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 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 regionId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGREQUEST_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_DESCRIBEAUDITLOGCONFIGRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGRESULT_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 DescribeAuditLogConfigResult : public ServiceResult
{
public:
DescribeAuditLogConfigResult();
explicit DescribeAuditLogConfigResult(const std::string &payload);
~DescribeAuditLogConfigResult();
std::string getAuditLogStatus()const;
std::string getDBClusterId()const;
protected:
void parse(const std::string &payload);
private:
std::string auditLogStatus_;
std::string dBClusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGRESULT_H_

View File

@@ -0,0 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSREQUEST_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 DescribeAuditLogRecordsRequest : public RpcServiceRequest
{
public:
DescribeAuditLogRecordsRequest();
~DescribeAuditLogRecordsRequest();
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);
std::string getHostAddress()const;
void setHostAddress(const std::string& hostAddress);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getSqlType()const;
void setSqlType(const std::string& sqlType);
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 getQueryKeyword()const;
void setQueryKeyword(const std::string& queryKeyword);
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);
std::string getSucceed()const;
void setSucceed(const std::string& succeed);
std::string getUser()const;
void setUser(const std::string& user);
std::string getOrderType()const;
void setOrderType(const std::string& orderType);
private:
long resourceOwnerId_;
std::string startTime_;
int pageNumber_;
std::string accessKeyId_;
std::string hostAddress_;
std::string regionId_;
int pageSize_;
std::string sqlType_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
std::string queryKeyword_;
std::string endTime_;
long ownerId_;
std::string dBName_;
std::string succeed_;
std::string user_;
std::string orderType_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSREQUEST_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_DESCRIBEAUDITLOGRECORDSRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSRESULT_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 DescribeAuditLogRecordsResult : public ServiceResult
{
public:
struct SlowLogRecord
{
std::string connId;
std::string executeTime;
std::string totalTime;
std::string dBName;
std::string processID;
std::string hostAddress;
std::string sQLType;
std::string sQLText;
std::string succeed;
};
DescribeAuditLogRecordsResult();
explicit DescribeAuditLogRecordsResult(const std::string &payload);
~DescribeAuditLogRecordsResult();
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_DESCRIBEAUDITLOGRECORDSRESULT_H_

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
@@ -58,6 +60,7 @@ namespace AlibabaCloud
long resourceOwnerId_;
int pageNumber_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string regionId_;
int pageSize_;
std::string resourceOwnerAccount_;

View File

@@ -34,30 +34,53 @@ namespace AlibabaCloud
public:
struct AvailableZone
{
struct SupportedSerial
struct SupportedModeItem
{
struct SupportedInstanceClass
struct SupportedSerialListItem
{
struct SupportedNodeCount
struct SupportedFlexibleResourceItem
{
struct NodeCount
{
std::string maxCount;
std::string step;
std::string minCount;
};
NodeCount nodeCount;
std::vector<std::string> storageSize;
std::string storageType;
std::vector<std::string> supportedStorageResource;
std::vector<std::string> supportedComputeResource;
};
std::string instanceClass;
std::vector<SupportedInstanceClass::SupportedNodeCount> supportedNodeCountList;
std::string tips;
struct SupportedInstanceClass
{
struct SupportedNodeCount
{
struct NodeCount
{
std::string maxCount;
std::string step;
std::string minCount;
};
NodeCount nodeCount;
std::vector<std::string> storageSize;
};
struct SupportedExecutor
{
struct NodeCount1
{
std::string maxCount;
std::string step;
std::string minCount;
};
NodeCount1 nodeCount1;
};
std::vector<SupportedInstanceClass::SupportedExecutor> supportedExecutorList;
std::string instanceClass;
std::vector<SupportedInstanceClass::SupportedNodeCount> supportedNodeCountList;
std::string tips;
};
std::string serial;
std::vector<SupportedSerialListItem::SupportedFlexibleResourceItem> supportedFlexibleResource;
std::vector<SupportedSerialListItem::SupportedInstanceClass> supportedInstanceClassList;
};
std::string serial;
std::vector<SupportedSerial::SupportedInstanceClass> supportedInstanceClassList;
std::string mode;
std::vector<SupportedModeItem::SupportedSerialListItem> supportedSerialList;
};
std::string zoneId;
std::vector<AvailableZone::SupportedSerial> supportedSerialList;
std::vector<AvailableZone::SupportedModeItem> supportedMode;
};

View File

@@ -39,15 +39,19 @@ namespace AlibabaCloud
std::string value;
std::string key;
};
std::string storageResource;
std::string category;
std::string resourceGroupId;
int port;
std::string dBClusterId;
std::string dBClusterNetworkType;
std::string dBClusterType;
std::string diskType;
std::string dBVersion;
std::string dtsJobId;
long dBNodeCount;
std::string commodityCode;
std::string executorCount;
std::string lockReason;
std::string maintainTime;
std::vector<DBCluster::Tag> tags;
@@ -57,7 +61,9 @@ namespace AlibabaCloud
std::string vPCId;
std::string dBClusterStatus;
std::string vSwitchId;
std::string mode;
std::string dBClusterDescription;
std::string computeResource;
std::string expired;
std::string lockMode;
std::string payType;

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
@@ -72,6 +74,7 @@ namespace AlibabaCloud
std::string dBClusterStatus_;
int pageNumber_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string regionId_;
int pageSize_;
std::vector<Tag> tag_;

View File

@@ -39,25 +39,39 @@ namespace AlibabaCloud
std::string value;
std::string key;
};
long dBNodeStorage;
std::string storageResource;
std::string category;
std::string dBClusterStatus;
std::string createTime;
std::string resourceGroupId;
std::string port;
std::string dBClusterId;
std::string dBClusterDescription;
std::string expired;
std::string payType;
std::string lockMode;
std::string dBNodeClass;
std::string dBClusterNetworkType;
std::string dBClusterType;
std::string diskType;
std::string dBVersion;
std::string dtsJobId;
long dBNodeCount;
std::string commodityCode;
std::string regionId;
std::string expireTime;
std::string executorCount;
std::string lockReason;
std::vector<DBCluster::Tag> tags;
std::string engine;
long dBNodeStorage;
std::string zoneId;
std::string vPCId;
std::string dBClusterStatus;
std::string createTime;
std::string vSwitchId;
std::string mode;
std::string dBClusterDescription;
std::string computeResource;
std::string expired;
std::string payType;
std::string lockMode;
std::string dBNodeClass;
std::string vPCCloudInstanceId;
std::string regionId;
std::string expireTime;
std::string connectionString;
std::string rdsInstanceId;
};

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSREQUEST_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 DescribeLogStoreKeysRequest : public RpcServiceRequest
{
public:
DescribeLogStoreKeysRequest();
~DescribeLogStoreKeysRequest();
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 getProjectName()const;
void setProjectName(const std::string& projectName);
std::string getLogStoreName()const;
void setLogStoreName(const std::string& logStoreName);
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 regionId_;
std::string projectName_;
std::string logStoreName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSREQUEST_H_

View File

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

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILREQUEST_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 DescribeLoghubDetailRequest : public RpcServiceRequest
{
public:
DescribeLoghubDetailRequest();
~DescribeLoghubDetailRequest();
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 getProjectName()const;
void setProjectName(const std::string& projectName);
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 getExportName()const;
void setExportName(const std::string& exportName);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string projectName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string exportName_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILREQUEST_H_

View File

@@ -1,78 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILRESULT_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 DescribeLoghubDetailResult : public ServiceResult
{
public:
struct LoghubInfo
{
struct LogHubStore
{
std::string type;
std::string logKey;
std::string fieldKey;
};
std::string description;
std::string userName;
std::string zoneId;
std::string projectName;
std::string deliverName;
std::string deliverTime;
std::string dBClusterId;
std::string dBType;
std::string tableName;
bool filterDirtyData;
std::string accessSecret;
std::string logStoreName;
std::string domainUrl;
std::vector<LogHubStore> logHubStores;
std::string regionId;
std::string accessKey;
std::string schemaName;
std::string password;
};
DescribeLoghubDetailResult();
explicit DescribeLoghubDetailResult(const std::string &payload);
~DescribeLoghubDetailResult();
LoghubInfo getLoghubInfo()const;
protected:
void parse(const std::string &payload);
private:
LoghubInfo loghubInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILRESULT_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_DESCRIBETABLEPARTITIONDIAGNOSEREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSEREQUEST_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 DescribeTablePartitionDiagnoseRequest : public RpcServiceRequest
{
public:
DescribeTablePartitionDiagnoseRequest();
~DescribeTablePartitionDiagnoseRequest();
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 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_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int pageSize_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSEREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSERESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSERESULT_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 DescribeTablePartitionDiagnoseResult : public ServiceResult
{
public:
struct TablePartitionDiagnose
{
std::string tableName;
int partitionNumber;
std::string partitionDetail;
std::string schemaName;
};
DescribeTablePartitionDiagnoseResult();
explicit DescribeTablePartitionDiagnoseResult(const std::string &payload);
~DescribeTablePartitionDiagnoseResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
int getDBClusterId()const;
long getSuggestMaxRecordsPerPartition()const;
std::vector<TablePartitionDiagnose> getItems()const;
long getSuggestMinRecordsPerPartition()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
int dBClusterId_;
long suggestMaxRecordsPerPartition_;
std::vector<TablePartitionDiagnose> items_;
long suggestMinRecordsPerPartition_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSERESULT_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_MODIFYAUDITLOGCONFIGREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGREQUEST_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 ModifyAuditLogConfigRequest : public RpcServiceRequest
{
public:
ModifyAuditLogConfigRequest();
~ModifyAuditLogConfigRequest();
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 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 getAuditLogStatus()const;
void setAuditLogStatus(const std::string& auditLogStatus);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
std::string auditLogStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGREQUEST_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_MODIFYAUDITLOGCONFIGRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGRESULT_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 ModifyAuditLogConfigResult : public ServiceResult
{
public:
ModifyAuditLogConfigResult();
explicit ModifyAuditLogConfigResult(const std::string &payload);
~ModifyAuditLogConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGRESULT_H_

View File

@@ -39,8 +39,12 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getStorageResource()const;
void setStorageResource(const std::string& storageResource);
std::string getDBNodeClass()const;
void setDBNodeClass(const std::string& dBNodeClass);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
@@ -53,20 +57,28 @@ namespace AlibabaCloud
void setDBNodeGroupCount(const std::string& dBNodeGroupCount);
std::string getDBNodeStorage()const;
void setDBNodeStorage(const std::string& dBNodeStorage);
std::string getExecutorCount()const;
void setExecutorCount(const std::string& executorCount);
std::string getModifyType()const;
void setModifyType(const std::string& modifyType);
std::string getComputeResource()const;
void setComputeResource(const std::string& computeResource);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string storageResource_;
std::string dBNodeClass_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
std::string dBNodeGroupCount_;
std::string dBNodeStorage_;
std::string executorCount_;
std::string modifyType_;
std::string computeResource_;
};
}

View File

@@ -303,6 +303,78 @@ AdbClient::DescribeAllDataSourceOutcomeCallable AdbClient::describeAllDataSource
return task->get_future();
}
AdbClient::DescribeAuditLogConfigOutcome AdbClient::describeAuditLogConfig(const DescribeAuditLogConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeAuditLogConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeAuditLogConfigOutcome(DescribeAuditLogConfigResult(outcome.result()));
else
return DescribeAuditLogConfigOutcome(outcome.error());
}
void AdbClient::describeAuditLogConfigAsync(const DescribeAuditLogConfigRequest& request, const DescribeAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeAuditLogConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeAuditLogConfigOutcomeCallable AdbClient::describeAuditLogConfigCallable(const DescribeAuditLogConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeAuditLogConfigOutcome()>>(
[this, request]()
{
return this->describeAuditLogConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeAuditLogRecordsOutcome AdbClient::describeAuditLogRecords(const DescribeAuditLogRecordsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeAuditLogRecordsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeAuditLogRecordsOutcome(DescribeAuditLogRecordsResult(outcome.result()));
else
return DescribeAuditLogRecordsOutcome(outcome.error());
}
void AdbClient::describeAuditLogRecordsAsync(const DescribeAuditLogRecordsRequest& request, const DescribeAuditLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeAuditLogRecords(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeAuditLogRecordsOutcomeCallable AdbClient::describeAuditLogRecordsCallable(const DescribeAuditLogRecordsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeAuditLogRecordsOutcome()>>(
[this, request]()
{
return this->describeAuditLogRecords(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeAutoRenewAttributeOutcome AdbClient::describeAutoRenewAttribute(const DescribeAutoRenewAttributeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -699,78 +771,6 @@ AdbClient::DescribeInclinedTablesOutcomeCallable AdbClient::describeInclinedTabl
return task->get_future();
}
AdbClient::DescribeLogStoreKeysOutcome AdbClient::describeLogStoreKeys(const DescribeLogStoreKeysRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeLogStoreKeysOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeLogStoreKeysOutcome(DescribeLogStoreKeysResult(outcome.result()));
else
return DescribeLogStoreKeysOutcome(outcome.error());
}
void AdbClient::describeLogStoreKeysAsync(const DescribeLogStoreKeysRequest& request, const DescribeLogStoreKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeLogStoreKeys(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeLogStoreKeysOutcomeCallable AdbClient::describeLogStoreKeysCallable(const DescribeLogStoreKeysRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeLogStoreKeysOutcome()>>(
[this, request]()
{
return this->describeLogStoreKeys(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeLoghubDetailOutcome AdbClient::describeLoghubDetail(const DescribeLoghubDetailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeLoghubDetailOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeLoghubDetailOutcome(DescribeLoghubDetailResult(outcome.result()));
else
return DescribeLoghubDetailOutcome(outcome.error());
}
void AdbClient::describeLoghubDetailAsync(const DescribeLoghubDetailRequest& request, const DescribeLoghubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeLoghubDetail(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeLoghubDetailOutcomeCallable AdbClient::describeLoghubDetailCallable(const DescribeLoghubDetailRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeLoghubDetailOutcome()>>(
[this, request]()
{
return this->describeLoghubDetail(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeOperatorPermissionOutcome AdbClient::describeOperatorPermission(const DescribeOperatorPermissionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1023,6 +1023,42 @@ AdbClient::DescribeTableDetailOutcomeCallable AdbClient::describeTableDetailCall
return task->get_future();
}
AdbClient::DescribeTablePartitionDiagnoseOutcome AdbClient::describeTablePartitionDiagnose(const DescribeTablePartitionDiagnoseRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeTablePartitionDiagnoseOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeTablePartitionDiagnoseOutcome(DescribeTablePartitionDiagnoseResult(outcome.result()));
else
return DescribeTablePartitionDiagnoseOutcome(outcome.error());
}
void AdbClient::describeTablePartitionDiagnoseAsync(const DescribeTablePartitionDiagnoseRequest& request, const DescribeTablePartitionDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeTablePartitionDiagnose(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeTablePartitionDiagnoseOutcomeCallable AdbClient::describeTablePartitionDiagnoseCallable(const DescribeTablePartitionDiagnoseRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeTablePartitionDiagnoseOutcome()>>(
[this, request]()
{
return this->describeTablePartitionDiagnose(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeTablesOutcome AdbClient::describeTables(const DescribeTablesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1239,6 +1275,42 @@ AdbClient::ModifyAccountDescriptionOutcomeCallable AdbClient::modifyAccountDescr
return task->get_future();
}
AdbClient::ModifyAuditLogConfigOutcome AdbClient::modifyAuditLogConfig(const ModifyAuditLogConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyAuditLogConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyAuditLogConfigOutcome(ModifyAuditLogConfigResult(outcome.result()));
else
return ModifyAuditLogConfigOutcome(outcome.error());
}
void AdbClient::modifyAuditLogConfigAsync(const ModifyAuditLogConfigRequest& request, const ModifyAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyAuditLogConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::ModifyAuditLogConfigOutcomeCallable AdbClient::modifyAuditLogConfigCallable(const ModifyAuditLogConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyAuditLogConfigOutcome()>>(
[this, request]()
{
return this->modifyAuditLogConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::ModifyAutoRenewAttributeOutcome AdbClient::modifyAutoRenewAttribute(const ModifyAutoRenewAttributeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -60,6 +60,17 @@ void CreateDBClusterRequest::setClientToken(const std::string& clientToken)
setParameter("ClientToken", clientToken);
}
std::string CreateDBClusterRequest::getStorageType()const
{
return storageType_;
}
void CreateDBClusterRequest::setStorageType(const std::string& storageType)
{
storageType_ = storageType;
setParameter("StorageType", storageType);
}
std::string CreateDBClusterRequest::getAccessKeyId()const
{
return accessKeyId_;
@@ -71,6 +82,39 @@ void CreateDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateDBClusterRequest::getMode()const
{
return mode_;
}
void CreateDBClusterRequest::setMode(const std::string& mode)
{
mode_ = mode;
setParameter("Mode", mode);
}
std::string CreateDBClusterRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateDBClusterRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateDBClusterRequest::getStorageResource()const
{
return storageResource_;
}
void CreateDBClusterRequest::setStorageResource(const std::string& storageResource)
{
storageResource_ = storageResource;
setParameter("StorageResource", storageResource);
}
std::string CreateDBClusterRequest::getRegionId()const
{
return regionId_;
@@ -214,6 +258,17 @@ void CreateDBClusterRequest::setDBNodeStorage(const std::string& dBNodeStorage)
setParameter("DBNodeStorage", dBNodeStorage);
}
std::string CreateDBClusterRequest::getExecutorCount()const
{
return executorCount_;
}
void CreateDBClusterRequest::setExecutorCount(const std::string& executorCount)
{
executorCount_ = executorCount;
setParameter("ExecutorCount", executorCount);
}
std::string CreateDBClusterRequest::getVPCId()const
{
return vPCId_;
@@ -236,6 +291,17 @@ void CreateDBClusterRequest::setZoneId(const std::string& zoneId)
setParameter("ZoneId", zoneId);
}
std::string CreateDBClusterRequest::getComputeResource()const
{
return computeResource_;
}
void CreateDBClusterRequest::setComputeResource(const std::string& computeResource)
{
computeResource_ = computeResource;
setParameter("ComputeResource", computeResource);
}
std::string CreateDBClusterRequest::getPayType()const
{
return payType_;

View File

@@ -43,9 +43,16 @@ void CreateDBClusterResult::parse(const std::string &payload)
dBClusterId_ = value["DBClusterId"].asString();
if(!value["OrderId"].isNull())
orderId_ = value["OrderId"].asString();
if(!value["ResourceGroupId"].isNull())
resourceGroupId_ = value["ResourceGroupId"].asString();
}
std::string CreateDBClusterResult::getResourceGroupId()const
{
return resourceGroupId_;
}
std::string CreateDBClusterResult::getDBClusterId()const
{
return dBClusterId_;

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/DescribeAuditLogConfigRequest.h>
using AlibabaCloud::Adb::Model::DescribeAuditLogConfigRequest;
DescribeAuditLogConfigRequest::DescribeAuditLogConfigRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeAuditLogConfig")
{
setMethod(HttpRequest::Method::Post);
}
DescribeAuditLogConfigRequest::~DescribeAuditLogConfigRequest()
{}
long DescribeAuditLogConfigRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeAuditLogConfigRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeAuditLogConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeAuditLogConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeAuditLogConfigRequest::getRegionId()const
{
return regionId_;
}
void DescribeAuditLogConfigRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DescribeAuditLogConfigRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeAuditLogConfigRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeAuditLogConfigRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DescribeAuditLogConfigRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setParameter("DBClusterId", dBClusterId);
}
std::string DescribeAuditLogConfigRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeAuditLogConfigRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DescribeAuditLogConfigRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeAuditLogConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

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/DescribeAuditLogConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeAuditLogConfigResult::DescribeAuditLogConfigResult() :
ServiceResult()
{}
DescribeAuditLogConfigResult::DescribeAuditLogConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAuditLogConfigResult::~DescribeAuditLogConfigResult()
{}
void DescribeAuditLogConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["AuditLogStatus"].isNull())
auditLogStatus_ = value["AuditLogStatus"].asString();
if(!value["DBClusterId"].isNull())
dBClusterId_ = value["DBClusterId"].asString();
}
std::string DescribeAuditLogConfigResult::getAuditLogStatus()const
{
return auditLogStatus_;
}
std::string DescribeAuditLogConfigResult::getDBClusterId()const
{
return dBClusterId_;
}

View File

@@ -0,0 +1,227 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/DescribeAuditLogRecordsRequest.h>
using AlibabaCloud::Adb::Model::DescribeAuditLogRecordsRequest;
DescribeAuditLogRecordsRequest::DescribeAuditLogRecordsRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeAuditLogRecords")
{
setMethod(HttpRequest::Method::Post);
}
DescribeAuditLogRecordsRequest::~DescribeAuditLogRecordsRequest()
{}
long DescribeAuditLogRecordsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeAuditLogRecordsRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeAuditLogRecordsRequest::getStartTime()const
{
return startTime_;
}
void DescribeAuditLogRecordsRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
int DescribeAuditLogRecordsRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeAuditLogRecordsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeAuditLogRecordsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeAuditLogRecordsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeAuditLogRecordsRequest::getHostAddress()const
{
return hostAddress_;
}
void DescribeAuditLogRecordsRequest::setHostAddress(const std::string& hostAddress)
{
hostAddress_ = hostAddress;
setParameter("HostAddress", hostAddress);
}
std::string DescribeAuditLogRecordsRequest::getRegionId()const
{
return regionId_;
}
void DescribeAuditLogRecordsRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
int DescribeAuditLogRecordsRequest::getPageSize()const
{
return pageSize_;
}
void DescribeAuditLogRecordsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeAuditLogRecordsRequest::getSqlType()const
{
return sqlType_;
}
void DescribeAuditLogRecordsRequest::setSqlType(const std::string& sqlType)
{
sqlType_ = sqlType;
setParameter("SqlType", sqlType);
}
std::string DescribeAuditLogRecordsRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeAuditLogRecordsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeAuditLogRecordsRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DescribeAuditLogRecordsRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setParameter("DBClusterId", dBClusterId);
}
std::string DescribeAuditLogRecordsRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeAuditLogRecordsRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::string DescribeAuditLogRecordsRequest::getQueryKeyword()const
{
return queryKeyword_;
}
void DescribeAuditLogRecordsRequest::setQueryKeyword(const std::string& queryKeyword)
{
queryKeyword_ = queryKeyword;
setParameter("QueryKeyword", queryKeyword);
}
std::string DescribeAuditLogRecordsRequest::getEndTime()const
{
return endTime_;
}
void DescribeAuditLogRecordsRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeAuditLogRecordsRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeAuditLogRecordsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeAuditLogRecordsRequest::getDBName()const
{
return dBName_;
}
void DescribeAuditLogRecordsRequest::setDBName(const std::string& dBName)
{
dBName_ = dBName;
setParameter("DBName", dBName);
}
std::string DescribeAuditLogRecordsRequest::getSucceed()const
{
return succeed_;
}
void DescribeAuditLogRecordsRequest::setSucceed(const std::string& succeed)
{
succeed_ = succeed;
setParameter("Succeed", succeed);
}
std::string DescribeAuditLogRecordsRequest::getUser()const
{
return user_;
}
void DescribeAuditLogRecordsRequest::setUser(const std::string& user)
{
user_ = user;
setParameter("User", user);
}
std::string DescribeAuditLogRecordsRequest::getOrderType()const
{
return orderType_;
}
void DescribeAuditLogRecordsRequest::setOrderType(const std::string& orderType)
{
orderType_ = orderType;
setParameter("OrderType", orderType);
}

View File

@@ -0,0 +1,101 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/DescribeAuditLogRecordsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeAuditLogRecordsResult::DescribeAuditLogRecordsResult() :
ServiceResult()
{}
DescribeAuditLogRecordsResult::DescribeAuditLogRecordsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAuditLogRecordsResult::~DescribeAuditLogRecordsResult()
{}
void DescribeAuditLogRecordsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItemsNode = value["Items"]["SlowLogRecord"];
for (auto valueItemsSlowLogRecord : allItemsNode)
{
SlowLogRecord itemsObject;
if(!valueItemsSlowLogRecord["HostAddress"].isNull())
itemsObject.hostAddress = valueItemsSlowLogRecord["HostAddress"].asString();
if(!valueItemsSlowLogRecord["DBName"].isNull())
itemsObject.dBName = valueItemsSlowLogRecord["DBName"].asString();
if(!valueItemsSlowLogRecord["SQLText"].isNull())
itemsObject.sQLText = valueItemsSlowLogRecord["SQLText"].asString();
if(!valueItemsSlowLogRecord["SQLType"].isNull())
itemsObject.sQLType = valueItemsSlowLogRecord["SQLType"].asString();
if(!valueItemsSlowLogRecord["ConnId"].isNull())
itemsObject.connId = valueItemsSlowLogRecord["ConnId"].asString();
if(!valueItemsSlowLogRecord["ExecuteTime"].isNull())
itemsObject.executeTime = valueItemsSlowLogRecord["ExecuteTime"].asString();
if(!valueItemsSlowLogRecord["Succeed"].isNull())
itemsObject.succeed = valueItemsSlowLogRecord["Succeed"].asString();
if(!valueItemsSlowLogRecord["TotalTime"].isNull())
itemsObject.totalTime = valueItemsSlowLogRecord["TotalTime"].asString();
if(!valueItemsSlowLogRecord["ProcessID"].isNull())
itemsObject.processID = valueItemsSlowLogRecord["ProcessID"].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();
if(!value["DBClusterId"].isNull())
dBClusterId_ = value["DBClusterId"].asString();
}
std::string DescribeAuditLogRecordsResult::getTotalCount()const
{
return totalCount_;
}
std::string DescribeAuditLogRecordsResult::getPageSize()const
{
return pageSize_;
}
std::string DescribeAuditLogRecordsResult::getPageNumber()const
{
return pageNumber_;
}
std::string DescribeAuditLogRecordsResult::getDBClusterId()const
{
return dBClusterId_;
}
std::vector<DescribeAuditLogRecordsResult::SlowLogRecord> DescribeAuditLogRecordsResult::getItems()const
{
return items_;
}

View File

@@ -60,6 +60,17 @@ void DescribeAutoRenewAttributeRequest::setAccessKeyId(const std::string& access
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeAutoRenewAttributeRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeAutoRenewAttributeRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeAutoRenewAttributeRequest::getRegionId()const
{
return regionId_;

View File

@@ -45,39 +45,74 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
AvailableZone availableZoneListObject;
if(!valueAvailableZoneListAvailableZone["ZoneId"].isNull())
availableZoneListObject.zoneId = valueAvailableZoneListAvailableZone["ZoneId"].asString();
auto allSupportedSerialListNode = allAvailableZoneListNode["SupportedSerialList"]["SupportedSerial"];
for (auto allAvailableZoneListNodeSupportedSerialListSupportedSerial : allSupportedSerialListNode)
auto allSupportedModeNode = allAvailableZoneListNode["SupportedMode"]["SupportedModeItem"];
for (auto allAvailableZoneListNodeSupportedModeSupportedModeItem : allSupportedModeNode)
{
AvailableZone::SupportedSerial supportedSerialListObject;
if(!allAvailableZoneListNodeSupportedSerialListSupportedSerial["Serial"].isNull())
supportedSerialListObject.serial = allAvailableZoneListNodeSupportedSerialListSupportedSerial["Serial"].asString();
auto allSupportedInstanceClassListNode = allSupportedSerialListNode["SupportedInstanceClassList"]["SupportedInstanceClass"];
for (auto allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass : allSupportedInstanceClassListNode)
AvailableZone::SupportedModeItem supportedModeObject;
if(!allAvailableZoneListNodeSupportedModeSupportedModeItem["Mode"].isNull())
supportedModeObject.mode = allAvailableZoneListNodeSupportedModeSupportedModeItem["Mode"].asString();
auto allSupportedSerialListNode = allSupportedModeNode["SupportedSerialList"]["SupportedSerialListItem"];
for (auto allSupportedModeNodeSupportedSerialListSupportedSerialListItem : allSupportedSerialListNode)
{
AvailableZone::SupportedSerial::SupportedInstanceClass supportedInstanceClassListObject;
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].isNull())
supportedInstanceClassListObject.instanceClass = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].asString();
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].isNull())
supportedInstanceClassListObject.tips = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].asString();
auto allSupportedNodeCountListNode = allSupportedInstanceClassListNode["SupportedNodeCountList"]["SupportedNodeCount"];
for (auto allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount : allSupportedNodeCountListNode)
AvailableZone::SupportedModeItem::SupportedSerialListItem supportedSerialListObject;
if(!allSupportedModeNodeSupportedSerialListSupportedSerialListItem["Serial"].isNull())
supportedSerialListObject.serial = allSupportedModeNodeSupportedSerialListSupportedSerialListItem["Serial"].asString();
auto allSupportedFlexibleResourceNode = allSupportedSerialListNode["SupportedFlexibleResource"]["SupportedFlexibleResourceItem"];
for (auto allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem : allSupportedFlexibleResourceNode)
{
AvailableZone::SupportedSerial::SupportedInstanceClass::SupportedNodeCount supportedNodeCountListObject;
auto nodeCountNode = value["NodeCount"];
if(!nodeCountNode["MinCount"].isNull())
supportedNodeCountListObject.nodeCount.minCount = nodeCountNode["MinCount"].asString();
if(!nodeCountNode["MaxCount"].isNull())
supportedNodeCountListObject.nodeCount.maxCount = nodeCountNode["MaxCount"].asString();
if(!nodeCountNode["Step"].isNull())
supportedNodeCountListObject.nodeCount.step = nodeCountNode["Step"].asString();
auto allStorageSize = value["StorageSize"]["StorageSize"];
for (auto value : allStorageSize)
supportedNodeCountListObject.storageSize.push_back(value.asString());
supportedInstanceClassListObject.supportedNodeCountList.push_back(supportedNodeCountListObject);
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedFlexibleResourceItem supportedFlexibleResourceObject;
if(!allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].isNull())
supportedFlexibleResourceObject.storageType = allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].asString();
auto allSupportedStorageResource = value["SupportedStorageResource"]["SupportedStorageResource"];
for (auto value : allSupportedStorageResource)
supportedFlexibleResourceObject.supportedStorageResource.push_back(value.asString());
auto allSupportedComputeResource = value["SupportedComputeResource"]["SupportedComputeResource"];
for (auto value : allSupportedComputeResource)
supportedFlexibleResourceObject.supportedComputeResource.push_back(value.asString());
supportedSerialListObject.supportedFlexibleResource.push_back(supportedFlexibleResourceObject);
}
supportedSerialListObject.supportedInstanceClassList.push_back(supportedInstanceClassListObject);
auto allSupportedInstanceClassListNode = allSupportedSerialListNode["SupportedInstanceClassList"]["SupportedInstanceClass"];
for (auto allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass : allSupportedInstanceClassListNode)
{
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass supportedInstanceClassListObject;
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].isNull())
supportedInstanceClassListObject.instanceClass = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].asString();
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].isNull())
supportedInstanceClassListObject.tips = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].asString();
auto allSupportedNodeCountListNode = allSupportedInstanceClassListNode["SupportedNodeCountList"]["SupportedNodeCount"];
for (auto allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount : allSupportedNodeCountListNode)
{
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass::SupportedNodeCount supportedNodeCountListObject;
auto nodeCountNode = value["NodeCount"];
if(!nodeCountNode["MinCount"].isNull())
supportedNodeCountListObject.nodeCount.minCount = nodeCountNode["MinCount"].asString();
if(!nodeCountNode["MaxCount"].isNull())
supportedNodeCountListObject.nodeCount.maxCount = nodeCountNode["MaxCount"].asString();
if(!nodeCountNode["Step"].isNull())
supportedNodeCountListObject.nodeCount.step = nodeCountNode["Step"].asString();
auto allStorageSize = value["StorageSize"]["StorageSize"];
for (auto value : allStorageSize)
supportedNodeCountListObject.storageSize.push_back(value.asString());
supportedInstanceClassListObject.supportedNodeCountList.push_back(supportedNodeCountListObject);
}
auto allSupportedExecutorListNode = allSupportedInstanceClassListNode["SupportedExecutorList"]["SupportedExecutor"];
for (auto allSupportedInstanceClassListNodeSupportedExecutorListSupportedExecutor : allSupportedExecutorListNode)
{
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass::SupportedExecutor supportedExecutorListObject;
auto nodeCount1Node = value["NodeCount"];
if(!nodeCount1Node["MinCount"].isNull())
supportedExecutorListObject.nodeCount1.minCount = nodeCount1Node["MinCount"].asString();
if(!nodeCount1Node["MaxCount"].isNull())
supportedExecutorListObject.nodeCount1.maxCount = nodeCount1Node["MaxCount"].asString();
if(!nodeCount1Node["Step"].isNull())
supportedExecutorListObject.nodeCount1.step = nodeCount1Node["Step"].asString();
supportedInstanceClassListObject.supportedExecutorList.push_back(supportedExecutorListObject);
}
supportedSerialListObject.supportedInstanceClassList.push_back(supportedInstanceClassListObject);
}
supportedModeObject.supportedSerialList.push_back(supportedSerialListObject);
}
availableZoneListObject.supportedSerialList.push_back(supportedSerialListObject);
availableZoneListObject.supportedMode.push_back(supportedModeObject);
}
availableZoneList_.push_back(availableZoneListObject);
}

View File

@@ -99,6 +99,18 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
itemsObject.rdsInstanceId = valueItemsDBCluster["RdsInstanceId"].asString();
if(!valueItemsDBCluster["DtsJobId"].isNull())
itemsObject.dtsJobId = valueItemsDBCluster["DtsJobId"].asString();
if(!valueItemsDBCluster["ExecutorCount"].isNull())
itemsObject.executorCount = valueItemsDBCluster["ExecutorCount"].asString();
if(!valueItemsDBCluster["DiskType"].isNull())
itemsObject.diskType = valueItemsDBCluster["DiskType"].asString();
if(!valueItemsDBCluster["ComputeResource"].isNull())
itemsObject.computeResource = valueItemsDBCluster["ComputeResource"].asString();
if(!valueItemsDBCluster["StorageResource"].isNull())
itemsObject.storageResource = valueItemsDBCluster["StorageResource"].asString();
if(!valueItemsDBCluster["Mode"].isNull())
itemsObject.mode = valueItemsDBCluster["Mode"].asString();
if(!valueItemsDBCluster["ResourceGroupId"].isNull())
itemsObject.resourceGroupId = valueItemsDBCluster["ResourceGroupId"].asString();
auto allTagsNode = allItemsNode["Tags"]["Tag"];
for (auto allItemsNodeTagsTag : allTagsNode)
{

View File

@@ -82,6 +82,17 @@ void DescribeDBClustersRequest::setAccessKeyId(const std::string& accessKeyId)
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeDBClustersRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeDBClustersRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeDBClustersRequest::getRegionId()const
{
return regionId_;

View File

@@ -81,6 +81,34 @@ void DescribeDBClustersResult::parse(const std::string &payload)
itemsObject.rdsInstanceId = valueItemsDBCluster["RdsInstanceId"].asString();
if(!valueItemsDBCluster["DtsJobId"].isNull())
itemsObject.dtsJobId = valueItemsDBCluster["DtsJobId"].asString();
if(!valueItemsDBCluster["ExecutorCount"].isNull())
itemsObject.executorCount = valueItemsDBCluster["ExecutorCount"].asString();
if(!valueItemsDBCluster["DiskType"].isNull())
itemsObject.diskType = valueItemsDBCluster["DiskType"].asString();
if(!valueItemsDBCluster["VPCCloudInstanceId"].isNull())
itemsObject.vPCCloudInstanceId = valueItemsDBCluster["VPCCloudInstanceId"].asString();
if(!valueItemsDBCluster["Engine"].isNull())
itemsObject.engine = valueItemsDBCluster["Engine"].asString();
if(!valueItemsDBCluster["DBClusterNetworkType"].isNull())
itemsObject.dBClusterNetworkType = valueItemsDBCluster["DBClusterNetworkType"].asString();
if(!valueItemsDBCluster["VPCId"].isNull())
itemsObject.vPCId = valueItemsDBCluster["VPCId"].asString();
if(!valueItemsDBCluster["VSwitchId"].isNull())
itemsObject.vSwitchId = valueItemsDBCluster["VSwitchId"].asString();
if(!valueItemsDBCluster["ZoneId"].isNull())
itemsObject.zoneId = valueItemsDBCluster["ZoneId"].asString();
if(!valueItemsDBCluster["ConnectionString"].isNull())
itemsObject.connectionString = valueItemsDBCluster["ConnectionString"].asString();
if(!valueItemsDBCluster["Port"].isNull())
itemsObject.port = valueItemsDBCluster["Port"].asString();
if(!valueItemsDBCluster["ComputeResource"].isNull())
itemsObject.computeResource = valueItemsDBCluster["ComputeResource"].asString();
if(!valueItemsDBCluster["StorageResource"].isNull())
itemsObject.storageResource = valueItemsDBCluster["StorageResource"].asString();
if(!valueItemsDBCluster["Mode"].isNull())
itemsObject.mode = valueItemsDBCluster["Mode"].asString();
if(!valueItemsDBCluster["ResourceGroupId"].isNull())
itemsObject.resourceGroupId = valueItemsDBCluster["ResourceGroupId"].asString();
auto allTagsNode = allItemsNode["Tags"]["Tag"];
for (auto allItemsNodeTagsTag : allTagsNode)
{

View File

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

View File

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

View File

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

View File

@@ -1,96 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeLoghubDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeLoghubDetailResult::DescribeLoghubDetailResult() :
ServiceResult()
{}
DescribeLoghubDetailResult::DescribeLoghubDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeLoghubDetailResult::~DescribeLoghubDetailResult()
{}
void DescribeLoghubDetailResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto loghubInfoNode = value["LoghubInfo"];
if(!loghubInfoNode["ProjectName"].isNull())
loghubInfo_.projectName = loghubInfoNode["ProjectName"].asString();
if(!loghubInfoNode["LogStoreName"].isNull())
loghubInfo_.logStoreName = loghubInfoNode["LogStoreName"].asString();
if(!loghubInfoNode["DeliverName"].isNull())
loghubInfo_.deliverName = loghubInfoNode["DeliverName"].asString();
if(!loghubInfoNode["DeliverTime"].isNull())
loghubInfo_.deliverTime = loghubInfoNode["DeliverTime"].asString();
if(!loghubInfoNode["DomainUrl"].isNull())
loghubInfo_.domainUrl = loghubInfoNode["DomainUrl"].asString();
if(!loghubInfoNode["Description"].isNull())
loghubInfo_.description = loghubInfoNode["Description"].asString();
if(!loghubInfoNode["SchemaName"].isNull())
loghubInfo_.schemaName = loghubInfoNode["SchemaName"].asString();
if(!loghubInfoNode["TableName"].isNull())
loghubInfo_.tableName = loghubInfoNode["TableName"].asString();
if(!loghubInfoNode["RegionId"].isNull())
loghubInfo_.regionId = loghubInfoNode["RegionId"].asString();
if(!loghubInfoNode["ZoneId"].isNull())
loghubInfo_.zoneId = loghubInfoNode["ZoneId"].asString();
if(!loghubInfoNode["UserName"].isNull())
loghubInfo_.userName = loghubInfoNode["UserName"].asString();
if(!loghubInfoNode["Password"].isNull())
loghubInfo_.password = loghubInfoNode["Password"].asString();
if(!loghubInfoNode["FilterDirtyData"].isNull())
loghubInfo_.filterDirtyData = loghubInfoNode["FilterDirtyData"].asString() == "true";
if(!loghubInfoNode["AccessKey"].isNull())
loghubInfo_.accessKey = loghubInfoNode["AccessKey"].asString();
if(!loghubInfoNode["AccessSecret"].isNull())
loghubInfo_.accessSecret = loghubInfoNode["AccessSecret"].asString();
if(!loghubInfoNode["DBType"].isNull())
loghubInfo_.dBType = loghubInfoNode["DBType"].asString();
if(!loghubInfoNode["DBClusterId"].isNull())
loghubInfo_.dBClusterId = loghubInfoNode["DBClusterId"].asString();
auto allLogHubStoresNode = loghubInfoNode["LogHubStores"]["LogHubStore"];
for (auto loghubInfoNodeLogHubStoresLogHubStore : allLogHubStoresNode)
{
LoghubInfo::LogHubStore logHubStoreObject;
if(!loghubInfoNodeLogHubStoresLogHubStore["LogKey"].isNull())
logHubStoreObject.logKey = loghubInfoNodeLogHubStoresLogHubStore["LogKey"].asString();
if(!loghubInfoNodeLogHubStoresLogHubStore["FieldKey"].isNull())
logHubStoreObject.fieldKey = loghubInfoNodeLogHubStoresLogHubStore["FieldKey"].asString();
if(!loghubInfoNodeLogHubStoresLogHubStore["Type"].isNull())
logHubStoreObject.type = loghubInfoNodeLogHubStoresLogHubStore["Type"].asString();
loghubInfo_.logHubStores.push_back(logHubStoreObject);
}
}
DescribeLoghubDetailResult::LoghubInfo DescribeLoghubDetailResult::getLoghubInfo()const
{
return loghubInfo_;
}

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/DescribeTablePartitionDiagnoseRequest.h>
using AlibabaCloud::Adb::Model::DescribeTablePartitionDiagnoseRequest;
DescribeTablePartitionDiagnoseRequest::DescribeTablePartitionDiagnoseRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeTablePartitionDiagnose")
{
setMethod(HttpRequest::Method::Post);
}
DescribeTablePartitionDiagnoseRequest::~DescribeTablePartitionDiagnoseRequest()
{}
long DescribeTablePartitionDiagnoseRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeTablePartitionDiagnoseRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
int DescribeTablePartitionDiagnoseRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeTablePartitionDiagnoseRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeTablePartitionDiagnoseRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeTablePartitionDiagnoseRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeTablePartitionDiagnoseRequest::getRegionId()const
{
return regionId_;
}
void DescribeTablePartitionDiagnoseRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
int DescribeTablePartitionDiagnoseRequest::getPageSize()const
{
return pageSize_;
}
void DescribeTablePartitionDiagnoseRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeTablePartitionDiagnoseRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeTablePartitionDiagnoseRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeTablePartitionDiagnoseRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DescribeTablePartitionDiagnoseRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setParameter("DBClusterId", dBClusterId);
}
std::string DescribeTablePartitionDiagnoseRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeTablePartitionDiagnoseRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DescribeTablePartitionDiagnoseRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeTablePartitionDiagnoseRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

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.
*/
#include <alibabacloud/adb/model/DescribeTablePartitionDiagnoseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeTablePartitionDiagnoseResult::DescribeTablePartitionDiagnoseResult() :
ServiceResult()
{}
DescribeTablePartitionDiagnoseResult::DescribeTablePartitionDiagnoseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeTablePartitionDiagnoseResult::~DescribeTablePartitionDiagnoseResult()
{}
void DescribeTablePartitionDiagnoseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItemsNode = value["Items"]["TablePartitionDiagnose"];
for (auto valueItemsTablePartitionDiagnose : allItemsNode)
{
TablePartitionDiagnose itemsObject;
if(!valueItemsTablePartitionDiagnose["SchemaName"].isNull())
itemsObject.schemaName = valueItemsTablePartitionDiagnose["SchemaName"].asString();
if(!valueItemsTablePartitionDiagnose["TableName"].isNull())
itemsObject.tableName = valueItemsTablePartitionDiagnose["TableName"].asString();
if(!valueItemsTablePartitionDiagnose["PartitionNumber"].isNull())
itemsObject.partitionNumber = std::stoi(valueItemsTablePartitionDiagnose["PartitionNumber"].asString());
if(!valueItemsTablePartitionDiagnose["PartitionDetail"].isNull())
itemsObject.partitionDetail = valueItemsTablePartitionDiagnose["PartitionDetail"].asString();
items_.push_back(itemsObject);
}
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["DBClusterId"].isNull())
dBClusterId_ = std::stoi(value["DBClusterId"].asString());
if(!value["SuggestMinRecordsPerPartition"].isNull())
suggestMinRecordsPerPartition_ = std::stol(value["SuggestMinRecordsPerPartition"].asString());
if(!value["SuggestMaxRecordsPerPartition"].isNull())
suggestMaxRecordsPerPartition_ = std::stol(value["SuggestMaxRecordsPerPartition"].asString());
}
int DescribeTablePartitionDiagnoseResult::getTotalCount()const
{
return totalCount_;
}
int DescribeTablePartitionDiagnoseResult::getPageSize()const
{
return pageSize_;
}
int DescribeTablePartitionDiagnoseResult::getPageNumber()const
{
return pageNumber_;
}
int DescribeTablePartitionDiagnoseResult::getDBClusterId()const
{
return dBClusterId_;
}
long DescribeTablePartitionDiagnoseResult::getSuggestMaxRecordsPerPartition()const
{
return suggestMaxRecordsPerPartition_;
}
std::vector<DescribeTablePartitionDiagnoseResult::TablePartitionDiagnose> DescribeTablePartitionDiagnoseResult::getItems()const
{
return items_;
}
long DescribeTablePartitionDiagnoseResult::getSuggestMinRecordsPerPartition()const
{
return suggestMinRecordsPerPartition_;
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/ModifyAuditLogConfigRequest.h>
using AlibabaCloud::Adb::Model::ModifyAuditLogConfigRequest;
ModifyAuditLogConfigRequest::ModifyAuditLogConfigRequest() :
RpcServiceRequest("adb", "2019-03-15", "ModifyAuditLogConfig")
{
setMethod(HttpRequest::Method::Post);
}
ModifyAuditLogConfigRequest::~ModifyAuditLogConfigRequest()
{}
long ModifyAuditLogConfigRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void ModifyAuditLogConfigRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ModifyAuditLogConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ModifyAuditLogConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string ModifyAuditLogConfigRequest::getRegionId()const
{
return regionId_;
}
void ModifyAuditLogConfigRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ModifyAuditLogConfigRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void ModifyAuditLogConfigRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string ModifyAuditLogConfigRequest::getDBClusterId()const
{
return dBClusterId_;
}
void ModifyAuditLogConfigRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setParameter("DBClusterId", dBClusterId);
}
std::string ModifyAuditLogConfigRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void ModifyAuditLogConfigRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long ModifyAuditLogConfigRequest::getOwnerId()const
{
return ownerId_;
}
void ModifyAuditLogConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ModifyAuditLogConfigRequest::getAuditLogStatus()const
{
return auditLogStatus_;
}
void ModifyAuditLogConfigRequest::setAuditLogStatus(const std::string& auditLogStatus)
{
auditLogStatus_ = auditLogStatus;
setParameter("AuditLogStatus", auditLogStatus);
}

View File

@@ -14,11 +14,11 @@
* limitations under the License.
*/
#include <alibabacloud/r-kvstore/model/ModifyAuditLogConfigResult.h>
#include <alibabacloud/adb/model/ModifyAuditLogConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::R_kvstore;
using namespace AlibabaCloud::R_kvstore::Model;
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
ModifyAuditLogConfigResult::ModifyAuditLogConfigResult() :
ServiceResult()

View File

@@ -49,6 +49,17 @@ void ModifyDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
setParameter("AccessKeyId", accessKeyId);
}
std::string ModifyDBClusterRequest::getStorageResource()const
{
return storageResource_;
}
void ModifyDBClusterRequest::setStorageResource(const std::string& storageResource)
{
storageResource_ = storageResource;
setParameter("StorageResource", storageResource);
}
std::string ModifyDBClusterRequest::getDBNodeClass()const
{
return dBNodeClass_;
@@ -60,6 +71,17 @@ void ModifyDBClusterRequest::setDBNodeClass(const std::string& dBNodeClass)
setParameter("DBNodeClass", dBNodeClass);
}
std::string ModifyDBClusterRequest::getRegionId()const
{
return regionId_;
}
void ModifyDBClusterRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ModifyDBClusterRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
@@ -126,6 +148,17 @@ void ModifyDBClusterRequest::setDBNodeStorage(const std::string& dBNodeStorage)
setParameter("DBNodeStorage", dBNodeStorage);
}
std::string ModifyDBClusterRequest::getExecutorCount()const
{
return executorCount_;
}
void ModifyDBClusterRequest::setExecutorCount(const std::string& executorCount)
{
executorCount_ = executorCount;
setParameter("ExecutorCount", executorCount);
}
std::string ModifyDBClusterRequest::getModifyType()const
{
return modifyType_;
@@ -137,3 +170,14 @@ void ModifyDBClusterRequest::setModifyType(const std::string& modifyType)
setParameter("ModifyType", modifyType);
}
std::string ModifyDBClusterRequest::getComputeResource()const
{
return computeResource_;
}
void ModifyDBClusterRequest::setComputeResource(const std::string& computeResource)
{
computeResource_ = computeResource;
setParameter("ComputeResource", computeResource);
}

View File

@@ -21,29 +21,53 @@ set(address-purification_public_header
include/alibabacloud/address-purification/Address_purificationExport.h )
set(address-purification_public_header_model
include/alibabacloud/address-purification/model/DescribeProductRequest.h
include/alibabacloud/address-purification/model/DescribeProductResult.h
include/alibabacloud/address-purification/model/GetAlgorithmResultRequest.h
include/alibabacloud/address-purification/model/GetAlgorithmResultResult.h
include/alibabacloud/address-purification/model/GetConsoleResultRequest.h
include/alibabacloud/address-purification/model/GetConsoleResultResult.h
include/alibabacloud/address-purification/model/GetReportRequest.h
include/alibabacloud/address-purification/model/GetReportResult.h
include/alibabacloud/address-purification/model/GetUserInfomationRequest.h
include/alibabacloud/address-purification/model/GetUserInfomationResult.h )
include/alibabacloud/address-purification/model/ClassifyPOIRequest.h
include/alibabacloud/address-purification/model/ClassifyPOIResult.h
include/alibabacloud/address-purification/model/CompleteAddressRequest.h
include/alibabacloud/address-purification/model/CompleteAddressResult.h
include/alibabacloud/address-purification/model/CorrectAddressRequest.h
include/alibabacloud/address-purification/model/CorrectAddressResult.h
include/alibabacloud/address-purification/model/ExtractAddressRequest.h
include/alibabacloud/address-purification/model/ExtractAddressResult.h
include/alibabacloud/address-purification/model/ExtractNameRequest.h
include/alibabacloud/address-purification/model/ExtractNameResult.h
include/alibabacloud/address-purification/model/ExtractPhoneRequest.h
include/alibabacloud/address-purification/model/ExtractPhoneResult.h
include/alibabacloud/address-purification/model/GetAddressDivisionCodeRequest.h
include/alibabacloud/address-purification/model/GetAddressDivisionCodeResult.h
include/alibabacloud/address-purification/model/GetAddressSimilarityRequest.h
include/alibabacloud/address-purification/model/GetAddressSimilarityResult.h
include/alibabacloud/address-purification/model/GetZipcodeRequest.h
include/alibabacloud/address-purification/model/GetZipcodeResult.h
include/alibabacloud/address-purification/model/StructureAddressRequest.h
include/alibabacloud/address-purification/model/StructureAddressResult.h
include/alibabacloud/address-purification/model/UpdateProjectRequest.h
include/alibabacloud/address-purification/model/UpdateProjectResult.h )
set(address-purification_src
src/Address-purificationClient.cc
src/model/DescribeProductRequest.cc
src/model/DescribeProductResult.cc
src/model/GetAlgorithmResultRequest.cc
src/model/GetAlgorithmResultResult.cc
src/model/GetConsoleResultRequest.cc
src/model/GetConsoleResultResult.cc
src/model/GetReportRequest.cc
src/model/GetReportResult.cc
src/model/GetUserInfomationRequest.cc
src/model/GetUserInfomationResult.cc )
src/model/ClassifyPOIRequest.cc
src/model/ClassifyPOIResult.cc
src/model/CompleteAddressRequest.cc
src/model/CompleteAddressResult.cc
src/model/CorrectAddressRequest.cc
src/model/CorrectAddressResult.cc
src/model/ExtractAddressRequest.cc
src/model/ExtractAddressResult.cc
src/model/ExtractNameRequest.cc
src/model/ExtractNameResult.cc
src/model/ExtractPhoneRequest.cc
src/model/ExtractPhoneResult.cc
src/model/GetAddressDivisionCodeRequest.cc
src/model/GetAddressDivisionCodeResult.cc
src/model/GetAddressSimilarityRequest.cc
src/model/GetAddressSimilarityResult.cc
src/model/GetZipcodeRequest.cc
src/model/GetZipcodeResult.cc
src/model/StructureAddressRequest.cc
src/model/StructureAddressResult.cc
src/model/UpdateProjectRequest.cc
src/model/UpdateProjectResult.cc )
add_library(address-purification ${LIB_TYPE}
${address-purification_public_header}

View File

@@ -22,16 +22,28 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "Address_purificationExport.h"
#include "model/DescribeProductRequest.h"
#include "model/DescribeProductResult.h"
#include "model/GetAlgorithmResultRequest.h"
#include "model/GetAlgorithmResultResult.h"
#include "model/GetConsoleResultRequest.h"
#include "model/GetConsoleResultResult.h"
#include "model/GetReportRequest.h"
#include "model/GetReportResult.h"
#include "model/GetUserInfomationRequest.h"
#include "model/GetUserInfomationResult.h"
#include "model/ClassifyPOIRequest.h"
#include "model/ClassifyPOIResult.h"
#include "model/CompleteAddressRequest.h"
#include "model/CompleteAddressResult.h"
#include "model/CorrectAddressRequest.h"
#include "model/CorrectAddressResult.h"
#include "model/ExtractAddressRequest.h"
#include "model/ExtractAddressResult.h"
#include "model/ExtractNameRequest.h"
#include "model/ExtractNameResult.h"
#include "model/ExtractPhoneRequest.h"
#include "model/ExtractPhoneResult.h"
#include "model/GetAddressDivisionCodeRequest.h"
#include "model/GetAddressDivisionCodeResult.h"
#include "model/GetAddressSimilarityRequest.h"
#include "model/GetAddressSimilarityResult.h"
#include "model/GetZipcodeRequest.h"
#include "model/GetZipcodeResult.h"
#include "model/StructureAddressRequest.h"
#include "model/StructureAddressResult.h"
#include "model/UpdateProjectRequest.h"
#include "model/UpdateProjectResult.h"
namespace AlibabaCloud
@@ -41,41 +53,77 @@ namespace AlibabaCloud
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT Address_purificationClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::DescribeProductResult> DescribeProductOutcome;
typedef std::future<DescribeProductOutcome> DescribeProductOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::DescribeProductRequest&, const DescribeProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProductAsyncHandler;
typedef Outcome<Error, Model::GetAlgorithmResultResult> GetAlgorithmResultOutcome;
typedef std::future<GetAlgorithmResultOutcome> GetAlgorithmResultOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetAlgorithmResultRequest&, const GetAlgorithmResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAlgorithmResultAsyncHandler;
typedef Outcome<Error, Model::GetConsoleResultResult> GetConsoleResultOutcome;
typedef std::future<GetConsoleResultOutcome> GetConsoleResultOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetConsoleResultRequest&, const GetConsoleResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConsoleResultAsyncHandler;
typedef Outcome<Error, Model::GetReportResult> GetReportOutcome;
typedef std::future<GetReportOutcome> GetReportOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetReportRequest&, const GetReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetReportAsyncHandler;
typedef Outcome<Error, Model::GetUserInfomationResult> GetUserInfomationOutcome;
typedef std::future<GetUserInfomationOutcome> GetUserInfomationOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetUserInfomationRequest&, const GetUserInfomationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserInfomationAsyncHandler;
typedef Outcome<Error, Model::ClassifyPOIResult> ClassifyPOIOutcome;
typedef std::future<ClassifyPOIOutcome> ClassifyPOIOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::ClassifyPOIRequest&, const ClassifyPOIOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ClassifyPOIAsyncHandler;
typedef Outcome<Error, Model::CompleteAddressResult> CompleteAddressOutcome;
typedef std::future<CompleteAddressOutcome> CompleteAddressOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::CompleteAddressRequest&, const CompleteAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CompleteAddressAsyncHandler;
typedef Outcome<Error, Model::CorrectAddressResult> CorrectAddressOutcome;
typedef std::future<CorrectAddressOutcome> CorrectAddressOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::CorrectAddressRequest&, const CorrectAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CorrectAddressAsyncHandler;
typedef Outcome<Error, Model::ExtractAddressResult> ExtractAddressOutcome;
typedef std::future<ExtractAddressOutcome> ExtractAddressOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::ExtractAddressRequest&, const ExtractAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractAddressAsyncHandler;
typedef Outcome<Error, Model::ExtractNameResult> ExtractNameOutcome;
typedef std::future<ExtractNameOutcome> ExtractNameOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::ExtractNameRequest&, const ExtractNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractNameAsyncHandler;
typedef Outcome<Error, Model::ExtractPhoneResult> ExtractPhoneOutcome;
typedef std::future<ExtractPhoneOutcome> ExtractPhoneOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::ExtractPhoneRequest&, const ExtractPhoneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractPhoneAsyncHandler;
typedef Outcome<Error, Model::GetAddressDivisionCodeResult> GetAddressDivisionCodeOutcome;
typedef std::future<GetAddressDivisionCodeOutcome> GetAddressDivisionCodeOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressDivisionCodeRequest&, const GetAddressDivisionCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressDivisionCodeAsyncHandler;
typedef Outcome<Error, Model::GetAddressSimilarityResult> GetAddressSimilarityOutcome;
typedef std::future<GetAddressSimilarityOutcome> GetAddressSimilarityOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressSimilarityRequest&, const GetAddressSimilarityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressSimilarityAsyncHandler;
typedef Outcome<Error, Model::GetZipcodeResult> GetZipcodeOutcome;
typedef std::future<GetZipcodeOutcome> GetZipcodeOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetZipcodeRequest&, const GetZipcodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetZipcodeAsyncHandler;
typedef Outcome<Error, Model::StructureAddressResult> StructureAddressOutcome;
typedef std::future<StructureAddressOutcome> StructureAddressOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::StructureAddressRequest&, const StructureAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StructureAddressAsyncHandler;
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
Address_purificationClient(const Credentials &credentials, const ClientConfiguration &configuration);
Address_purificationClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
Address_purificationClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~Address_purificationClient();
DescribeProductOutcome describeProduct(const Model::DescribeProductRequest &request)const;
void describeProductAsync(const Model::DescribeProductRequest& request, const DescribeProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeProductOutcomeCallable describeProductCallable(const Model::DescribeProductRequest& request) const;
GetAlgorithmResultOutcome getAlgorithmResult(const Model::GetAlgorithmResultRequest &request)const;
void getAlgorithmResultAsync(const Model::GetAlgorithmResultRequest& request, const GetAlgorithmResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAlgorithmResultOutcomeCallable getAlgorithmResultCallable(const Model::GetAlgorithmResultRequest& request) const;
GetConsoleResultOutcome getConsoleResult(const Model::GetConsoleResultRequest &request)const;
void getConsoleResultAsync(const Model::GetConsoleResultRequest& request, const GetConsoleResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetConsoleResultOutcomeCallable getConsoleResultCallable(const Model::GetConsoleResultRequest& request) const;
GetReportOutcome getReport(const Model::GetReportRequest &request)const;
void getReportAsync(const Model::GetReportRequest& request, const GetReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetReportOutcomeCallable getReportCallable(const Model::GetReportRequest& request) const;
GetUserInfomationOutcome getUserInfomation(const Model::GetUserInfomationRequest &request)const;
void getUserInfomationAsync(const Model::GetUserInfomationRequest& request, const GetUserInfomationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserInfomationOutcomeCallable getUserInfomationCallable(const Model::GetUserInfomationRequest& request) const;
ClassifyPOIOutcome classifyPOI(const Model::ClassifyPOIRequest &request)const;
void classifyPOIAsync(const Model::ClassifyPOIRequest& request, const ClassifyPOIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ClassifyPOIOutcomeCallable classifyPOICallable(const Model::ClassifyPOIRequest& request) const;
CompleteAddressOutcome completeAddress(const Model::CompleteAddressRequest &request)const;
void completeAddressAsync(const Model::CompleteAddressRequest& request, const CompleteAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CompleteAddressOutcomeCallable completeAddressCallable(const Model::CompleteAddressRequest& request) const;
CorrectAddressOutcome correctAddress(const Model::CorrectAddressRequest &request)const;
void correctAddressAsync(const Model::CorrectAddressRequest& request, const CorrectAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CorrectAddressOutcomeCallable correctAddressCallable(const Model::CorrectAddressRequest& request) const;
ExtractAddressOutcome extractAddress(const Model::ExtractAddressRequest &request)const;
void extractAddressAsync(const Model::ExtractAddressRequest& request, const ExtractAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExtractAddressOutcomeCallable extractAddressCallable(const Model::ExtractAddressRequest& request) const;
ExtractNameOutcome extractName(const Model::ExtractNameRequest &request)const;
void extractNameAsync(const Model::ExtractNameRequest& request, const ExtractNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExtractNameOutcomeCallable extractNameCallable(const Model::ExtractNameRequest& request) const;
ExtractPhoneOutcome extractPhone(const Model::ExtractPhoneRequest &request)const;
void extractPhoneAsync(const Model::ExtractPhoneRequest& request, const ExtractPhoneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExtractPhoneOutcomeCallable extractPhoneCallable(const Model::ExtractPhoneRequest& request) const;
GetAddressDivisionCodeOutcome getAddressDivisionCode(const Model::GetAddressDivisionCodeRequest &request)const;
void getAddressDivisionCodeAsync(const Model::GetAddressDivisionCodeRequest& request, const GetAddressDivisionCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAddressDivisionCodeOutcomeCallable getAddressDivisionCodeCallable(const Model::GetAddressDivisionCodeRequest& request) const;
GetAddressSimilarityOutcome getAddressSimilarity(const Model::GetAddressSimilarityRequest &request)const;
void getAddressSimilarityAsync(const Model::GetAddressSimilarityRequest& request, const GetAddressSimilarityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAddressSimilarityOutcomeCallable getAddressSimilarityCallable(const Model::GetAddressSimilarityRequest& request) const;
GetZipcodeOutcome getZipcode(const Model::GetZipcodeRequest &request)const;
void getZipcodeAsync(const Model::GetZipcodeRequest& request, const GetZipcodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetZipcodeOutcomeCallable getZipcodeCallable(const Model::GetZipcodeRequest& request) const;
StructureAddressOutcome structureAddress(const Model::StructureAddressRequest &request)const;
void structureAddressAsync(const Model::StructureAddressRequest& request, const StructureAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StructureAddressOutcomeCallable structureAddressCallable(const Model::StructureAddressRequest& request) const;
UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const;
void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

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_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ClassifyPOIRequest : public RpcServiceRequest
{
public:
ClassifyPOIRequest();
~ClassifyPOIRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ClassifyPOIResult : public ServiceResult
{
public:
ClassifyPOIResult();
explicit ClassifyPOIResult(const std::string &payload);
~ClassifyPOIResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIRESULT_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_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT CompleteAddressRequest : public RpcServiceRequest
{
public:
CompleteAddressRequest();
~CompleteAddressRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT CompleteAddressResult : public ServiceResult
{
public:
CompleteAddressResult();
explicit CompleteAddressResult(const std::string &payload);
~CompleteAddressResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSRESULT_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_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT CorrectAddressRequest : public RpcServiceRequest
{
public:
CorrectAddressRequest();
~CorrectAddressRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSREQUEST_H_

View File

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

View File

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

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT DescribeProductResult : public ServiceResult
{
public:
DescribeProductResult();
explicit DescribeProductResult(const std::string &payload);
~DescribeProductResult();
std::string getData()const;
std::string getErrMessage()const;
std::string getCode()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
std::string errMessage_;
std::string code_;
std::string success_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTRESULT_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_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractAddressRequest : public RpcServiceRequest
{
public:
ExtractAddressRequest();
~ExtractAddressRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractAddressResult : public ServiceResult
{
public:
ExtractAddressResult();
explicit ExtractAddressResult(const std::string &payload);
~ExtractAddressResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSRESULT_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_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMEREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractNameRequest : public RpcServiceRequest
{
public:
ExtractNameRequest();
~ExtractNameRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMERESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractNameResult : public ServiceResult
{
public:
ExtractNameResult();
explicit ExtractNameResult(const std::string &payload);
~ExtractNameResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMERESULT_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_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONEREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractPhoneRequest : public RpcServiceRequest
{
public:
ExtractPhoneRequest();
~ExtractPhoneRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONERESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractPhoneResult : public ServiceResult
{
public:
ExtractPhoneResult();
explicit ExtractPhoneResult(const std::string &payload);
~ExtractPhoneResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONERESULT_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_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODEREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressDivisionCodeRequest : public RpcServiceRequest
{
public:
GetAddressDivisionCodeRequest();
~GetAddressDivisionCodeRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODERESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressDivisionCodeResult : public ServiceResult
{
public:
GetAddressDivisionCodeResult();
explicit GetAddressDivisionCodeResult(const std::string &payload);
~GetAddressDivisionCodeResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODERESULT_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_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressSimilarityRequest : public RpcServiceRequest
{
public:
GetAddressSimilarityRequest();
~GetAddressSimilarityRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYREQUEST_H_

View File

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

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETALGORITHMRESULTREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETALGORITHMRESULTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAlgorithmResultRequest : public RpcServiceRequest
{
public:
GetAlgorithmResultRequest();
~GetAlgorithmResultRequest();
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getApiCode()const;
void setApiCode(const std::string& apiCode);
std::string getParameters()const;
void setParameters(const std::string& parameters);
private:
std::string serviceCode_;
std::string apiCode_;
std::string parameters_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETALGORITHMRESULTREQUEST_H_

View File

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

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetConsoleResultRequest : public RpcServiceRequest
{
public:
GetConsoleResultRequest();
~GetConsoleResultRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getApiCode()const;
void setApiCode(const std::string& apiCode);
std::string getCommodityCode()const;
void setCommodityCode(const std::string& commodityCode);
std::string getParameters()const;
void setParameters(const std::string& parameters);
private:
std::string productCode_;
std::string apiCode_;
std::string commodityCode_;
std::string parameters_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTREQUEST_H_

View File

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

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetReportRequest : public RpcServiceRequest
{
public:
GetReportRequest();
~GetReportRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getReportType()const;
void setReportType(const std::string& reportType);
std::string getApiCode()const;
void setApiCode(const std::string& apiCode);
std::string getGranularity()const;
void setGranularity(const std::string& granularity);
std::string getCommodityCode()const;
void setCommodityCode(const std::string& commodityCode);
std::string getParameters()const;
void setParameters(const std::string& parameters);
private:
std::string productCode_;
std::string reportType_;
std::string apiCode_;
std::string granularity_;
std::string commodityCode_;
std::string parameters_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTREQUEST_H_

View File

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

View File

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

View File

@@ -1,55 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETUSERINFOMATIONRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETUSERINFOMATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetUserInfomationResult : public ServiceResult
{
public:
GetUserInfomationResult();
explicit GetUserInfomationResult(const std::string &payload);
~GetUserInfomationResult();
std::string getData()const;
std::string getErrMessage()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
std::string errMessage_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETUSERINFOMATIONRESULT_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_ADDRESS_PURIFICATION_MODEL_GETZIPCODEREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetZipcodeRequest : public RpcServiceRequest
{
public:
GetZipcodeRequest();
~GetZipcodeRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODERESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetZipcodeResult : public ServiceResult
{
public:
GetZipcodeResult();
explicit GetZipcodeResult(const std::string &payload);
~GetZipcodeResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODERESULT_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_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT StructureAddressRequest : public RpcServiceRequest
{
public:
StructureAddressRequest();
~StructureAddressRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSREQUEST_H_

View File

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

View File

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

View File

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

View File

@@ -31,200 +31,416 @@ Address_purificationClient::Address_purificationClient(const Credentials &creden
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "addrp");
}
Address_purificationClient::Address_purificationClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "addrp");
}
Address_purificationClient::Address_purificationClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "addrp");
}
Address_purificationClient::~Address_purificationClient()
{}
Address_purificationClient::DescribeProductOutcome Address_purificationClient::describeProduct(const DescribeProductRequest &request) const
Address_purificationClient::ClassifyPOIOutcome Address_purificationClient::classifyPOI(const ClassifyPOIRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeProductOutcome(endpointOutcome.error());
return ClassifyPOIOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeProductOutcome(DescribeProductResult(outcome.result()));
return ClassifyPOIOutcome(ClassifyPOIResult(outcome.result()));
else
return DescribeProductOutcome(outcome.error());
return ClassifyPOIOutcome(outcome.error());
}
void Address_purificationClient::describeProductAsync(const DescribeProductRequest& request, const DescribeProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void Address_purificationClient::classifyPOIAsync(const ClassifyPOIRequest& request, const ClassifyPOIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeProduct(request), context);
handler(this, request, classifyPOI(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::DescribeProductOutcomeCallable Address_purificationClient::describeProductCallable(const DescribeProductRequest &request) const
Address_purificationClient::ClassifyPOIOutcomeCallable Address_purificationClient::classifyPOICallable(const ClassifyPOIRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeProductOutcome()>>(
auto task = std::make_shared<std::packaged_task<ClassifyPOIOutcome()>>(
[this, request]()
{
return this->describeProduct(request);
return this->classifyPOI(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetAlgorithmResultOutcome Address_purificationClient::getAlgorithmResult(const GetAlgorithmResultRequest &request) const
Address_purificationClient::CompleteAddressOutcome Address_purificationClient::completeAddress(const CompleteAddressRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAlgorithmResultOutcome(endpointOutcome.error());
return CompleteAddressOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAlgorithmResultOutcome(GetAlgorithmResultResult(outcome.result()));
return CompleteAddressOutcome(CompleteAddressResult(outcome.result()));
else
return GetAlgorithmResultOutcome(outcome.error());
return CompleteAddressOutcome(outcome.error());
}
void Address_purificationClient::getAlgorithmResultAsync(const GetAlgorithmResultRequest& request, const GetAlgorithmResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void Address_purificationClient::completeAddressAsync(const CompleteAddressRequest& request, const CompleteAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAlgorithmResult(request), context);
handler(this, request, completeAddress(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetAlgorithmResultOutcomeCallable Address_purificationClient::getAlgorithmResultCallable(const GetAlgorithmResultRequest &request) const
Address_purificationClient::CompleteAddressOutcomeCallable Address_purificationClient::completeAddressCallable(const CompleteAddressRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAlgorithmResultOutcome()>>(
auto task = std::make_shared<std::packaged_task<CompleteAddressOutcome()>>(
[this, request]()
{
return this->getAlgorithmResult(request);
return this->completeAddress(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetConsoleResultOutcome Address_purificationClient::getConsoleResult(const GetConsoleResultRequest &request) const
Address_purificationClient::CorrectAddressOutcome Address_purificationClient::correctAddress(const CorrectAddressRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetConsoleResultOutcome(endpointOutcome.error());
return CorrectAddressOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetConsoleResultOutcome(GetConsoleResultResult(outcome.result()));
return CorrectAddressOutcome(CorrectAddressResult(outcome.result()));
else
return GetConsoleResultOutcome(outcome.error());
return CorrectAddressOutcome(outcome.error());
}
void Address_purificationClient::getConsoleResultAsync(const GetConsoleResultRequest& request, const GetConsoleResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void Address_purificationClient::correctAddressAsync(const CorrectAddressRequest& request, const CorrectAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getConsoleResult(request), context);
handler(this, request, correctAddress(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetConsoleResultOutcomeCallable Address_purificationClient::getConsoleResultCallable(const GetConsoleResultRequest &request) const
Address_purificationClient::CorrectAddressOutcomeCallable Address_purificationClient::correctAddressCallable(const CorrectAddressRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetConsoleResultOutcome()>>(
auto task = std::make_shared<std::packaged_task<CorrectAddressOutcome()>>(
[this, request]()
{
return this->getConsoleResult(request);
return this->correctAddress(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetReportOutcome Address_purificationClient::getReport(const GetReportRequest &request) const
Address_purificationClient::ExtractAddressOutcome Address_purificationClient::extractAddress(const ExtractAddressRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetReportOutcome(endpointOutcome.error());
return ExtractAddressOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetReportOutcome(GetReportResult(outcome.result()));
return ExtractAddressOutcome(ExtractAddressResult(outcome.result()));
else
return GetReportOutcome(outcome.error());
return ExtractAddressOutcome(outcome.error());
}
void Address_purificationClient::getReportAsync(const GetReportRequest& request, const GetReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void Address_purificationClient::extractAddressAsync(const ExtractAddressRequest& request, const ExtractAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getReport(request), context);
handler(this, request, extractAddress(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetReportOutcomeCallable Address_purificationClient::getReportCallable(const GetReportRequest &request) const
Address_purificationClient::ExtractAddressOutcomeCallable Address_purificationClient::extractAddressCallable(const ExtractAddressRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetReportOutcome()>>(
auto task = std::make_shared<std::packaged_task<ExtractAddressOutcome()>>(
[this, request]()
{
return this->getReport(request);
return this->extractAddress(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetUserInfomationOutcome Address_purificationClient::getUserInfomation(const GetUserInfomationRequest &request) const
Address_purificationClient::ExtractNameOutcome Address_purificationClient::extractName(const ExtractNameRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetUserInfomationOutcome(endpointOutcome.error());
return ExtractNameOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetUserInfomationOutcome(GetUserInfomationResult(outcome.result()));
return ExtractNameOutcome(ExtractNameResult(outcome.result()));
else
return GetUserInfomationOutcome(outcome.error());
return ExtractNameOutcome(outcome.error());
}
void Address_purificationClient::getUserInfomationAsync(const GetUserInfomationRequest& request, const GetUserInfomationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void Address_purificationClient::extractNameAsync(const ExtractNameRequest& request, const ExtractNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getUserInfomation(request), context);
handler(this, request, extractName(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetUserInfomationOutcomeCallable Address_purificationClient::getUserInfomationCallable(const GetUserInfomationRequest &request) const
Address_purificationClient::ExtractNameOutcomeCallable Address_purificationClient::extractNameCallable(const ExtractNameRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetUserInfomationOutcome()>>(
auto task = std::make_shared<std::packaged_task<ExtractNameOutcome()>>(
[this, request]()
{
return this->getUserInfomation(request);
return this->extractName(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::ExtractPhoneOutcome Address_purificationClient::extractPhone(const ExtractPhoneRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ExtractPhoneOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ExtractPhoneOutcome(ExtractPhoneResult(outcome.result()));
else
return ExtractPhoneOutcome(outcome.error());
}
void Address_purificationClient::extractPhoneAsync(const ExtractPhoneRequest& request, const ExtractPhoneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, extractPhone(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::ExtractPhoneOutcomeCallable Address_purificationClient::extractPhoneCallable(const ExtractPhoneRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ExtractPhoneOutcome()>>(
[this, request]()
{
return this->extractPhone(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetAddressDivisionCodeOutcome Address_purificationClient::getAddressDivisionCode(const GetAddressDivisionCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAddressDivisionCodeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAddressDivisionCodeOutcome(GetAddressDivisionCodeResult(outcome.result()));
else
return GetAddressDivisionCodeOutcome(outcome.error());
}
void Address_purificationClient::getAddressDivisionCodeAsync(const GetAddressDivisionCodeRequest& request, const GetAddressDivisionCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAddressDivisionCode(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetAddressDivisionCodeOutcomeCallable Address_purificationClient::getAddressDivisionCodeCallable(const GetAddressDivisionCodeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAddressDivisionCodeOutcome()>>(
[this, request]()
{
return this->getAddressDivisionCode(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetAddressSimilarityOutcome Address_purificationClient::getAddressSimilarity(const GetAddressSimilarityRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAddressSimilarityOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAddressSimilarityOutcome(GetAddressSimilarityResult(outcome.result()));
else
return GetAddressSimilarityOutcome(outcome.error());
}
void Address_purificationClient::getAddressSimilarityAsync(const GetAddressSimilarityRequest& request, const GetAddressSimilarityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAddressSimilarity(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetAddressSimilarityOutcomeCallable Address_purificationClient::getAddressSimilarityCallable(const GetAddressSimilarityRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAddressSimilarityOutcome()>>(
[this, request]()
{
return this->getAddressSimilarity(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetZipcodeOutcome Address_purificationClient::getZipcode(const GetZipcodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetZipcodeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetZipcodeOutcome(GetZipcodeResult(outcome.result()));
else
return GetZipcodeOutcome(outcome.error());
}
void Address_purificationClient::getZipcodeAsync(const GetZipcodeRequest& request, const GetZipcodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getZipcode(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetZipcodeOutcomeCallable Address_purificationClient::getZipcodeCallable(const GetZipcodeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetZipcodeOutcome()>>(
[this, request]()
{
return this->getZipcode(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::StructureAddressOutcome Address_purificationClient::structureAddress(const StructureAddressRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StructureAddressOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StructureAddressOutcome(StructureAddressResult(outcome.result()));
else
return StructureAddressOutcome(outcome.error());
}
void Address_purificationClient::structureAddressAsync(const StructureAddressRequest& request, const StructureAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, structureAddress(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::StructureAddressOutcomeCallable Address_purificationClient::structureAddressCallable(const StructureAddressRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StructureAddressOutcome()>>(
[this, request]()
{
return this->structureAddress(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::UpdateProjectOutcome Address_purificationClient::updateProject(const UpdateProjectRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateProjectOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateProjectOutcome(UpdateProjectResult(outcome.result()));
else
return UpdateProjectOutcome(outcome.error());
}
void Address_purificationClient::updateProjectAsync(const UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateProject(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::UpdateProjectOutcomeCallable Address_purificationClient::updateProjectCallable(const UpdateProjectRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateProjectOutcome()>>(
[this, request]()
{
return this->updateProject(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));

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/address-purification/model/ClassifyPOIRequest.h>
using AlibabaCloud::Address_purification::Model::ClassifyPOIRequest;
ClassifyPOIRequest::ClassifyPOIRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "ClassifyPOI")
{
setMethod(HttpRequest::Method::Post);
}
ClassifyPOIRequest::~ClassifyPOIRequest()
{}
std::string ClassifyPOIRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void ClassifyPOIRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string ClassifyPOIRequest::getServiceCode()const
{
return serviceCode_;
}
void ClassifyPOIRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string ClassifyPOIRequest::getDefaultCity()const
{
return defaultCity_;
}
void ClassifyPOIRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string ClassifyPOIRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void ClassifyPOIRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string ClassifyPOIRequest::getAppKey()const
{
return appKey_;
}
void ClassifyPOIRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string ClassifyPOIRequest::getText()const
{
return text_;
}
void ClassifyPOIRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

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

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/address-purification/model/CompleteAddressRequest.h>
using AlibabaCloud::Address_purification::Model::CompleteAddressRequest;
CompleteAddressRequest::CompleteAddressRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "CompleteAddress")
{
setMethod(HttpRequest::Method::Post);
}
CompleteAddressRequest::~CompleteAddressRequest()
{}
std::string CompleteAddressRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void CompleteAddressRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string CompleteAddressRequest::getServiceCode()const
{
return serviceCode_;
}
void CompleteAddressRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string CompleteAddressRequest::getDefaultCity()const
{
return defaultCity_;
}
void CompleteAddressRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string CompleteAddressRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void CompleteAddressRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string CompleteAddressRequest::getAppKey()const
{
return appKey_;
}
void CompleteAddressRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string CompleteAddressRequest::getText()const
{
return text_;
}
void CompleteAddressRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

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

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/address-purification/model/CorrectAddressRequest.h>
using AlibabaCloud::Address_purification::Model::CorrectAddressRequest;
CorrectAddressRequest::CorrectAddressRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "CorrectAddress")
{
setMethod(HttpRequest::Method::Post);
}
CorrectAddressRequest::~CorrectAddressRequest()
{}
std::string CorrectAddressRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void CorrectAddressRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string CorrectAddressRequest::getServiceCode()const
{
return serviceCode_;
}
void CorrectAddressRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string CorrectAddressRequest::getDefaultCity()const
{
return defaultCity_;
}
void CorrectAddressRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string CorrectAddressRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void CorrectAddressRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string CorrectAddressRequest::getAppKey()const
{
return appKey_;
}
void CorrectAddressRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string CorrectAddressRequest::getText()const
{
return text_;
}
void CorrectAddressRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

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

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/address-purification/model/DescribeProductRequest.h>
using AlibabaCloud::Address_purification::Model::DescribeProductRequest;
DescribeProductRequest::DescribeProductRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "DescribeProduct")
{
setMethod(HttpRequest::Method::Post);
}
DescribeProductRequest::~DescribeProductRequest()
{}
std::string DescribeProductRequest::getServiceCode()const
{
return serviceCode_;
}
void DescribeProductRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string DescribeProductRequest::getParameters()const
{
return parameters_;
}
void DescribeProductRequest::setParameters(const std::string& parameters)
{
parameters_ = parameters;
setBodyParameter("Parameters", parameters);
}

View File

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

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/address-purification/model/ExtractAddressRequest.h>
using AlibabaCloud::Address_purification::Model::ExtractAddressRequest;
ExtractAddressRequest::ExtractAddressRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "ExtractAddress")
{
setMethod(HttpRequest::Method::Post);
}
ExtractAddressRequest::~ExtractAddressRequest()
{}
std::string ExtractAddressRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void ExtractAddressRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string ExtractAddressRequest::getServiceCode()const
{
return serviceCode_;
}
void ExtractAddressRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string ExtractAddressRequest::getDefaultCity()const
{
return defaultCity_;
}
void ExtractAddressRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string ExtractAddressRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void ExtractAddressRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string ExtractAddressRequest::getAppKey()const
{
return appKey_;
}
void ExtractAddressRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string ExtractAddressRequest::getText()const
{
return text_;
}
void ExtractAddressRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

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