Compare commits

..

543 Commits

Author SHA1 Message Date
sdk-team
5edf5643a2 DescribeInstanceTypes add CpuOptions. 2024-10-31 12:18:01 +00:00
sdk-team
5cdab50afe Update to support new apis. 2024-10-30 09:39:06 +00:00
sdk-team
cb3e058f3f Update to support new apis. 2024-10-30 09:14:35 +00:00
sdk-team
e2c46d1143 Generated 2023-01-20 for csas. 2024-10-30 08:34:07 +00:00
sdk-team
3b852794f3 Support describe and modify NVMe on instance. 2024-10-30 02:27:39 +00:00
sdk-team
16d6566bf7 Support Fileset for BmCPFS. 2024-10-28 06:32:17 +00:00
sdk-team
2758ad51c0 Generated 2017-11-10 for Ens. 2024-10-25 02:57:00 +00:00
sdk-team
51939b77c4 Publish sdk. 2024-10-24 09:37:26 +00:00
sdk-team
3f0e3c3e9a Update Endpoint. 2024-10-23 09:57:47 +00:00
sdk-team
c13c576175 ListUsers,ListUserBasicInfos api新增支持status字段 2024-10-23 09:18:06 +00:00
sdk-team
ef4cdc8756 Add openapi StartEaiJupyter. 2024-10-22 03:02:13 +00:00
sdk-team
61a4b220eb Gwlb Open API released. 2024-10-18 03:12:25 +00:00
sdk-team
183190fd14 基于转移码的转出接口 2024-10-17 11:52:52 +00:00
sdk-team
a7841818f4 Gwlb Open API released. 2024-10-16 09:41:04 +00:00
sdk-team
9c795d127b Add ResourcePoolOptions.Strategy for CreateAutoProvisioningGroup. 2024-10-15 07:23:57 +00:00
sdk-team
52c309ecd7 GetPlayInfo Add EncryptMode. 2024-10-11 03:08:35 +00:00
sdk-team
d00f8d0fb2 Add ManualRunMailTask, GetMailTaskStatus and GetWorksEmbedList apis. 2024-10-10 09:55:45 +00:00
sdk-team
4393e6e44f Support Android badge. 2024-10-10 02:00:52 +00:00
sdk-team
e676e2e38f Generated 2022-12-01 for ResourceCenter. 2024-10-08 07:58:51 +00:00
sdk-team
429d57cff4 Generated 2018-08-28 for Tag. 2024-09-30 07:06:34 +00:00
sdk-team
179314c9fe Generated 2021-12-21 for wss. 2024-09-29 14:43:53 +00:00
sdk-team
f0133be6a9 Generated 2020-05-18 for dataworks-public. 2024-09-29 01:46:27 +00:00
sdk-team
bb7cab374e Support command audit for ecs. 2024-09-27 02:31:15 +00:00
sdk-team
66cb681daa Update to support new apis. 2024-09-26 06:31:46 +00:00
sdk-team
e2d298dba8 Generated 2024-02-22 for OssSddp. 2024-09-24 03:29:18 +00:00
sdk-team
ce74411ad3 Add API Ram meta. 2024-09-18 06:15:56 +00:00
sdk-team
bb1c3193e8 Generated 2020-03-15 for AccountLabel. 2024-09-14 03:32:27 +00:00
sdk-team
ed4f7ee25b Update EBS default encrypted APIs from private to public. 2024-09-14 01:52:14 +00:00
sdk-team
351c9e254f Update EBS default encrypted APIs from private to public. 2024-09-10 06:33:37 +00:00
sdk-team
cfd6b2d640 QueryChatappBindWaba接口增加businessId, businessName参数返回 2024-09-03 02:48:24 +00:00
sdk-team
ba5ab1093f Generated 2019-09-01 for OceanBasePro. 2024-09-02 06:27:40 +00:00
sdk-team
4b90751575 Generated 2016-01-20 for Kms. 2024-08-30 09:01:07 +00:00
sdk-team
a6e6fc3981 增加国际一口价相关接口. 2024-08-30 02:52:51 +00:00
sdk-team
ac4e846136 Generated 2015-12-01 for Dds. 2024-08-28 05:45:41 +00:00
sdk-team
b88765a938 治理检测新增第一版OpenAPI 2024-08-23 02:51:13 +00:00
sdk-team
776d68f0aa Generated 2017-11-10 for Ens. 2024-08-23 02:42:48 +00:00
sdk-team
1f76e81f67 Update to support new apis. 2024-08-22 11:53:28 +00:00
sdk-team
1c261b822a Support record for ecs. 2024-08-21 09:54:20 +00:00
sdk-team
23eaeedb69 增加DescribeVodDomainMax95BpsData 2024-08-20 03:24:44 +00:00
sdk-team
87f3f72876 Support effective time for CreateOrUpdateSilencePolicy interface. 2024-08-15 09:16:07 +00:00
sdk-team
44c9ab5768 Support RDS Custom. 2024-08-13 13:37:47 +00:00
sdk-team
ff4508956b Update to support new apis. 2024-08-13 12:18:16 +00:00
sdk-team
0329dcee47 Support DryRun parameter OpenAPI. 2024-08-13 09:29:05 +00:00
sdk-team
8f4a119a7e -DescribeVodCertificateDetail, DescribeVodCertificateList增加返回参数 2024-08-13 09:20:58 +00:00
sdk-team
63bf0ee442 Generated 2020-06-01 for SWAS-OPEN. 2024-08-12 07:15:09 +00:00
sdk-team
47cb3f0fcb Add QueryData, ModifyCopilotEmbedConfig, QueryCopilotEmbedConfig and QueryDataRange APIs. 2024-08-07 02:10:45 +00:00
sdk-team
776a55cf64 Update to support new apis. 2024-08-06 09:44:30 +00:00
sdk-team
5fcbeb4782 Offline remote write related APIs. 2024-08-05 12:03:08 +00:00
sdk-team
ea1c1ae17e Generated 2019-09-01 for OceanBasePro. 2024-08-05 05:51:53 +00:00
sdk-team
b91b263fdd add openapi for Personalized Text to Image ablity init version. 2024-08-01 04:06:12 +00:00
sdk-team
e532f5fe74 Generated 2015-12-01 for Dds. 2024-08-01 03:52:42 +00:00
sdk-team
c1c37ba49a Update to support new apis. 2024-08-01 02:48:16 +00:00
sdk-team
7d74c183f6 Update DescribeApiMetering API. 2024-07-29 07:26:33 +00:00
sdk-team
1b9c5d6a42 Supported C#. 2024-07-26 10:24:10 +00:00
sdk-team
e762c1d057 增加号码开场白、命令等 2024-07-25 03:01:50 +00:00
sdk-team
16843433e4 Generated 2019-09-01 for OceanBasePro. 2024-07-24 10:05:23 +00:00
sdk-team
f80621c4a4 Generated 2014-08-15 for Rds. 2024-07-23 13:21:20 +00:00
sdk-team
4985a32853 Update water-mark params 2024-07-23 02:38:34 +00:00
sdk-team
7f6b7dbfba Support kibana Pvl private link operation. 2024-07-22 09:18:31 +00:00
sdk-team
18b7bafcd0 Account management add SourceBiz parameters. 2024-07-19 06:39:25 +00:00
sdk-team
4b9242545b Update SegmentCloth. 2024-07-19 02:48:43 +00:00
sdk-team
b3758c1857 初始发布 2024-07-18 04:36:21 +00:00
sdk-team
40e28f2005 Generated 2020-06-01 for SWAS-OPEN. 2024-07-16 02:16:51 +00:00
sdk-team
2e0f1478c6 Added param for ActivateLicenseResponse . 2024-07-10 06:30:49 +00:00
sdk-team
8c7efaba0f Update to support new apis. 2024-07-05 09:46:59 +00:00
sdk-team
fd5e85ebf9 Publish Api:GetNisNetworkRanking 2024-07-04 11:37:09 +00:00
sdk-team
ef538b5d54 Generated 2019-09-01 for OceanBasePro. 2024-07-04 11:05:51 +00:00
sdk-team
4e92d5b648 Supported APIs DescribeSDG,PreloadRegionSDG,UnloadRegionSDG,DeployInstanceSDG,RemoveInstanceSDG. 2024-07-03 07:59:22 +00:00
sdk-team
befcff9add Generated 2023-01-20 for csas. 2024-07-03 02:53:19 +00:00
sdk-team
78426b2c35 Generated 2019-09-01 for OceanBasePro. 2024-07-02 08:52:18 +00:00
sdk-team
1c37d47f07 Add UsageMetric. 2024-06-30 06:30:45 +00:00
sdk-team
afc1ac57c3 Add QueryAuditLog, QueryApprovalInfo, DataSourceBlood, DataSetBlood and QueryDataServiceList APIs. 2024-06-28 02:40:37 +00:00
sdk-team
7ad42a297f Supported AssumeRoleProxyChain for CreateHighDensityElasticNetworkInterface. 2024-06-26 02:57:51 +00:00
sdk-team
b2cade322d Create AppGroup Support Set AppVersion. 2024-06-25 16:24:22 +00:00
sdk-team
5d8d514785 Authentication template add SupportApps 2024-06-21 02:00:04 +00:00
sdk-team
d4d30d5bb7 Generated 2023-01-20 for csas. 2024-06-20 08:51:03 +00:00
sdk-team
8c606d0357 Add status operation api. 2024-06-18 09:20:10 +00:00
sdk-team
4a7816979a Update to support new apis. 2024-06-18 09:17:05 +00:00
sdk-team
ca3378ac03 Supported modification of securityGroupId for UpdateElasticNetworkInterface API. 2024-06-18 03:41:28 +00:00
sdk-team
0859b911b2 Generated 2020-02-02 for polardbx. 2024-06-18 01:44:15 +00:00
sdk-team
29b4bc0ce3 Generated 2020-06-01 for SWAS-OPEN. 2024-06-17 11:00:44 +00:00
sdk-team
d37523f568 CreateDBInstance add DNStorageSpace 2024-06-17 09:06:30 +00:00
sdk-team
928fc975b9 Update to support new apis. 2024-06-14 03:14:29 +00:00
sdk-team
6365b9f02d Generated 2019-09-01 for OceanBasePro. 2024-06-14 03:12:54 +00:00
sdk-team
fbc3817ea1 Add ListFeatureViewOnlineFeatures API. 2024-06-11 07:02:18 +00:00
sdk-team
db6a17b08c Domain Self Diagnosis. 2024-06-11 03:19:07 +00:00
sdk-team
d80ca0d7e2 Generated 2023-01-20 for csas. 2024-06-11 02:26:46 +00:00
sdk-team
83f9047345 Generated 2023-01-20 for csas. 2024-06-06 05:53:39 +00:00
sdk-team
458e22b006 ListOrderConsumeStatisticRecords add applicationExternalId serviceCode. 2024-06-06 03:00:53 +00:00
sdk-team
a375fa9d99 Support dms dg. 2024-06-05 06:32:50 +00:00
sdk-team
c8d90808f0 Update to support new apis. 2024-06-04 02:36:19 +00:00
sdk-team
886cef155f Supported gateway for hdeni api. 2024-06-03 07:01:54 +00:00
sdk-team
051077c805 Generated 2014-05-15 for Slb. 2024-05-30 12:41:59 +00:00
sdk-team
589d7c0177 Generated 2020-06-06 for cams. 2024-05-30 10:35:46 +00:00
sdk-team
22313c7d61 Update QueryFaceVideoTemplate. 2024-05-30 09:56:01 +00:00
sdk-team
192ded93b1 Support body 2024-05-29 02:38:54 +00:00
sdk-team
dde68d8a28 Generated 2019-09-01 for OceanBasePro. 2024-05-27 13:56:57 +00:00
sdk-team
b299d10992 Generated 2019-09-01 for OceanBasePro. 2024-05-27 10:41:59 +00:00
sdk-team
5c871c6dcd Generated 2015-12-01 for Dds. 2024-05-24 09:22:56 +00:00
sdk-team
3312e299ac Update to support new apis. 2024-05-24 02:47:35 +00:00
sdk-team
60bb031e74 Add SnapshotLinkId for DescribeSnapshots. 2024-05-23 06:10:07 +00:00
sdk-team
d74432d350 Generated 2019-09-01 for OceanBasePro. 2024-05-23 03:04:29 +00:00
sdk-team
7ddae594ab Generated 2020-06-01 for SWAS-OPEN. 2024-05-22 09:36:37 +00:00
sdk-team
3a727a7cb8 Support Spot Instance. 2024-05-22 07:55:38 +00:00
sdk-team
c0327a8b18 Add CreateTicket4Copilot API. 2024-05-22 05:42:21 +00:00
sdk-team
283dc6d360 DescribeDBInstances, add cpuType. 2024-05-22 03:33:56 +00:00
sdk-team
212db1e32d Support ExecutorId for CreateJob and ListJobExecutors. 2024-05-14 09:22:23 +00:00
sdk-team
d733a6db40 Upgrade SDK. 2024-05-14 06:57:25 +00:00
sdk-team
3177214fec Update to support new apis. 2024-05-11 03:05:50 +00:00
sdk-team
805659acd5 Support key policy and secret policy OpenAPI. 2024-05-08 08:07:31 +00:00
sdk-team
0b54cf98a5 -Fixed DescribeVodMediaPlayData接口返回数据类型错误 2024-05-08 03:52:37 +00:00
sdk-team
cbe97f842a Update HDENI and LENI API. 2024-05-06 08:43:09 +00:00
sdk-team
ac7c0da065 Generated 2014-08-15 for Rds. 2024-04-30 15:15:53 +00:00
sdk-team
b7792b239d Generated 2018-01-15 for dcdn. 2024-04-30 07:05:25 +00:00
sdk-team
e6bf769f7c Update to support new apis. 2024-04-29 07:59:58 +00:00
sdk-team
a869263856 Add SupportedBootModes for DescribeInstanceTypes. 2024-04-26 08:40:03 +00:00
sdk-team
863030766c Generated 2017-03-21 for vod. 2024-04-25 08:45:30 +00:00
sdk-team
7a6b431ace E-HPC Instant Computing Service Release, supporting mirroring and job management. 2024-04-25 02:03:07 +00:00
sdk-team
c70caca128 Generated 2021-06-01 for ComputeNest. 2024-04-23 09:15:23 +00:00
sdk-team
09d6015e09 Update DetectFace. 2024-04-22 09:37:05 +00:00
sdk-team
39478f1c33 Generated 2019-05-06 for sae. 2024-04-22 07:42:55 +00:00
sdk-team
e95083301e Support Container for CreateJob. 2024-04-16 03:38:31 +00:00
sdk-team
e98b3a0c80 Generated 2023-01-20 for csas. 2024-04-15 03:00:44 +00:00
sdk-team
6950861a84 Generated 2020-06-06 for cams. 2024-04-11 01:18:21 +00:00
sdk-team
92ffb966bd Generated 2024-03-25 for aps. 2024-04-03 08:51:31 +00:00
sdk-team
179726e2c2 Supported use group by freedom 2024-04-03 08:43:55 +00:00
sdk-team
0683d0188a Generated 2019-03-07 for Cloudauth. 2024-04-03 06:07:20 +00:00
sdk-team
2034a7ce61 Generated 2013-02-21 for Slb. 2024-04-01 02:32:39 +00:00
sdk-team
46f59d340b Add min_access_level and organization_alis fields. 2024-03-28 09:05:03 +00:00
sdk-team
fc0ca83c5e DeleteFlow、DeleteSchedule Parameters move to body. 2024-03-26 13:26:08 +00:00
sdk-team
046fa0c8a7 Supported ECR Attachment. 2024-03-26 02:13:11 +00:00
sdk-team
6e394508b1 update api 2024-03-25 15:14:34 +00:00
sdk-team
2cf2c1a693 Generated 2019-09-01 for OceanBasePro. 2024-03-25 12:44:47 +00:00
sdk-team
2655b67ecf Fix API 2024-03-25 08:01:50 +00:00
sdk-team
811dc06c78 Add Region in host. 2024-03-21 06:48:50 +00:00
sdk-team
062ac6c53a Add QueryWorkspaceRoleConfig, ListWorkspaceRoleUsers, ListWorkspaceRoles, QueryOrganizationRoleConfig, ListOrganizationRoleUsers and ListOrganizationRoles APIs. 2024-03-19 02:50:34 +00:00
sdk-team
c5710477dc Fixed bugs for PauseEventStreaming and DeleteEventStreaming 2024-03-14 07:33:22 +00:00
sdk-team
4970164a9f Generated 2020-06-01 for SWAS-OPEN. 2024-03-13 12:11:51 +00:00
sdk-team
ae139aef77 Update QueryFaceImageTemplate. 2024-03-13 07:27:14 +00:00
sdk-team
06af2542bd Update QueryFaceVideoTemplate. 2024-03-13 06:56:09 +00:00
sdk-team
150f012d41 Update to support new apis. 2024-03-13 02:13:13 +00:00
sdk-team
b618f90905 Support CreateInstance API. 2024-03-08 03:25:51 +00:00
sdk-team
005a84c9f4 Generated 2015-12-01 for Dds. 2024-03-08 02:07:28 +00:00
sdk-team
5df7719b65 Update to support new apis. 2024-03-06 18:03:06 +00:00
sdk-team
419d2ef5e8 Support UserData parameter for ApplyNodes interface. 2024-03-05 07:33:35 +00:00
sdk-team
04d98c2083 Update to support new apis. 2024-03-01 07:53:25 +00:00
sdk-team
b3b1f59165 Generated 2019-01-03 for Sddp. 2024-02-29 09:38:40 +00:00
sdk-team
1308f2904e Fixed bugs for ListUserDefinedEventSources 2024-02-28 01:58:56 +00:00
sdk-team
1c75989037 AllotDatasetAccelerationTask API add error code. 2024-02-27 03:26:49 +00:00
sdk-team
2d2d1e86d9 Generated 2018-01-20 for Linkvisual. 2024-02-21 14:13:28 +00:00
sdk-team
43b055ce70 Release GenerateCosplayImage. 2024-02-20 10:49:03 +00:00
sdk-team
6eb45b0747 Add FG apis in ModelFeature. 2024-02-02 05:55:57 +00:00
sdk-team
1ff4eb0f4c Add UnsubscribeTopic. 2024-02-02 05:40:28 +00:00
sdk-team
0fa981b589 Bugfix: change response code type to string for StartEventStreaming. 2024-02-01 08:24:44 +00:00
sdk-team
31b4d82c33 Support DryRun for DeleteInstance. 2024-02-01 08:18:15 +00:00
sdk-team
a6e305285a Describe tcpOptionAddress. 2024-02-01 07:15:44 +00:00
sdk-team
82e7652c01 Update to support new apis. 2024-01-31 02:27:27 +00:00
sdk-team
c2475a651e Generated 2019-03-06 for Dbs. 2024-01-30 11:19:48 +00:00
sdk-team
a137d01a2d Publish sdk. 2024-01-30 03:13:52 +00:00
sdk-team
8c76154f4f Generated 2023-03-05 for captcha. 2024-01-26 03:08:45 +00:00
sdk-team
1380c5890f support start params 2024-01-24 07:46:46 +00:00
sdk-team
ed952131e7 Add DescribeClusterBackupList OpenAPI. 2024-01-18 03:17:05 +00:00
sdk-team
220fbacfa2 support unbind device 2024-01-17 03:24:31 +00:00
sdk-team
26ec339ba4 Generated 2023-08-01 for AiMiaoBi. 2024-01-16 12:57:15 +00:00
sdk-team
977bef47bf BatchPub Support MQTT5. 2024-01-15 09:49:38 +00:00
sdk-team
1f167df35d Update to support new apis. 2024-01-15 09:42:13 +00:00
sdk-team
4b4f526887 support UpdateSecurityGroup 2024-01-15 09:14:33 +00:00
sdk-team
784a67c71a Generated 2018-01-20 for Linkvisual. 2024-01-15 03:23:20 +00:00
sdk-team
1333c0ead7 Support share resource to service for RS. 2024-01-08 07:27:22 +00:00
sdk-team
4ec4f4488c Support new feature. 2024-01-05 06:29:41 +00:00
sdk-team
34dd2572f1 Support new feature. 2024-01-05 02:17:19 +00:00
sdk-team
6f8776cbe1 Support new feature. 2024-01-05 02:17:14 +00:00
sdk-team
4ec1c844d0 open GenerateDownloadDecryptkey. 2024-01-04 07:34:13 +00:00
sdk-team
ee2f3a43cf Publish sdk. 2024-01-04 02:43:32 +00:00
sdk-team
0d265770f7 Generated 2019-09-01 for OceanBasePro. 2023-12-28 11:31:26 +00:00
sdk-team
e9cb30aad0 Generated 2022-01-30 for avatar. 2023-12-28 08:47:44 +00:00
sdk-team
1db5817d99 Support new feature. 2023-12-27 01:38:33 +00:00
sdk-team
c5a4e342b2 Update to support new apis. 2023-12-26 06:10:40 +00:00
sdk-team
d3f6835294 Generated 2023-09-30 for tingwu. 2023-12-20 06:56:00 +00:00
sdk-team
26eb8b61f6 Fix some bugs. 2023-12-20 05:31:51 +00:00
sdk-team
ecae0a8927 Update RecognizeBankCard. 2023-12-20 01:30:18 +00:00
sdk-team
61a7ba5e1b Fix some bugs. 2023-12-19 11:07:28 +00:00
sdk-team
377504fe8a Fix some bugs. 2023-12-19 09:56:12 +00:00
sdk-team
1884db41cf Supported AndroidVivoReceiptId for Push and MassPush. 2023-12-19 09:05:17 +00:00
sdk-team
2345df949e SubmitSnapshotJob add parameter 2023-12-15 09:48:11 +00:00
sdk-team
a635c9380f Update ScreenEC. 2023-12-15 03:27:41 +00:00
sdk-team
41d6a4f6e3 Generated 2019-09-01 for OceanBasePro. 2023-12-14 03:28:53 +00:00
sdk-team
3eaac1a328 Update to support new apis. 2023-12-13 11:42:34 +00:00
sdk-team
fe741d3fe9 Standardizing api. 2023-12-13 11:12:26 +00:00
sdk-team
6e83ebf540 Support Media StorageClass. 2023-12-13 03:46:26 +00:00
sdk-team
175bcdf71a -sdk release. 2023-12-12 08:04:59 +00:00
sdk-team
625c854f5d Generated 2023-09-30 for tingwu. 2023-12-12 03:36:40 +00:00
sdk-team
0755e147eb Generated 2023-09-30 for tingwu. 2023-12-12 02:51:03 +00:00
sdk-team
9b0be63347 CreateLindormInstance api support auto renew 2023-12-12 02:27:51 +00:00
sdk-team
e9e64ef7f1 Generated 2020-05-18 for dataworks-public. 2023-12-11 11:43:24 +00:00
sdk-team
0c9e78e25d -sdk release. 2023-12-11 09:22:59 +00:00
sdk-team
144aaf2401 Sdk version release. 2023-12-08 06:50:05 +00:00
sdk-team
f9603e792e ECS SDK publish full package. 2023-12-07 07:05:16 +00:00
sdk-team
b8b197b741 Support CreateProcCorrectOrder request param of ExecMode. 2023-12-06 12:32:36 +00:00
sdk-team
2344a2c7cc Update SegmentCloth. 2023-12-06 06:24:10 +00:00
sdk-team
217a9b18ed Update RecognizeIdentityCard. 2023-12-06 04:00:05 +00:00
sdk-team
78f4dae59d SwitchLSQLV3MySQLService 2023-11-29 06:36:24 +00:00
sdk-team
55bf08e936 Generated 2020-06-15 for hitsdb. 2023-11-23 07:32:52 +00:00
sdk-team
996847f7aa Add RelatedModelFeatures in GetLabelTable. 2023-11-23 02:27:21 +00:00
sdk-team
d24791dc62 Lindorm open api. 2023-11-22 12:11:51 +00:00
sdk-team
1fa00fa025 Update to support new apis. 2023-11-22 02:06:49 +00:00
sdk-team
d0b781c4c5 GetDomainFields add request field 2023-11-20 02:41:36 +00:00
sdk-team
e922990dbc Supported SortBy for ListUserDevices. 2023-11-16 02:31:04 +00:00
sdk-team
07d1480059 Latest version for php. 2023-11-15 10:46:33 +00:00
sdk-team
a0e90cc606 Latest version for php. 2023-11-15 10:36:12 +00:00
sdk-team
d93b632d3b Release DeepfakeFace. 2023-11-14 06:37:17 +00:00
sdk-team
6cbb9bf950 Generated 2022-01-30 for avatar. 2023-11-09 03:11:22 +00:00
sdk-team
752399d8fa Support CreateInstance API. 2023-11-08 02:55:26 +00:00
sdk-team
15f0e363ca Support new feature. 2023-11-07 02:16:11 +00:00
sdk-team
1637cf567e Support ClientToken for Idemoptent. 2023-11-03 06:02:05 +00:00
sdk-team
28732a4b06 Support ClientToken for Idemoptent. 2023-11-03 03:21:38 +00:00
sdk-team
c94a2b34a1 Standardizing api. 2023-11-01 06:56:30 +00:00
sdk-team
436e293e96 Generated 2022-01-30 for avatar. 2023-11-01 02:00:30 +00:00
sdk-team
518c2f8c75 Support new feature. 2023-10-30 11:16:01 +00:00
sdk-team
d486290c14 Update to support new apis. 2023-10-30 03:33:38 +00:00
sdk-team
2b84cadd9d 增加StartSyncExecution 2023-10-26 15:51:54 +00:00
sdk-team
879e8b9359 Generated 2016-07-14 for CloudAPI. 2023-10-26 09:20:57 +00:00
sdk-team
005ea30e5d Publish sdk. 2023-10-25 09:02:59 +00:00
sdk-team
fa259f93ff Generated 2019-03-15 for adb. 2023-10-23 11:50:54 +00:00
sdk-team
0f77f88873 Support ClientToken for Idemoptent. 2023-10-20 08:58:00 +00:00
sdk-team
cf3bbdf2ba Update by SDK platform. 2023-10-20 03:12:20 +00:00
sdk-team
708bcbb678 Support CreateAuthorityTemplate, UpdateAuthorityTemplate, GetAuthorityTemplateItem, GetAuthorityTemplate return TenantId information. 2023-10-19 09:08:19 +00:00
sdk-team
70dddee991 Coupon template 2023-10-19 07:12:11 +00:00
sdk-team
096bedd0df Update to support new apis. 2023-10-18 16:54:43 +00:00
sdk-team
b6d2db14fe Support Digital Watermark. 2023-10-18 11:47:46 +00:00
sdk-team
8fc9b8125b Public Api. 2023-10-13 08:14:36 +00:00
sdk-team
a16636b8bd Supported AndroidTargetUserType. AndroidHonorTargetUserType for Push and MassPush. 2023-10-12 08:16:06 +00:00
sdk-team
2c0d297a8d Support GetOrderBaseInfo to response AttachmentKey and OriginAttachmentName information. 2023-10-12 08:05:31 +00:00
sdk-team
f0d0ef6cd0 Generated 2019-09-01 for OceanBasePro. 2023-10-12 06:31:16 +00:00
sdk-team
11136905db Generated 2020-06-01 for SWAS-OPEN. 2023-10-11 11:11:36 +00:00
sdk-team
5c4cdd976d Publish AssumeRoleWithOIDC API by adding more detail in response. 2023-10-11 07:27:39 +00:00
sdk-team
760426f29b Support CreateProcCorrectAPI. 2023-10-11 05:47:42 +00:00
sdk-team
99697bde91 Publish sdk. 2023-10-11 05:26:41 +00:00
sdk-team
1b19d44bc2 Support CreateProcCorrectAPI. 2023-10-10 10:14:32 +00:00
sdk-team
84ae3ef04e Update MergeImageFace. 2023-10-10 07:09:46 +00:00
sdk-team
bb8790e63c Update MergeVideoModelFace MergeVideoFace. 2023-10-10 06:53:05 +00:00
sdk-team
d75a986e9f Generated 2022-04-30 for Nlb. 2023-10-08 02:44:35 +00:00
sdk-team
ef568baa30 Support CreateProcCorrectAPI. 2023-09-28 06:29:00 +00:00
sdk-team
2eae2fe5c9 Add new apis. 2023-09-25 07:34:14 +00:00
sdk-team
a4995661a5 Support DIJob and DIAlarmRule related APIs. 2023-09-25 03:18:55 +00:00
sdk-team
7eb4574903 Add Api ResetDeviceTimeline. 2023-09-25 03:02:02 +00:00
sdk-team
5021fa7e0a Generated 2020-06-06 for cams. 2023-09-21 11:46:29 +00:00
sdk-team
71e4c1576e Support CreateProcCorrectAPI. 2023-09-20 09:22:38 +00:00
Shuaibing Zhao
5550c66a4c Update README.md 2023-09-20 16:55:25 +08:00
Shuaibing Zhao
9c47520d45 update README-CN.md 2023-09-20 16:55:25 +08:00
时起
9b6827d238 fix EcsMetadataFetcher.h not found bug 2023-09-19 10:37:33 +08:00
sdk-team
2d60eb1a66 Update by SDK platform. 2023-09-18 08:55:08 +00:00
sdk-team
a3c08aa6f7 add client SDK api 2023-09-18 07:27:26 +00:00
sdk-team
df9aacc5a5 Public Api. 2023-09-18 01:48:04 +00:00
sdk-team
d209714cb0 Add openapi TagResources. 2023-09-15 08:37:20 +00:00
sdk-team
3cee194b0f Generated 2020-06-06 for cams. 2023-09-15 02:06:28 +00:00
sdk-team
c52c445fa1 Update MergeVideoModelFace. 2023-09-14 08:52:30 +00:00
sdk-team
4f8cf9d05f Support new feature. 2023-09-14 08:30:09 +00:00
时起
8d13c48cce sts support compile on MACOS 2023-09-14 13:58:22 +08:00
Jackson Tian
be6c27326e test: add github action workflow 2023-09-14 13:54:16 +08:00
sdk-team
197159f97b Add value, values, startValue, endValue in ExportModelFeatureTrainingSetTable. 2023-09-13 09:54:04 +00:00
sdk-team
e788fcb800 DescribeChildInstanceRegions. 2023-09-12 03:14:30 +00:00
sdk-team
33537c905e Update by SDK platform. 2023-09-11 11:44:57 +00:00
sdk-team
c49607aeca add Instance, NetworkRule, Policy, ApplicationAccessPoint, ClientKey OpenAPIs 2023-09-11 09:03:24 +00:00
sdk-team
3dfdfd0845 Add eventTime, equal in ExportModelFeatureTrainingSetTable. 2023-09-08 11:58:16 +00:00
sdk-team
3aefd86108 Add taskId in WriteFeatureViewTable. 2023-09-08 07:08:02 +00:00
sdk-team
2b9789d179 Generated 2018-01-20 for Iot. 2023-09-07 09:42:57 +00:00
sdk-team
b43e953ab1 Support new feature. 2023-09-07 01:28:52 +00:00
sdk-team
830b92f2f9 Parameter changes in SubmitServerlessJob. 2023-09-06 09:43:20 +00:00
sdk-team
8d45c4275f Support ListNodeInfos4Pod. 2023-09-04 06:09:08 +00:00
sdk-team
22a89cfe51 Add request parameter Name in ListFeatureViews. 2023-09-04 04:04:48 +00:00
sdk-team
e33d34a3fc Support ListNodeInfos4Pod. 2023-09-04 02:54:20 +00:00
sdk-team
677e71ae09 发布资源清单下载、高级搜索、合规趋势统计等API. 2023-09-01 09:00:48 +00:00
sdk-team
83453dcf69 Update MergeVideoFace. 2023-08-31 08:09:28 +00:00
sdk-team
c9b390c0c1 Supported connector visualization manage. 2023-08-31 01:02:39 +00:00
sdk-team
40f61e3ce6 Add new apis. 2023-08-30 09:38:32 +00:00
sdk-team
3fba042126 ListProjects allows workspaceId empty. 2023-08-30 07:01:27 +00:00
sdk-team
e862bd03c8 Update api ListInstances. 2023-08-29 03:32:48 +00:00
sdk-team
32fd2c4a6b Update api ListInstances. 2023-08-28 13:47:28 +00:00
sdk-team
328f3a0eca add make stage, preview url 2023-08-28 08:34:52 +00:00
sdk-team
06ad26c36a Support elastic network interface. 2023-08-28 02:28:04 +00:00
sdk-team
1243cb5656 Supported recommand serialization format flat. 2023-08-24 13:05:46 +00:00
sdk-team
edb09dc947 Generated 2021-01-01 for Ft. 2023-08-23 08:17:40 +00:00
sdk-team
64af716b19 Generated 2015-03-03 for Ft. 2023-08-23 08:16:41 +00:00
sdk-team
3fbe4829ca Generated 2015-03-03 for Ft. 2023-08-23 07:51:19 +00:00
sdk-team
e65f74a248 Generated 2021-01-01 for Ft. 2023-08-23 07:50:55 +00:00
sdk-team
7041743c93 Generated 2021-01-01 for Ft. 2023-08-23 06:43:50 +00:00
sdk-team
79bd8c7bd3 Generated 2021-01-01 for Ft. 2023-08-23 02:26:57 +00:00
sdk-team
82107640c0 Support DryRunCluster For LakeVersion. 2023-08-23 01:53:40 +00:00
sdk-team
a70be0a97a Upgrade SDK. 2023-08-22 06:20:01 +00:00
sdk-team
cfc2224de7 发布资源清单下载、高级搜索、合规趋势统计等API. 2023-08-21 06:19:49 +00:00
sdk-team
e25300b86c Generated 2021-01-01 for Ft. 2023-08-18 03:20:59 +00:00
sdk-team
d839907367 Update by SDK platform. 2023-08-17 12:54:07 +00:00
sdk-team
1524e72744 Supported CommandLine for StartTerminalSession. 2023-08-17 03:57:49 +00:00
sdk-team
c360e49648 Supported dynamicRoute. 2023-08-16 10:05:35 +00:00
sdk-team
1f76b3052a Generated 2021-01-01 for Ft. 2023-08-14 10:07:53 +00:00
sdk-team
112575d30a Generated 2021-01-01 for Ft. 2023-08-14 10:00:43 +00:00
sdk-team
3147a6c839 Generated 2021-01-01 for Ft. 2023-08-14 05:53:17 +00:00
sdk-team
50bb4d85aa Generated 2021-01-01 for Ft. 2023-08-14 04:21:44 +00:00
sdk-team
76afd2bcdc Init Cpp sdk. 2023-08-11 02:43:12 +00:00
sdk-team
cd34c91d00 UpdateHubClusterFeature support ArgoCDHAEnabled. 2023-08-10 06:14:52 +00:00
sdk-team
4fdd237980 Update MergeVideoModelFace and MergeVideoFace. 2023-08-10 02:03:06 +00:00
sdk-team
d116ee704e 发布资源清单下载、高级搜索、合规趋势统计等API. 2023-08-09 06:14:18 +00:00
sdk-team
dc51303f2d Update API ListGrantVSwitchEnis. 2023-08-08 08:00:54 +00:00
sdk-team
fbae89fed4 Generated 2016-11-01 for live. 2023-08-08 06:05:38 +00:00
sdk-team
c994b2d439 Automatically generate sdk tasks. 2023-08-03 15:00:31 +00:00
sdk-team
4b160fe6b9 Support region id. 2023-08-03 06:19:27 +00:00
sdk-team
80ac7ed0e9 Fixed bug. 2023-08-02 15:03:49 +00:00
sdk-team
ebfee1c7e2 Support tag policy. 2023-08-02 07:56:14 +00:00
sdk-team
a174c41ddf -Fix return message field type 2023-08-02 02:39:37 +00:00
sdk-team
a3f04022fb Add Cloud Disk Encryption. 2023-08-02 01:59:44 +00:00
sdk-team
c5e8e9a8a8 -Fix return message field type 2023-08-02 01:59:00 +00:00
sdk-team
12a2e32e06 Support new feature. 2023-08-02 01:17:11 +00:00
sdk-team
2d217f2e0a Support new feature. 2023-08-02 00:57:50 +00:00
sdk-team
f566854e2d Update by SDK platform. 2023-08-01 09:22:50 +00:00
sdk-team
7a7f0e03f4 Support resoruce group id. 2023-08-01 08:23:05 +00:00
sdk-team
f0a60662c9 CreateLaunchTemplate, CreateLaunchTemplateVersion, DescribeLaunchTemplateVersions support DeletionProtection. 2023-08-01 07:48:37 +00:00
sdk-team
bce94a0fa4 Initialize SDK. 2023-08-01 06:40:39 +00:00
sdk-team
a09f60b542 Support resource group id. 2023-08-01 02:27:43 +00:00
sdk-team
ffcef0ce25 Support resourcegroup id. 2023-08-01 02:13:22 +00:00
sdk-team
2e1100f951 Fix bug ram. 2023-07-31 15:05:30 +00:00
sdk-team
eb44ad4062 -2d create 2023-07-31 02:03:32 +00:00
sdk-team
66de4e8991 Fix bug ram. 2023-07-30 15:05:15 +00:00
sdk-team
5d7ae98e8e Fix bug ram. 2023-07-29 15:05:16 +00:00
sdk-team
f8eda875a8 Fix bug ram. 2023-07-28 15:05:07 +00:00
sdk-team
e30bdd65ae Add ErrorCode. 2023-07-28 03:58:24 +00:00
sdk-team
e660f66f68 PatchBaseline Support Tags. 2023-07-28 03:43:38 +00:00
sdk-team
1dddf4ace0 Update SDK version. 2023-07-28 01:54:20 +00:00
sdk-team
66256a0ae2 Update SDK version. 2023-07-28 01:49:53 +00:00
sdk-team
627569cd6f Fix bug ram. 2023-07-27 15:05:19 +00:00
sdk-team
0dc755cf75 Generated 2020-03-31 for ResourceManager. 2023-07-27 03:07:02 +00:00
sdk-team
4f190c1040 Support new feature. 2023-07-26 10:58:39 +00:00
sdk-team
5ba3ade3e4 Support new feature. 2023-07-26 07:47:33 +00:00
sdk-team
9c0b9836df Support new feature. 2023-07-26 01:42:08 +00:00
sdk-team
b36d89300a Add error code. 2023-07-25 15:05:21 +00:00
sdk-team
7a982f08e6 Parameter changes in SubmitServerlessJob. 2023-07-25 10:34:33 +00:00
sdk-team
08ad4ba807 PatchBaseline Support Tags. 2023-07-25 09:55:45 +00:00
sdk-team
38c284599d Add error code. 2023-07-24 15:05:09 +00:00
sdk-team
d54cb68653 Support Latest APIs. 2023-07-24 07:18:01 +00:00
sdk-team
00e697671e Add GetGraphQueryTemplates. 2023-07-24 01:51:58 +00:00
sdk-team
140a213eec Fix 500 for CreateOrder. 2023-07-23 15:05:17 +00:00
sdk-team
8e6985b46b Fix 500 for CreateOrder. 2023-07-22 15:05:21 +00:00
sdk-team
bfc89d1cc7 Fix 500 for CreateOrder. 2023-07-21 15:05:43 +00:00
sdk-team
72203af302 Support new feature. 2023-07-21 03:02:54 +00:00
sdk-team
34fb460e40 Fix bug of lack fill resourceOwnerId in DescribeHostWebshell. 2023-07-20 15:03:45 +00:00
sdk-team
0efc4956ec Support rd sdk. 2023-07-20 10:26:07 +00:00
sdk-team
ba9b236957 Support new api about model training. 2023-07-20 08:55:27 +00:00
sdk-team
d17a79e8b6 Support clouddisk API. 2023-07-20 06:23:55 +00:00
sdk-team
450eed667b Parameter changes in ListServerlessJobs and DescribeServerlessJobs. 2023-07-20 02:53:11 +00:00
sdk-team
daf3dcd2b0 Add openapis for whitelist template. 2023-07-19 15:05:51 +00:00
sdk-team
c8936fb4cf Support new feature. 2023-07-19 11:05:39 +00:00
sdk-team
410b5a1a3e Add new apis. 2023-07-19 09:03:42 +00:00
sdk-team
1754f90722 Update SDK version. 2023-07-19 08:51:22 +00:00
sdk-team
17088253be Update SDK version. 2023-07-19 08:46:26 +00:00
sdk-team
2dcd1b2f62 Supported RDS PostgreSQL manage extensions. 2023-07-18 15:05:24 +00:00
sdk-team
678893901f Add TimeOut. 2023-07-17 15:06:01 +00:00
sdk-team
1bf5fe98af Get Workflow Instance Add Node Field. 2023-07-17 08:49:00 +00:00
sdk-team
2173eb9110 Get Job Instance API add Field. 2023-07-17 06:06:10 +00:00
sdk-team
045dcc9fa9 Generated 2020-05-18 for dataworks-public. 2023-07-17 04:14:08 +00:00
sdk-team
2fa7d5dc9f Add error code. 2023-07-16 15:05:44 +00:00
sdk-team
0a04d9d475 Add error code. 2023-07-15 15:05:08 +00:00
sdk-team
1193bcf394 Support Serverless Job API. 2023-07-14 03:18:13 +00:00
sdk-team
c2ce4a0048 Support change instance config event for rds. 2023-07-13 15:04:50 +00:00
sdk-team
a63623d1a9 Update API ListTransitRouterRouteEntries to support PathAttributes. 2023-07-13 06:33:54 +00:00
sdk-team
3edb319f4c Iot_20180120 old version sdk. 2023-07-13 06:20:03 +00:00
sdk-team
61af8db794 Public API ListAppBySwimmingLaneGroupTags. 2023-07-13 02:46:17 +00:00
sdk-team
1fda527d88 Add error coede. 2023-07-12 15:05:25 +00:00
sdk-team
da6add49af Iot_20180120 TeaDSL SDK. 2023-07-12 06:31:38 +00:00
sdk-team
9454f4754b Add openapi CreateEaisEi. 2023-07-12 03:09:12 +00:00
sdk-team
861a684089 Change API CreateDataArchiveOrder and GetDataArchiveCount to public. 2023-07-12 02:54:03 +00:00
sdk-team
1ce36b8afa Fixed 500 for interface. 2023-07-11 15:04:29 +00:00
sdk-team
93808b764c -offline add voice and industrycode 2023-07-11 12:03:49 +00:00
sdk-team
22e4b5fbf4 Support new feature. 2023-07-11 11:06:44 +00:00
sdk-team
90670a1866 Fixed 500 for interface. 2023-07-10 15:05:29 +00:00
sdk-team
cebe31f0f4 Generated 2019-03-06 for Dbs. 2023-07-10 11:01:23 +00:00
sdk-team
ebd79f50ff Add DescribeClassDetails Api. 2023-07-10 07:41:21 +00:00
sdk-team
3495b8e165 Add AutoUseCoupon field. 2023-07-09 15:04:31 +00:00
sdk-team
5204a37d2a Add AutoUseCoupon field. 2023-07-08 15:05:01 +00:00
sdk-team
3efd03d181 Add AutoUseCoupon field. 2023-07-07 15:05:23 +00:00
sdk-team
86ad2c73a3 ListApplicationGroups rename parameter Product to ResourceProduct 2023-07-07 08:39:08 +00:00
sdk-team
27c46edf5d Add AutoUseCoupon field. 2023-07-06 15:05:05 +00:00
sdk-team
67493d8653 DescribeDBClusterAttribute support new feature. 2023-07-06 12:44:34 +00:00
sdk-team
52bbf53aed Modify GetDataArchiveOrderDetail API. Add output parameter: TempTableNameMap. 2023-07-06 07:05:08 +00:00
sdk-team
ba2b797842 Add AutoUseCoupon field. 2023-07-05 15:04:50 +00:00
sdk-team
1e276056a2 Hidden ResumeBinding and StopBinding API. 2023-07-05 05:50:15 +00:00
sdk-team
f699392896 Add latest update. 2023-07-05 05:41:51 +00:00
sdk-team
f7db57cc1b -offline add voice and industrycode 2023-07-05 03:08:25 +00:00
sdk-team
79c435e079 Fix bugs for DescribeDedicatedHosts. 2023-07-04 15:04:59 +00:00
sdk-team
733d355d78 ModifyBackupPolicy API support parameter BackupPriority. 2023-07-04 03:27:06 +00:00
sdk-team
5e93a9b21f 新增模型预测高性能版本 2023-07-04 03:21:10 +00:00
sdk-team
79815391f7 Fix bugs for DescribeDedicatedHosts. 2023-07-03 15:04:58 +00:00
sdk-team
ece2943ddb Update TrimDocument. 2023-07-03 10:20:32 +00:00
sdk-team
43d1c945b8 Add The billingCount return value to the RunPreTrainService Api. 2023-07-03 03:49:28 +00:00
sdk-team
812992b8d2 Fixed bugs for lack of regionId. 2023-07-02 15:07:18 +00:00
sdk-team
b5aa2495c8 Fixed bugs for lack of regionId. 2023-07-01 15:08:15 +00:00
sdk-team
83e7ccef1a Fixed bugs for lack of regionId. 2023-06-30 15:08:54 +00:00
sdk-team
2c3af87947 Modify ListTaskFlowsByPage API. Add output parameter: DagOwnerId. 2023-06-30 07:57:37 +00:00
sdk-team
44572042b1 ModifyBackupPolicy API support parameter BackupPriority. 2023-06-30 02:10:05 +00:00
sdk-team
4fd76a9156 Support More Open Api. 2023-06-29 05:59:40 +00:00
sdk-team
74ea14dac4 DescribeClassList support masterHa. 2023-06-28 02:15:09 +00:00
sdk-team
9439fe21fc Update by SDK platform. 2023-06-28 01:51:03 +00:00
sdk-team
1950f0a785 Fix some bugs. 2023-06-27 02:23:18 +00:00
sdk-team
70f1379a6b Support More Open Api. 2023-06-26 06:03:52 +00:00
sdk-team
b6fdfa2e99 Update sdk. 2023-06-25 09:50:01 +00:00
sdk-team
e7391bcf60 Update sdk. 2023-06-25 09:43:37 +00:00
sdk-team
34607b9120 Support better trace logging for error locating. 2023-06-25 06:10:03 +00:00
sdk-team
9f40d7b20e Support new feature. 2023-06-21 06:58:52 +00:00
sdk-team
0ed45d0a71 Add QueryCubePerformance, QueryComponentPerformance, QueryCubeOptimization, and QueryReportPerformance APIs. 2023-06-20 12:31:01 +00:00
sdk-team
4038c65c3d Add DistributionProducts API. 2023-06-20 02:41:51 +00:00
sdk-team
a6ee7a24dc Cc5g. 2023-06-19 07:21:10 +00:00
sdk-team
33322a0330 Add something for ga. 2023-06-14 04:24:26 +00:00
sdk-team
c0b65c2479 Support new feature. 2023-06-14 01:49:08 +00:00
sdk-team
3267f3d649 CreateAutoProvisioningGroup support NetworkInterface. 2023-06-13 17:36:33 +00:00
sdk-team
a79257acaa Support More Open Api. 2023-06-13 10:26:16 +00:00
sdk-team
724ad3f5ef Update by SDK platform. 2023-06-13 06:46:44 +00:00
sdk-team
208ca6ba33 -stream text 2023-06-13 06:08:43 +00:00
sdk-team
7f67c014d7 Associate OpenAPI Error Code. 2023-06-12 10:52:50 +00:00
sdk-team
e5892aafb1 Update AddFaceVideoTemplate and MergeVideoModelFace. 2023-06-12 02:42:09 +00:00
sdk-team
4553624eb3 Generated 2020-05-18 for dataworks-public. 2023-06-12 02:03:42 +00:00
sdk-team
ecee6ebdcf Add DistributionProducts API. 2023-06-10 11:18:57 +00:00
sdk-team
e38743541f Supported GetResourceCounts API. 2023-06-09 06:15:17 +00:00
sdk-team
62675547a0 SubmitAudioTo3DAvatarVideoTask 2023-06-09 03:41:46 +00:00
sdk-team
0b83aafb63 SubmitAudioTo3DAvatarVideoTask 2023-06-09 02:39:01 +00:00
sdk-team
2ce5479bb3 Modify endpoint for resourcemanager. 2023-06-08 10:02:42 +00:00
sdk-team
0e8bc4d53b Add new apis. 2023-06-07 10:05:39 +00:00
sdk-team
1e896e337a Add Overview Query API. 2023-06-07 07:49:44 +00:00
sdk-team
51b2160a35 Change ListAssetSelectionTarget Request. 2023-06-06 10:41:50 +00:00
sdk-team
a2538884e5 Generated 2020-05-18 for dataworks-public. 2023-06-05 03:10:30 +00:00
sdk-team
38687878d7 Support More Open Api. 2023-06-05 02:55:29 +00:00
sdk-team
50542d3a96 Supported GetResourceCounts for Resourcecenter. 2023-06-02 01:49:28 +00:00
sdk-team
31d841f554 Support SNAT API. 2023-06-01 13:16:50 +00:00
sdk-team
38f1feda73 Release ScreenGC. 2023-05-31 02:28:08 +00:00
sdk-team
5e1ff681ee Add Tag Open API. 2023-05-30 06:58:56 +00:00
sdk-team
5888c43598 Add DistributionProducts API. 2023-05-29 09:53:14 +00:00
sdk-team
197143a57e Modify ListTaskFlowsByPage API. Add output parameters: CronBeginDate, CronEndDate. Modified input parameter CronParam as ScheduleParam. 2023-05-26 08:07:24 +00:00
sdk-team
cd65c6d063 Support AnalyzeLineage API. 2023-05-25 06:57:36 +00:00
sdk-team
af64ff1838 CreateDBCluster support xengine and binlog feature. 2023-05-25 03:17:20 +00:00
sdk-team
e1213b9125 DescribeDemands add PrivatePoolId. 2023-05-25 03:01:48 +00:00
sdk-team
00eafdf174 Supported BreakCodeDetails,FirstCheckInTime, LastCheckoutTime . 2023-05-23 12:05:54 +00:00
sdk-team
ebee82abfa Add UpdateService GetService DeleteService. 2023-05-23 05:32:22 +00:00
sdk-team
5d8069b2ae DescribeInstanceAmortizedCostByAmortizationPeriodDate 2023-05-19 01:13:25 +00:00
sdk-team
7a56454f4a Support GetDatabase, GetPhysicalDatabase to return InstanceAlias information. 2023-05-18 01:13:57 +00:00
sdk-team
0c97547a63 Account Halt Check by Default. 2023-05-17 02:24:56 +00:00
sdk-team
6161fb7cdf Add UpdateService GetService DeleteService. 2023-05-16 10:07:14 +00:00
sdk-team
25cf7939ec Live sdk update. 2023-05-16 08:29:48 +00:00
sdk-team
a91b82458d Generate SDK for service instance APIs. 2023-05-16 06:11:19 +00:00
sdk-team
031448bbad Add response Permission. 2023-05-16 05:56:41 +00:00
sdk-team
31092444cc Live sdk update. 2023-05-16 02:41:05 +00:00
sdk-team
8a89fa30ff Support SkipDataCorrectRowCheck API. 2023-05-15 07:07:20 +00:00
sdk-team
705a4d512f Remove password in CreateFileCompressionTask. 2023-05-12 08:03:25 +00:00
sdk-team
4ec6eb47bf Update some parameters. 2023-05-12 03:22:08 +00:00
sdk-team
188d8467c7 Add RequestDefinition. 2023-05-11 14:12:30 +00:00
sdk-team
1b1720464f Supported sorting for DescribeDnsProduceInstances. 2023-05-11 11:13:53 +00:00
sdk-team
76b653f2fe Pub Support MessageExpiryInterval and Retained. 2023-05-11 10:24:33 +00:00
sdk-team
aab920ef80 Supported more api for user. 2023-05-11 07:55:40 +00:00
sdk-team
3260faf247 Supported more api for user. 2023-05-11 07:55:26 +00:00
sdk-team
1cef04d1ee Add AllotDatasetAccelerationTask API. 2023-05-11 02:50:54 +00:00
sdk-team
18531457b1 Update API DescribeGrantRulesToCen support ChildInstanceOwnerId and ChildInstanceId. 2023-05-11 02:38:38 +00:00
sdk-team
a704f2315b Supported insufficient balance check. 2023-05-10 08:26:52 +00:00
sdk-team
f608c575ec SendMessage add Feedback param 2023-05-10 07:38:36 +00:00
sdk-team
12839600df Supported GetVideo Api. 2023-05-09 06:23:33 +00:00
sdk-team
580d4c3b54 Remove PresetReference struct. 2023-05-09 03:34:06 +00:00
sdk-team
3dad76444f whatsapp 修改Authentication类型的模板 2023-05-08 11:47:55 +00:00
sdk-team
9ad24b2908 Supported GetVideo Api. 2023-05-08 07:46:10 +00:00
sdk-team
043fd0fcb4 Add The billingCount return value to the RunPreTrainService Api. 2023-05-06 09:32:16 +00:00
sdk-team
3ed26d9565 Supported more api for user. 2023-05-06 07:40:19 +00:00
sdk-team
93f7addccc Support desktop group auto scale. 2023-05-05 19:59:19 +00:00
sdk-team
8bc204572b Add new API. 2023-05-04 02:41:29 +00:00
sdk-team
80d1d26c38 Change api backend. 2023-04-28 05:45:14 +00:00
sdk-team
d5a028a4c5 Support return TotalCount for QueryFigureClusters. 2023-04-27 10:09:38 +00:00
sdk-team
fa17bc470e Update API DescribeCenAttachedChildInstanceAttribute support returning VPC Cidrs. 2023-04-27 10:04:24 +00:00
sdk-team
cf67836e22 Release ChestCT. 2023-04-27 09:25:41 +00:00
sdk-team
4b1dc6a6c3 Cc5g. 2023-04-27 09:21:28 +00:00
sdk-team
6e851fd163 Support GetDataExportPreCheckDetail API. 2023-04-27 08:32:21 +00:00
sdk-team
e9912734b2 Api add media storage class. 2023-04-26 11:30:42 +00:00
sdk-team
946b319c79 Api add media storage class. 2023-04-26 06:04:21 +00:00
sdk-team
93a074e698 Add UpdateConsumerOffset api. 2023-04-25 11:50:15 +00:00
sdk-team
fd111fd0e2 Iteration v2-10-0. 2023-04-25 08:11:54 +00:00
sdk-team
e5c93bd03a Supported GetDatabaseExportOrderDetail,CreateDatabaseExportOrder,CreateDataExportOrder API. 2023-04-24 08:35:36 +00:00
sdk-team
9d1b5377f0 ModifyDiskSpec add PerformanceControlOptions. 2023-04-24 03:10:44 +00:00
sdk-team
61d3b1e147 Change parameter name to InputFile. 2023-04-23 08:10:25 +00:00
sdk-team
cc4191005a Add api called SubmitAvatarVideoJob, which render virtual human videos. 2023-04-21 17:16:00 +00:00
sdk-team
12ce668e31 Release MergeImageFace. 2023-04-21 05:49:35 +00:00
sdk-team
5ca855fea0 Support certFilter for getUserCertificateDetail API. 2023-04-20 10:40:39 +00:00
sdk-team
8e896759ac Add response Permission. 2023-04-20 09:41:53 +00:00
sdk-team
a95ef9f1ce Update API CreateTransitRouterVpcAttachment support AutoPublishRoute. 2023-04-20 07:41:03 +00:00
sdk-team
1600c745a1 whatsapp 目录修改 2023-04-14 02:21:48 +00:00
sdk-team
297be84e79 Add image batch translate API. 2023-04-11 09:25:56 +00:00
sdk-team
ec08c61a17 Support Latest APIs. 2023-04-11 05:16:16 +00:00
sdk-team
2b7e50c691 Supported ListDataImportSQLPreCheckDetail,GetDataImportSQL,ListDataImportSQLType API. 2023-04-11 04:01:18 +00:00
sdk-team
3d20963438 Build c sdk. 2023-04-10 08:52:21 +00:00
sdk-team
8eda6c1cc6 DocumentInit. 2023-04-10 07:26:17 +00:00
sdk-team
8cfb9f0b4d test 2023-04-04 07:39:28 +00:00
sdk-team
ff586b38ea Update GenerateVideoPlaylist. 2023-04-04 07:21:21 +00:00
sdk-team
28e4f58d7c Cc5g. 2023-04-04 07:04:48 +00:00
sdk-team
0137ae2b16 Live sdk update. 2023-04-04 06:19:13 +00:00
sdk-team
917b2cbb5c Release CalcBMD. 2023-04-03 02:58:53 +00:00
sdk-team
97f1441d6e Update by SDK platform. 2023-03-31 13:52:17 +00:00
sdk-team
f8a80b38cd Generated 2020-05-18 for dataworks-public. 2023-03-31 09:29:26 +00:00
sdk-team
a15c3f4c89 QuerySavingsPlansInstance api add rest pool value query param. 2023-03-31 02:35:03 +00:00
sdk-team
fba9a5d827 Change visibility of param ActionType in DescribeImageSupportInstanceTypes. 2023-03-29 05:17:31 +00:00
sdk-team
d4daecde16 Supported getUserUploadSign for user. 2023-03-28 11:49:16 +00:00
sdk-team
593ca5f90e Release ReduceVideoNoise and EnhancePortraitVideo. 2023-03-28 02:22:17 +00:00
sdk-team
077d8093c7 Add new API for querying the sample logs of PTS debug plan. 2023-03-28 01:57:01 +00:00
sdk-team
bfe14f3d0f Add dedicated block stroage cluster ModifyDiskSpec. 2023-03-27 08:48:17 +00:00
sdk-team
9bf268a2db Live sdk update. 2023-03-23 06:53:07 +00:00
sdk-team
08dd92a830 Add FindUserReport4Alinlp Api. 2023-03-23 06:35:10 +00:00
sdk-team
dbaa86de9e Add ListAppInstances Open API. 2023-03-22 07:14:52 +00:00
sdk-team
b42b84f531 Release SegmentLymphNode. 2023-03-22 05:21:09 +00:00
sdk-team
030376a748 Support DryRunCluster For LakeVersion. 2023-03-20 07:12:13 +00:00
sdk-team
030365b477 Update API CreateTransitRouteTableAggregation update request parameter TransitRouteTableAggregationScop to TransitRouteTableAggregationScope. 2023-03-17 03:24:35 +00:00
sdk-team
389f829a6a Update by SDK platform. 2023-03-17 02:39:55 +00:00
sdk-team
ca9d05cc67 Support SnapShot API. 2023-03-17 02:00:51 +00:00
sdk-team
a22a0c32f6 Increase flow control value for ListDbfs. 2023-03-16 11:50:45 +00:00
sdk-team
7a240d684e Supported AndroidMessageVivoCategory for Push and MassPush. 2023-03-15 14:19:10 +00:00
sdk-team
45ae211126 Update sdk. 2023-03-15 08:51:00 +00:00
sdk-team
9a7ae6feb5 Support hot standby cluster and proxy for SENormal. 2023-03-15 07:08:00 +00:00
sdk-team
bdeb75c7ee Deploy for Dypnsapi-intl. 2023-03-14 09:38:45 +00:00
sdk-team
a657203073 Update SplitVideoParts. 2023-03-14 02:49:27 +00:00
sdk-team
05012978b8 Update API DescribeCens support parameter resourceGroupId. 2023-03-13 02:49:10 +00:00
sdk-team
262fc718c8 Support create default VPC and create default vSwitch . 2023-03-10 11:24:03 +00:00
sdk-team
67629320ba Support DryRunCLuster. 2023-03-09 10:44:08 +00:00
sdk-team
2f207f2248 add FindUserReport4Alinlp Api. 2023-03-09 06:08:48 +00:00
sdk-team
8a13f09360 Support modify dbcluster storage space. 2023-03-09 04:06:08 +00:00
sdk-team
8ad84be9ba Modify Output Field. 2023-03-08 08:23:29 +00:00
sdk-team
e26545ca6b Generated 2020-05-18 for dataworks-public. 2023-03-08 07:47:47 +00:00
sdk-team
69e65468df Supported java 2023-03-08 03:41:42 +00:00
sdk-team
d47b0c609a QuerySavingsPlansInstance api add status query param. 2023-03-07 14:30:58 +00:00
sdk-team
68ba54083f Supported java 2023-03-07 07:10:17 +00:00
sdk-team
8efbcc3612 Generated 2020-05-18 for dataworks-public. 2023-03-07 07:08:42 +00:00
sdk-team
a49b2abbe6 Support JobRetry parameters in SubmitJob API. 2023-03-07 07:01:16 +00:00
sdk-team
74a75c630f Generated 2020-05-18 for dataworks-public. 2023-03-07 06:07:12 +00:00
sdk-team
eb9e915503 Iot_20180120 TeaDSL SDK. 2023-03-06 11:19:16 +00:00
sdk-team
159a3aa236 Get the capicity which cloud siem user used until yesterday. 2023-03-06 01:44:08 +00:00
sdk-team
766d807fa5 Update EvaluateVideoQuality. 2023-03-03 05:54:56 +00:00
sdk-team
78a5b2c702 Release GenerateHumanAnimeStyleVideo. 2023-03-03 03:30:39 +00:00
sdk-team
f47daab733 Add a API QueryDeviceProvisioning to support query provisioning info for device. 2023-03-02 12:38:16 +00:00
sdk-team
da19881477 Generated 2020-05-18 for dataworks-public. 2023-03-02 09:11:12 +00:00
sdk-team
e54d97e987 Publish AssumeRole API With ExternalId Parameter. 2023-03-02 08:50:23 +00:00
sdk-team
4838a80585 Release. 2023-03-02 08:10:35 +00:00
sdk-team
8871ba8a2c Generated 2019-05-10 for ltl. 2023-03-02 07:28:06 +00:00
sdk-team
0a7dacccb5 Generated 2020-05-18 for dataworks-public. 2023-03-02 07:02:04 +00:00
sdk-team
430d7d44dc Generated 2017-08-01 for polardb. 2023-03-02 03:38:53 +00:00
21305 changed files with 1129926 additions and 291328 deletions

21
.github/workflows/test.yaml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
name: CPP
env:
CPLUS_INCLUDE_PATH: "/usr/local/include/:/usr/include/jsoncpp/:/usr/local/opt/openssl/include/:/usr/lib/"
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install lcov libcurl4-openssl-dev libssl-dev uuid-dev libjson-c-dev libjsoncpp-dev nodejs npm
- run: bash ./unit_test.sh
- run: bash ./generate_code_cov.sh
- run: bash ./function_test.sh
- run: bash <(curl -s https://codecov.io/bash)

1
.gitignore vendored
View File

@@ -14,3 +14,4 @@ test/httpserver/nohup.out
.idea
build/
cmake-build-debug/
.DS_Store

View File

@@ -46,7 +46,7 @@ Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负
```bash
# use yum
yum install jsoncpp-devel openssl-devel uuid-devel libcurl-devel
yum install jsoncpp-devel openssl-devel libuuid-devel libcurl-devel
# use dnf
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel

View File

@@ -47,7 +47,7 @@ If you have any problem while using Alibaba Cloud SDK for C++, please submit an
```bash
# use yum
yum install jsoncpp-devel openssl-devel uuid-devel libcurl-devel
yum install jsoncpp-devel openssl-devel libuuid-devel libcurl-devel
# use dnf
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel

View File

@@ -1 +1 @@
1.36.1475
1.36.2013

102
accountlabel/CMakeLists.txt Normal file
View File

@@ -0,0 +1,102 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(accountlabel_public_header
include/alibabacloud/accountlabel/AccountLabelClient.h
include/alibabacloud/accountlabel/AccountLabelExport.h )
set(accountlabel_public_header_model
include/alibabacloud/accountlabel/model/AddCustomerLabelRequest.h
include/alibabacloud/accountlabel/model/AddCustomerLabelResult.h
include/alibabacloud/accountlabel/model/BatchFetchAccountLabelRequest.h
include/alibabacloud/accountlabel/model/BatchFetchAccountLabelResult.h
include/alibabacloud/accountlabel/model/DeleteCustomerLabelRequest.h
include/alibabacloud/accountlabel/model/DeleteCustomerLabelResult.h
include/alibabacloud/accountlabel/model/QueryCustomerLabelRequest.h
include/alibabacloud/accountlabel/model/QueryCustomerLabelResult.h
include/alibabacloud/accountlabel/model/QueryCustomerLabelByConfigGroupRequest.h
include/alibabacloud/accountlabel/model/QueryCustomerLabelByConfigGroupResult.h )
set(accountlabel_src
src/AccountLabelClient.cc
src/model/AddCustomerLabelRequest.cc
src/model/AddCustomerLabelResult.cc
src/model/BatchFetchAccountLabelRequest.cc
src/model/BatchFetchAccountLabelResult.cc
src/model/DeleteCustomerLabelRequest.cc
src/model/DeleteCustomerLabelResult.cc
src/model/QueryCustomerLabelRequest.cc
src/model/QueryCustomerLabelResult.cc
src/model/QueryCustomerLabelByConfigGroupRequest.cc
src/model/QueryCustomerLabelByConfigGroupResult.cc )
add_library(accountlabel ${LIB_TYPE}
${accountlabel_public_header}
${accountlabel_public_header_model}
${accountlabel_src})
set_target_properties(accountlabel
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}accountlabel
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(accountlabel
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_ACCOUNTLABEL_LIBRARY)
endif()
target_include_directories(accountlabel
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(accountlabel
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(accountlabel
jsoncpp)
target_include_directories(accountlabel
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(accountlabel
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(accountlabel
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(accountlabel
PRIVATE /usr/include/jsoncpp)
target_link_libraries(accountlabel
jsoncpp)
endif()
install(FILES ${accountlabel_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/accountlabel)
install(FILES ${accountlabel_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/accountlabel/model)
install(TARGETS accountlabel
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACCOUNTLABEL_ACCOUNTLABELCLIENT_H_
#define ALIBABACLOUD_ACCOUNTLABEL_ACCOUNTLABELCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "AccountLabelExport.h"
#include "model/AddCustomerLabelRequest.h"
#include "model/AddCustomerLabelResult.h"
#include "model/BatchFetchAccountLabelRequest.h"
#include "model/BatchFetchAccountLabelResult.h"
#include "model/DeleteCustomerLabelRequest.h"
#include "model/DeleteCustomerLabelResult.h"
#include "model/QueryCustomerLabelRequest.h"
#include "model/QueryCustomerLabelResult.h"
#include "model/QueryCustomerLabelByConfigGroupRequest.h"
#include "model/QueryCustomerLabelByConfigGroupResult.h"
namespace AlibabaCloud
{
namespace AccountLabel
{
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT AccountLabelClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AddCustomerLabelResult> AddCustomerLabelOutcome;
typedef std::future<AddCustomerLabelOutcome> AddCustomerLabelOutcomeCallable;
typedef std::function<void(const AccountLabelClient*, const Model::AddCustomerLabelRequest&, const AddCustomerLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCustomerLabelAsyncHandler;
typedef Outcome<Error, Model::BatchFetchAccountLabelResult> BatchFetchAccountLabelOutcome;
typedef std::future<BatchFetchAccountLabelOutcome> BatchFetchAccountLabelOutcomeCallable;
typedef std::function<void(const AccountLabelClient*, const Model::BatchFetchAccountLabelRequest&, const BatchFetchAccountLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchFetchAccountLabelAsyncHandler;
typedef Outcome<Error, Model::DeleteCustomerLabelResult> DeleteCustomerLabelOutcome;
typedef std::future<DeleteCustomerLabelOutcome> DeleteCustomerLabelOutcomeCallable;
typedef std::function<void(const AccountLabelClient*, const Model::DeleteCustomerLabelRequest&, const DeleteCustomerLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomerLabelAsyncHandler;
typedef Outcome<Error, Model::QueryCustomerLabelResult> QueryCustomerLabelOutcome;
typedef std::future<QueryCustomerLabelOutcome> QueryCustomerLabelOutcomeCallable;
typedef std::function<void(const AccountLabelClient*, const Model::QueryCustomerLabelRequest&, const QueryCustomerLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomerLabelAsyncHandler;
typedef Outcome<Error, Model::QueryCustomerLabelByConfigGroupResult> QueryCustomerLabelByConfigGroupOutcome;
typedef std::future<QueryCustomerLabelByConfigGroupOutcome> QueryCustomerLabelByConfigGroupOutcomeCallable;
typedef std::function<void(const AccountLabelClient*, const Model::QueryCustomerLabelByConfigGroupRequest&, const QueryCustomerLabelByConfigGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomerLabelByConfigGroupAsyncHandler;
AccountLabelClient(const Credentials &credentials, const ClientConfiguration &configuration);
AccountLabelClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
AccountLabelClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~AccountLabelClient();
AddCustomerLabelOutcome addCustomerLabel(const Model::AddCustomerLabelRequest &request)const;
void addCustomerLabelAsync(const Model::AddCustomerLabelRequest& request, const AddCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddCustomerLabelOutcomeCallable addCustomerLabelCallable(const Model::AddCustomerLabelRequest& request) const;
BatchFetchAccountLabelOutcome batchFetchAccountLabel(const Model::BatchFetchAccountLabelRequest &request)const;
void batchFetchAccountLabelAsync(const Model::BatchFetchAccountLabelRequest& request, const BatchFetchAccountLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchFetchAccountLabelOutcomeCallable batchFetchAccountLabelCallable(const Model::BatchFetchAccountLabelRequest& request) const;
DeleteCustomerLabelOutcome deleteCustomerLabel(const Model::DeleteCustomerLabelRequest &request)const;
void deleteCustomerLabelAsync(const Model::DeleteCustomerLabelRequest& request, const DeleteCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteCustomerLabelOutcomeCallable deleteCustomerLabelCallable(const Model::DeleteCustomerLabelRequest& request) const;
QueryCustomerLabelOutcome queryCustomerLabel(const Model::QueryCustomerLabelRequest &request)const;
void queryCustomerLabelAsync(const Model::QueryCustomerLabelRequest& request, const QueryCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCustomerLabelOutcomeCallable queryCustomerLabelCallable(const Model::QueryCustomerLabelRequest& request) const;
QueryCustomerLabelByConfigGroupOutcome queryCustomerLabelByConfigGroup(const Model::QueryCustomerLabelByConfigGroupRequest &request)const;
void queryCustomerLabelByConfigGroupAsync(const Model::QueryCustomerLabelByConfigGroupRequest& request, const QueryCustomerLabelByConfigGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCustomerLabelByConfigGroupOutcomeCallable queryCustomerLabelByConfigGroupCallable(const Model::QueryCustomerLabelByConfigGroupRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_ACCOUNTLABEL_ACCOUNTLABELCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACCOUNTLABEL_ACCOUNTLABELEXPORT_H_
#define ALIBABACLOUD_ACCOUNTLABEL_ACCOUNTLABELEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_ACCOUNTLABEL_LIBRARY)
# define ALIBABACLOUD_ACCOUNTLABEL_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_ACCOUNTLABEL_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_ACCOUNTLABEL_EXPORT
#endif
#endif // !ALIBABACLOUD_ACCOUNTLABEL_ACCOUNTLABELEXPORT_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_ACCOUNTLABEL_MODEL_ADDCUSTOMERLABELREQUEST_H_
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_ADDCUSTOMERLABELREQUEST_H_
#include <alibabacloud/accountlabel/AccountLabelExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace AccountLabel {
namespace Model {
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT AddCustomerLabelRequest : public RpcServiceRequest {
public:
AddCustomerLabelRequest();
~AddCustomerLabelRequest();
std::string getLabelSeries() const;
void setLabelSeries(const std::string &labelSeries);
std::string getOrganization() const;
void setOrganization(const std::string &organization);
std::string getEndtime() const;
void setEndtime(const std::string &endtime);
long getPK() const;
void setPK(long pK);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
std::vector<std::string> getLabelTypes() const;
void setLabelTypes(const std::vector<std::string> &labelTypes);
std::string getUserName() const;
void setUserName(const std::string &userName);
std::string getToken() const;
void setToken(const std::string &token);
private:
std::string labelSeries_;
std::string organization_;
std::string endtime_;
long pK_;
std::string startTime_;
std::vector<std::string> labelTypes_;
std::string userName_;
std::string token_;
};
} // namespace Model
} // namespace AccountLabel
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_ADDCUSTOMERLABELREQUEST_H_

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACCOUNTLABEL_MODEL_BATCHFETCHACCOUNTLABELREQUEST_H_
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_BATCHFETCHACCOUNTLABELREQUEST_H_
#include <alibabacloud/accountlabel/AccountLabelExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace AccountLabel {
namespace Model {
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT BatchFetchAccountLabelRequest : public RpcServiceRequest {
public:
BatchFetchAccountLabelRequest();
~BatchFetchAccountLabelRequest();
std::string getOrganization() const;
void setOrganization(const std::string &organization);
long getPk() const;
void setPk(long pk);
std::string getUserName() const;
void setUserName(const std::string &userName);
bool getInstant() const;
void setInstant(bool instant);
std::string getToken() const;
void setToken(const std::string &token);
std::vector<std::string> getLabelSeriesList() const;
void setLabelSeriesList(const std::vector<std::string> &labelSeriesList);
private:
std::string organization_;
long pk_;
std::string userName_;
bool instant_;
std::string token_;
std::vector<std::string> labelSeriesList_;
};
} // namespace Model
} // namespace AccountLabel
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_BATCHFETCHACCOUNTLABELREQUEST_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_ACCOUNTLABEL_MODEL_BATCHFETCHACCOUNTLABELRESULT_H_
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_BATCHFETCHACCOUNTLABELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/accountlabel/AccountLabelExport.h>
namespace AlibabaCloud
{
namespace AccountLabel
{
namespace Model
{
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT BatchFetchAccountLabelResult : public ServiceResult
{
public:
struct AccountLabelInfoDto
{
std::string labelSeries;
long endTime;
long kp;
long gmtModified;
std::string label;
long startTime;
std::string creator;
long gmtCreated;
};
BatchFetchAccountLabelResult();
explicit BatchFetchAccountLabelResult(const std::string &payload);
~BatchFetchAccountLabelResult();
std::string getMessage()const;
std::vector<AccountLabelInfoDto> getData()const;
long getCount()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<AccountLabelInfoDto> data_;
long count_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_BATCHFETCHACCOUNTLABELRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACCOUNTLABEL_MODEL_DELETECUSTOMERLABELREQUEST_H_
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_DELETECUSTOMERLABELREQUEST_H_
#include <alibabacloud/accountlabel/AccountLabelExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace AccountLabel {
namespace Model {
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT DeleteCustomerLabelRequest : public RpcServiceRequest {
public:
DeleteCustomerLabelRequest();
~DeleteCustomerLabelRequest();
std::string getLabelSeries() const;
void setLabelSeries(const std::string &labelSeries);
std::string getOrganization() const;
void setOrganization(const std::string &organization);
long getPK() const;
void setPK(long pK);
std::vector<std::string> getLabelTypes() const;
void setLabelTypes(const std::vector<std::string> &labelTypes);
std::string getUserName() const;
void setUserName(const std::string &userName);
std::string getToken() const;
void setToken(const std::string &token);
private:
std::string labelSeries_;
std::string organization_;
long pK_;
std::vector<std::string> labelTypes_;
std::string userName_;
std::string token_;
};
} // namespace Model
} // namespace AccountLabel
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_DELETECUSTOMERLABELREQUEST_H_

View File

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

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELBYCONFIGGROUPREQUEST_H_
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELBYCONFIGGROUPREQUEST_H_
#include <alibabacloud/accountlabel/AccountLabelExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace AccountLabel {
namespace Model {
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT QueryCustomerLabelByConfigGroupRequest : public RpcServiceRequest {
public:
QueryCustomerLabelByConfigGroupRequest();
~QueryCustomerLabelByConfigGroupRequest();
std::string getGroupType() const;
void setGroupType(const std::string &groupType);
long getPK() const;
void setPK(long pK);
std::string getToken() const;
void setToken(const std::string &token);
private:
std::string groupType_;
long pK_;
std::string token_;
};
} // namespace Model
} // namespace AccountLabel
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELBYCONFIGGROUPREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELBYCONFIGGROUPRESULT_H_
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELBYCONFIGGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/accountlabel/AccountLabelExport.h>
namespace AlibabaCloud
{
namespace AccountLabel
{
namespace Model
{
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT QueryCustomerLabelByConfigGroupResult : public ServiceResult
{
public:
struct CustomerLabel
{
std::string labelSeries;
std::string label;
};
QueryCustomerLabelByConfigGroupResult();
explicit QueryCustomerLabelByConfigGroupResult(const std::string &payload);
~QueryCustomerLabelByConfigGroupResult();
std::string getMessage()const;
std::vector<CustomerLabel> getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<CustomerLabel> data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELBYCONFIGGROUPRESULT_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_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELREQUEST_H_
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELREQUEST_H_
#include <alibabacloud/accountlabel/AccountLabelExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace AccountLabel {
namespace Model {
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT QueryCustomerLabelRequest : public RpcServiceRequest {
public:
QueryCustomerLabelRequest();
~QueryCustomerLabelRequest();
std::string getLabelSeries() const;
void setLabelSeries(const std::string &labelSeries);
long getPK() const;
void setPK(long pK);
std::string getToken() const;
void setToken(const std::string &token);
bool getInstant() const;
void setInstant(bool instant);
private:
std::string labelSeries_;
long pK_;
std::string token_;
bool instant_;
};
} // namespace Model
} // namespace AccountLabel
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELREQUEST_H_

View File

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

View File

@@ -0,0 +1,233 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/accountlabel/AccountLabelClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::AccountLabel;
using namespace AlibabaCloud::AccountLabel::Model;
namespace
{
const std::string SERVICE_NAME = "AccountLabel";
}
AccountLabelClient::AccountLabelClient(const Credentials &credentials, const ClientConfiguration &configuration) :
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, "");
}
AccountLabelClient::AccountLabelClient(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, "");
}
AccountLabelClient::AccountLabelClient(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, "");
}
AccountLabelClient::~AccountLabelClient()
{}
AccountLabelClient::AddCustomerLabelOutcome AccountLabelClient::addCustomerLabel(const AddCustomerLabelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddCustomerLabelOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AddCustomerLabelOutcome(AddCustomerLabelResult(outcome.result()));
else
return AddCustomerLabelOutcome(outcome.error());
}
void AccountLabelClient::addCustomerLabelAsync(const AddCustomerLabelRequest& request, const AddCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, addCustomerLabel(request), context);
};
asyncExecute(new Runnable(fn));
}
AccountLabelClient::AddCustomerLabelOutcomeCallable AccountLabelClient::addCustomerLabelCallable(const AddCustomerLabelRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AddCustomerLabelOutcome()>>(
[this, request]()
{
return this->addCustomerLabel(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AccountLabelClient::BatchFetchAccountLabelOutcome AccountLabelClient::batchFetchAccountLabel(const BatchFetchAccountLabelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BatchFetchAccountLabelOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BatchFetchAccountLabelOutcome(BatchFetchAccountLabelResult(outcome.result()));
else
return BatchFetchAccountLabelOutcome(outcome.error());
}
void AccountLabelClient::batchFetchAccountLabelAsync(const BatchFetchAccountLabelRequest& request, const BatchFetchAccountLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, batchFetchAccountLabel(request), context);
};
asyncExecute(new Runnable(fn));
}
AccountLabelClient::BatchFetchAccountLabelOutcomeCallable AccountLabelClient::batchFetchAccountLabelCallable(const BatchFetchAccountLabelRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BatchFetchAccountLabelOutcome()>>(
[this, request]()
{
return this->batchFetchAccountLabel(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AccountLabelClient::DeleteCustomerLabelOutcome AccountLabelClient::deleteCustomerLabel(const DeleteCustomerLabelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteCustomerLabelOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteCustomerLabelOutcome(DeleteCustomerLabelResult(outcome.result()));
else
return DeleteCustomerLabelOutcome(outcome.error());
}
void AccountLabelClient::deleteCustomerLabelAsync(const DeleteCustomerLabelRequest& request, const DeleteCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteCustomerLabel(request), context);
};
asyncExecute(new Runnable(fn));
}
AccountLabelClient::DeleteCustomerLabelOutcomeCallable AccountLabelClient::deleteCustomerLabelCallable(const DeleteCustomerLabelRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteCustomerLabelOutcome()>>(
[this, request]()
{
return this->deleteCustomerLabel(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AccountLabelClient::QueryCustomerLabelOutcome AccountLabelClient::queryCustomerLabel(const QueryCustomerLabelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryCustomerLabelOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryCustomerLabelOutcome(QueryCustomerLabelResult(outcome.result()));
else
return QueryCustomerLabelOutcome(outcome.error());
}
void AccountLabelClient::queryCustomerLabelAsync(const QueryCustomerLabelRequest& request, const QueryCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryCustomerLabel(request), context);
};
asyncExecute(new Runnable(fn));
}
AccountLabelClient::QueryCustomerLabelOutcomeCallable AccountLabelClient::queryCustomerLabelCallable(const QueryCustomerLabelRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryCustomerLabelOutcome()>>(
[this, request]()
{
return this->queryCustomerLabel(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AccountLabelClient::QueryCustomerLabelByConfigGroupOutcome AccountLabelClient::queryCustomerLabelByConfigGroup(const QueryCustomerLabelByConfigGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryCustomerLabelByConfigGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryCustomerLabelByConfigGroupOutcome(QueryCustomerLabelByConfigGroupResult(outcome.result()));
else
return QueryCustomerLabelByConfigGroupOutcome(outcome.error());
}
void AccountLabelClient::queryCustomerLabelByConfigGroupAsync(const QueryCustomerLabelByConfigGroupRequest& request, const QueryCustomerLabelByConfigGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryCustomerLabelByConfigGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
AccountLabelClient::QueryCustomerLabelByConfigGroupOutcomeCallable AccountLabelClient::queryCustomerLabelByConfigGroupCallable(const QueryCustomerLabelByConfigGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryCustomerLabelByConfigGroupOutcome()>>(
[this, request]()
{
return this->queryCustomerLabelByConfigGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,98 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/accountlabel/model/AddCustomerLabelRequest.h>
using AlibabaCloud::AccountLabel::Model::AddCustomerLabelRequest;
AddCustomerLabelRequest::AddCustomerLabelRequest()
: RpcServiceRequest("accountlabel", "2020-03-15", "AddCustomerLabel") {
setMethod(HttpRequest::Method::Post);
}
AddCustomerLabelRequest::~AddCustomerLabelRequest() {}
std::string AddCustomerLabelRequest::getLabelSeries() const {
return labelSeries_;
}
void AddCustomerLabelRequest::setLabelSeries(const std::string &labelSeries) {
labelSeries_ = labelSeries;
setParameter(std::string("LabelSeries"), labelSeries);
}
std::string AddCustomerLabelRequest::getOrganization() const {
return organization_;
}
void AddCustomerLabelRequest::setOrganization(const std::string &organization) {
organization_ = organization;
setParameter(std::string("Organization"), organization);
}
std::string AddCustomerLabelRequest::getEndtime() const {
return endtime_;
}
void AddCustomerLabelRequest::setEndtime(const std::string &endtime) {
endtime_ = endtime;
setParameter(std::string("Endtime"), endtime);
}
long AddCustomerLabelRequest::getPK() const {
return pK_;
}
void AddCustomerLabelRequest::setPK(long pK) {
pK_ = pK;
setParameter(std::string("PK"), std::to_string(pK));
}
std::string AddCustomerLabelRequest::getStartTime() const {
return startTime_;
}
void AddCustomerLabelRequest::setStartTime(const std::string &startTime) {
startTime_ = startTime;
setParameter(std::string("StartTime"), startTime);
}
std::vector<std::string> AddCustomerLabelRequest::getLabelTypes() const {
return labelTypes_;
}
void AddCustomerLabelRequest::setLabelTypes(const std::vector<std::string> &labelTypes) {
labelTypes_ = labelTypes;
}
std::string AddCustomerLabelRequest::getUserName() const {
return userName_;
}
void AddCustomerLabelRequest::setUserName(const std::string &userName) {
userName_ = userName;
setParameter(std::string("UserName"), userName);
}
std::string AddCustomerLabelRequest::getToken() const {
return token_;
}
void AddCustomerLabelRequest::setToken(const std::string &token) {
token_ = token;
setParameter(std::string("Token"), token);
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/accountlabel/model/AddCustomerLabelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AccountLabel;
using namespace AlibabaCloud::AccountLabel::Model;
AddCustomerLabelResult::AddCustomerLabelResult() :
ServiceResult()
{}
AddCustomerLabelResult::AddCustomerLabelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddCustomerLabelResult::~AddCustomerLabelResult()
{}
void AddCustomerLabelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string AddCustomerLabelResult::getMessage()const
{
return message_;
}
std::string AddCustomerLabelResult::getCode()const
{
return code_;
}
bool AddCustomerLabelResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,83 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/accountlabel/model/BatchFetchAccountLabelRequest.h>
using AlibabaCloud::AccountLabel::Model::BatchFetchAccountLabelRequest;
BatchFetchAccountLabelRequest::BatchFetchAccountLabelRequest()
: RpcServiceRequest("accountlabel", "2020-03-15", "BatchFetchAccountLabel") {
setMethod(HttpRequest::Method::Post);
}
BatchFetchAccountLabelRequest::~BatchFetchAccountLabelRequest() {}
std::string BatchFetchAccountLabelRequest::getOrganization() const {
return organization_;
}
void BatchFetchAccountLabelRequest::setOrganization(const std::string &organization) {
organization_ = organization;
setParameter(std::string("Organization"), organization);
}
long BatchFetchAccountLabelRequest::getPk() const {
return pk_;
}
void BatchFetchAccountLabelRequest::setPk(long pk) {
pk_ = pk;
setParameter(std::string("Pk"), std::to_string(pk));
}
std::string BatchFetchAccountLabelRequest::getUserName() const {
return userName_;
}
void BatchFetchAccountLabelRequest::setUserName(const std::string &userName) {
userName_ = userName;
setParameter(std::string("UserName"), userName);
}
bool BatchFetchAccountLabelRequest::getInstant() const {
return instant_;
}
void BatchFetchAccountLabelRequest::setInstant(bool instant) {
instant_ = instant;
setParameter(std::string("Instant"), instant ? "true" : "false");
}
std::string BatchFetchAccountLabelRequest::getToken() const {
return token_;
}
void BatchFetchAccountLabelRequest::setToken(const std::string &token) {
token_ = token;
setParameter(std::string("Token"), token);
}
std::vector<BatchFetchAccountLabelRequest::std::string> BatchFetchAccountLabelRequest::getLabelSeriesList() const {
return labelSeriesList_;
}
void BatchFetchAccountLabelRequest::setLabelSeriesList(const std::vector<BatchFetchAccountLabelRequest::std::string> &labelSeriesList) {
labelSeriesList_ = labelSeriesList;
for(int dep1 = 0; dep1 != labelSeriesList.size(); dep1++) {
setParameter(std::string("LabelSeriesList") + "." + std::to_string(dep1 + 1), labelSeriesList[dep1]);
}
}

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.
*/
#include <alibabacloud/accountlabel/model/BatchFetchAccountLabelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AccountLabel;
using namespace AlibabaCloud::AccountLabel::Model;
BatchFetchAccountLabelResult::BatchFetchAccountLabelResult() :
ServiceResult()
{}
BatchFetchAccountLabelResult::BatchFetchAccountLabelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchFetchAccountLabelResult::~BatchFetchAccountLabelResult()
{}
void BatchFetchAccountLabelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["AccountLabelInfoDto"];
for (auto valueDataAccountLabelInfoDto : allDataNode)
{
AccountLabelInfoDto dataObject;
if(!valueDataAccountLabelInfoDto["Creator"].isNull())
dataObject.creator = valueDataAccountLabelInfoDto["Creator"].asString();
if(!valueDataAccountLabelInfoDto["EndTime"].isNull())
dataObject.endTime = std::stol(valueDataAccountLabelInfoDto["EndTime"].asString());
if(!valueDataAccountLabelInfoDto["GmtCreated"].isNull())
dataObject.gmtCreated = std::stol(valueDataAccountLabelInfoDto["GmtCreated"].asString());
if(!valueDataAccountLabelInfoDto["GmtModified"].isNull())
dataObject.gmtModified = std::stol(valueDataAccountLabelInfoDto["GmtModified"].asString());
if(!valueDataAccountLabelInfoDto["Kp"].isNull())
dataObject.kp = std::stol(valueDataAccountLabelInfoDto["Kp"].asString());
if(!valueDataAccountLabelInfoDto["Label"].isNull())
dataObject.label = valueDataAccountLabelInfoDto["Label"].asString();
if(!valueDataAccountLabelInfoDto["LabelSeries"].isNull())
dataObject.labelSeries = valueDataAccountLabelInfoDto["LabelSeries"].asString();
if(!valueDataAccountLabelInfoDto["StartTime"].isNull())
dataObject.startTime = std::stol(valueDataAccountLabelInfoDto["StartTime"].asString());
data_.push_back(dataObject);
}
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Count"].isNull())
count_ = std::stol(value["Count"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string BatchFetchAccountLabelResult::getMessage()const
{
return message_;
}
std::vector<BatchFetchAccountLabelResult::AccountLabelInfoDto> BatchFetchAccountLabelResult::getData()const
{
return data_;
}
long BatchFetchAccountLabelResult::getCount()const
{
return count_;
}
std::string BatchFetchAccountLabelResult::getCode()const
{
return code_;
}
bool BatchFetchAccountLabelResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/accountlabel/model/DeleteCustomerLabelRequest.h>
using AlibabaCloud::AccountLabel::Model::DeleteCustomerLabelRequest;
DeleteCustomerLabelRequest::DeleteCustomerLabelRequest()
: RpcServiceRequest("accountlabel", "2020-03-15", "DeleteCustomerLabel") {
setMethod(HttpRequest::Method::Post);
}
DeleteCustomerLabelRequest::~DeleteCustomerLabelRequest() {}
std::string DeleteCustomerLabelRequest::getLabelSeries() const {
return labelSeries_;
}
void DeleteCustomerLabelRequest::setLabelSeries(const std::string &labelSeries) {
labelSeries_ = labelSeries;
setParameter(std::string("LabelSeries"), labelSeries);
}
std::string DeleteCustomerLabelRequest::getOrganization() const {
return organization_;
}
void DeleteCustomerLabelRequest::setOrganization(const std::string &organization) {
organization_ = organization;
setParameter(std::string("Organization"), organization);
}
long DeleteCustomerLabelRequest::getPK() const {
return pK_;
}
void DeleteCustomerLabelRequest::setPK(long pK) {
pK_ = pK;
setParameter(std::string("PK"), std::to_string(pK));
}
std::vector<std::string> DeleteCustomerLabelRequest::getLabelTypes() const {
return labelTypes_;
}
void DeleteCustomerLabelRequest::setLabelTypes(const std::vector<std::string> &labelTypes) {
labelTypes_ = labelTypes;
}
std::string DeleteCustomerLabelRequest::getUserName() const {
return userName_;
}
void DeleteCustomerLabelRequest::setUserName(const std::string &userName) {
userName_ = userName;
setParameter(std::string("UserName"), userName);
}
std::string DeleteCustomerLabelRequest::getToken() const {
return token_;
}
void DeleteCustomerLabelRequest::setToken(const std::string &token) {
token_ = token;
setParameter(std::string("Token"), token);
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/accountlabel/model/DeleteCustomerLabelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AccountLabel;
using namespace AlibabaCloud::AccountLabel::Model;
DeleteCustomerLabelResult::DeleteCustomerLabelResult() :
ServiceResult()
{}
DeleteCustomerLabelResult::DeleteCustomerLabelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteCustomerLabelResult::~DeleteCustomerLabelResult()
{}
void DeleteCustomerLabelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string DeleteCustomerLabelResult::getMessage()const
{
return message_;
}
std::string DeleteCustomerLabelResult::getCode()const
{
return code_;
}
bool DeleteCustomerLabelResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/accountlabel/model/QueryCustomerLabelByConfigGroupRequest.h>
using AlibabaCloud::AccountLabel::Model::QueryCustomerLabelByConfigGroupRequest;
QueryCustomerLabelByConfigGroupRequest::QueryCustomerLabelByConfigGroupRequest()
: RpcServiceRequest("accountlabel", "2020-03-15", "QueryCustomerLabelByConfigGroup") {
setMethod(HttpRequest::Method::Post);
}
QueryCustomerLabelByConfigGroupRequest::~QueryCustomerLabelByConfigGroupRequest() {}
std::string QueryCustomerLabelByConfigGroupRequest::getGroupType() const {
return groupType_;
}
void QueryCustomerLabelByConfigGroupRequest::setGroupType(const std::string &groupType) {
groupType_ = groupType;
setParameter(std::string("GroupType"), groupType);
}
long QueryCustomerLabelByConfigGroupRequest::getPK() const {
return pK_;
}
void QueryCustomerLabelByConfigGroupRequest::setPK(long pK) {
pK_ = pK;
setParameter(std::string("PK"), std::to_string(pK));
}
std::string QueryCustomerLabelByConfigGroupRequest::getToken() const {
return token_;
}
void QueryCustomerLabelByConfigGroupRequest::setToken(const std::string &token) {
token_ = token;
setParameter(std::string("Token"), token);
}

View File

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

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/accountlabel/model/QueryCustomerLabelRequest.h>
using AlibabaCloud::AccountLabel::Model::QueryCustomerLabelRequest;
QueryCustomerLabelRequest::QueryCustomerLabelRequest()
: RpcServiceRequest("accountlabel", "2020-03-15", "QueryCustomerLabel") {
setMethod(HttpRequest::Method::Post);
}
QueryCustomerLabelRequest::~QueryCustomerLabelRequest() {}
std::string QueryCustomerLabelRequest::getLabelSeries() const {
return labelSeries_;
}
void QueryCustomerLabelRequest::setLabelSeries(const std::string &labelSeries) {
labelSeries_ = labelSeries;
setParameter(std::string("LabelSeries"), labelSeries);
}
long QueryCustomerLabelRequest::getPK() const {
return pK_;
}
void QueryCustomerLabelRequest::setPK(long pK) {
pK_ = pK;
setParameter(std::string("PK"), std::to_string(pK));
}
std::string QueryCustomerLabelRequest::getToken() const {
return token_;
}
void QueryCustomerLabelRequest::setToken(const std::string &token) {
token_ = token;
setParameter(std::string("Token"), token);
}
bool QueryCustomerLabelRequest::getInstant() const {
return instant_;
}
void QueryCustomerLabelRequest::setInstant(bool instant) {
instant_ = instant;
setParameter(std::string("Instant"), instant ? "true" : "false");
}

View File

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

View File

@@ -23,6 +23,12 @@ set(adb_public_header
set(adb_public_header_model
include/alibabacloud/adb/model/AllocateClusterPublicConnectionRequest.h
include/alibabacloud/adb/model/AllocateClusterPublicConnectionResult.h
include/alibabacloud/adb/model/ApplyAdviceByIdRequest.h
include/alibabacloud/adb/model/ApplyAdviceByIdResult.h
include/alibabacloud/adb/model/AttachUserENIRequest.h
include/alibabacloud/adb/model/AttachUserENIResult.h
include/alibabacloud/adb/model/BatchApplyAdviceByIdListRequest.h
include/alibabacloud/adb/model/BatchApplyAdviceByIdListResult.h
include/alibabacloud/adb/model/BindDBResourceGroupWithUserRequest.h
include/alibabacloud/adb/model/BindDBResourceGroupWithUserResult.h
include/alibabacloud/adb/model/BindDBResourcePoolWithUserRequest.h
@@ -49,16 +55,22 @@ set(adb_public_header_model
include/alibabacloud/adb/model/DeleteElasticPlanResult.h
include/alibabacloud/adb/model/DescribeAccountsRequest.h
include/alibabacloud/adb/model/DescribeAccountsResult.h
include/alibabacloud/adb/model/DescribeAdviceServiceEnabledRequest.h
include/alibabacloud/adb/model/DescribeAdviceServiceEnabledResult.h
include/alibabacloud/adb/model/DescribeAllAccountsRequest.h
include/alibabacloud/adb/model/DescribeAllAccountsResult.h
include/alibabacloud/adb/model/DescribeAllDataSourceRequest.h
include/alibabacloud/adb/model/DescribeAllDataSourceResult.h
include/alibabacloud/adb/model/DescribeAppliedAdvicesRequest.h
include/alibabacloud/adb/model/DescribeAppliedAdvicesResult.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/DescribeAvailableAdvicesRequest.h
include/alibabacloud/adb/model/DescribeAvailableAdvicesResult.h
include/alibabacloud/adb/model/DescribeAvailableResourceRequest.h
include/alibabacloud/adb/model/DescribeAvailableResourceResult.h
include/alibabacloud/adb/model/DescribeBackupPolicyRequest.h
@@ -67,22 +79,24 @@ set(adb_public_header_model
include/alibabacloud/adb/model/DescribeBackupsResult.h
include/alibabacloud/adb/model/DescribeColumnsRequest.h
include/alibabacloud/adb/model/DescribeColumnsResult.h
include/alibabacloud/adb/model/DescribeComputeResourceRequest.h
include/alibabacloud/adb/model/DescribeComputeResourceResult.h
include/alibabacloud/adb/model/DescribeConnectionCountRecordsRequest.h
include/alibabacloud/adb/model/DescribeConnectionCountRecordsResult.h
include/alibabacloud/adb/model/DescribeDBClusterAccessWhiteListRequest.h
include/alibabacloud/adb/model/DescribeDBClusterAccessWhiteListResult.h
include/alibabacloud/adb/model/DescribeDBClusterAttributeRequest.h
include/alibabacloud/adb/model/DescribeDBClusterAttributeResult.h
include/alibabacloud/adb/model/DescribeDBClusterForecastRequest.h
include/alibabacloud/adb/model/DescribeDBClusterForecastResult.h
include/alibabacloud/adb/model/DescribeDBClusterHealthReportRequest.h
include/alibabacloud/adb/model/DescribeDBClusterHealthReportResult.h
include/alibabacloud/adb/model/DescribeDBClusterHealthStatusRequest.h
include/alibabacloud/adb/model/DescribeDBClusterHealthStatusResult.h
include/alibabacloud/adb/model/DescribeDBClusterNetInfoRequest.h
include/alibabacloud/adb/model/DescribeDBClusterNetInfoResult.h
include/alibabacloud/adb/model/DescribeDBClusterPerformanceRequest.h
include/alibabacloud/adb/model/DescribeDBClusterPerformanceResult.h
include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceRequest.h
include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceResult.h
include/alibabacloud/adb/model/DescribeDBClusterStatusRequest.h
include/alibabacloud/adb/model/DescribeDBClusterStatusResult.h
include/alibabacloud/adb/model/DescribeDBClustersRequest.h
include/alibabacloud/adb/model/DescribeDBClustersResult.h
include/alibabacloud/adb/model/DescribeDBResourceGroupRequest.h
@@ -91,10 +105,18 @@ set(adb_public_header_model
include/alibabacloud/adb/model/DescribeDBResourcePoolResult.h
include/alibabacloud/adb/model/DescribeDiagnosisDimensionsRequest.h
include/alibabacloud/adb/model/DescribeDiagnosisDimensionsResult.h
include/alibabacloud/adb/model/DescribeDiagnosisMonitorPerformanceRequest.h
include/alibabacloud/adb/model/DescribeDiagnosisMonitorPerformanceResult.h
include/alibabacloud/adb/model/DescribeDiagnosisRecordsRequest.h
include/alibabacloud/adb/model/DescribeDiagnosisRecordsResult.h
include/alibabacloud/adb/model/DescribeDiagnosisSQLInfoRequest.h
include/alibabacloud/adb/model/DescribeDiagnosisSQLInfoResult.h
include/alibabacloud/adb/model/DescribeDiagnosisTasksRequest.h
include/alibabacloud/adb/model/DescribeDiagnosisTasksResult.h
include/alibabacloud/adb/model/DescribeDownloadRecordsRequest.h
include/alibabacloud/adb/model/DescribeDownloadRecordsResult.h
include/alibabacloud/adb/model/DescribeEIURangeRequest.h
include/alibabacloud/adb/model/DescribeEIURangeResult.h
include/alibabacloud/adb/model/DescribeElasticDailyPlanRequest.h
include/alibabacloud/adb/model/DescribeElasticDailyPlanResult.h
include/alibabacloud/adb/model/DescribeElasticPlanRequest.h
@@ -113,8 +135,6 @@ set(adb_public_header_model
include/alibabacloud/adb/model/DescribeProcessListResult.h
include/alibabacloud/adb/model/DescribeRegionsRequest.h
include/alibabacloud/adb/model/DescribeRegionsResult.h
include/alibabacloud/adb/model/DescribeSQLPatternAttributeRequest.h
include/alibabacloud/adb/model/DescribeSQLPatternAttributeResult.h
include/alibabacloud/adb/model/DescribeSQLPatternsRequest.h
include/alibabacloud/adb/model/DescribeSQLPatternsResult.h
include/alibabacloud/adb/model/DescribeSQLPlanRequest.h
@@ -141,14 +161,24 @@ set(adb_public_header_model
include/alibabacloud/adb/model/DescribeTablesResult.h
include/alibabacloud/adb/model/DescribeTaskInfoRequest.h
include/alibabacloud/adb/model/DescribeTaskInfoResult.h
include/alibabacloud/adb/model/DescribeVSwitchesRequest.h
include/alibabacloud/adb/model/DescribeVSwitchesResult.h
include/alibabacloud/adb/model/DetachUserENIRequest.h
include/alibabacloud/adb/model/DetachUserENIResult.h
include/alibabacloud/adb/model/DisableAdviceServiceRequest.h
include/alibabacloud/adb/model/DisableAdviceServiceResult.h
include/alibabacloud/adb/model/DownloadDiagnosisRecordsRequest.h
include/alibabacloud/adb/model/DownloadDiagnosisRecordsResult.h
include/alibabacloud/adb/model/EnableAdviceServiceRequest.h
include/alibabacloud/adb/model/EnableAdviceServiceResult.h
include/alibabacloud/adb/model/GrantOperatorPermissionRequest.h
include/alibabacloud/adb/model/GrantOperatorPermissionResult.h
include/alibabacloud/adb/model/KillProcessRequest.h
include/alibabacloud/adb/model/KillProcessResult.h
include/alibabacloud/adb/model/ListTagResourcesRequest.h
include/alibabacloud/adb/model/ListTagResourcesResult.h
include/alibabacloud/adb/model/MigrateDBClusterRequest.h
include/alibabacloud/adb/model/MigrateDBClusterResult.h
include/alibabacloud/adb/model/ModifyAccountDescriptionRequest.h
include/alibabacloud/adb/model/ModifyAccountDescriptionResult.h
include/alibabacloud/adb/model/ModifyAuditLogConfigRequest.h
@@ -200,6 +230,12 @@ set(adb_src
src/AdbClient.cc
src/model/AllocateClusterPublicConnectionRequest.cc
src/model/AllocateClusterPublicConnectionResult.cc
src/model/ApplyAdviceByIdRequest.cc
src/model/ApplyAdviceByIdResult.cc
src/model/AttachUserENIRequest.cc
src/model/AttachUserENIResult.cc
src/model/BatchApplyAdviceByIdListRequest.cc
src/model/BatchApplyAdviceByIdListResult.cc
src/model/BindDBResourceGroupWithUserRequest.cc
src/model/BindDBResourceGroupWithUserResult.cc
src/model/BindDBResourcePoolWithUserRequest.cc
@@ -226,16 +262,22 @@ set(adb_src
src/model/DeleteElasticPlanResult.cc
src/model/DescribeAccountsRequest.cc
src/model/DescribeAccountsResult.cc
src/model/DescribeAdviceServiceEnabledRequest.cc
src/model/DescribeAdviceServiceEnabledResult.cc
src/model/DescribeAllAccountsRequest.cc
src/model/DescribeAllAccountsResult.cc
src/model/DescribeAllDataSourceRequest.cc
src/model/DescribeAllDataSourceResult.cc
src/model/DescribeAppliedAdvicesRequest.cc
src/model/DescribeAppliedAdvicesResult.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/DescribeAvailableAdvicesRequest.cc
src/model/DescribeAvailableAdvicesResult.cc
src/model/DescribeAvailableResourceRequest.cc
src/model/DescribeAvailableResourceResult.cc
src/model/DescribeBackupPolicyRequest.cc
@@ -244,22 +286,24 @@ set(adb_src
src/model/DescribeBackupsResult.cc
src/model/DescribeColumnsRequest.cc
src/model/DescribeColumnsResult.cc
src/model/DescribeComputeResourceRequest.cc
src/model/DescribeComputeResourceResult.cc
src/model/DescribeConnectionCountRecordsRequest.cc
src/model/DescribeConnectionCountRecordsResult.cc
src/model/DescribeDBClusterAccessWhiteListRequest.cc
src/model/DescribeDBClusterAccessWhiteListResult.cc
src/model/DescribeDBClusterAttributeRequest.cc
src/model/DescribeDBClusterAttributeResult.cc
src/model/DescribeDBClusterForecastRequest.cc
src/model/DescribeDBClusterForecastResult.cc
src/model/DescribeDBClusterHealthReportRequest.cc
src/model/DescribeDBClusterHealthReportResult.cc
src/model/DescribeDBClusterHealthStatusRequest.cc
src/model/DescribeDBClusterHealthStatusResult.cc
src/model/DescribeDBClusterNetInfoRequest.cc
src/model/DescribeDBClusterNetInfoResult.cc
src/model/DescribeDBClusterPerformanceRequest.cc
src/model/DescribeDBClusterPerformanceResult.cc
src/model/DescribeDBClusterResourcePoolPerformanceRequest.cc
src/model/DescribeDBClusterResourcePoolPerformanceResult.cc
src/model/DescribeDBClusterStatusRequest.cc
src/model/DescribeDBClusterStatusResult.cc
src/model/DescribeDBClustersRequest.cc
src/model/DescribeDBClustersResult.cc
src/model/DescribeDBResourceGroupRequest.cc
@@ -268,10 +312,18 @@ set(adb_src
src/model/DescribeDBResourcePoolResult.cc
src/model/DescribeDiagnosisDimensionsRequest.cc
src/model/DescribeDiagnosisDimensionsResult.cc
src/model/DescribeDiagnosisMonitorPerformanceRequest.cc
src/model/DescribeDiagnosisMonitorPerformanceResult.cc
src/model/DescribeDiagnosisRecordsRequest.cc
src/model/DescribeDiagnosisRecordsResult.cc
src/model/DescribeDiagnosisSQLInfoRequest.cc
src/model/DescribeDiagnosisSQLInfoResult.cc
src/model/DescribeDiagnosisTasksRequest.cc
src/model/DescribeDiagnosisTasksResult.cc
src/model/DescribeDownloadRecordsRequest.cc
src/model/DescribeDownloadRecordsResult.cc
src/model/DescribeEIURangeRequest.cc
src/model/DescribeEIURangeResult.cc
src/model/DescribeElasticDailyPlanRequest.cc
src/model/DescribeElasticDailyPlanResult.cc
src/model/DescribeElasticPlanRequest.cc
@@ -290,8 +342,6 @@ set(adb_src
src/model/DescribeProcessListResult.cc
src/model/DescribeRegionsRequest.cc
src/model/DescribeRegionsResult.cc
src/model/DescribeSQLPatternAttributeRequest.cc
src/model/DescribeSQLPatternAttributeResult.cc
src/model/DescribeSQLPatternsRequest.cc
src/model/DescribeSQLPatternsResult.cc
src/model/DescribeSQLPlanRequest.cc
@@ -318,14 +368,24 @@ set(adb_src
src/model/DescribeTablesResult.cc
src/model/DescribeTaskInfoRequest.cc
src/model/DescribeTaskInfoResult.cc
src/model/DescribeVSwitchesRequest.cc
src/model/DescribeVSwitchesResult.cc
src/model/DetachUserENIRequest.cc
src/model/DetachUserENIResult.cc
src/model/DisableAdviceServiceRequest.cc
src/model/DisableAdviceServiceResult.cc
src/model/DownloadDiagnosisRecordsRequest.cc
src/model/DownloadDiagnosisRecordsResult.cc
src/model/EnableAdviceServiceRequest.cc
src/model/EnableAdviceServiceResult.cc
src/model/GrantOperatorPermissionRequest.cc
src/model/GrantOperatorPermissionResult.cc
src/model/KillProcessRequest.cc
src/model/KillProcessResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/MigrateDBClusterRequest.cc
src/model/MigrateDBClusterResult.cc
src/model/ModifyAccountDescriptionRequest.cc
src/model/ModifyAccountDescriptionResult.cc
src/model/ModifyAuditLogConfigRequest.cc

View File

@@ -24,6 +24,12 @@
#include "AdbExport.h"
#include "model/AllocateClusterPublicConnectionRequest.h"
#include "model/AllocateClusterPublicConnectionResult.h"
#include "model/ApplyAdviceByIdRequest.h"
#include "model/ApplyAdviceByIdResult.h"
#include "model/AttachUserENIRequest.h"
#include "model/AttachUserENIResult.h"
#include "model/BatchApplyAdviceByIdListRequest.h"
#include "model/BatchApplyAdviceByIdListResult.h"
#include "model/BindDBResourceGroupWithUserRequest.h"
#include "model/BindDBResourceGroupWithUserResult.h"
#include "model/BindDBResourcePoolWithUserRequest.h"
@@ -50,16 +56,22 @@
#include "model/DeleteElasticPlanResult.h"
#include "model/DescribeAccountsRequest.h"
#include "model/DescribeAccountsResult.h"
#include "model/DescribeAdviceServiceEnabledRequest.h"
#include "model/DescribeAdviceServiceEnabledResult.h"
#include "model/DescribeAllAccountsRequest.h"
#include "model/DescribeAllAccountsResult.h"
#include "model/DescribeAllDataSourceRequest.h"
#include "model/DescribeAllDataSourceResult.h"
#include "model/DescribeAppliedAdvicesRequest.h"
#include "model/DescribeAppliedAdvicesResult.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/DescribeAvailableAdvicesRequest.h"
#include "model/DescribeAvailableAdvicesResult.h"
#include "model/DescribeAvailableResourceRequest.h"
#include "model/DescribeAvailableResourceResult.h"
#include "model/DescribeBackupPolicyRequest.h"
@@ -68,22 +80,24 @@
#include "model/DescribeBackupsResult.h"
#include "model/DescribeColumnsRequest.h"
#include "model/DescribeColumnsResult.h"
#include "model/DescribeComputeResourceRequest.h"
#include "model/DescribeComputeResourceResult.h"
#include "model/DescribeConnectionCountRecordsRequest.h"
#include "model/DescribeConnectionCountRecordsResult.h"
#include "model/DescribeDBClusterAccessWhiteListRequest.h"
#include "model/DescribeDBClusterAccessWhiteListResult.h"
#include "model/DescribeDBClusterAttributeRequest.h"
#include "model/DescribeDBClusterAttributeResult.h"
#include "model/DescribeDBClusterForecastRequest.h"
#include "model/DescribeDBClusterForecastResult.h"
#include "model/DescribeDBClusterHealthReportRequest.h"
#include "model/DescribeDBClusterHealthReportResult.h"
#include "model/DescribeDBClusterHealthStatusRequest.h"
#include "model/DescribeDBClusterHealthStatusResult.h"
#include "model/DescribeDBClusterNetInfoRequest.h"
#include "model/DescribeDBClusterNetInfoResult.h"
#include "model/DescribeDBClusterPerformanceRequest.h"
#include "model/DescribeDBClusterPerformanceResult.h"
#include "model/DescribeDBClusterResourcePoolPerformanceRequest.h"
#include "model/DescribeDBClusterResourcePoolPerformanceResult.h"
#include "model/DescribeDBClusterStatusRequest.h"
#include "model/DescribeDBClusterStatusResult.h"
#include "model/DescribeDBClustersRequest.h"
#include "model/DescribeDBClustersResult.h"
#include "model/DescribeDBResourceGroupRequest.h"
@@ -92,10 +106,18 @@
#include "model/DescribeDBResourcePoolResult.h"
#include "model/DescribeDiagnosisDimensionsRequest.h"
#include "model/DescribeDiagnosisDimensionsResult.h"
#include "model/DescribeDiagnosisMonitorPerformanceRequest.h"
#include "model/DescribeDiagnosisMonitorPerformanceResult.h"
#include "model/DescribeDiagnosisRecordsRequest.h"
#include "model/DescribeDiagnosisRecordsResult.h"
#include "model/DescribeDiagnosisSQLInfoRequest.h"
#include "model/DescribeDiagnosisSQLInfoResult.h"
#include "model/DescribeDiagnosisTasksRequest.h"
#include "model/DescribeDiagnosisTasksResult.h"
#include "model/DescribeDownloadRecordsRequest.h"
#include "model/DescribeDownloadRecordsResult.h"
#include "model/DescribeEIURangeRequest.h"
#include "model/DescribeEIURangeResult.h"
#include "model/DescribeElasticDailyPlanRequest.h"
#include "model/DescribeElasticDailyPlanResult.h"
#include "model/DescribeElasticPlanRequest.h"
@@ -114,8 +136,6 @@
#include "model/DescribeProcessListResult.h"
#include "model/DescribeRegionsRequest.h"
#include "model/DescribeRegionsResult.h"
#include "model/DescribeSQLPatternAttributeRequest.h"
#include "model/DescribeSQLPatternAttributeResult.h"
#include "model/DescribeSQLPatternsRequest.h"
#include "model/DescribeSQLPatternsResult.h"
#include "model/DescribeSQLPlanRequest.h"
@@ -142,14 +162,24 @@
#include "model/DescribeTablesResult.h"
#include "model/DescribeTaskInfoRequest.h"
#include "model/DescribeTaskInfoResult.h"
#include "model/DescribeVSwitchesRequest.h"
#include "model/DescribeVSwitchesResult.h"
#include "model/DetachUserENIRequest.h"
#include "model/DetachUserENIResult.h"
#include "model/DisableAdviceServiceRequest.h"
#include "model/DisableAdviceServiceResult.h"
#include "model/DownloadDiagnosisRecordsRequest.h"
#include "model/DownloadDiagnosisRecordsResult.h"
#include "model/EnableAdviceServiceRequest.h"
#include "model/EnableAdviceServiceResult.h"
#include "model/GrantOperatorPermissionRequest.h"
#include "model/GrantOperatorPermissionResult.h"
#include "model/KillProcessRequest.h"
#include "model/KillProcessResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/MigrateDBClusterRequest.h"
#include "model/MigrateDBClusterResult.h"
#include "model/ModifyAccountDescriptionRequest.h"
#include "model/ModifyAccountDescriptionResult.h"
#include "model/ModifyAuditLogConfigRequest.h"
@@ -208,6 +238,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AllocateClusterPublicConnectionResult> AllocateClusterPublicConnectionOutcome;
typedef std::future<AllocateClusterPublicConnectionOutcome> AllocateClusterPublicConnectionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::AllocateClusterPublicConnectionRequest&, const AllocateClusterPublicConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateClusterPublicConnectionAsyncHandler;
typedef Outcome<Error, Model::ApplyAdviceByIdResult> ApplyAdviceByIdOutcome;
typedef std::future<ApplyAdviceByIdOutcome> ApplyAdviceByIdOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ApplyAdviceByIdRequest&, const ApplyAdviceByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyAdviceByIdAsyncHandler;
typedef Outcome<Error, Model::AttachUserENIResult> AttachUserENIOutcome;
typedef std::future<AttachUserENIOutcome> AttachUserENIOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::AttachUserENIRequest&, const AttachUserENIOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachUserENIAsyncHandler;
typedef Outcome<Error, Model::BatchApplyAdviceByIdListResult> BatchApplyAdviceByIdListOutcome;
typedef std::future<BatchApplyAdviceByIdListOutcome> BatchApplyAdviceByIdListOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::BatchApplyAdviceByIdListRequest&, const BatchApplyAdviceByIdListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchApplyAdviceByIdListAsyncHandler;
typedef Outcome<Error, Model::BindDBResourceGroupWithUserResult> BindDBResourceGroupWithUserOutcome;
typedef std::future<BindDBResourceGroupWithUserOutcome> BindDBResourceGroupWithUserOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::BindDBResourceGroupWithUserRequest&, const BindDBResourceGroupWithUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindDBResourceGroupWithUserAsyncHandler;
@@ -247,12 +286,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeAccountsResult> DescribeAccountsOutcome;
typedef std::future<DescribeAccountsOutcome> DescribeAccountsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeAccountsRequest&, const DescribeAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountsAsyncHandler;
typedef Outcome<Error, Model::DescribeAdviceServiceEnabledResult> DescribeAdviceServiceEnabledOutcome;
typedef std::future<DescribeAdviceServiceEnabledOutcome> DescribeAdviceServiceEnabledOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeAdviceServiceEnabledRequest&, const DescribeAdviceServiceEnabledOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAdviceServiceEnabledAsyncHandler;
typedef Outcome<Error, Model::DescribeAllAccountsResult> DescribeAllAccountsOutcome;
typedef std::future<DescribeAllAccountsOutcome> DescribeAllAccountsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeAllAccountsRequest&, const DescribeAllAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAllAccountsAsyncHandler;
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::DescribeAppliedAdvicesResult> DescribeAppliedAdvicesOutcome;
typedef std::future<DescribeAppliedAdvicesOutcome> DescribeAppliedAdvicesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeAppliedAdvicesRequest&, const DescribeAppliedAdvicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppliedAdvicesAsyncHandler;
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;
@@ -262,6 +307,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeAutoRenewAttributeResult> DescribeAutoRenewAttributeOutcome;
typedef std::future<DescribeAutoRenewAttributeOutcome> DescribeAutoRenewAttributeOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeAutoRenewAttributeRequest&, const DescribeAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAutoRenewAttributeAsyncHandler;
typedef Outcome<Error, Model::DescribeAvailableAdvicesResult> DescribeAvailableAdvicesOutcome;
typedef std::future<DescribeAvailableAdvicesOutcome> DescribeAvailableAdvicesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeAvailableAdvicesRequest&, const DescribeAvailableAdvicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAvailableAdvicesAsyncHandler;
typedef Outcome<Error, Model::DescribeAvailableResourceResult> DescribeAvailableResourceOutcome;
typedef std::future<DescribeAvailableResourceOutcome> DescribeAvailableResourceOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeAvailableResourceRequest&, const DescribeAvailableResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAvailableResourceAsyncHandler;
@@ -274,6 +322,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeColumnsResult> DescribeColumnsOutcome;
typedef std::future<DescribeColumnsOutcome> DescribeColumnsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeColumnsRequest&, const DescribeColumnsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeColumnsAsyncHandler;
typedef Outcome<Error, Model::DescribeComputeResourceResult> DescribeComputeResourceOutcome;
typedef std::future<DescribeComputeResourceOutcome> DescribeComputeResourceOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeComputeResourceRequest&, const DescribeComputeResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeComputeResourceAsyncHandler;
typedef Outcome<Error, Model::DescribeConnectionCountRecordsResult> DescribeConnectionCountRecordsOutcome;
typedef std::future<DescribeConnectionCountRecordsOutcome> DescribeConnectionCountRecordsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeConnectionCountRecordsRequest&, const DescribeConnectionCountRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConnectionCountRecordsAsyncHandler;
@@ -283,12 +334,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDBClusterAttributeResult> DescribeDBClusterAttributeOutcome;
typedef std::future<DescribeDBClusterAttributeOutcome> DescribeDBClusterAttributeOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterAttributeRequest&, const DescribeDBClusterAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterAttributeAsyncHandler;
typedef Outcome<Error, Model::DescribeDBClusterForecastResult> DescribeDBClusterForecastOutcome;
typedef std::future<DescribeDBClusterForecastOutcome> DescribeDBClusterForecastOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterForecastRequest&, const DescribeDBClusterForecastOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterForecastAsyncHandler;
typedef Outcome<Error, Model::DescribeDBClusterHealthReportResult> DescribeDBClusterHealthReportOutcome;
typedef std::future<DescribeDBClusterHealthReportOutcome> DescribeDBClusterHealthReportOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterHealthReportRequest&, const DescribeDBClusterHealthReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterHealthReportAsyncHandler;
typedef Outcome<Error, Model::DescribeDBClusterHealthStatusResult> DescribeDBClusterHealthStatusOutcome;
typedef std::future<DescribeDBClusterHealthStatusOutcome> DescribeDBClusterHealthStatusOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterHealthStatusRequest&, const DescribeDBClusterHealthStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterHealthStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeDBClusterNetInfoResult> DescribeDBClusterNetInfoOutcome;
typedef std::future<DescribeDBClusterNetInfoOutcome> DescribeDBClusterNetInfoOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterNetInfoRequest&, const DescribeDBClusterNetInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterNetInfoAsyncHandler;
@@ -298,6 +346,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDBClusterResourcePoolPerformanceResult> DescribeDBClusterResourcePoolPerformanceOutcome;
typedef std::future<DescribeDBClusterResourcePoolPerformanceOutcome> DescribeDBClusterResourcePoolPerformanceOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterResourcePoolPerformanceRequest&, const DescribeDBClusterResourcePoolPerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterResourcePoolPerformanceAsyncHandler;
typedef Outcome<Error, Model::DescribeDBClusterStatusResult> DescribeDBClusterStatusOutcome;
typedef std::future<DescribeDBClusterStatusOutcome> DescribeDBClusterStatusOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterStatusRequest&, const DescribeDBClusterStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeDBClustersResult> DescribeDBClustersOutcome;
typedef std::future<DescribeDBClustersOutcome> DescribeDBClustersOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClustersRequest&, const DescribeDBClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClustersAsyncHandler;
@@ -310,12 +361,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDiagnosisDimensionsResult> DescribeDiagnosisDimensionsOutcome;
typedef std::future<DescribeDiagnosisDimensionsOutcome> DescribeDiagnosisDimensionsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDiagnosisDimensionsRequest&, const DescribeDiagnosisDimensionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosisDimensionsAsyncHandler;
typedef Outcome<Error, Model::DescribeDiagnosisMonitorPerformanceResult> DescribeDiagnosisMonitorPerformanceOutcome;
typedef std::future<DescribeDiagnosisMonitorPerformanceOutcome> DescribeDiagnosisMonitorPerformanceOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDiagnosisMonitorPerformanceRequest&, const DescribeDiagnosisMonitorPerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosisMonitorPerformanceAsyncHandler;
typedef Outcome<Error, Model::DescribeDiagnosisRecordsResult> DescribeDiagnosisRecordsOutcome;
typedef std::future<DescribeDiagnosisRecordsOutcome> DescribeDiagnosisRecordsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDiagnosisRecordsRequest&, const DescribeDiagnosisRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosisRecordsAsyncHandler;
typedef Outcome<Error, Model::DescribeDiagnosisSQLInfoResult> DescribeDiagnosisSQLInfoOutcome;
typedef std::future<DescribeDiagnosisSQLInfoOutcome> DescribeDiagnosisSQLInfoOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDiagnosisSQLInfoRequest&, const DescribeDiagnosisSQLInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosisSQLInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeDiagnosisTasksResult> DescribeDiagnosisTasksOutcome;
typedef std::future<DescribeDiagnosisTasksOutcome> DescribeDiagnosisTasksOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDiagnosisTasksRequest&, const DescribeDiagnosisTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosisTasksAsyncHandler;
typedef Outcome<Error, Model::DescribeDownloadRecordsResult> DescribeDownloadRecordsOutcome;
typedef std::future<DescribeDownloadRecordsOutcome> DescribeDownloadRecordsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDownloadRecordsRequest&, const DescribeDownloadRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDownloadRecordsAsyncHandler;
typedef Outcome<Error, Model::DescribeEIURangeResult> DescribeEIURangeOutcome;
typedef std::future<DescribeEIURangeOutcome> DescribeEIURangeOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeEIURangeRequest&, const DescribeEIURangeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEIURangeAsyncHandler;
typedef Outcome<Error, Model::DescribeElasticDailyPlanResult> DescribeElasticDailyPlanOutcome;
typedef std::future<DescribeElasticDailyPlanOutcome> DescribeElasticDailyPlanOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeElasticDailyPlanRequest&, const DescribeElasticDailyPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeElasticDailyPlanAsyncHandler;
@@ -343,9 +406,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
typedef Outcome<Error, Model::DescribeSQLPatternAttributeResult> DescribeSQLPatternAttributeOutcome;
typedef std::future<DescribeSQLPatternAttributeOutcome> DescribeSQLPatternAttributeOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeSQLPatternAttributeRequest&, const DescribeSQLPatternAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLPatternAttributeAsyncHandler;
typedef Outcome<Error, Model::DescribeSQLPatternsResult> DescribeSQLPatternsOutcome;
typedef std::future<DescribeSQLPatternsOutcome> DescribeSQLPatternsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeSQLPatternsRequest&, const DescribeSQLPatternsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLPatternsAsyncHandler;
@@ -385,9 +445,21 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeTaskInfoResult> DescribeTaskInfoOutcome;
typedef std::future<DescribeTaskInfoOutcome> DescribeTaskInfoOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeTaskInfoRequest&, const DescribeTaskInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTaskInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeVSwitchesResult> DescribeVSwitchesOutcome;
typedef std::future<DescribeVSwitchesOutcome> DescribeVSwitchesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeVSwitchesRequest&, const DescribeVSwitchesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVSwitchesAsyncHandler;
typedef Outcome<Error, Model::DetachUserENIResult> DetachUserENIOutcome;
typedef std::future<DetachUserENIOutcome> DetachUserENIOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DetachUserENIRequest&, const DetachUserENIOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachUserENIAsyncHandler;
typedef Outcome<Error, Model::DisableAdviceServiceResult> DisableAdviceServiceOutcome;
typedef std::future<DisableAdviceServiceOutcome> DisableAdviceServiceOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DisableAdviceServiceRequest&, const DisableAdviceServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableAdviceServiceAsyncHandler;
typedef Outcome<Error, Model::DownloadDiagnosisRecordsResult> DownloadDiagnosisRecordsOutcome;
typedef std::future<DownloadDiagnosisRecordsOutcome> DownloadDiagnosisRecordsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DownloadDiagnosisRecordsRequest&, const DownloadDiagnosisRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadDiagnosisRecordsAsyncHandler;
typedef Outcome<Error, Model::EnableAdviceServiceResult> EnableAdviceServiceOutcome;
typedef std::future<EnableAdviceServiceOutcome> EnableAdviceServiceOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::EnableAdviceServiceRequest&, const EnableAdviceServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableAdviceServiceAsyncHandler;
typedef Outcome<Error, Model::GrantOperatorPermissionResult> GrantOperatorPermissionOutcome;
typedef std::future<GrantOperatorPermissionOutcome> GrantOperatorPermissionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::GrantOperatorPermissionRequest&, const GrantOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GrantOperatorPermissionAsyncHandler;
@@ -397,6 +469,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
typedef Outcome<Error, Model::MigrateDBClusterResult> MigrateDBClusterOutcome;
typedef std::future<MigrateDBClusterOutcome> MigrateDBClusterOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::MigrateDBClusterRequest&, const MigrateDBClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MigrateDBClusterAsyncHandler;
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;
@@ -474,6 +549,15 @@ namespace AlibabaCloud
AllocateClusterPublicConnectionOutcome allocateClusterPublicConnection(const Model::AllocateClusterPublicConnectionRequest &request)const;
void allocateClusterPublicConnectionAsync(const Model::AllocateClusterPublicConnectionRequest& request, const AllocateClusterPublicConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AllocateClusterPublicConnectionOutcomeCallable allocateClusterPublicConnectionCallable(const Model::AllocateClusterPublicConnectionRequest& request) const;
ApplyAdviceByIdOutcome applyAdviceById(const Model::ApplyAdviceByIdRequest &request)const;
void applyAdviceByIdAsync(const Model::ApplyAdviceByIdRequest& request, const ApplyAdviceByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ApplyAdviceByIdOutcomeCallable applyAdviceByIdCallable(const Model::ApplyAdviceByIdRequest& request) const;
AttachUserENIOutcome attachUserENI(const Model::AttachUserENIRequest &request)const;
void attachUserENIAsync(const Model::AttachUserENIRequest& request, const AttachUserENIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AttachUserENIOutcomeCallable attachUserENICallable(const Model::AttachUserENIRequest& request) const;
BatchApplyAdviceByIdListOutcome batchApplyAdviceByIdList(const Model::BatchApplyAdviceByIdListRequest &request)const;
void batchApplyAdviceByIdListAsync(const Model::BatchApplyAdviceByIdListRequest& request, const BatchApplyAdviceByIdListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchApplyAdviceByIdListOutcomeCallable batchApplyAdviceByIdListCallable(const Model::BatchApplyAdviceByIdListRequest& request) const;
BindDBResourceGroupWithUserOutcome bindDBResourceGroupWithUser(const Model::BindDBResourceGroupWithUserRequest &request)const;
void bindDBResourceGroupWithUserAsync(const Model::BindDBResourceGroupWithUserRequest& request, const BindDBResourceGroupWithUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindDBResourceGroupWithUserOutcomeCallable bindDBResourceGroupWithUserCallable(const Model::BindDBResourceGroupWithUserRequest& request) const;
@@ -513,12 +597,18 @@ namespace AlibabaCloud
DescribeAccountsOutcome describeAccounts(const Model::DescribeAccountsRequest &request)const;
void describeAccountsAsync(const Model::DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAccountsOutcomeCallable describeAccountsCallable(const Model::DescribeAccountsRequest& request) const;
DescribeAdviceServiceEnabledOutcome describeAdviceServiceEnabled(const Model::DescribeAdviceServiceEnabledRequest &request)const;
void describeAdviceServiceEnabledAsync(const Model::DescribeAdviceServiceEnabledRequest& request, const DescribeAdviceServiceEnabledAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAdviceServiceEnabledOutcomeCallable describeAdviceServiceEnabledCallable(const Model::DescribeAdviceServiceEnabledRequest& request) const;
DescribeAllAccountsOutcome describeAllAccounts(const Model::DescribeAllAccountsRequest &request)const;
void describeAllAccountsAsync(const Model::DescribeAllAccountsRequest& request, const DescribeAllAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAllAccountsOutcomeCallable describeAllAccountsCallable(const Model::DescribeAllAccountsRequest& request) const;
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;
DescribeAppliedAdvicesOutcome describeAppliedAdvices(const Model::DescribeAppliedAdvicesRequest &request)const;
void describeAppliedAdvicesAsync(const Model::DescribeAppliedAdvicesRequest& request, const DescribeAppliedAdvicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppliedAdvicesOutcomeCallable describeAppliedAdvicesCallable(const Model::DescribeAppliedAdvicesRequest& 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;
@@ -528,6 +618,9 @@ namespace AlibabaCloud
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;
DescribeAvailableAdvicesOutcome describeAvailableAdvices(const Model::DescribeAvailableAdvicesRequest &request)const;
void describeAvailableAdvicesAsync(const Model::DescribeAvailableAdvicesRequest& request, const DescribeAvailableAdvicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAvailableAdvicesOutcomeCallable describeAvailableAdvicesCallable(const Model::DescribeAvailableAdvicesRequest& request) const;
DescribeAvailableResourceOutcome describeAvailableResource(const Model::DescribeAvailableResourceRequest &request)const;
void describeAvailableResourceAsync(const Model::DescribeAvailableResourceRequest& request, const DescribeAvailableResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAvailableResourceOutcomeCallable describeAvailableResourceCallable(const Model::DescribeAvailableResourceRequest& request) const;
@@ -540,6 +633,9 @@ namespace AlibabaCloud
DescribeColumnsOutcome describeColumns(const Model::DescribeColumnsRequest &request)const;
void describeColumnsAsync(const Model::DescribeColumnsRequest& request, const DescribeColumnsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeColumnsOutcomeCallable describeColumnsCallable(const Model::DescribeColumnsRequest& request) const;
DescribeComputeResourceOutcome describeComputeResource(const Model::DescribeComputeResourceRequest &request)const;
void describeComputeResourceAsync(const Model::DescribeComputeResourceRequest& request, const DescribeComputeResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeComputeResourceOutcomeCallable describeComputeResourceCallable(const Model::DescribeComputeResourceRequest& request) const;
DescribeConnectionCountRecordsOutcome describeConnectionCountRecords(const Model::DescribeConnectionCountRecordsRequest &request)const;
void describeConnectionCountRecordsAsync(const Model::DescribeConnectionCountRecordsRequest& request, const DescribeConnectionCountRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeConnectionCountRecordsOutcomeCallable describeConnectionCountRecordsCallable(const Model::DescribeConnectionCountRecordsRequest& request) const;
@@ -549,12 +645,9 @@ namespace AlibabaCloud
DescribeDBClusterAttributeOutcome describeDBClusterAttribute(const Model::DescribeDBClusterAttributeRequest &request)const;
void describeDBClusterAttributeAsync(const Model::DescribeDBClusterAttributeRequest& request, const DescribeDBClusterAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterAttributeOutcomeCallable describeDBClusterAttributeCallable(const Model::DescribeDBClusterAttributeRequest& request) const;
DescribeDBClusterForecastOutcome describeDBClusterForecast(const Model::DescribeDBClusterForecastRequest &request)const;
void describeDBClusterForecastAsync(const Model::DescribeDBClusterForecastRequest& request, const DescribeDBClusterForecastAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterForecastOutcomeCallable describeDBClusterForecastCallable(const Model::DescribeDBClusterForecastRequest& request) const;
DescribeDBClusterHealthReportOutcome describeDBClusterHealthReport(const Model::DescribeDBClusterHealthReportRequest &request)const;
void describeDBClusterHealthReportAsync(const Model::DescribeDBClusterHealthReportRequest& request, const DescribeDBClusterHealthReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterHealthReportOutcomeCallable describeDBClusterHealthReportCallable(const Model::DescribeDBClusterHealthReportRequest& request) const;
DescribeDBClusterHealthStatusOutcome describeDBClusterHealthStatus(const Model::DescribeDBClusterHealthStatusRequest &request)const;
void describeDBClusterHealthStatusAsync(const Model::DescribeDBClusterHealthStatusRequest& request, const DescribeDBClusterHealthStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterHealthStatusOutcomeCallable describeDBClusterHealthStatusCallable(const Model::DescribeDBClusterHealthStatusRequest& request) const;
DescribeDBClusterNetInfoOutcome describeDBClusterNetInfo(const Model::DescribeDBClusterNetInfoRequest &request)const;
void describeDBClusterNetInfoAsync(const Model::DescribeDBClusterNetInfoRequest& request, const DescribeDBClusterNetInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterNetInfoOutcomeCallable describeDBClusterNetInfoCallable(const Model::DescribeDBClusterNetInfoRequest& request) const;
@@ -564,6 +657,9 @@ namespace AlibabaCloud
DescribeDBClusterResourcePoolPerformanceOutcome describeDBClusterResourcePoolPerformance(const Model::DescribeDBClusterResourcePoolPerformanceRequest &request)const;
void describeDBClusterResourcePoolPerformanceAsync(const Model::DescribeDBClusterResourcePoolPerformanceRequest& request, const DescribeDBClusterResourcePoolPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterResourcePoolPerformanceOutcomeCallable describeDBClusterResourcePoolPerformanceCallable(const Model::DescribeDBClusterResourcePoolPerformanceRequest& request) const;
DescribeDBClusterStatusOutcome describeDBClusterStatus(const Model::DescribeDBClusterStatusRequest &request)const;
void describeDBClusterStatusAsync(const Model::DescribeDBClusterStatusRequest& request, const DescribeDBClusterStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterStatusOutcomeCallable describeDBClusterStatusCallable(const Model::DescribeDBClusterStatusRequest& request) const;
DescribeDBClustersOutcome describeDBClusters(const Model::DescribeDBClustersRequest &request)const;
void describeDBClustersAsync(const Model::DescribeDBClustersRequest& request, const DescribeDBClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClustersOutcomeCallable describeDBClustersCallable(const Model::DescribeDBClustersRequest& request) const;
@@ -576,12 +672,24 @@ namespace AlibabaCloud
DescribeDiagnosisDimensionsOutcome describeDiagnosisDimensions(const Model::DescribeDiagnosisDimensionsRequest &request)const;
void describeDiagnosisDimensionsAsync(const Model::DescribeDiagnosisDimensionsRequest& request, const DescribeDiagnosisDimensionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDiagnosisDimensionsOutcomeCallable describeDiagnosisDimensionsCallable(const Model::DescribeDiagnosisDimensionsRequest& request) const;
DescribeDiagnosisMonitorPerformanceOutcome describeDiagnosisMonitorPerformance(const Model::DescribeDiagnosisMonitorPerformanceRequest &request)const;
void describeDiagnosisMonitorPerformanceAsync(const Model::DescribeDiagnosisMonitorPerformanceRequest& request, const DescribeDiagnosisMonitorPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDiagnosisMonitorPerformanceOutcomeCallable describeDiagnosisMonitorPerformanceCallable(const Model::DescribeDiagnosisMonitorPerformanceRequest& request) const;
DescribeDiagnosisRecordsOutcome describeDiagnosisRecords(const Model::DescribeDiagnosisRecordsRequest &request)const;
void describeDiagnosisRecordsAsync(const Model::DescribeDiagnosisRecordsRequest& request, const DescribeDiagnosisRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDiagnosisRecordsOutcomeCallable describeDiagnosisRecordsCallable(const Model::DescribeDiagnosisRecordsRequest& request) const;
DescribeDiagnosisSQLInfoOutcome describeDiagnosisSQLInfo(const Model::DescribeDiagnosisSQLInfoRequest &request)const;
void describeDiagnosisSQLInfoAsync(const Model::DescribeDiagnosisSQLInfoRequest& request, const DescribeDiagnosisSQLInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDiagnosisSQLInfoOutcomeCallable describeDiagnosisSQLInfoCallable(const Model::DescribeDiagnosisSQLInfoRequest& request) const;
DescribeDiagnosisTasksOutcome describeDiagnosisTasks(const Model::DescribeDiagnosisTasksRequest &request)const;
void describeDiagnosisTasksAsync(const Model::DescribeDiagnosisTasksRequest& request, const DescribeDiagnosisTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDiagnosisTasksOutcomeCallable describeDiagnosisTasksCallable(const Model::DescribeDiagnosisTasksRequest& request) const;
DescribeDownloadRecordsOutcome describeDownloadRecords(const Model::DescribeDownloadRecordsRequest &request)const;
void describeDownloadRecordsAsync(const Model::DescribeDownloadRecordsRequest& request, const DescribeDownloadRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDownloadRecordsOutcomeCallable describeDownloadRecordsCallable(const Model::DescribeDownloadRecordsRequest& request) const;
DescribeEIURangeOutcome describeEIURange(const Model::DescribeEIURangeRequest &request)const;
void describeEIURangeAsync(const Model::DescribeEIURangeRequest& request, const DescribeEIURangeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEIURangeOutcomeCallable describeEIURangeCallable(const Model::DescribeEIURangeRequest& request) const;
DescribeElasticDailyPlanOutcome describeElasticDailyPlan(const Model::DescribeElasticDailyPlanRequest &request)const;
void describeElasticDailyPlanAsync(const Model::DescribeElasticDailyPlanRequest& request, const DescribeElasticDailyPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeElasticDailyPlanOutcomeCallable describeElasticDailyPlanCallable(const Model::DescribeElasticDailyPlanRequest& request) const;
@@ -609,9 +717,6 @@ namespace AlibabaCloud
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
DescribeSQLPatternAttributeOutcome describeSQLPatternAttribute(const Model::DescribeSQLPatternAttributeRequest &request)const;
void describeSQLPatternAttributeAsync(const Model::DescribeSQLPatternAttributeRequest& request, const DescribeSQLPatternAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSQLPatternAttributeOutcomeCallable describeSQLPatternAttributeCallable(const Model::DescribeSQLPatternAttributeRequest& request) const;
DescribeSQLPatternsOutcome describeSQLPatterns(const Model::DescribeSQLPatternsRequest &request)const;
void describeSQLPatternsAsync(const Model::DescribeSQLPatternsRequest& request, const DescribeSQLPatternsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSQLPatternsOutcomeCallable describeSQLPatternsCallable(const Model::DescribeSQLPatternsRequest& request) const;
@@ -651,9 +756,21 @@ namespace AlibabaCloud
DescribeTaskInfoOutcome describeTaskInfo(const Model::DescribeTaskInfoRequest &request)const;
void describeTaskInfoAsync(const Model::DescribeTaskInfoRequest& request, const DescribeTaskInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTaskInfoOutcomeCallable describeTaskInfoCallable(const Model::DescribeTaskInfoRequest& request) const;
DescribeVSwitchesOutcome describeVSwitches(const Model::DescribeVSwitchesRequest &request)const;
void describeVSwitchesAsync(const Model::DescribeVSwitchesRequest& request, const DescribeVSwitchesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVSwitchesOutcomeCallable describeVSwitchesCallable(const Model::DescribeVSwitchesRequest& request) const;
DetachUserENIOutcome detachUserENI(const Model::DetachUserENIRequest &request)const;
void detachUserENIAsync(const Model::DetachUserENIRequest& request, const DetachUserENIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetachUserENIOutcomeCallable detachUserENICallable(const Model::DetachUserENIRequest& request) const;
DisableAdviceServiceOutcome disableAdviceService(const Model::DisableAdviceServiceRequest &request)const;
void disableAdviceServiceAsync(const Model::DisableAdviceServiceRequest& request, const DisableAdviceServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableAdviceServiceOutcomeCallable disableAdviceServiceCallable(const Model::DisableAdviceServiceRequest& request) const;
DownloadDiagnosisRecordsOutcome downloadDiagnosisRecords(const Model::DownloadDiagnosisRecordsRequest &request)const;
void downloadDiagnosisRecordsAsync(const Model::DownloadDiagnosisRecordsRequest& request, const DownloadDiagnosisRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DownloadDiagnosisRecordsOutcomeCallable downloadDiagnosisRecordsCallable(const Model::DownloadDiagnosisRecordsRequest& request) const;
EnableAdviceServiceOutcome enableAdviceService(const Model::EnableAdviceServiceRequest &request)const;
void enableAdviceServiceAsync(const Model::EnableAdviceServiceRequest& request, const EnableAdviceServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableAdviceServiceOutcomeCallable enableAdviceServiceCallable(const Model::EnableAdviceServiceRequest& request) const;
GrantOperatorPermissionOutcome grantOperatorPermission(const Model::GrantOperatorPermissionRequest &request)const;
void grantOperatorPermissionAsync(const Model::GrantOperatorPermissionRequest& request, const GrantOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GrantOperatorPermissionOutcomeCallable grantOperatorPermissionCallable(const Model::GrantOperatorPermissionRequest& request) const;
@@ -663,6 +780,9 @@ namespace AlibabaCloud
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
MigrateDBClusterOutcome migrateDBCluster(const Model::MigrateDBClusterRequest &request)const;
void migrateDBClusterAsync(const Model::MigrateDBClusterRequest& request, const MigrateDBClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MigrateDBClusterOutcomeCallable migrateDBClusterCallable(const Model::MigrateDBClusterRequest& request) const;
ModifyAccountDescriptionOutcome modifyAccountDescription(const Model::ModifyAccountDescriptionRequest &request)const;
void modifyAccountDescriptionAsync(const Model::ModifyAccountDescriptionRequest& request, const ModifyAccountDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAccountDescriptionOutcomeCallable modifyAccountDescriptionCallable(const Model::ModifyAccountDescriptionRequest& request) const;

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_ADB_MODEL_APPLYADVICEBYIDREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_APPLYADVICEBYIDREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT ApplyAdviceByIdRequest : public RpcServiceRequest {
public:
ApplyAdviceByIdRequest();
~ApplyAdviceByIdRequest();
std::string getAdviceId() const;
void setAdviceId(const std::string &adviceId);
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
long getAdviceDate() const;
void setAdviceDate(long adviceDate);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string adviceId_;
std::string dBClusterId_;
long adviceDate_;
std::string regionId_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_APPLYADVICEBYIDREQUEST_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_ADB_MODEL_APPLYADVICEBYIDRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_APPLYADVICEBYIDRESULT_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 ApplyAdviceByIdResult : public ServiceResult
{
public:
ApplyAdviceByIdResult();
explicit ApplyAdviceByIdResult(const std::string &payload);
~ApplyAdviceByIdResult();
std::string getMessage()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_APPLYADVICEBYIDRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_ATTACHUSERENIREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_ATTACHUSERENIREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT AttachUserENIRequest : public RpcServiceRequest {
public:
AttachUserENIRequest();
~AttachUserENIRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
std::string getOwnerAccount() const;
void setOwnerAccount(const std::string &ownerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_ATTACHUSERENIREQUEST_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_ATTACHUSERENIRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_ATTACHUSERENIRESULT_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 AttachUserENIResult : public ServiceResult
{
public:
AttachUserENIResult();
explicit AttachUserENIResult(const std::string &payload);
~AttachUserENIResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_ATTACHUSERENIRESULT_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_ADB_MODEL_BATCHAPPLYADVICEBYIDLISTREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_BATCHAPPLYADVICEBYIDLISTREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT BatchApplyAdviceByIdListRequest : public RpcServiceRequest {
public:
BatchApplyAdviceByIdListRequest();
~BatchApplyAdviceByIdListRequest();
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
std::string getAdviceIdList() const;
void setAdviceIdList(const std::string &adviceIdList);
long getAdviceDate() const;
void setAdviceDate(long adviceDate);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string dBClusterId_;
std::string adviceIdList_;
long adviceDate_;
std::string regionId_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_BATCHAPPLYADVICEBYIDLISTREQUEST_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_ADB_MODEL_BATCHAPPLYADVICEBYIDLISTRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_BATCHAPPLYADVICEBYIDLISTRESULT_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 BatchApplyAdviceByIdListResult : public ServiceResult
{
public:
BatchApplyAdviceByIdListResult();
explicit BatchApplyAdviceByIdListResult(const std::string &payload);
~BatchApplyAdviceByIdListResult();
std::string getMessage()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_BATCHAPPLYADVICEBYIDLISTRESULT_H_

View File

@@ -28,6 +28,10 @@ namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT CreateDBClusterRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
CreateDBClusterRequest();
~CreateDBClusterRequest();
long getResourceOwnerId() const;
@@ -40,6 +44,8 @@ public:
void setMode(const std::string &mode);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getPeriod() const;
void setPeriod(const std::string &period);
std::string getBackupSetID() const;
@@ -99,6 +105,7 @@ private:
std::string storageType_;
std::string mode_;
std::string resourceGroupId_;
std::vector<Tag> tag_;
std::string period_;
std::string backupSetID_;
long ownerId_;

View File

@@ -32,6 +32,8 @@ public:
~CreateElasticPlanRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getElasticPlanType() const;
void setElasticPlanType(const std::string &elasticPlanType);
std::string getElasticPlanTimeStart() const;
void setElasticPlanTimeStart(const std::string &elasticPlanTimeStart);
std::string getElasticPlanEndDay() const;
@@ -40,6 +42,8 @@ public:
void setElasticPlanWeeklyRepeat(const std::string &elasticPlanWeeklyRepeat);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getElasticPlanWorkerSpec() const;
void setElasticPlanWorkerSpec(const std::string &elasticPlanWorkerSpec);
bool getElasticPlanEnable() const;
void setElasticPlanEnable(bool elasticPlanEnable);
std::string getElasticPlanTimeEnd() const;
@@ -63,10 +67,12 @@ public:
private:
long resourceOwnerId_;
std::string elasticPlanType_;
std::string elasticPlanTimeStart_;
std::string elasticPlanEndDay_;
std::string elasticPlanWeeklyRepeat_;
std::string accessKeyId_;
std::string elasticPlanWorkerSpec_;
bool elasticPlanEnable_;
std::string elasticPlanTimeEnd_;
std::string elasticPlanStartDay_;

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_ADB_MODEL_DESCRIBEADVICESERVICEENABLEDREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEADVICESERVICEENABLEDREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT DescribeAdviceServiceEnabledRequest : public RpcServiceRequest {
public:
DescribeAdviceServiceEnabledRequest();
~DescribeAdviceServiceEnabledRequest();
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
private:
std::string regionId_;
std::string dBClusterId_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEADVICESERVICEENABLEDREQUEST_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_DESCRIBEADVICESERVICEENABLEDRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEADVICESERVICEENABLEDRESULT_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 DescribeAdviceServiceEnabledResult : public ServiceResult
{
public:
DescribeAdviceServiceEnabledResult();
explicit DescribeAdviceServiceEnabledResult(const std::string &payload);
~DescribeAdviceServiceEnabledResult();
std::string getMessage()const;
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEADVICESERVICEENABLEDRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAPPLIEDADVICESREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAPPLIEDADVICESREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT DescribeAppliedAdvicesRequest : public RpcServiceRequest {
public:
DescribeAppliedAdvicesRequest();
~DescribeAppliedAdvicesRequest();
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
long getEndTime() const;
void setEndTime(long endTime);
long getStartTime() const;
void setStartTime(long startTime);
long getPageNumber() const;
void setPageNumber(long pageNumber);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
long getPageSize() const;
void setPageSize(long pageSize);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string dBClusterId_;
long endTime_;
long startTime_;
long pageNumber_;
std::string regionId_;
long pageSize_;
std::string lang_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAPPLIEDADVICESREQUEST_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_DESCRIBEAPPLIEDADVICESRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAPPLIEDADVICESRESULT_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 DescribeAppliedAdvicesResult : public ServiceResult
{
public:
struct ItemsItem
{
std::string jobStatus;
long totalCount;
std::string buildSQL;
long pageSize;
std::string submitStatus;
std::string benefit;
long pageNumber;
std::string submitTime;
std::string adviceId;
std::string rollbackSQL;
std::string sQL;
};
DescribeAppliedAdvicesResult();
explicit DescribeAppliedAdvicesResult(const std::string &payload);
~DescribeAppliedAdvicesResult();
long getTotalCount()const;
long getPageSize()const;
long getPageNumber()const;
std::vector<ItemsItem> getItems()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
long pageSize_;
long pageNumber_;
std::vector<ItemsItem> items_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAPPLIEDADVICESRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLEADVICESREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLEADVICESREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT DescribeAvailableAdvicesRequest : public RpcServiceRequest {
public:
DescribeAvailableAdvicesRequest();
~DescribeAvailableAdvicesRequest();
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
long getPageNumber() const;
void setPageNumber(long pageNumber);
long getAdviceDate() const;
void setAdviceDate(long adviceDate);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
long getPageSize() const;
void setPageSize(long pageSize);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string dBClusterId_;
long pageNumber_;
long adviceDate_;
std::string regionId_;
long pageSize_;
std::string lang_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLEADVICESREQUEST_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_DESCRIBEAVAILABLEADVICESRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLEADVICESRESULT_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 DescribeAvailableAdvicesResult : public ServiceResult
{
public:
struct ItemsItem
{
long totalCount;
std::string adviceType;
long pageSize;
std::string benefit;
long pageNumber;
std::string adviceId;
std::string reason;
std::string adviceDate;
std::string sQL;
};
DescribeAvailableAdvicesResult();
explicit DescribeAvailableAdvicesResult(const std::string &payload);
~DescribeAvailableAdvicesResult();
long getTotalCount()const;
long getPageSize()const;
long getPageNumber()const;
std::vector<ItemsItem> getItems()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
long pageSize_;
long pageNumber_;
std::vector<ItemsItem> items_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLEADVICESRESULT_H_

View File

@@ -40,6 +40,8 @@ public:
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getOwnerAccount() const;
void setOwnerAccount(const std::string &ownerAccount);
std::string getDBClusterVersion() const;
void setDBClusterVersion(const std::string &dBClusterVersion);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getAcceptLanguage() const;
@@ -55,6 +57,7 @@ private:
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBClusterVersion_;
long ownerId_;
std::string acceptLanguage_;
std::string zoneId_;

View File

@@ -47,9 +47,9 @@ namespace AlibabaCloud
std::string minCount;
};
std::string storageType;
std::vector<std::string> supportedComputeResource1;
SupportedElasticIOResource supportedElasticIOResource;
std::vector<std::string> supportedStorageResource;
std::vector<std::string> supportedComputeResource;
std::vector<std::string> supportedStorageResource2;
};
struct SupportedInstanceClass
{
@@ -66,13 +66,13 @@ namespace AlibabaCloud
};
struct SupportedExecutor
{
struct NodeCount1
struct NodeCount3
{
std::string step;
std::string maxCount;
std::string minCount;
};
NodeCount1 nodeCount1;
NodeCount3 nodeCount3;
};
std::vector<SupportedInstanceClass::SupportedExecutor> supportedExecutorList;
std::string instanceClass;
@@ -87,6 +87,8 @@ namespace AlibabaCloud
std::vector<SupportedModeItem::SupportedSerialListItem> supportedSerialList;
};
std::string zoneId;
std::vector<std::string> supportedStorageResource;
std::vector<std::string> supportedComputeResource;
std::vector<AvailableZone::SupportedModeItem> supportedMode;
};

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_DESCRIBECOMPUTERESOURCEREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBECOMPUTERESOURCEREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT DescribeComputeResourceRequest : public RpcServiceRequest {
public:
DescribeComputeResourceRequest();
~DescribeComputeResourceRequest();
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);
std::string getDBClusterVersion() const;
void setDBClusterVersion(const std::string &dBClusterVersion);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getZoneId() const;
void setZoneId(const std::string &zoneId);
bool getMigrate() const;
void setMigrate(bool migrate);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
std::string dBClusterVersion_;
long ownerId_;
std::string zoneId_;
bool migrate_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBECOMPUTERESOURCEREQUEST_H_

View File

@@ -0,0 +1,56 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_DESCRIBECOMPUTERESOURCERESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBECOMPUTERESOURCERESULT_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 DescribeComputeResourceResult : public ServiceResult
{
public:
struct ComputeResourceItem
{
std::string realValue;
std::string displayValue;
};
DescribeComputeResourceResult();
explicit DescribeComputeResourceResult(const std::string &payload);
~DescribeComputeResourceResult();
std::vector<ComputeResourceItem> getComputeResource()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ComputeResourceItem> computeResource_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBECOMPUTERESOURCERESULT_H_

View File

@@ -44,6 +44,7 @@ namespace AlibabaCloud
std::string resourceGroupId;
int port;
std::string dBClusterId;
std::string diskPerformanceLevel;
std::string dBClusterNetworkType;
std::string dBClusterType;
std::string diskType;
@@ -61,6 +62,8 @@ namespace AlibabaCloud
std::string engineVersion;
bool userENIStatus;
std::string zoneId;
std::string innerIp;
std::string elasticIOResourceSize;
std::string vPCId;
std::string dBClusterStatus;
std::string mode;
@@ -73,6 +76,7 @@ namespace AlibabaCloud
bool enableAirflow;
bool enableSpark;
std::string dBNodeClass;
std::string innerPort;
std::string vPCCloudInstanceId;
std::string creationTime;
std::string kmsId;

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_DESCRIBEDBCLUSTERFORECASTREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERFORECASTREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterForecastRequest : public RpcServiceRequest {
public:
DescribeDBClusterForecastRequest();
~DescribeDBClusterForecastRequest();
std::string getMetricType() const;
void setMetricType(const std::string &metricType);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
private:
std::string metricType_;
std::string regionId_;
std::string dBClusterId_;
std::string startTime_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERFORECASTREQUEST_H_

View File

@@ -1,62 +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_DESCRIBEDBCLUSTERFORECASTRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERFORECASTRESULT_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 DescribeDBClusterForecastResult : public ServiceResult
{
public:
struct PerformancesItem
{
struct SeriesItem
{
std::string values;
std::string name;
};
std::vector<PerformancesItem::SeriesItem> series;
std::string unit;
std::string key;
};
DescribeDBClusterForecastResult();
explicit DescribeDBClusterForecastResult(const std::string &payload);
~DescribeDBClusterForecastResult();
std::vector<PerformancesItem> getPerformances()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PerformancesItem> performances_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERFORECASTRESULT_H_

View File

@@ -1,48 +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_DESCRIBEDBCLUSTERHEALTHREPORTREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHREPORTREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterHealthReportRequest : public RpcServiceRequest {
public:
DescribeDBClusterHealthReportRequest();
~DescribeDBClusterHealthReportRequest();
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
private:
std::string regionId_;
std::string dBClusterId_;
std::string startTime_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHREPORTREQUEST_H_

View File

@@ -1,58 +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_DESCRIBEDBCLUSTERHEALTHREPORTRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHREPORTRESULT_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 DescribeDBClusterHealthReportResult : public ServiceResult
{
public:
struct ItemsItem
{
std::string avg;
std::string max;
std::string key;
std::string name;
};
DescribeDBClusterHealthReportResult();
explicit DescribeDBClusterHealthReportResult(const std::string &payload);
~DescribeDBClusterHealthReportResult();
std::vector<ItemsItem> getItems()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ItemsItem> items_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHREPORTRESULT_H_

View File

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

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHSTATUSRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHSTATUSRESULT_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 DescribeDBClusterHealthStatusResult : public ServiceResult
{
public:
struct CS
{
std::string status;
long unavailableCount;
long activeCount;
long expectedCount;
long riskCount;
};
struct Executor
{
std::string status;
long unavailableCount;
long activeCount;
long expectedCount;
long riskCount;
};
struct Worker
{
std::string status;
long unavailableCount;
long activeCount;
long expectedCount;
long riskCount;
};
DescribeDBClusterHealthStatusResult();
explicit DescribeDBClusterHealthStatusResult(const std::string &payload);
~DescribeDBClusterHealthStatusResult();
CS getCS()const;
Executor getExecutor()const;
std::string getInstanceStatus()const;
Worker getWorker()const;
protected:
void parse(const std::string &payload);
private:
CS cS_;
Executor executor_;
std::string instanceStatus_;
Worker worker_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHSTATUSRESULT_H_

View File

@@ -32,12 +32,6 @@ public:
~DescribeDBClusterPerformanceRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getKey() const;
void setKey(const std::string &key);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getDBClusterId() const;
@@ -46,19 +40,31 @@ public:
void setOwnerAccount(const std::string &ownerAccount);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getResourcePools() const;
void setResourcePools(const std::string &resourcePools);
std::string getKey() const;
void setKey(const std::string &key);
private:
long resourceOwnerId_;
std::string startTime_;
std::string accessKeyId_;
std::string key_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
std::string endTime_;
std::string startTime_;
long ownerId_;
std::string accessKeyId_;
std::string regionId_;
std::string resourcePools_;
std::string key_;
};
} // namespace Model
} // namespace Adb

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
struct SeriesItem
{
std::vector<std::string> values;
std::string tags;
std::string name;
};
std::vector<PerformanceItem::SeriesItem> series;

View File

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

View File

@@ -58,6 +58,8 @@ public:
void setOwnerAccount(const std::string &ownerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getDBVersion() const;
void setDBVersion(const std::string &dBVersion);
std::string getDBClusterIds() const;
void setDBClusterIds(const std::string &dBClusterIds);
@@ -74,6 +76,7 @@ private:
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string dBVersion_;
std::string dBClusterIds_;
};
} // namespace Model

View File

@@ -58,6 +58,7 @@ namespace AlibabaCloud
std::string engine;
long dBNodeStorage;
std::string zoneId;
std::string innerIp;
std::string vPCId;
std::string dBClusterStatus;
std::string createTime;
@@ -69,6 +70,7 @@ namespace AlibabaCloud
std::string payType;
std::string lockMode;
std::string dBNodeClass;
std::string innerPort;
std::string vPCCloudInstanceId;
std::string regionId;
std::string connectionString;

View File

@@ -46,11 +46,13 @@ namespace AlibabaCloud
DescribeDBResourceGroupResult();
explicit DescribeDBResourceGroupResult(const std::string &payload);
~DescribeDBResourceGroupResult();
std::string getDBClusterId()const;
std::vector<PoolInfo> getGroupsInfo()const;
protected:
void parse(const std::string &payload);
private:
std::string dBClusterId_;
std::vector<PoolInfo> groupsInfo_;
};

View File

@@ -46,11 +46,13 @@ namespace AlibabaCloud
DescribeDBResourcePoolResult();
explicit DescribeDBResourcePoolResult(const std::string &payload);
~DescribeDBResourcePoolResult();
std::string getDBClusterId()const;
std::vector<PoolInfo> getPoolsInfo()const;
protected:
void parse(const std::string &payload);
private:
std::string dBClusterId_;
std::vector<PoolInfo> poolsInfo_;
};

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISMONITORPERFORMANCEREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISMONITORPERFORMANCEREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT DescribeDiagnosisMonitorPerformanceRequest : public RpcServiceRequest {
public:
DescribeDiagnosisMonitorPerformanceRequest();
~DescribeDiagnosisMonitorPerformanceRequest();
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
std::string getQueryCondition() const;
void setQueryCondition(const std::string &queryCondition);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string dBClusterId_;
std::string queryCondition_;
std::string endTime_;
std::string startTime_;
std::string regionId_;
std::string lang_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISMONITORPERFORMANCEREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISMONITORPERFORMANCERESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISMONITORPERFORMANCERESULT_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 DescribeDiagnosisMonitorPerformanceResult : public ServiceResult
{
public:
struct Items
{
std::string status;
long scanRows;
std::string userName;
long peakMemory;
long startTime;
std::string processId;
std::string rcHost;
long scanSize;
long cost;
};
DescribeDiagnosisMonitorPerformanceResult();
explicit DescribeDiagnosisMonitorPerformanceResult(const std::string &payload);
~DescribeDiagnosisMonitorPerformanceResult();
bool getPerformancesTruncated()const;
std::vector<Items> getPerformances()const;
int getPerformancesThreshold()const;
protected:
void parse(const std::string &payload);
private:
bool performancesTruncated_;
std::vector<Items> performances_;
int performancesThreshold_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISMONITORPERFORMANCERESULT_H_

View File

@@ -60,8 +60,8 @@ public:
void setResourceGroup(const std::string &resourceGroup);
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
long getPatternId() const;
void setPatternId(long patternId);
std::string getPatternId() const;
void setPatternId(const std::string &patternId);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
long getMinPeakMemory() const;
@@ -89,7 +89,7 @@ private:
long maxScanSize_;
std::string resourceGroup_;
std::string dBClusterId_;
long patternId_;
std::string patternId_;
std::string endTime_;
long minPeakMemory_;
long minScanSize_;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISSQLINFOREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISSQLINFOREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT DescribeDiagnosisSQLInfoRequest : public RpcServiceRequest {
public:
DescribeDiagnosisSQLInfoRequest();
~DescribeDiagnosisSQLInfoRequest();
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
std::string getProcessState() const;
void setProcessState(const std::string &processState);
long getProcessStartTime() const;
void setProcessStartTime(long processStartTime);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getProcessId() const;
void setProcessId(const std::string &processId);
std::string getProcessRcHost() const;
void setProcessRcHost(const std::string &processRcHost);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string dBClusterId_;
std::string processState_;
long processStartTime_;
std::string regionId_;
std::string processId_;
std::string processRcHost_;
std::string lang_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISSQLINFOREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_DESCRIBEDIAGNOSISSQLINFORESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISSQLINFORESULT_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 DescribeDiagnosisSQLInfoResult : public ServiceResult
{
public:
struct StageInfosItem
{
double progress;
std::string state;
long peakMemory;
std::string stageId;
long outputRows;
long operatorCost;
long inputDataSize;
long inputRows;
long outputDataSize;
};
DescribeDiagnosisSQLInfoResult();
explicit DescribeDiagnosisSQLInfoResult(const std::string &payload);
~DescribeDiagnosisSQLInfoResult();
std::vector<StageInfosItem> getStageInfos()const;
std::string getDiagnosisSQLInfo()const;
protected:
void parse(const std::string &payload);
private:
std::vector<StageInfosItem> stageInfos_;
std::string diagnosisSQLInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISSQLINFORESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISTASKSREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISTASKSREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT DescribeDiagnosisTasksRequest : public RpcServiceRequest {
public:
DescribeDiagnosisTasksRequest();
~DescribeDiagnosisTasksRequest();
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getProcessId() const;
void setProcessId(const std::string &processId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getHost() const;
void setHost(const std::string &host);
std::string getState() const;
void setState(const std::string &state);
std::string getStageId() const;
void setStageId(const std::string &stageId);
std::string getOrder() const;
void setOrder(const std::string &order);
private:
std::string dBClusterId_;
int pageNumber_;
std::string regionId_;
std::string processId_;
int pageSize_;
std::string host_;
std::string state_;
std::string stageId_;
std::string order_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISTASKSREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISTASKSRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISTASKSRESULT_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 DescribeDiagnosisTasksResult : public ServiceResult
{
public:
struct SqlTasks
{
std::string taskId;
std::string drivers;
long taskEndTime;
long peakMemory;
long elapsedTime;
long scanDataSize;
long inputRows;
std::string taskHost;
long taskCreateTime;
long scanRows;
long scanCost;
std::string queuedTime;
std::string state;
long operatorCost;
long outputRows;
std::string computeTimeRatio;
long inputDataSize;
long outputDataSize;
};
DescribeDiagnosisTasksResult();
explicit DescribeDiagnosisTasksResult(const std::string &payload);
~DescribeDiagnosisTasksResult();
int getTotalCount()const;
std::vector<SqlTasks> getTaskList()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<SqlTasks> taskList_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISTASKSRESULT_H_

View File

@@ -30,16 +30,16 @@ class ALIBABACLOUD_ADB_EXPORT DescribeDownloadRecordsRequest : public RpcService
public:
DescribeDownloadRecordsRequest();
~DescribeDownloadRecordsRequest();
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string regionId_;
std::string dBClusterId_;
std::string regionId_;
std::string lang_;
};
} // namespace Model

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEEIURANGEREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEEIURANGEREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT DescribeEIURangeRequest : public RpcServiceRequest {
public:
DescribeEIURangeRequest();
~DescribeEIURangeRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
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);
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 getDBClusterVersion() const;
void setDBClusterVersion(const std::string &dBClusterVersion);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getZoneId() const;
void setZoneId(const std::string &zoneId);
std::string getComputeResource() const;
void setComputeResource(const std::string &computeResource);
std::string getOperation() const;
void setOperation(const std::string &operation);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
std::string dBClusterVersion_;
long ownerId_;
std::string zoneId_;
std::string computeResource_;
std::string operation_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEEIURANGEREQUEST_H_

View File

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

View File

@@ -35,9 +35,11 @@ namespace AlibabaCloud
struct ElasticDailyPlanInfo
{
int status;
std::string elasticPlanType;
std::string startTs;
std::string planEndTs;
std::string endTs;
std::string elasticPlanWorkerSpec;
int elasticNodeNum;
std::string resourcePoolName;
std::string planName;

View File

@@ -34,8 +34,10 @@ namespace AlibabaCloud
public:
struct ElasticPlanInfo
{
std::string elasticPlanType;
std::string weeklyRepeat;
std::string endTime;
std::string elasticPlanWorkerSpec;
std::string startTime;
int elasticNodeNum;
std::string resourcePoolName;

View File

@@ -40,6 +40,8 @@ public:
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 getState() const;
@@ -65,6 +67,7 @@ private:
std::string startTime_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int pageSize_;
std::string state_;
std::string order_;

View File

@@ -30,8 +30,6 @@ class ALIBABACLOUD_ADB_EXPORT DescribePatternPerformanceRequest : public RpcServ
public:
DescribePatternPerformanceRequest();
~DescribePatternPerformanceRequest();
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
std::string getPatternId() const;
@@ -40,13 +38,15 @@ public:
void setEndTime(const std::string &endTime);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string regionId_;
std::string dBClusterId_;
std::string patternId_;
std::string endTime_;
std::string startTime_;
std::string regionId_;
};
} // namespace Model
} // namespace Adb

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_ADB_MODEL_DESCRIBESQLPATTERNATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPATTERNATTRIBUTEREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT DescribeSQLPatternAttributeRequest : public RpcServiceRequest {
public:
DescribeSQLPatternAttributeRequest();
~DescribeSQLPatternAttributeRequest();
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
long getPatternId() const;
void setPatternId(long patternId);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string dBClusterId_;
long patternId_;
std::string endTime_;
std::string startTime_;
std::string regionId_;
std::string lang_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPATTERNATTRIBUTEREQUEST_H_

View File

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

View File

@@ -34,6 +34,8 @@ public:
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 getSchemaName() const;
void setSchemaName(const std::string &schemaName);
std::string getResourceOwnerAccount() const;
@@ -48,6 +50,7 @@ public:
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string schemaName_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;

View File

@@ -34,6 +34,8 @@ public:
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getTaskId() const;
void setTaskId(int taskId);
std::string getResourceOwnerAccount() const;
@@ -48,6 +50,7 @@ public:
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
int taskId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;

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_DESCRIBEVSWITCHESREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEVSWITCHESREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT DescribeVSwitchesRequest : public RpcServiceRequest {
public:
DescribeVSwitchesRequest();
~DescribeVSwitchesRequest();
std::string getVswId() const;
void setVswId(const std::string &vswId);
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSecurityToken() const;
void setSecurityToken(const std::string &securityToken);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
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 getVpcId() const;
void setVpcId(const std::string &vpcId);
std::string getZoneId() const;
void setZoneId(const std::string &zoneId);
private:
std::string vswId_;
long resourceOwnerId_;
std::string accessKeyId_;
std::string securityToken_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string vpcId_;
std::string zoneId_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEVSWITCHESREQUEST_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_DESCRIBEVSWITCHESRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEVSWITCHESRESULT_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 DescribeVSwitchesResult : public ServiceResult
{
public:
struct VSwitches
{
struct VSwitchItem
{
std::string status;
bool isDefault;
std::string regionNo;
std::string izNo;
std::string gmtCreate;
std::string vSwitchId;
std::string gmtModified;
std::string cidrBlock;
std::string vSwitchName;
std::string bid;
std::string aliUid;
};
std::vector<VSwitchItem> vSwitch;
};
DescribeVSwitchesResult();
explicit DescribeVSwitchesResult(const std::string &payload);
~DescribeVSwitchesResult();
VSwitches getVSwitches()const;
protected:
void parse(const std::string &payload);
private:
VSwitches vSwitches_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEVSWITCHESRESULT_H_

View File

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

View File

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

View File

@@ -30,58 +30,58 @@ class ALIBABACLOUD_ADB_EXPORT DownloadDiagnosisRecordsRequest : public RpcServic
public:
DownloadDiagnosisRecordsRequest();
~DownloadDiagnosisRecordsRequest();
long getMaxScanSize() const;
void setMaxScanSize(long maxScanSize);
std::string getResourceGroup() const;
void setResourceGroup(const std::string &resourceGroup);
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
std::string getQueryCondition() const;
void setQueryCondition(const std::string &queryCondition);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
std::string getRawStartTime() const;
void setRawStartTime(const std::string &rawStartTime);
long getMinPeakMemory() const;
void setMinPeakMemory(long minPeakMemory);
std::string getRawEndTime() const;
void setRawEndTime(const std::string &rawEndTime);
long getMinScanSize() const;
void setMinScanSize(long minScanSize);
std::string getDatabase() const;
void setDatabase(const std::string &database);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getClientIp() const;
void setClientIp(const std::string &clientIp);
long getMaxPeakMemory() const;
void setMaxPeakMemory(long maxPeakMemory);
std::string getKeyword() const;
void setKeyword(const std::string &keyword);
std::string getLang() const;
void setLang(const std::string &lang);
long getMaxScanSize() const;
void setMaxScanSize(long maxScanSize);
std::string getResourceGroup() const;
void setResourceGroup(const std::string &resourceGroup);
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
long getMinPeakMemory() const;
void setMinPeakMemory(long minPeakMemory);
long getMinScanSize() const;
void setMinScanSize(long minScanSize);
long getMaxPeakMemory() const;
void setMaxPeakMemory(long maxPeakMemory);
std::string getUserName() const;
void setUserName(const std::string &userName);
private:
long maxScanSize_;
std::string resourceGroup_;
std::string dBClusterId_;
std::string queryCondition_;
std::string endTime_;
std::string startTime_;
std::string rawStartTime_;
long minPeakMemory_;
std::string rawEndTime_;
long minScanSize_;
std::string database_;
std::string regionId_;
std::string clientIp_;
long maxPeakMemory_;
std::string keyword_;
std::string lang_;
long maxScanSize_;
std::string resourceGroup_;
std::string dBClusterId_;
std::string endTime_;
long minPeakMemory_;
long minScanSize_;
long maxPeakMemory_;
std::string userName_;
};
} // namespace Model

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_ADB_MODEL_ENABLEADVICESERVICEREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_ENABLEADVICESERVICEREQUEST_H_
#include <alibabacloud/adb/AdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Adb {
namespace Model {
class ALIBABACLOUD_ADB_EXPORT EnableAdviceServiceRequest : public RpcServiceRequest {
public:
EnableAdviceServiceRequest();
~EnableAdviceServiceRequest();
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getDBClusterId() const;
void setDBClusterId(const std::string &dBClusterId);
private:
std::string regionId_;
std::string dBClusterId_;
};
} // namespace Model
} // namespace Adb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ADB_MODEL_ENABLEADVICESERVICEREQUEST_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_ADB_MODEL_ENABLEADVICESERVICERESULT_H_
#define ALIBABACLOUD_ADB_MODEL_ENABLEADVICESERVICERESULT_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 EnableAdviceServiceResult : public ServiceResult
{
public:
EnableAdviceServiceResult();
explicit EnableAdviceServiceResult(const std::string &payload);
~EnableAdviceServiceResult();
std::string getMessage()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_ENABLEADVICESERVICERESULT_H_

View File

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

View File

@@ -36,6 +36,8 @@ public:
void setDbClusterId(const std::string &dbClusterId);
std::string getUsedTime() const;
void setUsedTime(const std::string &usedTime);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getPayType() const;
void setPayType(const std::string &payType);
@@ -43,6 +45,7 @@ private:
std::string period_;
std::string dbClusterId_;
std::string usedTime_;
std::string accessKeyId_;
std::string payType_;
};
} // namespace Model

View File

@@ -30,6 +30,8 @@ class ALIBABACLOUD_ADB_EXPORT ModifyDBClusterRequest : public RpcServiceRequest
public:
ModifyDBClusterRequest();
~ModifyDBClusterRequest();
std::string getElasticIOResourceSize() const;
void setElasticIOResourceSize(const std::string &elasticIOResourceSize);
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId() const;
@@ -44,6 +46,8 @@ public:
void setRegionId(const std::string &regionId);
std::string getDBClusterCategory() const;
void setDBClusterCategory(const std::string &dBClusterCategory);
std::string getDiskPerformanceLevel() const;
void setDiskPerformanceLevel(const std::string &diskPerformanceLevel);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getDBClusterId() const;
@@ -66,6 +70,7 @@ public:
void setElasticIOResource(int elasticIOResource);
private:
std::string elasticIOResourceSize_;
long resourceOwnerId_;
std::string accessKeyId_;
std::string mode_;
@@ -73,6 +78,7 @@ private:
std::string dBNodeClass_;
std::string regionId_;
std::string dBClusterCategory_;
std::string diskPerformanceLevel_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;

View File

@@ -32,6 +32,8 @@ public:
~ModifyElasticPlanRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getElasticPlanType() const;
void setElasticPlanType(const std::string &elasticPlanType);
std::string getElasticPlanTimeStart() const;
void setElasticPlanTimeStart(const std::string &elasticPlanTimeStart);
std::string getElasticPlanEndDay() const;
@@ -40,6 +42,8 @@ public:
void setElasticPlanWeeklyRepeat(const std::string &elasticPlanWeeklyRepeat);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getElasticPlanWorkerSpec() const;
void setElasticPlanWorkerSpec(const std::string &elasticPlanWorkerSpec);
bool getElasticPlanEnable() const;
void setElasticPlanEnable(bool elasticPlanEnable);
std::string getElasticPlanTimeEnd() const;
@@ -63,10 +67,12 @@ public:
private:
long resourceOwnerId_;
std::string elasticPlanType_;
std::string elasticPlanTimeStart_;
std::string elasticPlanEndDay_;
std::string elasticPlanWeeklyRepeat_;
std::string accessKeyId_;
std::string elasticPlanWorkerSpec_;
bool elasticPlanEnable_;
std::string elasticPlanTimeEnd_;
std::string elasticPlanStartDay_;

View File

@@ -34,6 +34,8 @@ public:
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getEnableBackupLog() const;
void setEnableBackupLog(const std::string &enableBackupLog);
std::string getResourceOwnerAccount() const;
@@ -50,6 +52,7 @@ public:
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string enableBackupLog_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;

View File

@@ -34,6 +34,8 @@ public:
void setResourceOwnerId(long resourceOwnerId);
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);
std::string getSwitchTime() const;
@@ -50,6 +52,7 @@ public:
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string regionId_;
std::string switchTime_;
std::string resourceOwnerAccount_;

View File

@@ -87,6 +87,114 @@ AdbClient::AllocateClusterPublicConnectionOutcomeCallable AdbClient::allocateClu
return task->get_future();
}
AdbClient::ApplyAdviceByIdOutcome AdbClient::applyAdviceById(const ApplyAdviceByIdRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ApplyAdviceByIdOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ApplyAdviceByIdOutcome(ApplyAdviceByIdResult(outcome.result()));
else
return ApplyAdviceByIdOutcome(outcome.error());
}
void AdbClient::applyAdviceByIdAsync(const ApplyAdviceByIdRequest& request, const ApplyAdviceByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, applyAdviceById(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::ApplyAdviceByIdOutcomeCallable AdbClient::applyAdviceByIdCallable(const ApplyAdviceByIdRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ApplyAdviceByIdOutcome()>>(
[this, request]()
{
return this->applyAdviceById(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::AttachUserENIOutcome AdbClient::attachUserENI(const AttachUserENIRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AttachUserENIOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AttachUserENIOutcome(AttachUserENIResult(outcome.result()));
else
return AttachUserENIOutcome(outcome.error());
}
void AdbClient::attachUserENIAsync(const AttachUserENIRequest& request, const AttachUserENIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, attachUserENI(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::AttachUserENIOutcomeCallable AdbClient::attachUserENICallable(const AttachUserENIRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AttachUserENIOutcome()>>(
[this, request]()
{
return this->attachUserENI(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::BatchApplyAdviceByIdListOutcome AdbClient::batchApplyAdviceByIdList(const BatchApplyAdviceByIdListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BatchApplyAdviceByIdListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BatchApplyAdviceByIdListOutcome(BatchApplyAdviceByIdListResult(outcome.result()));
else
return BatchApplyAdviceByIdListOutcome(outcome.error());
}
void AdbClient::batchApplyAdviceByIdListAsync(const BatchApplyAdviceByIdListRequest& request, const BatchApplyAdviceByIdListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, batchApplyAdviceByIdList(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::BatchApplyAdviceByIdListOutcomeCallable AdbClient::batchApplyAdviceByIdListCallable(const BatchApplyAdviceByIdListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BatchApplyAdviceByIdListOutcome()>>(
[this, request]()
{
return this->batchApplyAdviceByIdList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::BindDBResourceGroupWithUserOutcome AdbClient::bindDBResourceGroupWithUser(const BindDBResourceGroupWithUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -555,6 +663,42 @@ AdbClient::DescribeAccountsOutcomeCallable AdbClient::describeAccountsCallable(c
return task->get_future();
}
AdbClient::DescribeAdviceServiceEnabledOutcome AdbClient::describeAdviceServiceEnabled(const DescribeAdviceServiceEnabledRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeAdviceServiceEnabledOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeAdviceServiceEnabledOutcome(DescribeAdviceServiceEnabledResult(outcome.result()));
else
return DescribeAdviceServiceEnabledOutcome(outcome.error());
}
void AdbClient::describeAdviceServiceEnabledAsync(const DescribeAdviceServiceEnabledRequest& request, const DescribeAdviceServiceEnabledAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeAdviceServiceEnabled(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeAdviceServiceEnabledOutcomeCallable AdbClient::describeAdviceServiceEnabledCallable(const DescribeAdviceServiceEnabledRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeAdviceServiceEnabledOutcome()>>(
[this, request]()
{
return this->describeAdviceServiceEnabled(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeAllAccountsOutcome AdbClient::describeAllAccounts(const DescribeAllAccountsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -627,6 +771,42 @@ AdbClient::DescribeAllDataSourceOutcomeCallable AdbClient::describeAllDataSource
return task->get_future();
}
AdbClient::DescribeAppliedAdvicesOutcome AdbClient::describeAppliedAdvices(const DescribeAppliedAdvicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeAppliedAdvicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeAppliedAdvicesOutcome(DescribeAppliedAdvicesResult(outcome.result()));
else
return DescribeAppliedAdvicesOutcome(outcome.error());
}
void AdbClient::describeAppliedAdvicesAsync(const DescribeAppliedAdvicesRequest& request, const DescribeAppliedAdvicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeAppliedAdvices(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeAppliedAdvicesOutcomeCallable AdbClient::describeAppliedAdvicesCallable(const DescribeAppliedAdvicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeAppliedAdvicesOutcome()>>(
[this, request]()
{
return this->describeAppliedAdvices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeAuditLogConfigOutcome AdbClient::describeAuditLogConfig(const DescribeAuditLogConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -735,6 +915,42 @@ AdbClient::DescribeAutoRenewAttributeOutcomeCallable AdbClient::describeAutoRene
return task->get_future();
}
AdbClient::DescribeAvailableAdvicesOutcome AdbClient::describeAvailableAdvices(const DescribeAvailableAdvicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeAvailableAdvicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeAvailableAdvicesOutcome(DescribeAvailableAdvicesResult(outcome.result()));
else
return DescribeAvailableAdvicesOutcome(outcome.error());
}
void AdbClient::describeAvailableAdvicesAsync(const DescribeAvailableAdvicesRequest& request, const DescribeAvailableAdvicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeAvailableAdvices(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeAvailableAdvicesOutcomeCallable AdbClient::describeAvailableAdvicesCallable(const DescribeAvailableAdvicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeAvailableAdvicesOutcome()>>(
[this, request]()
{
return this->describeAvailableAdvices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeAvailableResourceOutcome AdbClient::describeAvailableResource(const DescribeAvailableResourceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -879,6 +1095,42 @@ AdbClient::DescribeColumnsOutcomeCallable AdbClient::describeColumnsCallable(con
return task->get_future();
}
AdbClient::DescribeComputeResourceOutcome AdbClient::describeComputeResource(const DescribeComputeResourceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeComputeResourceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeComputeResourceOutcome(DescribeComputeResourceResult(outcome.result()));
else
return DescribeComputeResourceOutcome(outcome.error());
}
void AdbClient::describeComputeResourceAsync(const DescribeComputeResourceRequest& request, const DescribeComputeResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeComputeResource(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeComputeResourceOutcomeCallable AdbClient::describeComputeResourceCallable(const DescribeComputeResourceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeComputeResourceOutcome()>>(
[this, request]()
{
return this->describeComputeResource(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeConnectionCountRecordsOutcome AdbClient::describeConnectionCountRecords(const DescribeConnectionCountRecordsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -987,72 +1239,36 @@ AdbClient::DescribeDBClusterAttributeOutcomeCallable AdbClient::describeDBCluste
return task->get_future();
}
AdbClient::DescribeDBClusterForecastOutcome AdbClient::describeDBClusterForecast(const DescribeDBClusterForecastRequest &request) const
AdbClient::DescribeDBClusterHealthStatusOutcome AdbClient::describeDBClusterHealthStatus(const DescribeDBClusterHealthStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDBClusterForecastOutcome(endpointOutcome.error());
return DescribeDBClusterHealthStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDBClusterForecastOutcome(DescribeDBClusterForecastResult(outcome.result()));
return DescribeDBClusterHealthStatusOutcome(DescribeDBClusterHealthStatusResult(outcome.result()));
else
return DescribeDBClusterForecastOutcome(outcome.error());
return DescribeDBClusterHealthStatusOutcome(outcome.error());
}
void AdbClient::describeDBClusterForecastAsync(const DescribeDBClusterForecastRequest& request, const DescribeDBClusterForecastAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void AdbClient::describeDBClusterHealthStatusAsync(const DescribeDBClusterHealthStatusRequest& request, const DescribeDBClusterHealthStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDBClusterForecast(request), context);
handler(this, request, describeDBClusterHealthStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeDBClusterForecastOutcomeCallable AdbClient::describeDBClusterForecastCallable(const DescribeDBClusterForecastRequest &request) const
AdbClient::DescribeDBClusterHealthStatusOutcomeCallable AdbClient::describeDBClusterHealthStatusCallable(const DescribeDBClusterHealthStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDBClusterForecastOutcome()>>(
auto task = std::make_shared<std::packaged_task<DescribeDBClusterHealthStatusOutcome()>>(
[this, request]()
{
return this->describeDBClusterForecast(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeDBClusterHealthReportOutcome AdbClient::describeDBClusterHealthReport(const DescribeDBClusterHealthReportRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDBClusterHealthReportOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDBClusterHealthReportOutcome(DescribeDBClusterHealthReportResult(outcome.result()));
else
return DescribeDBClusterHealthReportOutcome(outcome.error());
}
void AdbClient::describeDBClusterHealthReportAsync(const DescribeDBClusterHealthReportRequest& request, const DescribeDBClusterHealthReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDBClusterHealthReport(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeDBClusterHealthReportOutcomeCallable AdbClient::describeDBClusterHealthReportCallable(const DescribeDBClusterHealthReportRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDBClusterHealthReportOutcome()>>(
[this, request]()
{
return this->describeDBClusterHealthReport(request);
return this->describeDBClusterHealthStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
@@ -1167,6 +1383,42 @@ AdbClient::DescribeDBClusterResourcePoolPerformanceOutcomeCallable AdbClient::de
return task->get_future();
}
AdbClient::DescribeDBClusterStatusOutcome AdbClient::describeDBClusterStatus(const DescribeDBClusterStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDBClusterStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDBClusterStatusOutcome(DescribeDBClusterStatusResult(outcome.result()));
else
return DescribeDBClusterStatusOutcome(outcome.error());
}
void AdbClient::describeDBClusterStatusAsync(const DescribeDBClusterStatusRequest& request, const DescribeDBClusterStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDBClusterStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeDBClusterStatusOutcomeCallable AdbClient::describeDBClusterStatusCallable(const DescribeDBClusterStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDBClusterStatusOutcome()>>(
[this, request]()
{
return this->describeDBClusterStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeDBClustersOutcome AdbClient::describeDBClusters(const DescribeDBClustersRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1311,6 +1563,42 @@ AdbClient::DescribeDiagnosisDimensionsOutcomeCallable AdbClient::describeDiagnos
return task->get_future();
}
AdbClient::DescribeDiagnosisMonitorPerformanceOutcome AdbClient::describeDiagnosisMonitorPerformance(const DescribeDiagnosisMonitorPerformanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDiagnosisMonitorPerformanceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDiagnosisMonitorPerformanceOutcome(DescribeDiagnosisMonitorPerformanceResult(outcome.result()));
else
return DescribeDiagnosisMonitorPerformanceOutcome(outcome.error());
}
void AdbClient::describeDiagnosisMonitorPerformanceAsync(const DescribeDiagnosisMonitorPerformanceRequest& request, const DescribeDiagnosisMonitorPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDiagnosisMonitorPerformance(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeDiagnosisMonitorPerformanceOutcomeCallable AdbClient::describeDiagnosisMonitorPerformanceCallable(const DescribeDiagnosisMonitorPerformanceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDiagnosisMonitorPerformanceOutcome()>>(
[this, request]()
{
return this->describeDiagnosisMonitorPerformance(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeDiagnosisRecordsOutcome AdbClient::describeDiagnosisRecords(const DescribeDiagnosisRecordsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1347,6 +1635,78 @@ AdbClient::DescribeDiagnosisRecordsOutcomeCallable AdbClient::describeDiagnosisR
return task->get_future();
}
AdbClient::DescribeDiagnosisSQLInfoOutcome AdbClient::describeDiagnosisSQLInfo(const DescribeDiagnosisSQLInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDiagnosisSQLInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDiagnosisSQLInfoOutcome(DescribeDiagnosisSQLInfoResult(outcome.result()));
else
return DescribeDiagnosisSQLInfoOutcome(outcome.error());
}
void AdbClient::describeDiagnosisSQLInfoAsync(const DescribeDiagnosisSQLInfoRequest& request, const DescribeDiagnosisSQLInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDiagnosisSQLInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeDiagnosisSQLInfoOutcomeCallable AdbClient::describeDiagnosisSQLInfoCallable(const DescribeDiagnosisSQLInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDiagnosisSQLInfoOutcome()>>(
[this, request]()
{
return this->describeDiagnosisSQLInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeDiagnosisTasksOutcome AdbClient::describeDiagnosisTasks(const DescribeDiagnosisTasksRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDiagnosisTasksOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDiagnosisTasksOutcome(DescribeDiagnosisTasksResult(outcome.result()));
else
return DescribeDiagnosisTasksOutcome(outcome.error());
}
void AdbClient::describeDiagnosisTasksAsync(const DescribeDiagnosisTasksRequest& request, const DescribeDiagnosisTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDiagnosisTasks(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeDiagnosisTasksOutcomeCallable AdbClient::describeDiagnosisTasksCallable(const DescribeDiagnosisTasksRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDiagnosisTasksOutcome()>>(
[this, request]()
{
return this->describeDiagnosisTasks(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeDownloadRecordsOutcome AdbClient::describeDownloadRecords(const DescribeDownloadRecordsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1383,6 +1743,42 @@ AdbClient::DescribeDownloadRecordsOutcomeCallable AdbClient::describeDownloadRec
return task->get_future();
}
AdbClient::DescribeEIURangeOutcome AdbClient::describeEIURange(const DescribeEIURangeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeEIURangeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeEIURangeOutcome(DescribeEIURangeResult(outcome.result()));
else
return DescribeEIURangeOutcome(outcome.error());
}
void AdbClient::describeEIURangeAsync(const DescribeEIURangeRequest& request, const DescribeEIURangeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeEIURange(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeEIURangeOutcomeCallable AdbClient::describeEIURangeCallable(const DescribeEIURangeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeEIURangeOutcome()>>(
[this, request]()
{
return this->describeEIURange(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeElasticDailyPlanOutcome AdbClient::describeElasticDailyPlan(const DescribeElasticDailyPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1707,42 +2103,6 @@ AdbClient::DescribeRegionsOutcomeCallable AdbClient::describeRegionsCallable(con
return task->get_future();
}
AdbClient::DescribeSQLPatternAttributeOutcome AdbClient::describeSQLPatternAttribute(const DescribeSQLPatternAttributeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeSQLPatternAttributeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeSQLPatternAttributeOutcome(DescribeSQLPatternAttributeResult(outcome.result()));
else
return DescribeSQLPatternAttributeOutcome(outcome.error());
}
void AdbClient::describeSQLPatternAttributeAsync(const DescribeSQLPatternAttributeRequest& request, const DescribeSQLPatternAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeSQLPatternAttribute(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeSQLPatternAttributeOutcomeCallable AdbClient::describeSQLPatternAttributeCallable(const DescribeSQLPatternAttributeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeSQLPatternAttributeOutcome()>>(
[this, request]()
{
return this->describeSQLPatternAttribute(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeSQLPatternsOutcome AdbClient::describeSQLPatterns(const DescribeSQLPatternsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2211,6 +2571,114 @@ AdbClient::DescribeTaskInfoOutcomeCallable AdbClient::describeTaskInfoCallable(c
return task->get_future();
}
AdbClient::DescribeVSwitchesOutcome AdbClient::describeVSwitches(const DescribeVSwitchesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeVSwitchesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeVSwitchesOutcome(DescribeVSwitchesResult(outcome.result()));
else
return DescribeVSwitchesOutcome(outcome.error());
}
void AdbClient::describeVSwitchesAsync(const DescribeVSwitchesRequest& request, const DescribeVSwitchesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeVSwitches(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeVSwitchesOutcomeCallable AdbClient::describeVSwitchesCallable(const DescribeVSwitchesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeVSwitchesOutcome()>>(
[this, request]()
{
return this->describeVSwitches(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DetachUserENIOutcome AdbClient::detachUserENI(const DetachUserENIRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DetachUserENIOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DetachUserENIOutcome(DetachUserENIResult(outcome.result()));
else
return DetachUserENIOutcome(outcome.error());
}
void AdbClient::detachUserENIAsync(const DetachUserENIRequest& request, const DetachUserENIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, detachUserENI(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DetachUserENIOutcomeCallable AdbClient::detachUserENICallable(const DetachUserENIRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DetachUserENIOutcome()>>(
[this, request]()
{
return this->detachUserENI(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DisableAdviceServiceOutcome AdbClient::disableAdviceService(const DisableAdviceServiceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DisableAdviceServiceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DisableAdviceServiceOutcome(DisableAdviceServiceResult(outcome.result()));
else
return DisableAdviceServiceOutcome(outcome.error());
}
void AdbClient::disableAdviceServiceAsync(const DisableAdviceServiceRequest& request, const DisableAdviceServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, disableAdviceService(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DisableAdviceServiceOutcomeCallable AdbClient::disableAdviceServiceCallable(const DisableAdviceServiceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DisableAdviceServiceOutcome()>>(
[this, request]()
{
return this->disableAdviceService(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DownloadDiagnosisRecordsOutcome AdbClient::downloadDiagnosisRecords(const DownloadDiagnosisRecordsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2247,6 +2715,42 @@ AdbClient::DownloadDiagnosisRecordsOutcomeCallable AdbClient::downloadDiagnosisR
return task->get_future();
}
AdbClient::EnableAdviceServiceOutcome AdbClient::enableAdviceService(const EnableAdviceServiceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return EnableAdviceServiceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return EnableAdviceServiceOutcome(EnableAdviceServiceResult(outcome.result()));
else
return EnableAdviceServiceOutcome(outcome.error());
}
void AdbClient::enableAdviceServiceAsync(const EnableAdviceServiceRequest& request, const EnableAdviceServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, enableAdviceService(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::EnableAdviceServiceOutcomeCallable AdbClient::enableAdviceServiceCallable(const EnableAdviceServiceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<EnableAdviceServiceOutcome()>>(
[this, request]()
{
return this->enableAdviceService(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::GrantOperatorPermissionOutcome AdbClient::grantOperatorPermission(const GrantOperatorPermissionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2355,6 +2859,42 @@ AdbClient::ListTagResourcesOutcomeCallable AdbClient::listTagResourcesCallable(c
return task->get_future();
}
AdbClient::MigrateDBClusterOutcome AdbClient::migrateDBCluster(const MigrateDBClusterRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return MigrateDBClusterOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return MigrateDBClusterOutcome(MigrateDBClusterResult(outcome.result()));
else
return MigrateDBClusterOutcome(outcome.error());
}
void AdbClient::migrateDBClusterAsync(const MigrateDBClusterRequest& request, const MigrateDBClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, migrateDBCluster(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::MigrateDBClusterOutcomeCallable AdbClient::migrateDBClusterCallable(const MigrateDBClusterRequest &request) const
{
auto task = std::make_shared<std::packaged_task<MigrateDBClusterOutcome()>>(
[this, request]()
{
return this->migrateDBCluster(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::ModifyAccountDescriptionOutcome AdbClient::modifyAccountDescription(const ModifyAccountDescriptionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/ApplyAdviceByIdRequest.h>
using AlibabaCloud::Adb::Model::ApplyAdviceByIdRequest;
ApplyAdviceByIdRequest::ApplyAdviceByIdRequest()
: RpcServiceRequest("adb", "2019-03-15", "ApplyAdviceById") {
setMethod(HttpRequest::Method::Post);
}
ApplyAdviceByIdRequest::~ApplyAdviceByIdRequest() {}
std::string ApplyAdviceByIdRequest::getAdviceId() const {
return adviceId_;
}
void ApplyAdviceByIdRequest::setAdviceId(const std::string &adviceId) {
adviceId_ = adviceId;
setParameter(std::string("AdviceId"), adviceId);
}
std::string ApplyAdviceByIdRequest::getDBClusterId() const {
return dBClusterId_;
}
void ApplyAdviceByIdRequest::setDBClusterId(const std::string &dBClusterId) {
dBClusterId_ = dBClusterId;
setParameter(std::string("DBClusterId"), dBClusterId);
}
long ApplyAdviceByIdRequest::getAdviceDate() const {
return adviceDate_;
}
void ApplyAdviceByIdRequest::setAdviceDate(long adviceDate) {
adviceDate_ = adviceDate;
setParameter(std::string("AdviceDate"), std::to_string(adviceDate));
}
std::string ApplyAdviceByIdRequest::getRegionId() const {
return regionId_;
}
void ApplyAdviceByIdRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setParameter(std::string("RegionId"), regionId);
}

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