Compare commits

..

360 Commits

Author SHA1 Message Date
sdk-team
4833822295 Support Private RDS management through OpenAPI. 2021-05-14 07:42:58 +00:00
sdk-team
21407b1822 Support Private RDS management through OpenAPI. 2021-05-14 07:33:43 +00:00
sdk-team
900bb894d0 Support query quota. 2021-05-13 06:24:32 +00:00
sdk-team
36c89057b5 Generated 2020-01-01 for ddoscoo. 2021-05-13 06:16:12 +00:00
sdk-team
f7f5568da6 Add Indexing-Service support. 2021-05-13 02:50:56 +00:00
sdk-team
ae995d3475 Add GetRepositoryCommit and ListRepositoryCommitDiff API. 2021-05-12 14:20:44 +00:00
sdk-team
667d50d279 Create Lindorm Open api. 2021-05-12 12:05:25 +00:00
sdk-team
be6457df4f Generated 2020-05-18 for dataworks-public. 2021-05-12 06:20:08 +00:00
sdk-team
afefd8895c Generated 2020-05-18 for dataworks-public. 2021-05-11 11:40:26 +00:00
sdk-team
8267386d41 CreateInstance API add Port, Tags, DryRun. 2021-05-11 09:14:57 +00:00
sdk-team
7ef6eafff4 SDK device authorization API. 2021-05-11 09:03:28 +00:00
sdk-team
6ac69f79bc Update RecognizeDriverLicense RecognizeLicensePlate. 2021-05-10 08:27:01 +00:00
sdk-team
6234d4fd3d Add API GenerateMergedTable. 2021-05-10 04:26:12 +00:00
sdk-team
72f080a1b3 Delete API. 2021-05-10 02:43:42 +00:00
sdk-team
01a8086b8f Delete live API. 2021-05-10 02:41:10 +00:00
sdk-team
131a52ee78 Delete Api. 2021-05-10 02:39:56 +00:00
sdk-team
761c9a617d Delete API. 2021-05-10 02:39:01 +00:00
sdk-team
d2744d517f Support SLB DescribeLoadBalancerListeners. 2021-05-08 07:41:28 +00:00
sdk-team
28a3fe7592 Generated 2020-05-18 for dataworks-public. 2021-05-08 07:12:15 +00:00
sdk-team
e14cc7c0eb Generated 2018-01-20 for Iot. 2021-05-08 06:02:16 +00:00
wb-hx510875
f063a7bdba fix: clear pop meta files 2021-05-08 11:04:23 +08:00
wb-hx510875
80acb7552c fix: free list before return #132 2021-05-08 11:04:08 +08:00
sdk-team
414c6ef77f Generated 2018-07-13 for Ft. 2021-05-08 02:13:23 +00:00
wb-hx510875
90a140992d fix: clear pop meta files 2021-05-08 10:12:13 +08:00
sdk-team
a2e2d09381 Generated 2019-09-16 for alikafka. 2021-05-08 01:36:02 +00:00
sdk-team
8502ce8db8 Support interface DescribeDBInstanceEncryptionKey for DB Instance Cloud Disk Encryption. 2021-05-07 07:32:31 +00:00
sdk-team
1d202f4d30 Generated 2016-11-01 for live. 2021-05-06 12:57:31 +00:00
sdk-team
e148041dec Update Open API. 2021-05-06 06:34:34 +00:00
sdk-team
111ecd0032 Support DescribePolarSQLCollectorPolicy. 2021-05-06 03:22:27 +00:00
sdk-team
21d4a23230 Add OpenArmsServiceSecondVersion. 2021-04-30 10:10:04 +00:00
sdk-team
cb1404c3d4 ModifyNodeSpec API add SwitchTime. 2021-04-29 13:51:28 +00:00
sdk-team
29d344ab59 Add DescribeInstances API. 2021-04-29 13:45:05 +00:00
sdk-team
0a9554513b Update RecognizeFace. 2021-04-29 08:45:54 +00:00
sdk-team
59d443c7d1 Support sag reseller. 2021-04-29 08:13:07 +00:00
sdk-team
31ce8cba5d Support latest openAPIs. 2021-04-29 06:10:40 +00:00
sdk-team
e1ae9bd807 Export new API. 2021-04-28 11:29:00 +00:00
sdk-team
3fdcb5b22c GetProjectMember support pageSize. 2021-04-27 12:15:58 +00:00
sdk-team
431638f102 Generated 2016-11-01 for live. 2021-04-27 09:19:10 +00:00
sdk-team
ba63e32429 Add CustomMessage to CreateMergeFaceGroupsJob. 2021-04-27 03:15:10 +00:00
sdk-team
3525d60729 Generated 2019-06-01 for smc. 2021-04-26 07:37:20 +00:00
sdk-team
bc4cc968c2 Support NetworkInterface TrafficMode. 2021-04-22 13:19:55 +00:00
sdk-team
863129ac92 AcceptInquiredSystemEvent adds Choice parameter. 2021-04-22 07:36:19 +00:00
sdk-team
bfee7629d7 Support CEN latest Apis. 2021-04-22 05:36:14 +00:00
sdk-team
9f6ab32ea8 Support GetPhysicalDatabase API. 2021-04-22 00:53:39 +00:00
sdk-team
127ebd7d3a Add API to list repo members with group inherited info. 2021-04-21 13:51:09 +00:00
sdk-team
9b9e034594 Support Tag. 2021-04-20 12:56:16 +00:00
sdk-team
f13956ad50 Export predictive dialer API. 2021-04-20 10:14:55 +00:00
sdk-team
294c94c2ec Create Lindorm Open api. 2021-04-20 08:25:03 +00:00
sdk-team
c2b59302fa LivenessFaceVerify ContrastFaceVerify CompareFaceVerify API Return CertifyId. 2021-04-20 02:25:27 +00:00
sdk-team
742ad5f67c Export StartBack2BackCall API. 2021-04-19 01:48:39 +00:00
sdk-team
099ec7bb13 Generated 2020-10-29 for reid_cloud. 2021-04-19 01:39:51 +00:00
sdk-team
b972642ffe Update RunMedQA. 2021-04-17 02:36:08 +00:00
sdk-team
ed4870b066 Support devops organization deletion. 2021-04-16 12:53:35 +00:00
sdk-team
5ce3266e7f Add CheckProductOpen. 2021-04-16 12:02:38 +00:00
sdk-team
d850c22c0f Generated 2020-10-29 for reid_cloud. 2021-04-16 10:02:07 +00:00
sdk-team
363f56d62b Add API GetDomain. 2021-04-16 03:27:38 +00:00
sdk-team
cd4b584e15 Support latest openAPIs. 2021-04-14 13:20:04 +00:00
sdk-team
f9eb4e30b8 Delete MultiMedia Post Scan API. 2021-04-14 08:55:31 +00:00
sdk-team
8a1b4cb025 Download url add fixed domain. 2021-04-14 08:03:12 +00:00
sdk-team
8e714a46bd Supported ConfigureDtsJob SynchronizationDirection. 2021-04-13 15:18:44 +00:00
sdk-team
97286a49ca Release AddFaceVideoTemplate DeleteFaceVideoTemplate QueryFaceVideoTemplate MergeVideoModelFace. 2021-04-13 02:28:45 +00:00
sdk-team
4053c3aebe Export config api. 2021-04-12 12:39:25 +00:00
sdk-team
5df89b5fa1 Support GetDBTopology API. 2021-04-12 01:57:55 +00:00
sdk-team
08b85b98e8 Bank Card Ocr and Verify. 2021-04-09 07:13:41 +00:00
sdk-team
8712582b42 Update API param. 2021-04-09 04:02:49 +00:00
sdk-team
00cc6ef6d2 Supported ModifyDtsJob and DeleteDtsJob. 2021-04-08 12:33:24 +00:00
sdk-team
b4aaee558a Add DetectIPCVideoObject. 2021-04-08 11:36:51 +00:00
sdk-team
bc4ce30725 Release DetectVideoIPCObject. 2021-04-08 06:21:50 +00:00
sdk-team
8375b83a58 Release MonitorExamination. 2021-04-06 02:15:14 +00:00
sdk-team
bd478f9248 Update ScreenChestCT DetectRibFracture. 2021-04-06 02:11:14 +00:00
sdk-team
731984c18d Add data service api, including ListAnalyticsData. 2021-04-01 06:55:44 +00:00
sdk-team
e43b1b44eb Ecs support hibernation. 2021-03-31 03:10:50 +00:00
sdk-team
89af6ee13c Generated 2020-05-18 for dataworks-public. 2021-03-30 11:00:53 +00:00
sdk-team
f9af6ccd3b Generated 2020-05-18 for dataworks-public. 2021-03-30 10:46:21 +00:00
sdk-team
8ded49c937 Generated 2020-11-26 for Airec. 2021-03-30 10:23:32 +00:00
sdk-team
e068b16a50 Supported MultiMedia Post scan. 2021-03-30 09:14:39 +00:00
sdk-team
b19dda8c9c Supported Open Api. 2021-03-30 06:53:32 +00:00
sdk-team
eab9b1c791 Supported Open Api. 2021-03-30 06:51:28 +00:00
sdk-team
48b0bd9d72 Support ListDDLPublishRecords API. 2021-03-30 03:44:35 +00:00
sdk-team
33bddb5fa9 Add CreateAndStartBackupPlan. 2021-03-30 02:53:19 +00:00
sdk-team
fe3d15f458 Update api. 2021-03-26 06:38:23 +00:00
sdk-team
89a8603f07 Add RenewAdditionalBandwidth API. 2021-03-26 03:14:09 +00:00
sdk-team
60ce4db95b Upgrade mongodb sdk. 2021-03-26 03:03:55 +00:00
sdk-team
13a982588e Add DescribeInstanceBill. 2021-03-25 09:25:16 +00:00
sdk-team
8326f67554 Release autoscaling apis for timer features. 2021-03-25 07:14:27 +00:00
sdk-team
a78d942597 Change indicator date type of ListHistoriticalAgentReport. 2021-03-25 03:22:38 +00:00
sdk-team
f5ff8be154 Export new API. 2021-03-24 08:08:32 +00:00
sdk-team
f643b898e1 Update Open API. 2021-03-23 06:06:27 +00:00
sdk-team
9a93cda144 CreateEai api adds SecurityGroupId, VSwitchId parameters. 2021-03-22 07:38:51 +00:00
sdk-team
38069f174e Add OneConsole support. 2021-03-22 07:19:56 +00:00
sdk-team
1d8dd66a68 Support watermark. 2021-03-21 08:34:06 +00:00
sdk-team
63f0722c6d StateConfiguration in CreateStateConfigurationResponse changes from list to single object. 2021-03-19 08:45:51 +00:00
sdk-team
7035fc5c51 Modify the helpUrl parameter of OnsTopicList and OnsGroupList API to be invisible. 2021-03-19 07:05:02 +00:00
sdk-team
9ae3c0fe88 Export new API. 2021-03-19 06:52:01 +00:00
sdk-team
5b50c4167b Export new API for predictive dialer. 2021-03-19 06:47:12 +00:00
sdk-team
edf8a946ea Edit GetTrace api. 2021-03-18 12:30:09 +00:00
sdk-team
99896a3333 Generated 2020-05-18 for dataworks-public. 2021-03-18 11:10:31 +00:00
sdk-team
c58473aed2 Add organizaition security center API. 2021-03-17 13:37:55 +00:00
sdk-team
7ffed3a8a9 EnableAdditionalBandwidth API add SourceBiz. 2021-03-17 11:41:32 +00:00
sdk-team
61a55dc054 Add group alarm rule resource extension parameter. 2021-03-17 05:41:17 +00:00
sdk-team
efec5ec9dd Update MakeSuperResolutionImage. 2021-03-17 02:40:12 +00:00
sdk-team
d1c908e90c Supported aliyun cloud environment. 2021-03-16 03:21:35 +00:00
sdk-team
c955ba458b Increase availability monitoring increase HTP header. 2021-03-15 11:49:22 +00:00
sdk-team
084004a767 Generated 2018-07-13 for Ft. 2021-03-14 16:06:49 +00:00
sdk-team
4e727b1112 Generated 2018-07-13 for Ft. 2021-03-14 16:03:35 +00:00
sdk-team
0c63e79f38 Supportd DescribeTableStatisticsRequest. 2021-03-13 12:16:02 +00:00
sdk-team
73de909903 Add EnableAdditionalBandwidth API. 2021-03-12 07:34:08 +00:00
sdk-team
6a93a60bb8 Supported batch delete for contact template. 2021-03-12 02:46:52 +00:00
sdk-team
75b14a0c8b Update DetectIPCPedestrian. 2021-03-11 13:44:29 +00:00
sdk-team
0d4cefc40f Generated 2020-05-18 for dataworks-public. 2021-03-10 15:20:52 +00:00
sdk-team
c725ffee28 Export new API for predictive dialer. 2021-03-09 02:56:16 +00:00
sdk-team
0b756cf361 Support Mysql Parameter Group API. 2021-03-08 12:06:57 +00:00
sdk-team
3293c5bfce Update CreateAndStartBackupPlan Response with createBackupSet. 2021-03-08 12:03:04 +00:00
sdk-team
a4e8a24f48 Generated 2020-05-18 for dataworks-public. 2021-03-08 05:55:37 +00:00
sdk-team
65f76cc2c8 Generated 2020-05-18 for dataworks-public. 2021-03-08 03:22:15 +00:00
wb-hx510875
40170293c2 chore: patch readme 2021-03-05 14:52:21 +08:00
sdk-team
14ab21ae79 Release RecognizeHandGesture. 2021-03-04 10:08:57 +00:00
sdk-team
fa0a602cf6 Update Ocr. 2021-03-04 06:15:46 +00:00
sdk-team
b38385d35f Add GetRepositoryTagV2 and DeleteRepositoryTagV2 API. 2021-03-03 13:47:48 +00:00
sdk-team
11e91aaf29 Update Compareface. 2021-03-03 09:59:02 +00:00
sdk-team
e7a7f82edc Update Open API. 2021-03-03 09:49:02 +00:00
sdk-team
7360f5cf79 Support TableStructSync Order API. 2021-03-03 07:57:50 +00:00
sdk-team
aa07136890 Add Api. 2021-03-03 07:06:26 +00:00
sdk-team
1ffa242729 Delete API. 2021-03-03 06:57:52 +00:00
sdk-team
76793cff83 Generated 2018-06-01 for dataworks-public. 2021-03-03 06:34:18 +00:00
sdk-team
d5c4d3d92a Update ScreenChestCT. 2021-03-03 02:43:48 +00:00
sdk-team
ed6a90e129 Update default endpoints. 2021-03-02 11:48:59 +00:00
sdk-team
d838ddc386 Supported API for dnsCache. 2021-03-02 10:57:02 +00:00
sdk-team
b22b8d5846 Support GroupCoverFace ExternalId for ListFaceGroups. 2021-03-02 06:12:20 +00:00
sdk-team
36c78f0497 AMP Version Change. 2021-03-01 07:10:25 +00:00
sdk-team
78e7f635c2 AMP Version Change. 2021-02-28 08:57:05 +00:00
sdk-team
d57006bd72 Add TaskId for DescribeMigrationJobStatus, DescribeSubscriptionInstanceStatus, DescribeSynchronizationJobStatus. 2021-02-26 07:19:42 +00:00
sdk-team
4017f787f4 Support SLR by InitializeDbsServiceLinkedRole action. 2021-02-26 03:39:03 +00:00
sdk-team
9f93cb2d7c Support SLR by InitializeDbsServiceLinkedRole action. 2021-02-25 14:39:45 +00:00
sdk-team
fc224224bd Generated 2020-05-18 for dataworks-public. 2021-02-25 09:20:41 +00:00
sdk-team
f9099c0746 Generated 2020-05-18 for dataworks-public. 2021-02-24 12:38:14 +00:00
sdk-team
dcc90161eb ALL API. 2021-02-24 11:40:34 +00:00
sdk-team
7bde7a21f4 Supported List Namespaces. 2021-02-23 02:22:22 +00:00
sdk-team
e912c2adc5 Support input parameter DeploymentSetId for CreateAutoProvisioningGroup. 2021-02-22 08:42:47 +00:00
sdk-team
82cfdabb16 Generated 2020-01-11 for servicemesh. 2021-02-19 08:11:59 +00:00
sdk-team
a009cbcc4f Add new API for recording. 2021-02-19 08:09:01 +00:00
sdk-team
3338987506 Add API OpenOnsService which can active ons service. 2021-02-19 08:06:57 +00:00
sdk-team
ef67947d20 Generated 2018-06-01 for dataworks-public. 2021-02-19 08:04:30 +00:00
sdk-team
42440e1078 Update SegmentBody. 2021-02-19 08:03:06 +00:00
sdk-team
44de17f30a DescribeAvailableResource support list available resource for modify instance. 2021-02-19 08:01:30 +00:00
sdk-team
1f7ee9ecc1 Update SetVideoSeekConfig. 2021-02-19 07:58:20 +00:00
sdk-team
b5cb1df9e3 Release InterpolateVideoFrame. 2021-02-19 07:57:14 +00:00
sdk-team
03b5f7b37b Create TSDB Open api. 2021-02-19 07:53:30 +00:00
sdk-team
9bf214bc2c Add. 2021-02-19 07:52:20 +00:00
sdk-team
9bdc7d4fa5 Generated 2019-01-01 for Cassandra. 2021-02-19 07:51:13 +00:00
sdk-team
80f230d35a Supported API for GTM. 2021-02-19 07:50:09 +00:00
sdk-team
0faf3e6ffa Support CPP and Go and PHP. 2021-02-19 07:48:16 +00:00
sdk-team
3dcd83a4f3 Support some MergeRequest API. 2021-02-19 07:44:26 +00:00
sdk-team
052017ee0a Fix IoT Studio BatchBindDevicesIntoProject API return datatype. 2021-02-08 10:32:04 +00:00
sdk-team
cbf2412b29 Add username for RunCommand and InvokeCommand. 2021-02-08 09:37:31 +00:00
sdk-team
9fd09665ff Update PedestrianDetectAttribute. 2021-02-08 02:28:57 +00:00
sdk-team
7964674af1 Add IoT Studio BatchBindDevicesIntoProject API. 2021-02-07 13:38:41 +00:00
sdk-team
38db21928a Support patch manager apis. 2021-02-07 10:02:16 +00:00
sdk-team
4899593377 Support some MergeRequest API. 2021-02-07 09:05:00 +00:00
sdk-team
ecf3cb4bb0 Generated 2020-05-18 for dataworks-public. 2021-02-05 09:47:20 +00:00
sdk-team
7b2178ef7c Update Open API. 2021-02-05 06:57:25 +00:00
sdk-team
de338b6bec Generated 2020-05-18 for dataworks-public. 2021-02-05 02:30:31 +00:00
sdk-team
272a1c1466 Update DetectVehicleIllegalParking DetectVehicleICongestion. 2021-02-04 10:01:29 +00:00
sdk-team
ee902a7f28 Supported scheduler for outbound call. 2021-02-04 06:57:45 +00:00
sdk-team
fb12252d2d Supported console. 2021-02-04 06:34:05 +00:00
sdk-team
6e4fea5ea2 Supported console. 2021-02-04 06:22:03 +00:00
sdk-team
1b54ddd725 Update TaggingImage. 2021-02-04 05:53:32 +00:00
sdk-team
6e5ba8761d After normalizing the API group name, regenerate the SDK. 2021-02-03 08:45:46 +00:00
sdk-team
e71ef9a243 Add ModifyAuditLogConfig API. 2021-02-03 08:24:56 +00:00
sdk-team
17af8569c4 Add. 2021-02-02 03:03:51 +00:00
sdk-team
4c3be7ed7c CreateShardingDBInstance add ReadOnlyReplicas in ReplicaSet. 2021-02-02 02:17:28 +00:00
sdk-team
3303c6120d Support device credential for mqtt. 2021-02-01 13:23:11 +00:00
sdk-team
d0e1cd8792 Release GenerateHumanSketchStyle MergeImageFace AddFaceImageTemplate QueryFaceImageTemplate DeleteFaceImageTemplate. 2021-02-01 09:17:16 +00:00
sdk-team
7859e7446f Add. 2021-02-01 09:05:26 +00:00
sdk-team
8296e36314 Release GenerateHumanSketchStyle MergeImageFace AddFaceImageTemplate QueryFaceImageTemplate DeleteFaceImageTemplate. 2021-02-01 03:14:50 +00:00
sdk-team
0af9554cab Release RecognizeFood. 2021-02-01 03:11:32 +00:00
sdk-team
5590f7808b Release UnderstandVideoContent. 2021-02-01 03:00:50 +00:00
sdk-team
df825120f3 Release SegmentGreenScreenVideo. 2021-02-01 02:41:37 +00:00
sdk-team
e0575e4c67 Release DetectVehicleIllegalParking DetectVehicleICongestion. 2021-02-01 02:22:23 +00:00
sdk-team
4b58532ad0 ConvertInstance. 2021-01-31 06:31:46 +00:00
sdk-team
4e4d3730de Update rate limit. 2021-01-30 10:13:58 +00:00
sdk-team
90d44564e0 Update Monitor Api. 2021-01-29 04:28:56 +00:00
sdk-team
0553d7374d Update Monitor Api. 2021-01-29 03:36:09 +00:00
sdk-team
e84530679a Update Open API. 2021-01-29 02:35:09 +00:00
sdk-team
b3ae2c61f0 Generated 2020-05-18 for dataworks-public. 2021-01-29 02:21:39 +00:00
sdk-team
38eb8f243a Generated 2018-03-13 for retailcloud. 2021-01-28 03:37:50 +00:00
sdk-team
caf80426a4 Add New BatchTranslate API. 2021-01-27 07:27:58 +00:00
sdk-team
9b90cedcbb Add New BatchTranslate API. 2021-01-27 07:24:40 +00:00
sdk-team
99cbb7279f DetectFaceAttributes Add Score. 2021-01-27 06:44:31 +00:00
sdk-team
9c94805a97 Support ModifyDBClusterPrimaryZone timer task. 2021-01-26 09:39:00 +00:00
sdk-team
198969d4d9 Regenerate SDK to override list implement. 2021-01-25 12:50:16 +00:00
sdk-team
eaa6b3cb18 Update Open API. 2021-01-25 02:08:21 +00:00
sdk-team
32dccef2ae Modify some field types. 2021-01-21 11:44:22 +00:00
sdk-team
baae93b317 Generated 2019-09-10 for waf-openapi. 2021-01-21 08:24:23 +00:00
sdk-team
6ff5b2e255 Add. 2021-01-21 06:23:25 +00:00
sdk-team
65a6e6b64f Supported RunInstances specifiy Dedicated Host Cluster Id. 2021-01-21 04:16:31 +00:00
sdk-team
0802c5d8b0 Update Function. 2021-01-19 11:14:44 +00:00
sdk-team
31aec3f28f Generated 2019-03-27 for dg. 2021-01-18 13:58:07 +00:00
sdk-team
f3fbed5766 Add a set of API to support device distribution management, including CreateProductDistributeJob, CreateDeviceDistributeJob, QueryDeviceDistributeJob, ListDeviceDistributeJob, QueryDeviceDistributeDetail, DeleteDeviceDistributeJob, ListDistributedDevice, ListDistributedProduct etc. 2021-01-18 04:06:53 +00:00
sdk-team
a81d0c4daa Add a set of api to support device distribution management, including CreateProductDistributeJob, CreateDeviceDistributeJob, QueryDeviceDistributeJob, ListDeviceDistributeJob, QueryDeviceDistributeDetail, DeleteDeviceDistributeJob, ListDistributedDevice, ListDistributedProduct etc. 2021-01-18 03:56:25 +00:00
sdk-team
76821f71df Add ListMergeRequests api. 2021-01-18 03:54:49 +00:00
sdk-team
4d618db251 Add result value spanId for GetTrace api. 2021-01-15 12:29:31 +00:00
sdk-team
5def51b35c Update Function. 2021-01-15 08:43:24 +00:00
sdk-team
740062e96f Update Function. 2021-01-15 06:40:36 +00:00
sdk-team
2d49d2072f Add API CreateSortScriptValidation. 2021-01-15 03:59:05 +00:00
sdk-team
1794d57757 Remove drcGuidRouteApi, ModifyDtsJobPassword API. 2021-01-15 03:25:16 +00:00
sdk-team
2f7735992b Generated 2016-11-01 for live. 2021-01-15 01:37:20 +00:00
sdk-team
c97337aa82 Add function. 2021-01-14 11:04:54 +00:00
sdk-team
406b8fba46 Add BillingDate support in QueryAccontBill. 2021-01-14 10:19:58 +00:00
sdk-team
2f2b3aa219 Update Open API. 2021-01-14 09:38:15 +00:00
sdk-team
64d4eb1931 Update function. 2021-01-14 04:47:50 +00:00
sdk-team
bbbd1121ca Fixed ListUsers, GetUser, EnableUser, RegisterUser, DisableUser, DeleteUser API parameter of uid data type error, from number into string. 2021-01-14 03:48:26 +00:00
sdk-team
8b8f380da8 Create Lindorm Open api. 2021-01-14 02:25:43 +00:00
sdk-team
f801094376 Add SwitchInstanceHA API. 2021-01-13 12:34:19 +00:00
sdk-team
9d21a76b23 Add support for IoT jobs, including job management and query APIs like CreateJob, UpdateJob, QueryJob, CancelJob, ListTask, QueryTask, QueryJobStatistics etc. 2021-01-13 08:39:41 +00:00
sdk-team
e8a74f4418 Generated 2016-11-01 for live. 2021-01-13 02:08:35 +00:00
sdk-team
f4ed9edc5e Add new API for recording. 2021-01-12 12:26:02 +00:00
sdk-team
e699b34aee Create a new sdk. 2021-01-11 08:55:44 +00:00
sdk-team
4f16d1bd02 Add result value spanId for GetTrace api. 2021-01-11 06:43:17 +00:00
sdk-team
5bf58dc5b5 Support DescribeScheduleTasks. 2021-01-11 02:54:26 +00:00
sdk-team
405237dd06 Added batch drop list domain. 2021-01-08 03:07:58 +00:00
sdk-team
681409a561 Add new API for configuration and report, generate SDK again. 2021-01-08 02:38:27 +00:00
sdk-team
2cd64902ff Add new API for configuration and report. 2021-01-07 13:21:47 +00:00
sdk-team
9c8cdd32a3 Add CreateAndStartBackupPlan. 2021-01-07 12:29:27 +00:00
sdk-team
8af7b49fe1 Generated 2019-09-10 for waf-openapi. 2021-01-07 09:18:30 +00:00
sdk-team
0fd5a21a0b DescribeAvailableResource. 2021-01-06 13:45:15 +00:00
sdk-team
8ba9bacd33 Initial release. 2021-01-06 12:12:37 +00:00
sdk-team
193b07c609 Update DetectLungNodule. 2021-01-06 06:25:57 +00:00
sdk-team
f75ad9a460 Support input parameter ClientToken for CreateAutoProvisioningGroup. 2021-01-06 03:44:45 +00:00
sdk-team
e941e2f1df Add API. 2021-01-06 01:24:19 +00:00
sdk-team
17908bcee3 Remove legacy APIs. 2021-01-05 08:38:39 +00:00
sdk-team
1ac255eae8 Add DescribeBackupTasks API. 2021-01-05 08:25:23 +00:00
sdk-team
7443b8a1e7 Generated 2014-05-26 for Ecs. 2021-01-04 06:59:40 +00:00
sdk-team
940ffd3643 Supported API for GTM. 2021-01-04 01:45:56 +00:00
sdk-team
7da7f672b5 Add support for thing model function block features, including thing model APIs like CreateThingModel,UpdateThingModel,SetDeviceProperty,InvokeThingService etc. 2020-12-31 11:37:42 +00:00
sdk-team
fd8db44215 Update Open API. 2020-12-31 09:56:30 +00:00
sdk-team
d6b85e68de Add DescribeActiveOperationTask API. 2020-12-30 13:13:53 +00:00
sdk-team
4e8da023b8 ListNodesNoPaging return with instance type. 2020-12-29 06:30:30 +00:00
sdk-team
34b35e8f02 Generated 2020-05-18 for dataworks-public. 2020-12-28 10:33:54 +00:00
sdk-team
3387ef3a68 Release InterpolateVideoFrame ToneSdrVideo ConvertHdrVideo. 2020-12-28 10:06:55 +00:00
sdk-team
b1f19958a7 Release GenRealPersonVerificationToken GetRealPersonVerificationResult. 2020-12-28 10:01:36 +00:00
sdk-team
c5062df7f5 Add CommodityCode For QueryOrderAPI. 2020-12-28 09:15:31 +00:00
sdk-team
f9b117f5a6 Add some console API operations. 2020-12-28 07:46:18 +00:00
sdk-team
2a6631ce12 Generated 2016-04-08 for Emr. 2020-12-25 10:25:09 +00:00
sdk-team
639137bd27 Supported for weboffice edit. 2020-12-25 03:46:39 +00:00
sdk-team
8a601bc5ae Modify ConfigureBackupPlan. 2020-12-24 10:37:35 +00:00
sdk-team
0a08e77127 Update Open API. 2020-12-24 10:14:50 +00:00
sdk-team
46971a81db CDRS First edition. 2020-12-23 07:55:12 +00:00
sdk-team
5bde791941 Add 2019 openapi. 2020-12-23 06:07:49 +00:00
sdk-team
0793ffd5d4 Release DetectPedestrianIntrusion. 2020-12-23 03:21:51 +00:00
sdk-team
92791badbf Create Lindorm Open api. 2020-12-23 03:14:40 +00:00
sdk-team
fbd8bebfed Create TSDB Open api. 2020-12-23 03:12:54 +00:00
sdk-team
15efd0abf3 Minor chagnes. 2020-12-22 11:06:50 +00:00
sdk-team
ec2fdb4ecb Update SegmentAnimal SegmentCommonImage. 2020-12-22 09:21:24 +00:00
sdk-team
505b8e2062 Support SLB latest OpenAPIs. 2020-12-22 09:00:08 +00:00
sdk-team
55c2e91e9f Release InterpolateVideoFrame ToneSdrVideo ConvertHdrVideo. 2020-12-22 07:55:53 +00:00
sdk-team
e70f8f2d10 Release InterpolateVideoFrame. 2020-12-22 07:07:28 +00:00
sdk-team
196b891ec3 Release DetectRibFracture. 2020-12-22 07:01:04 +00:00
sdk-team
58b398b978 Minor chagnes. 2020-12-22 06:38:51 +00:00
sdk-team
13693fecae Generated 2020-05-18 for dataworks-public. 2020-12-22 01:58:26 +00:00
sdk-team
a4f63bc75f Support Device of LaunchConfiguration_DataDisk. 2020-12-21 02:59:31 +00:00
sdk-team
6dd27ba3df Support DescribeDatabases for page query. 2020-12-21 02:43:26 +00:00
sdk-team
cf63bd74d6 Support ListRepositories, ListOrganizations, GetUserInfo, ListRepositoryWebhook, DeleteRepositoryWebhook api. 2020-12-18 11:05:12 +00:00
sdk-team
4b1cbc0461 Add GetAgentDownloadUrl api. 2020-12-18 08:12:42 +00:00
sdk-team
49feb2bedd Release EvaluateCertificateQuality. 2020-12-18 06:16:28 +00:00
sdk-team
45daf26fac Generated 2020-05-18 for dataworks-public. 2020-12-18 02:31:57 +00:00
sdk-team
a9e22f8d11 Update SegmentFood. 2020-12-17 10:21:15 +00:00
sdk-team
38d18cec8b Update DeleteScdnDomain. 2020-12-17 08:10:23 +00:00
sdk-team
041b9c9999 Generated 2014-05-26 for Ecs. 2020-12-17 08:09:26 +00:00
sdk-team
279ad33425 Update DeleteDcdnDomain. 2020-12-17 08:08:52 +00:00
sdk-team
e990580a3e Update DeleteCdnDomain. 2020-12-17 08:02:48 +00:00
sdk-team
6da72af809 Generated 2020-01-11 for servicemesh. 2020-12-17 06:13:54 +00:00
sdk-team
f0147b77e3 Update api. 2020-12-17 06:03:25 +00:00
sdk-team
85cb326723 Generated 2019-09-10 for waf-openapi. 2020-12-16 13:12:02 +00:00
sdk-team
ade846346f Support show pipeline history. 2020-12-16 06:16:31 +00:00
sdk-team
5b311d2af3 Add Face Attributes. 2020-12-16 02:52:46 +00:00
sdk-team
e94b2e56f0 Update Open API. 2020-12-15 08:40:09 +00:00
sdk-team
bc50286074 CDRS First edition. 2020-12-15 07:04:17 +00:00
sdk-team
3903999f4e CDRS First edition. 2020-12-15 06:56:27 +00:00
sdk-team
74be983766 Add update task api. 2020-12-14 11:41:44 +00:00
sdk-team
1b7a4d81d6 Add update task api. 2020-12-14 11:40:18 +00:00
sdk-team
ee87d18d06 CDRS First edition. 2020-12-14 03:38:45 +00:00
sdk-team
479766d633 Add update task api. 2020-12-14 02:19:38 +00:00
sdk-team
add2bce016 Add Emon route-API support. 2020-12-11 02:11:39 +00:00
sdk-team
f5705434a9 Update SegmentCommodity. 2020-12-09 06:40:49 +00:00
sdk-team
3c00b7ee89 Remove DescribeSubscriptionObjectModifyStatus. 2020-12-07 02:18:29 +00:00
sdk-team
8708226a83 Supported broker demand. 2020-12-04 10:54:55 +00:00
sdk-team
295143d70a Support manual scan interface. 2020-12-04 07:19:58 +00:00
sdk-team
990c6f8efd ReportInstancesStatus OpenAPI supports IssueCategory parameter. 2020-12-04 04:23:53 +00:00
sdk-team
b409d3d613 Update DescribeScdnDomainCertificateInfo. 2020-12-03 11:22:00 +00:00
sdk-team
74112c6fe7 Update ModifyDcdnService. 2020-12-03 11:19:36 +00:00
sdk-team
b105496b11 Update DescribeDomainMax95BpsData. 2020-12-03 11:14:50 +00:00
sdk-team
f946b7f9f6 Update DescribeScdnDomainCertificateInfo. 2020-12-03 10:40:44 +00:00
sdk-team
f726b03be7 Update DescribeDomainMax95BpsData. 2020-12-03 09:42:13 +00:00
sdk-team
e2c900c27d Update DescribeScdnDomainCertificateInfo. 2020-12-03 09:40:19 +00:00
sdk-team
0abdb3fc36 Update DescribeDomainMax95BpsData. 2020-12-03 09:33:21 +00:00
sdk-team
1616774ea6 Update ModifyDcdnService. 2020-12-03 09:30:32 +00:00
sdk-team
1260ae6f47 Update DescribeScdnDomainCertificateInfo. 2020-12-03 09:29:42 +00:00
sdk-team
2acf4250c6 Generated 2020-05-18 for dataworks-public. 2020-12-03 07:29:53 +00:00
sdk-team
423e3b65e3 Add new api. 2020-12-03 06:17:55 +00:00
sdk-team
8f21fa7c59 Supported all language sdk. 2020-12-03 05:49:56 +00:00
sdk-team
cf4cda767c Update DetectLungNodule. 2020-12-03 02:30:29 +00:00
sdk-team
818bfd3cf1 Support CreateDBLink for polardb oracle. 2020-12-02 09:41:12 +00:00
sdk-team
969a4a2631 Update version. 2020-12-02 09:38:02 +00:00
sdk-team
931a98684d Update version. 2020-12-02 09:36:34 +00:00
sdk-team
357519c7f6 Support TemplateContent. 2020-12-02 09:17:21 +00:00
sdk-team
d28ae22685 Supported OpenAPI for SDK. 2020-12-02 03:19:22 +00:00
sdk-team
d5ce9f9cf5 Release ColorizeImage. 2020-12-02 02:39:42 +00:00
sdk-team
a5a458ce5d Release MergeVideoFace EnhanceVideoQuality. 2020-12-02 02:32:17 +00:00
sdk-team
8fa8ae49c7 Update SegmentHead. 2020-12-02 02:14:01 +00:00
sdk-team
2e5d882484 Add task api. 2020-12-01 12:31:06 +00:00
sdk-team
c867781e78 Add task api. 2020-12-01 11:55:57 +00:00
sdk-team
ea23aa89b7 Fixed bugs for CCC. 2020-12-01 08:15:17 +00:00
sdk-team
423fdd2fe5 Supported Open Api. 2020-12-01 03:46:47 +00:00
sdk-team
6e6f773341 Update SetVideoSeekConfig. 2020-11-30 10:46:40 +00:00
sdk-team
23c225f501 Update DescribeScdnDomainCertificateInfo. 2020-11-30 10:34:14 +00:00
sdk-team
3cba22152a Update SetVideoSeekConfig. 2020-11-30 10:33:31 +00:00
sdk-team
f1590ff81a Add OpenARMS api. 2020-11-30 09:08:10 +00:00
sdk-team
032ffdc520 Support autoPtovisioning whth DiskConfigs. 2020-11-30 08:02:40 +00:00
sdk-team
61acf6ad90 Update OpenDcdnService. 2020-11-30 07:25:16 +00:00
sdk-team
9052652131 Add SourceType for severless instance. 2020-11-30 07:09:59 +00:00
sdk-team
934e283efb Video Content analytics template introduced to this SDK. 2020-11-30 05:38:29 +00:00
sdk-team
c9bc61a9df Supported all language sdk. 2020-11-30 02:40:55 +00:00
sdk-team
e12cedf04a Update OpenDcdnService. 2020-11-30 02:36:38 +00:00
sdk-team
843a2c0be7 Support CPP and Go and PHP. 2020-11-29 16:03:35 +00:00
sdk-team
060788e017 Public. 2020-11-28 05:08:33 +00:00
sdk-team
49a237e426 Supported all language sdk. 2020-11-27 10:34:24 +00:00
sdk-team
9663b548cf Supported all language sdk. 2020-11-27 09:58:46 +00:00
sdk-team
c68f639be4 Generated 2018-01-11 for rtc. 2020-11-27 09:23:35 +00:00
sdk-team
3c991c9ca9 Add Certificate Manager Api. 2020-11-27 02:44:58 +00:00
sdk-team
8fdebda354 Support taskList. 2020-11-27 02:44:08 +00:00
sdk-team
b176afa994 ContrastFaceVerify Support Video. 2020-11-26 12:36:21 +00:00
sdk-team
2f2b5d5ffe Generated 2020-07-06, 2017-12-04 for Actiontrail. 2020-11-26 08:36:15 +00:00
sdk-team
ddc7e6e035 Generated 2020-07-06 for Actiontrail. 2020-11-26 08:28:55 +00:00
sdk-team
f937d7b2e5 Add tags api, include GetRepositoryTag, ListRepositoryTags, DeleteRepositoryTag. 2020-11-26 02:21:41 +00:00
sdk-team
5ae199177a Update DescribeScdnDomainCertificateInfo. 2020-11-25 08:35:15 +00:00
sdk-team
17a893fab4 Update SetVideoSeekConfig. 2020-11-25 08:32:35 +00:00
sdk-team
59fadb7eb2 Support DescribeDBClusterVersion. 2020-11-25 03:43:44 +00:00
sdk-team
efdcf35422 Add extension field for image translation. 2020-11-25 03:21:56 +00:00
sdk-team
4a101f7934 Supported Primary NetworkInterface IP for API DescribeInstances. 2020-11-25 02:37:28 +00:00
sdk-team
0e8ddb7c12 Create TSDB Open api. 2020-11-24 12:42:21 +00:00
sdk-team
830db8c54b Create TSDB Open api. 2020-11-24 12:34:23 +00:00
sdk-team
497a6c2290 Create lindorm Open api. 2020-11-24 12:25:23 +00:00
sdk-team
133087387b Create lindorm Open api. 2020-11-24 12:21:04 +00:00
sdk-team
df2d0d89e1 Update SearchFace. 2020-11-24 11:07:13 +00:00
sdk-team
42b2b25562 Generated 2020-01-01 for ddoscoo. 2020-11-24 02:37:32 +00:00
sdk-team
c2e912302d Supported multiple Language. 2020-11-23 03:14:15 +00:00
sdk-team
70ddae4685 Add LivenessDetect API. 2020-11-23 03:12:35 +00:00
sdk-team
b1e826e6d7 DescribeClusterConnection. 2020-11-22 06:04:28 +00:00
sdk-team
aca0a3efa8 Support ListExecutions with filter functionality. 2020-11-20 11:02:53 +00:00
sdk-team
98c36e9bab Public beta version. 2020-11-20 08:36:57 +00:00
sdk-team
b84d1c59fa Update DetectFace. 2020-11-20 06:18:11 +00:00
sdk-team
c2dc12f92b Add a new interface for asynchronous image translation. 2020-11-20 06:16:26 +00:00
wb-hx510875
efb0804bf2 fix: RRpcResult messageId type
fix #119
2020-11-20 10:49:28 +08:00
sdk-team
0e778cd17c Generated 2019-09-10 for waf-openapi. 2020-11-20 02:15:46 +00:00
sdk-team
78d79a3d5b Update DescribeDedicatedClusterInstanceList return data. 2020-11-19 10:07:52 +00:00
sdk-team
5a1415f6e3 Update data API. 2020-11-19 07:38:26 +00:00
sdk-team
7f24d410fd Update data API. 2020-11-19 07:31:39 +00:00
sdk-team
de9c7e0bd2 Update GenerateHumanAnimeStyle. 2020-11-19 02:10:10 +00:00
sdk-team
9d2395215f Update SegmentBody. 2020-11-19 02:08:36 +00:00
11144 changed files with 537606 additions and 233923 deletions

1140
CHANGELOG

File diff suppressed because it is too large Load Diff

View File

@@ -16,7 +16,8 @@ Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负
如果您在使用的过程中遇到任何问题,欢迎前往[阿里云SDK问答社区](https://yq.aliyun.com/tags/type_ask-tagid_23350)提问,提问前请阅读[提问引导](https://help.aliyun.com/document_detail/93957.html)。亦可在当前 GitHub [提交 Issues](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new)。
## 使用诊断
[Troubleshoot](https://troubleshoot.api.aliyun.com/?source=github_sdk) 提供 OpenAPI 使用诊断服务,通过 `RequestID``报错信息` ,帮助开发者快速定位,为开发者提供解决方案。
[Troubleshoot](https://next.api.aliyun.com/troubleshoot?source=github_sdk) 提供 OpenAPI 使用诊断服务,通过 `RequestID``报错信息` ,帮助开发者快速定位,为开发者提供解决方案。
## 环境要求

View File

@@ -18,7 +18,8 @@ This document introduces how to obtain and call this SDK.
If you have any problem while using Alibaba Cloud SDK for C++, please submit an [issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new).
## Troubleshoot
[Troubleshoot](https://troubleshoot.api.aliyun.com/?source=github_sdk) Provide OpenAPI diagnosis service to help developers locate quickly and provide solutions for developers through `RequestID` or `error message`.
[Troubleshoot](https://next.api.aliyun.com/troubleshoot?source=github_sdk) Provide OpenAPI diagnosis service to help developers locate quickly and provide solutions for developers through `RequestID` or `error message`.
## Requirements

View File

@@ -1 +1 @@
1.36.632
1.36.734

View File

@@ -21,8 +21,12 @@ set(actiontrail_public_header
include/alibabacloud/actiontrail/ActiontrailExport.h )
set(actiontrail_public_header_model
include/alibabacloud/actiontrail/model/CreateDeliveryHistoryJobRequest.h
include/alibabacloud/actiontrail/model/CreateDeliveryHistoryJobResult.h
include/alibabacloud/actiontrail/model/CreateTrailRequest.h
include/alibabacloud/actiontrail/model/CreateTrailResult.h
include/alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobRequest.h
include/alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobResult.h
include/alibabacloud/actiontrail/model/DeleteTrailRequest.h
include/alibabacloud/actiontrail/model/DeleteTrailResult.h
include/alibabacloud/actiontrail/model/DescribeRegionsRequest.h
@@ -31,6 +35,8 @@ set(actiontrail_public_header_model
include/alibabacloud/actiontrail/model/DescribeTrailsResult.h
include/alibabacloud/actiontrail/model/GetTrailStatusRequest.h
include/alibabacloud/actiontrail/model/GetTrailStatusResult.h
include/alibabacloud/actiontrail/model/ListDeliveryHistoryJobsRequest.h
include/alibabacloud/actiontrail/model/ListDeliveryHistoryJobsResult.h
include/alibabacloud/actiontrail/model/LookupEventsRequest.h
include/alibabacloud/actiontrail/model/LookupEventsResult.h
include/alibabacloud/actiontrail/model/StartLoggingRequest.h
@@ -42,8 +48,12 @@ set(actiontrail_public_header_model
set(actiontrail_src
src/ActiontrailClient.cc
src/model/CreateDeliveryHistoryJobRequest.cc
src/model/CreateDeliveryHistoryJobResult.cc
src/model/CreateTrailRequest.cc
src/model/CreateTrailResult.cc
src/model/DeleteDeliveryHistoryJobRequest.cc
src/model/DeleteDeliveryHistoryJobResult.cc
src/model/DeleteTrailRequest.cc
src/model/DeleteTrailResult.cc
src/model/DescribeRegionsRequest.cc
@@ -52,6 +62,8 @@ set(actiontrail_src
src/model/DescribeTrailsResult.cc
src/model/GetTrailStatusRequest.cc
src/model/GetTrailStatusResult.cc
src/model/ListDeliveryHistoryJobsRequest.cc
src/model/ListDeliveryHistoryJobsResult.cc
src/model/LookupEventsRequest.cc
src/model/LookupEventsResult.cc
src/model/StartLoggingRequest.cc

View File

@@ -22,8 +22,12 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "ActiontrailExport.h"
#include "model/CreateDeliveryHistoryJobRequest.h"
#include "model/CreateDeliveryHistoryJobResult.h"
#include "model/CreateTrailRequest.h"
#include "model/CreateTrailResult.h"
#include "model/DeleteDeliveryHistoryJobRequest.h"
#include "model/DeleteDeliveryHistoryJobResult.h"
#include "model/DeleteTrailRequest.h"
#include "model/DeleteTrailResult.h"
#include "model/DescribeRegionsRequest.h"
@@ -32,6 +36,8 @@
#include "model/DescribeTrailsResult.h"
#include "model/GetTrailStatusRequest.h"
#include "model/GetTrailStatusResult.h"
#include "model/ListDeliveryHistoryJobsRequest.h"
#include "model/ListDeliveryHistoryJobsResult.h"
#include "model/LookupEventsRequest.h"
#include "model/LookupEventsResult.h"
#include "model/StartLoggingRequest.h"
@@ -49,9 +55,15 @@ namespace AlibabaCloud
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ActiontrailClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::CreateDeliveryHistoryJobResult> CreateDeliveryHistoryJobOutcome;
typedef std::future<CreateDeliveryHistoryJobOutcome> CreateDeliveryHistoryJobOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::CreateDeliveryHistoryJobRequest&, const CreateDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeliveryHistoryJobAsyncHandler;
typedef Outcome<Error, Model::CreateTrailResult> CreateTrailOutcome;
typedef std::future<CreateTrailOutcome> CreateTrailOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::CreateTrailRequest&, const CreateTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrailAsyncHandler;
typedef Outcome<Error, Model::DeleteDeliveryHistoryJobResult> DeleteDeliveryHistoryJobOutcome;
typedef std::future<DeleteDeliveryHistoryJobOutcome> DeleteDeliveryHistoryJobOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::DeleteDeliveryHistoryJobRequest&, const DeleteDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeliveryHistoryJobAsyncHandler;
typedef Outcome<Error, Model::DeleteTrailResult> DeleteTrailOutcome;
typedef std::future<DeleteTrailOutcome> DeleteTrailOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::DeleteTrailRequest&, const DeleteTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTrailAsyncHandler;
@@ -64,6 +76,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetTrailStatusResult> GetTrailStatusOutcome;
typedef std::future<GetTrailStatusOutcome> GetTrailStatusOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::GetTrailStatusRequest&, const GetTrailStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTrailStatusAsyncHandler;
typedef Outcome<Error, Model::ListDeliveryHistoryJobsResult> ListDeliveryHistoryJobsOutcome;
typedef std::future<ListDeliveryHistoryJobsOutcome> ListDeliveryHistoryJobsOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::ListDeliveryHistoryJobsRequest&, const ListDeliveryHistoryJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeliveryHistoryJobsAsyncHandler;
typedef Outcome<Error, Model::LookupEventsResult> LookupEventsOutcome;
typedef std::future<LookupEventsOutcome> LookupEventsOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::LookupEventsRequest&, const LookupEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LookupEventsAsyncHandler;
@@ -81,9 +96,15 @@ namespace AlibabaCloud
ActiontrailClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
ActiontrailClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~ActiontrailClient();
CreateDeliveryHistoryJobOutcome createDeliveryHistoryJob(const Model::CreateDeliveryHistoryJobRequest &request)const;
void createDeliveryHistoryJobAsync(const Model::CreateDeliveryHistoryJobRequest& request, const CreateDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDeliveryHistoryJobOutcomeCallable createDeliveryHistoryJobCallable(const Model::CreateDeliveryHistoryJobRequest& request) const;
CreateTrailOutcome createTrail(const Model::CreateTrailRequest &request)const;
void createTrailAsync(const Model::CreateTrailRequest& request, const CreateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTrailOutcomeCallable createTrailCallable(const Model::CreateTrailRequest& request) const;
DeleteDeliveryHistoryJobOutcome deleteDeliveryHistoryJob(const Model::DeleteDeliveryHistoryJobRequest &request)const;
void deleteDeliveryHistoryJobAsync(const Model::DeleteDeliveryHistoryJobRequest& request, const DeleteDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDeliveryHistoryJobOutcomeCallable deleteDeliveryHistoryJobCallable(const Model::DeleteDeliveryHistoryJobRequest& request) const;
DeleteTrailOutcome deleteTrail(const Model::DeleteTrailRequest &request)const;
void deleteTrailAsync(const Model::DeleteTrailRequest& request, const DeleteTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTrailOutcomeCallable deleteTrailCallable(const Model::DeleteTrailRequest& request) const;
@@ -96,6 +117,9 @@ namespace AlibabaCloud
GetTrailStatusOutcome getTrailStatus(const Model::GetTrailStatusRequest &request)const;
void getTrailStatusAsync(const Model::GetTrailStatusRequest& request, const GetTrailStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTrailStatusOutcomeCallable getTrailStatusCallable(const Model::GetTrailStatusRequest& request) const;
ListDeliveryHistoryJobsOutcome listDeliveryHistoryJobs(const Model::ListDeliveryHistoryJobsRequest &request)const;
void listDeliveryHistoryJobsAsync(const Model::ListDeliveryHistoryJobsRequest& request, const ListDeliveryHistoryJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDeliveryHistoryJobsOutcomeCallable listDeliveryHistoryJobsCallable(const Model::ListDeliveryHistoryJobsRequest& request) const;
LookupEventsOutcome lookupEvents(const Model::LookupEventsRequest &request)const;
void lookupEventsAsync(const Model::LookupEventsRequest& request, const LookupEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
LookupEventsOutcomeCallable lookupEventsCallable(const Model::LookupEventsRequest& 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_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateDeliveryHistoryJobRequest : public RpcServiceRequest
{
public:
CreateDeliveryHistoryJobRequest();
~CreateDeliveryHistoryJobRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTrailName()const;
void setTrailName(const std::string& trailName);
private:
std::string clientToken_;
std::string trailName_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_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_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBRESULT_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateDeliveryHistoryJobResult : public ServiceResult
{
public:
CreateDeliveryHistoryJobResult();
explicit CreateDeliveryHistoryJobResult(const std::string &payload);
~CreateDeliveryHistoryJobResult();
int getJobId()const;
protected:
void parse(const std::string &payload);
private:
int jobId_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBRESULT_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_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DeleteDeliveryHistoryJobRequest : public RpcServiceRequest
{
public:
DeleteDeliveryHistoryJobRequest();
~DeleteDeliveryHistoryJobRequest();
int getJobId()const;
void setJobId(int jobId);
private:
int jobId_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_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_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBRESULT_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DeleteDeliveryHistoryJobResult : public ServiceResult
{
public:
DeleteDeliveryHistoryJobResult();
explicit DeleteDeliveryHistoryJobResult(const std::string &payload);
~DeleteDeliveryHistoryJobResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBRESULT_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_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ListDeliveryHistoryJobsRequest : public RpcServiceRequest
{
public:
ListDeliveryHistoryJobsRequest();
~ListDeliveryHistoryJobsRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSRESULT_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ListDeliveryHistoryJobsResult : public ServiceResult
{
public:
struct DeliveryHistoryJob
{
int jobStatus;
std::string createdTime;
std::string endTime;
std::string homeRegion;
std::string startTime;
std::string trailName;
std::string updatedTime;
long jobId;
};
ListDeliveryHistoryJobsResult();
explicit ListDeliveryHistoryJobsResult(const std::string &payload);
~ListDeliveryHistoryJobsResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<DeliveryHistoryJob> getDeliveryHistoryJobs()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<DeliveryHistoryJob> deliveryHistoryJobs_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSRESULT_H_

View File

@@ -51,6 +51,42 @@ ActiontrailClient::ActiontrailClient(const std::string & accessKeyId, const std:
ActiontrailClient::~ActiontrailClient()
{}
ActiontrailClient::CreateDeliveryHistoryJobOutcome ActiontrailClient::createDeliveryHistoryJob(const CreateDeliveryHistoryJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateDeliveryHistoryJobOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateDeliveryHistoryJobOutcome(CreateDeliveryHistoryJobResult(outcome.result()));
else
return CreateDeliveryHistoryJobOutcome(outcome.error());
}
void ActiontrailClient::createDeliveryHistoryJobAsync(const CreateDeliveryHistoryJobRequest& request, const CreateDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createDeliveryHistoryJob(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::CreateDeliveryHistoryJobOutcomeCallable ActiontrailClient::createDeliveryHistoryJobCallable(const CreateDeliveryHistoryJobRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateDeliveryHistoryJobOutcome()>>(
[this, request]()
{
return this->createDeliveryHistoryJob(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::CreateTrailOutcome ActiontrailClient::createTrail(const CreateTrailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -87,6 +123,42 @@ ActiontrailClient::CreateTrailOutcomeCallable ActiontrailClient::createTrailCall
return task->get_future();
}
ActiontrailClient::DeleteDeliveryHistoryJobOutcome ActiontrailClient::deleteDeliveryHistoryJob(const DeleteDeliveryHistoryJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteDeliveryHistoryJobOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteDeliveryHistoryJobOutcome(DeleteDeliveryHistoryJobResult(outcome.result()));
else
return DeleteDeliveryHistoryJobOutcome(outcome.error());
}
void ActiontrailClient::deleteDeliveryHistoryJobAsync(const DeleteDeliveryHistoryJobRequest& request, const DeleteDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteDeliveryHistoryJob(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::DeleteDeliveryHistoryJobOutcomeCallable ActiontrailClient::deleteDeliveryHistoryJobCallable(const DeleteDeliveryHistoryJobRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteDeliveryHistoryJobOutcome()>>(
[this, request]()
{
return this->deleteDeliveryHistoryJob(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::DeleteTrailOutcome ActiontrailClient::deleteTrail(const DeleteTrailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -231,6 +303,42 @@ ActiontrailClient::GetTrailStatusOutcomeCallable ActiontrailClient::getTrailStat
return task->get_future();
}
ActiontrailClient::ListDeliveryHistoryJobsOutcome ActiontrailClient::listDeliveryHistoryJobs(const ListDeliveryHistoryJobsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListDeliveryHistoryJobsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListDeliveryHistoryJobsOutcome(ListDeliveryHistoryJobsResult(outcome.result()));
else
return ListDeliveryHistoryJobsOutcome(outcome.error());
}
void ActiontrailClient::listDeliveryHistoryJobsAsync(const ListDeliveryHistoryJobsRequest& request, const ListDeliveryHistoryJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listDeliveryHistoryJobs(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::ListDeliveryHistoryJobsOutcomeCallable ActiontrailClient::listDeliveryHistoryJobsCallable(const ListDeliveryHistoryJobsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListDeliveryHistoryJobsOutcome()>>(
[this, request]()
{
return this->listDeliveryHistoryJobs(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::LookupEventsOutcome ActiontrailClient::lookupEvents(const LookupEventsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/CreateDeliveryHistoryJobRequest.h>
using AlibabaCloud::Actiontrail::Model::CreateDeliveryHistoryJobRequest;
CreateDeliveryHistoryJobRequest::CreateDeliveryHistoryJobRequest() :
RpcServiceRequest("actiontrail", "2020-07-06", "CreateDeliveryHistoryJob")
{
setMethod(HttpRequest::Method::Post);
}
CreateDeliveryHistoryJobRequest::~CreateDeliveryHistoryJobRequest()
{}
std::string CreateDeliveryHistoryJobRequest::getClientToken()const
{
return clientToken_;
}
void CreateDeliveryHistoryJobRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string CreateDeliveryHistoryJobRequest::getTrailName()const
{
return trailName_;
}
void CreateDeliveryHistoryJobRequest::setTrailName(const std::string& trailName)
{
trailName_ = trailName;
setParameter("TrailName", trailName);
}

View File

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

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/actiontrail/model/DeleteDeliveryHistoryJobRequest.h>
using AlibabaCloud::Actiontrail::Model::DeleteDeliveryHistoryJobRequest;
DeleteDeliveryHistoryJobRequest::DeleteDeliveryHistoryJobRequest() :
RpcServiceRequest("actiontrail", "2020-07-06", "DeleteDeliveryHistoryJob")
{
setMethod(HttpRequest::Method::Post);
}
DeleteDeliveryHistoryJobRequest::~DeleteDeliveryHistoryJobRequest()
{}
int DeleteDeliveryHistoryJobRequest::getJobId()const
{
return jobId_;
}
void DeleteDeliveryHistoryJobRequest::setJobId(int jobId)
{
jobId_ = jobId;
setParameter("JobId", std::to_string(jobId));
}

View File

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

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/ListDeliveryHistoryJobsRequest.h>
using AlibabaCloud::Actiontrail::Model::ListDeliveryHistoryJobsRequest;
ListDeliveryHistoryJobsRequest::ListDeliveryHistoryJobsRequest() :
RpcServiceRequest("actiontrail", "2020-07-06", "ListDeliveryHistoryJobs")
{
setMethod(HttpRequest::Method::Post);
}
ListDeliveryHistoryJobsRequest::~ListDeliveryHistoryJobsRequest()
{}
int ListDeliveryHistoryJobsRequest::getPageNumber()const
{
return pageNumber_;
}
void ListDeliveryHistoryJobsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
int ListDeliveryHistoryJobsRequest::getPageSize()const
{
return pageSize_;
}
void ListDeliveryHistoryJobsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -0,0 +1,92 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/actiontrail/model/ListDeliveryHistoryJobsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Actiontrail;
using namespace AlibabaCloud::Actiontrail::Model;
ListDeliveryHistoryJobsResult::ListDeliveryHistoryJobsResult() :
ServiceResult()
{}
ListDeliveryHistoryJobsResult::ListDeliveryHistoryJobsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListDeliveryHistoryJobsResult::~ListDeliveryHistoryJobsResult()
{}
void ListDeliveryHistoryJobsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDeliveryHistoryJobsNode = value["DeliveryHistoryJobs"]["DeliveryHistoryJob"];
for (auto valueDeliveryHistoryJobsDeliveryHistoryJob : allDeliveryHistoryJobsNode)
{
DeliveryHistoryJob deliveryHistoryJobsObject;
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["TrailName"].isNull())
deliveryHistoryJobsObject.trailName = valueDeliveryHistoryJobsDeliveryHistoryJob["TrailName"].asString();
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["CreatedTime"].isNull())
deliveryHistoryJobsObject.createdTime = valueDeliveryHistoryJobsDeliveryHistoryJob["CreatedTime"].asString();
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["UpdatedTime"].isNull())
deliveryHistoryJobsObject.updatedTime = valueDeliveryHistoryJobsDeliveryHistoryJob["UpdatedTime"].asString();
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["HomeRegion"].isNull())
deliveryHistoryJobsObject.homeRegion = valueDeliveryHistoryJobsDeliveryHistoryJob["HomeRegion"].asString();
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["StartTime"].isNull())
deliveryHistoryJobsObject.startTime = valueDeliveryHistoryJobsDeliveryHistoryJob["StartTime"].asString();
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["EndTime"].isNull())
deliveryHistoryJobsObject.endTime = valueDeliveryHistoryJobsDeliveryHistoryJob["EndTime"].asString();
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["JobId"].isNull())
deliveryHistoryJobsObject.jobId = std::stol(valueDeliveryHistoryJobsDeliveryHistoryJob["JobId"].asString());
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["JobStatus"].isNull())
deliveryHistoryJobsObject.jobStatus = std::stoi(valueDeliveryHistoryJobsDeliveryHistoryJob["JobStatus"].asString());
deliveryHistoryJobs_.push_back(deliveryHistoryJobsObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
}
int ListDeliveryHistoryJobsResult::getTotalCount()const
{
return totalCount_;
}
int ListDeliveryHistoryJobsResult::getPageSize()const
{
return pageSize_;
}
int ListDeliveryHistoryJobsResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<ListDeliveryHistoryJobsResult::DeliveryHistoryJob> ListDeliveryHistoryJobsResult::getDeliveryHistoryJobs()const
{
return deliveryHistoryJobs_;
}

View File

@@ -23,16 +23,28 @@ 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/BindDBResourcePoolWithUserRequest.h
include/alibabacloud/adb/model/BindDBResourcePoolWithUserResult.h
include/alibabacloud/adb/model/CreateAccountRequest.h
include/alibabacloud/adb/model/CreateAccountResult.h
include/alibabacloud/adb/model/CreateDBClusterRequest.h
include/alibabacloud/adb/model/CreateDBClusterResult.h
include/alibabacloud/adb/model/CreateDBResourcePoolRequest.h
include/alibabacloud/adb/model/CreateDBResourcePoolResult.h
include/alibabacloud/adb/model/CreateElasticPlanRequest.h
include/alibabacloud/adb/model/CreateElasticPlanResult.h
include/alibabacloud/adb/model/DeleteAccountRequest.h
include/alibabacloud/adb/model/DeleteAccountResult.h
include/alibabacloud/adb/model/DeleteDBClusterRequest.h
include/alibabacloud/adb/model/DeleteDBClusterResult.h
include/alibabacloud/adb/model/DeleteDBResourcePoolRequest.h
include/alibabacloud/adb/model/DeleteDBResourcePoolResult.h
include/alibabacloud/adb/model/DeleteElasticPlanRequest.h
include/alibabacloud/adb/model/DeleteElasticPlanResult.h
include/alibabacloud/adb/model/DescribeAccountsRequest.h
include/alibabacloud/adb/model/DescribeAccountsResult.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/DescribeAuditLogConfigRequest.h
@@ -49,6 +61,8 @@ 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/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
@@ -57,16 +71,30 @@ set(adb_public_header_model
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/DescribeDBClustersRequest.h
include/alibabacloud/adb/model/DescribeDBClustersResult.h
include/alibabacloud/adb/model/DescribeDBResourcePoolRequest.h
include/alibabacloud/adb/model/DescribeDBResourcePoolResult.h
include/alibabacloud/adb/model/DescribeElasticDailyPlanRequest.h
include/alibabacloud/adb/model/DescribeElasticDailyPlanResult.h
include/alibabacloud/adb/model/DescribeElasticPlanRequest.h
include/alibabacloud/adb/model/DescribeElasticPlanResult.h
include/alibabacloud/adb/model/DescribeInclinedTablesRequest.h
include/alibabacloud/adb/model/DescribeInclinedTablesResult.h
include/alibabacloud/adb/model/DescribeLoadTasksRecordsRequest.h
include/alibabacloud/adb/model/DescribeLoadTasksRecordsResult.h
include/alibabacloud/adb/model/DescribeOperatorPermissionRequest.h
include/alibabacloud/adb/model/DescribeOperatorPermissionResult.h
include/alibabacloud/adb/model/DescribeProcessListRequest.h
include/alibabacloud/adb/model/DescribeProcessListResult.h
include/alibabacloud/adb/model/DescribeRegionsRequest.h
include/alibabacloud/adb/model/DescribeRegionsResult.h
include/alibabacloud/adb/model/DescribeSQLPlanRequest.h
include/alibabacloud/adb/model/DescribeSQLPlanResult.h
include/alibabacloud/adb/model/DescribeSQLPlanTaskRequest.h
include/alibabacloud/adb/model/DescribeSQLPlanTaskResult.h
include/alibabacloud/adb/model/DescribeSchemasRequest.h
include/alibabacloud/adb/model/DescribeSchemasResult.h
include/alibabacloud/adb/model/DescribeSlowLogRecordsRequest.h
@@ -77,6 +105,8 @@ set(adb_public_header_model
include/alibabacloud/adb/model/DescribeTableDetailResult.h
include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseRequest.h
include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseResult.h
include/alibabacloud/adb/model/DescribeTableStatisticsRequest.h
include/alibabacloud/adb/model/DescribeTableStatisticsResult.h
include/alibabacloud/adb/model/DescribeTablesRequest.h
include/alibabacloud/adb/model/DescribeTablesResult.h
include/alibabacloud/adb/model/DescribeTaskInfoRequest.h
@@ -105,6 +135,12 @@ set(adb_public_header_model
include/alibabacloud/adb/model/ModifyDBClusterDescriptionResult.h
include/alibabacloud/adb/model/ModifyDBClusterMaintainTimeRequest.h
include/alibabacloud/adb/model/ModifyDBClusterMaintainTimeResult.h
include/alibabacloud/adb/model/ModifyDBClusterResourceGroupRequest.h
include/alibabacloud/adb/model/ModifyDBClusterResourceGroupResult.h
include/alibabacloud/adb/model/ModifyDBResourcePoolRequest.h
include/alibabacloud/adb/model/ModifyDBResourcePoolResult.h
include/alibabacloud/adb/model/ModifyElasticPlanRequest.h
include/alibabacloud/adb/model/ModifyElasticPlanResult.h
include/alibabacloud/adb/model/ModifyLogBackupPolicyRequest.h
include/alibabacloud/adb/model/ModifyLogBackupPolicyResult.h
include/alibabacloud/adb/model/ReleaseClusterPublicConnectionRequest.h
@@ -115,6 +151,8 @@ set(adb_public_header_model
include/alibabacloud/adb/model/RevokeOperatorPermissionResult.h
include/alibabacloud/adb/model/TagResourcesRequest.h
include/alibabacloud/adb/model/TagResourcesResult.h
include/alibabacloud/adb/model/UnbindDBResourcePoolWithUserRequest.h
include/alibabacloud/adb/model/UnbindDBResourcePoolWithUserResult.h
include/alibabacloud/adb/model/UntagResourcesRequest.h
include/alibabacloud/adb/model/UntagResourcesResult.h )
@@ -122,16 +160,28 @@ set(adb_src
src/AdbClient.cc
src/model/AllocateClusterPublicConnectionRequest.cc
src/model/AllocateClusterPublicConnectionResult.cc
src/model/BindDBResourcePoolWithUserRequest.cc
src/model/BindDBResourcePoolWithUserResult.cc
src/model/CreateAccountRequest.cc
src/model/CreateAccountResult.cc
src/model/CreateDBClusterRequest.cc
src/model/CreateDBClusterResult.cc
src/model/CreateDBResourcePoolRequest.cc
src/model/CreateDBResourcePoolResult.cc
src/model/CreateElasticPlanRequest.cc
src/model/CreateElasticPlanResult.cc
src/model/DeleteAccountRequest.cc
src/model/DeleteAccountResult.cc
src/model/DeleteDBClusterRequest.cc
src/model/DeleteDBClusterResult.cc
src/model/DeleteDBResourcePoolRequest.cc
src/model/DeleteDBResourcePoolResult.cc
src/model/DeleteElasticPlanRequest.cc
src/model/DeleteElasticPlanResult.cc
src/model/DescribeAccountsRequest.cc
src/model/DescribeAccountsResult.cc
src/model/DescribeAllAccountsRequest.cc
src/model/DescribeAllAccountsResult.cc
src/model/DescribeAllDataSourceRequest.cc
src/model/DescribeAllDataSourceResult.cc
src/model/DescribeAuditLogConfigRequest.cc
@@ -148,6 +198,8 @@ set(adb_src
src/model/DescribeBackupsResult.cc
src/model/DescribeColumnsRequest.cc
src/model/DescribeColumnsResult.cc
src/model/DescribeConnectionCountRecordsRequest.cc
src/model/DescribeConnectionCountRecordsResult.cc
src/model/DescribeDBClusterAccessWhiteListRequest.cc
src/model/DescribeDBClusterAccessWhiteListResult.cc
src/model/DescribeDBClusterAttributeRequest.cc
@@ -156,16 +208,30 @@ set(adb_src
src/model/DescribeDBClusterNetInfoResult.cc
src/model/DescribeDBClusterPerformanceRequest.cc
src/model/DescribeDBClusterPerformanceResult.cc
src/model/DescribeDBClusterResourcePoolPerformanceRequest.cc
src/model/DescribeDBClusterResourcePoolPerformanceResult.cc
src/model/DescribeDBClustersRequest.cc
src/model/DescribeDBClustersResult.cc
src/model/DescribeDBResourcePoolRequest.cc
src/model/DescribeDBResourcePoolResult.cc
src/model/DescribeElasticDailyPlanRequest.cc
src/model/DescribeElasticDailyPlanResult.cc
src/model/DescribeElasticPlanRequest.cc
src/model/DescribeElasticPlanResult.cc
src/model/DescribeInclinedTablesRequest.cc
src/model/DescribeInclinedTablesResult.cc
src/model/DescribeLoadTasksRecordsRequest.cc
src/model/DescribeLoadTasksRecordsResult.cc
src/model/DescribeOperatorPermissionRequest.cc
src/model/DescribeOperatorPermissionResult.cc
src/model/DescribeProcessListRequest.cc
src/model/DescribeProcessListResult.cc
src/model/DescribeRegionsRequest.cc
src/model/DescribeRegionsResult.cc
src/model/DescribeSQLPlanRequest.cc
src/model/DescribeSQLPlanResult.cc
src/model/DescribeSQLPlanTaskRequest.cc
src/model/DescribeSQLPlanTaskResult.cc
src/model/DescribeSchemasRequest.cc
src/model/DescribeSchemasResult.cc
src/model/DescribeSlowLogRecordsRequest.cc
@@ -176,6 +242,8 @@ set(adb_src
src/model/DescribeTableDetailResult.cc
src/model/DescribeTablePartitionDiagnoseRequest.cc
src/model/DescribeTablePartitionDiagnoseResult.cc
src/model/DescribeTableStatisticsRequest.cc
src/model/DescribeTableStatisticsResult.cc
src/model/DescribeTablesRequest.cc
src/model/DescribeTablesResult.cc
src/model/DescribeTaskInfoRequest.cc
@@ -204,6 +272,12 @@ set(adb_src
src/model/ModifyDBClusterDescriptionResult.cc
src/model/ModifyDBClusterMaintainTimeRequest.cc
src/model/ModifyDBClusterMaintainTimeResult.cc
src/model/ModifyDBClusterResourceGroupRequest.cc
src/model/ModifyDBClusterResourceGroupResult.cc
src/model/ModifyDBResourcePoolRequest.cc
src/model/ModifyDBResourcePoolResult.cc
src/model/ModifyElasticPlanRequest.cc
src/model/ModifyElasticPlanResult.cc
src/model/ModifyLogBackupPolicyRequest.cc
src/model/ModifyLogBackupPolicyResult.cc
src/model/ReleaseClusterPublicConnectionRequest.cc
@@ -214,6 +288,8 @@ set(adb_src
src/model/RevokeOperatorPermissionResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/UnbindDBResourcePoolWithUserRequest.cc
src/model/UnbindDBResourcePoolWithUserResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc )

View File

@@ -24,16 +24,28 @@
#include "AdbExport.h"
#include "model/AllocateClusterPublicConnectionRequest.h"
#include "model/AllocateClusterPublicConnectionResult.h"
#include "model/BindDBResourcePoolWithUserRequest.h"
#include "model/BindDBResourcePoolWithUserResult.h"
#include "model/CreateAccountRequest.h"
#include "model/CreateAccountResult.h"
#include "model/CreateDBClusterRequest.h"
#include "model/CreateDBClusterResult.h"
#include "model/CreateDBResourcePoolRequest.h"
#include "model/CreateDBResourcePoolResult.h"
#include "model/CreateElasticPlanRequest.h"
#include "model/CreateElasticPlanResult.h"
#include "model/DeleteAccountRequest.h"
#include "model/DeleteAccountResult.h"
#include "model/DeleteDBClusterRequest.h"
#include "model/DeleteDBClusterResult.h"
#include "model/DeleteDBResourcePoolRequest.h"
#include "model/DeleteDBResourcePoolResult.h"
#include "model/DeleteElasticPlanRequest.h"
#include "model/DeleteElasticPlanResult.h"
#include "model/DescribeAccountsRequest.h"
#include "model/DescribeAccountsResult.h"
#include "model/DescribeAllAccountsRequest.h"
#include "model/DescribeAllAccountsResult.h"
#include "model/DescribeAllDataSourceRequest.h"
#include "model/DescribeAllDataSourceResult.h"
#include "model/DescribeAuditLogConfigRequest.h"
@@ -50,6 +62,8 @@
#include "model/DescribeBackupsResult.h"
#include "model/DescribeColumnsRequest.h"
#include "model/DescribeColumnsResult.h"
#include "model/DescribeConnectionCountRecordsRequest.h"
#include "model/DescribeConnectionCountRecordsResult.h"
#include "model/DescribeDBClusterAccessWhiteListRequest.h"
#include "model/DescribeDBClusterAccessWhiteListResult.h"
#include "model/DescribeDBClusterAttributeRequest.h"
@@ -58,16 +72,30 @@
#include "model/DescribeDBClusterNetInfoResult.h"
#include "model/DescribeDBClusterPerformanceRequest.h"
#include "model/DescribeDBClusterPerformanceResult.h"
#include "model/DescribeDBClusterResourcePoolPerformanceRequest.h"
#include "model/DescribeDBClusterResourcePoolPerformanceResult.h"
#include "model/DescribeDBClustersRequest.h"
#include "model/DescribeDBClustersResult.h"
#include "model/DescribeDBResourcePoolRequest.h"
#include "model/DescribeDBResourcePoolResult.h"
#include "model/DescribeElasticDailyPlanRequest.h"
#include "model/DescribeElasticDailyPlanResult.h"
#include "model/DescribeElasticPlanRequest.h"
#include "model/DescribeElasticPlanResult.h"
#include "model/DescribeInclinedTablesRequest.h"
#include "model/DescribeInclinedTablesResult.h"
#include "model/DescribeLoadTasksRecordsRequest.h"
#include "model/DescribeLoadTasksRecordsResult.h"
#include "model/DescribeOperatorPermissionRequest.h"
#include "model/DescribeOperatorPermissionResult.h"
#include "model/DescribeProcessListRequest.h"
#include "model/DescribeProcessListResult.h"
#include "model/DescribeRegionsRequest.h"
#include "model/DescribeRegionsResult.h"
#include "model/DescribeSQLPlanRequest.h"
#include "model/DescribeSQLPlanResult.h"
#include "model/DescribeSQLPlanTaskRequest.h"
#include "model/DescribeSQLPlanTaskResult.h"
#include "model/DescribeSchemasRequest.h"
#include "model/DescribeSchemasResult.h"
#include "model/DescribeSlowLogRecordsRequest.h"
@@ -78,6 +106,8 @@
#include "model/DescribeTableDetailResult.h"
#include "model/DescribeTablePartitionDiagnoseRequest.h"
#include "model/DescribeTablePartitionDiagnoseResult.h"
#include "model/DescribeTableStatisticsRequest.h"
#include "model/DescribeTableStatisticsResult.h"
#include "model/DescribeTablesRequest.h"
#include "model/DescribeTablesResult.h"
#include "model/DescribeTaskInfoRequest.h"
@@ -106,6 +136,12 @@
#include "model/ModifyDBClusterDescriptionResult.h"
#include "model/ModifyDBClusterMaintainTimeRequest.h"
#include "model/ModifyDBClusterMaintainTimeResult.h"
#include "model/ModifyDBClusterResourceGroupRequest.h"
#include "model/ModifyDBClusterResourceGroupResult.h"
#include "model/ModifyDBResourcePoolRequest.h"
#include "model/ModifyDBResourcePoolResult.h"
#include "model/ModifyElasticPlanRequest.h"
#include "model/ModifyElasticPlanResult.h"
#include "model/ModifyLogBackupPolicyRequest.h"
#include "model/ModifyLogBackupPolicyResult.h"
#include "model/ReleaseClusterPublicConnectionRequest.h"
@@ -116,6 +152,8 @@
#include "model/RevokeOperatorPermissionResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/UnbindDBResourcePoolWithUserRequest.h"
#include "model/UnbindDBResourcePoolWithUserResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
@@ -130,21 +168,39 @@ 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::BindDBResourcePoolWithUserResult> BindDBResourcePoolWithUserOutcome;
typedef std::future<BindDBResourcePoolWithUserOutcome> BindDBResourcePoolWithUserOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::BindDBResourcePoolWithUserRequest&, const BindDBResourcePoolWithUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindDBResourcePoolWithUserAsyncHandler;
typedef Outcome<Error, Model::CreateAccountResult> CreateAccountOutcome;
typedef std::future<CreateAccountOutcome> CreateAccountOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::CreateAccountRequest&, const CreateAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccountAsyncHandler;
typedef Outcome<Error, Model::CreateDBClusterResult> CreateDBClusterOutcome;
typedef std::future<CreateDBClusterOutcome> CreateDBClusterOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::CreateDBClusterRequest&, const CreateDBClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDBClusterAsyncHandler;
typedef Outcome<Error, Model::CreateDBResourcePoolResult> CreateDBResourcePoolOutcome;
typedef std::future<CreateDBResourcePoolOutcome> CreateDBResourcePoolOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::CreateDBResourcePoolRequest&, const CreateDBResourcePoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDBResourcePoolAsyncHandler;
typedef Outcome<Error, Model::CreateElasticPlanResult> CreateElasticPlanOutcome;
typedef std::future<CreateElasticPlanOutcome> CreateElasticPlanOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::CreateElasticPlanRequest&, const CreateElasticPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateElasticPlanAsyncHandler;
typedef Outcome<Error, Model::DeleteAccountResult> DeleteAccountOutcome;
typedef std::future<DeleteAccountOutcome> DeleteAccountOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DeleteAccountRequest&, const DeleteAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccountAsyncHandler;
typedef Outcome<Error, Model::DeleteDBClusterResult> DeleteDBClusterOutcome;
typedef std::future<DeleteDBClusterOutcome> DeleteDBClusterOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DeleteDBClusterRequest&, const DeleteDBClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDBClusterAsyncHandler;
typedef Outcome<Error, Model::DeleteDBResourcePoolResult> DeleteDBResourcePoolOutcome;
typedef std::future<DeleteDBResourcePoolOutcome> DeleteDBResourcePoolOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DeleteDBResourcePoolRequest&, const DeleteDBResourcePoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDBResourcePoolAsyncHandler;
typedef Outcome<Error, Model::DeleteElasticPlanResult> DeleteElasticPlanOutcome;
typedef std::future<DeleteElasticPlanOutcome> DeleteElasticPlanOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DeleteElasticPlanRequest&, const DeleteElasticPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteElasticPlanAsyncHandler;
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::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;
@@ -169,6 +225,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::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;
typedef Outcome<Error, Model::DescribeDBClusterAccessWhiteListResult> DescribeDBClusterAccessWhiteListOutcome;
typedef std::future<DescribeDBClusterAccessWhiteListOutcome> DescribeDBClusterAccessWhiteListOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterAccessWhiteListRequest&, const DescribeDBClusterAccessWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterAccessWhiteListAsyncHandler;
@@ -181,12 +240,27 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDBClusterPerformanceResult> DescribeDBClusterPerformanceOutcome;
typedef std::future<DescribeDBClusterPerformanceOutcome> DescribeDBClusterPerformanceOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterPerformanceRequest&, const DescribeDBClusterPerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterPerformanceAsyncHandler;
typedef Outcome<Error, Model::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::DescribeDBClustersResult> DescribeDBClustersOutcome;
typedef std::future<DescribeDBClustersOutcome> DescribeDBClustersOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBClustersRequest&, const DescribeDBClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClustersAsyncHandler;
typedef Outcome<Error, Model::DescribeDBResourcePoolResult> DescribeDBResourcePoolOutcome;
typedef std::future<DescribeDBResourcePoolOutcome> DescribeDBResourcePoolOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeDBResourcePoolRequest&, const DescribeDBResourcePoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBResourcePoolAsyncHandler;
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;
typedef Outcome<Error, Model::DescribeElasticPlanResult> DescribeElasticPlanOutcome;
typedef std::future<DescribeElasticPlanOutcome> DescribeElasticPlanOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeElasticPlanRequest&, const DescribeElasticPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeElasticPlanAsyncHandler;
typedef Outcome<Error, Model::DescribeInclinedTablesResult> DescribeInclinedTablesOutcome;
typedef std::future<DescribeInclinedTablesOutcome> DescribeInclinedTablesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeInclinedTablesRequest&, const DescribeInclinedTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInclinedTablesAsyncHandler;
typedef Outcome<Error, Model::DescribeLoadTasksRecordsResult> DescribeLoadTasksRecordsOutcome;
typedef std::future<DescribeLoadTasksRecordsOutcome> DescribeLoadTasksRecordsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeLoadTasksRecordsRequest&, const DescribeLoadTasksRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLoadTasksRecordsAsyncHandler;
typedef Outcome<Error, Model::DescribeOperatorPermissionResult> DescribeOperatorPermissionOutcome;
typedef std::future<DescribeOperatorPermissionOutcome> DescribeOperatorPermissionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeOperatorPermissionRequest&, const DescribeOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOperatorPermissionAsyncHandler;
@@ -196,6 +270,12 @@ 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::DescribeSQLPlanResult> DescribeSQLPlanOutcome;
typedef std::future<DescribeSQLPlanOutcome> DescribeSQLPlanOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeSQLPlanRequest&, const DescribeSQLPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLPlanAsyncHandler;
typedef Outcome<Error, Model::DescribeSQLPlanTaskResult> DescribeSQLPlanTaskOutcome;
typedef std::future<DescribeSQLPlanTaskOutcome> DescribeSQLPlanTaskOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeSQLPlanTaskRequest&, const DescribeSQLPlanTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLPlanTaskAsyncHandler;
typedef Outcome<Error, Model::DescribeSchemasResult> DescribeSchemasOutcome;
typedef std::future<DescribeSchemasOutcome> DescribeSchemasOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeSchemasRequest&, const DescribeSchemasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSchemasAsyncHandler;
@@ -211,6 +291,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeTablePartitionDiagnoseResult> DescribeTablePartitionDiagnoseOutcome;
typedef std::future<DescribeTablePartitionDiagnoseOutcome> DescribeTablePartitionDiagnoseOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeTablePartitionDiagnoseRequest&, const DescribeTablePartitionDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablePartitionDiagnoseAsyncHandler;
typedef Outcome<Error, Model::DescribeTableStatisticsResult> DescribeTableStatisticsOutcome;
typedef std::future<DescribeTableStatisticsOutcome> DescribeTableStatisticsOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeTableStatisticsRequest&, const DescribeTableStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTableStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeTablesResult> DescribeTablesOutcome;
typedef std::future<DescribeTablesOutcome> DescribeTablesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::DescribeTablesRequest&, const DescribeTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablesAsyncHandler;
@@ -253,6 +336,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyDBClusterMaintainTimeResult> ModifyDBClusterMaintainTimeOutcome;
typedef std::future<ModifyDBClusterMaintainTimeOutcome> ModifyDBClusterMaintainTimeOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ModifyDBClusterMaintainTimeRequest&, const ModifyDBClusterMaintainTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBClusterMaintainTimeAsyncHandler;
typedef Outcome<Error, Model::ModifyDBClusterResourceGroupResult> ModifyDBClusterResourceGroupOutcome;
typedef std::future<ModifyDBClusterResourceGroupOutcome> ModifyDBClusterResourceGroupOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ModifyDBClusterResourceGroupRequest&, const ModifyDBClusterResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBClusterResourceGroupAsyncHandler;
typedef Outcome<Error, Model::ModifyDBResourcePoolResult> ModifyDBResourcePoolOutcome;
typedef std::future<ModifyDBResourcePoolOutcome> ModifyDBResourcePoolOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ModifyDBResourcePoolRequest&, const ModifyDBResourcePoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBResourcePoolAsyncHandler;
typedef Outcome<Error, Model::ModifyElasticPlanResult> ModifyElasticPlanOutcome;
typedef std::future<ModifyElasticPlanOutcome> ModifyElasticPlanOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ModifyElasticPlanRequest&, const ModifyElasticPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyElasticPlanAsyncHandler;
typedef Outcome<Error, Model::ModifyLogBackupPolicyResult> ModifyLogBackupPolicyOutcome;
typedef std::future<ModifyLogBackupPolicyOutcome> ModifyLogBackupPolicyOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ModifyLogBackupPolicyRequest&, const ModifyLogBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyLogBackupPolicyAsyncHandler;
@@ -268,6 +360,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
typedef Outcome<Error, Model::UnbindDBResourcePoolWithUserResult> UnbindDBResourcePoolWithUserOutcome;
typedef std::future<UnbindDBResourcePoolWithUserOutcome> UnbindDBResourcePoolWithUserOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::UnbindDBResourcePoolWithUserRequest&, const UnbindDBResourcePoolWithUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindDBResourcePoolWithUserAsyncHandler;
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
@@ -279,21 +374,39 @@ 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;
BindDBResourcePoolWithUserOutcome bindDBResourcePoolWithUser(const Model::BindDBResourcePoolWithUserRequest &request)const;
void bindDBResourcePoolWithUserAsync(const Model::BindDBResourcePoolWithUserRequest& request, const BindDBResourcePoolWithUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindDBResourcePoolWithUserOutcomeCallable bindDBResourcePoolWithUserCallable(const Model::BindDBResourcePoolWithUserRequest& request) const;
CreateAccountOutcome createAccount(const Model::CreateAccountRequest &request)const;
void createAccountAsync(const Model::CreateAccountRequest& request, const CreateAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAccountOutcomeCallable createAccountCallable(const Model::CreateAccountRequest& request) const;
CreateDBClusterOutcome createDBCluster(const Model::CreateDBClusterRequest &request)const;
void createDBClusterAsync(const Model::CreateDBClusterRequest& request, const CreateDBClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDBClusterOutcomeCallable createDBClusterCallable(const Model::CreateDBClusterRequest& request) const;
CreateDBResourcePoolOutcome createDBResourcePool(const Model::CreateDBResourcePoolRequest &request)const;
void createDBResourcePoolAsync(const Model::CreateDBResourcePoolRequest& request, const CreateDBResourcePoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDBResourcePoolOutcomeCallable createDBResourcePoolCallable(const Model::CreateDBResourcePoolRequest& request) const;
CreateElasticPlanOutcome createElasticPlan(const Model::CreateElasticPlanRequest &request)const;
void createElasticPlanAsync(const Model::CreateElasticPlanRequest& request, const CreateElasticPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateElasticPlanOutcomeCallable createElasticPlanCallable(const Model::CreateElasticPlanRequest& request) const;
DeleteAccountOutcome deleteAccount(const Model::DeleteAccountRequest &request)const;
void deleteAccountAsync(const Model::DeleteAccountRequest& request, const DeleteAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAccountOutcomeCallable deleteAccountCallable(const Model::DeleteAccountRequest& request) const;
DeleteDBClusterOutcome deleteDBCluster(const Model::DeleteDBClusterRequest &request)const;
void deleteDBClusterAsync(const Model::DeleteDBClusterRequest& request, const DeleteDBClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDBClusterOutcomeCallable deleteDBClusterCallable(const Model::DeleteDBClusterRequest& request) const;
DeleteDBResourcePoolOutcome deleteDBResourcePool(const Model::DeleteDBResourcePoolRequest &request)const;
void deleteDBResourcePoolAsync(const Model::DeleteDBResourcePoolRequest& request, const DeleteDBResourcePoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDBResourcePoolOutcomeCallable deleteDBResourcePoolCallable(const Model::DeleteDBResourcePoolRequest& request) const;
DeleteElasticPlanOutcome deleteElasticPlan(const Model::DeleteElasticPlanRequest &request)const;
void deleteElasticPlanAsync(const Model::DeleteElasticPlanRequest& request, const DeleteElasticPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteElasticPlanOutcomeCallable deleteElasticPlanCallable(const Model::DeleteElasticPlanRequest& request) const;
DescribeAccountsOutcome describeAccounts(const Model::DescribeAccountsRequest &request)const;
void describeAccountsAsync(const Model::DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAccountsOutcomeCallable describeAccountsCallable(const Model::DescribeAccountsRequest& request) const;
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;
@@ -318,6 +431,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;
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;
DescribeDBClusterAccessWhiteListOutcome describeDBClusterAccessWhiteList(const Model::DescribeDBClusterAccessWhiteListRequest &request)const;
void describeDBClusterAccessWhiteListAsync(const Model::DescribeDBClusterAccessWhiteListRequest& request, const DescribeDBClusterAccessWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterAccessWhiteListOutcomeCallable describeDBClusterAccessWhiteListCallable(const Model::DescribeDBClusterAccessWhiteListRequest& request) const;
@@ -330,12 +446,27 @@ namespace AlibabaCloud
DescribeDBClusterPerformanceOutcome describeDBClusterPerformance(const Model::DescribeDBClusterPerformanceRequest &request)const;
void describeDBClusterPerformanceAsync(const Model::DescribeDBClusterPerformanceRequest& request, const DescribeDBClusterPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBClusterPerformanceOutcomeCallable describeDBClusterPerformanceCallable(const Model::DescribeDBClusterPerformanceRequest& request) const;
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;
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;
DescribeDBResourcePoolOutcome describeDBResourcePool(const Model::DescribeDBResourcePoolRequest &request)const;
void describeDBResourcePoolAsync(const Model::DescribeDBResourcePoolRequest& request, const DescribeDBResourcePoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBResourcePoolOutcomeCallable describeDBResourcePoolCallable(const Model::DescribeDBResourcePoolRequest& 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;
DescribeElasticPlanOutcome describeElasticPlan(const Model::DescribeElasticPlanRequest &request)const;
void describeElasticPlanAsync(const Model::DescribeElasticPlanRequest& request, const DescribeElasticPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeElasticPlanOutcomeCallable describeElasticPlanCallable(const Model::DescribeElasticPlanRequest& request) const;
DescribeInclinedTablesOutcome describeInclinedTables(const Model::DescribeInclinedTablesRequest &request)const;
void describeInclinedTablesAsync(const Model::DescribeInclinedTablesRequest& request, const DescribeInclinedTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInclinedTablesOutcomeCallable describeInclinedTablesCallable(const Model::DescribeInclinedTablesRequest& request) const;
DescribeLoadTasksRecordsOutcome describeLoadTasksRecords(const Model::DescribeLoadTasksRecordsRequest &request)const;
void describeLoadTasksRecordsAsync(const Model::DescribeLoadTasksRecordsRequest& request, const DescribeLoadTasksRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLoadTasksRecordsOutcomeCallable describeLoadTasksRecordsCallable(const Model::DescribeLoadTasksRecordsRequest& request) const;
DescribeOperatorPermissionOutcome describeOperatorPermission(const Model::DescribeOperatorPermissionRequest &request)const;
void describeOperatorPermissionAsync(const Model::DescribeOperatorPermissionRequest& request, const DescribeOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeOperatorPermissionOutcomeCallable describeOperatorPermissionCallable(const Model::DescribeOperatorPermissionRequest& request) const;
@@ -345,6 +476,12 @@ 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;
DescribeSQLPlanOutcome describeSQLPlan(const Model::DescribeSQLPlanRequest &request)const;
void describeSQLPlanAsync(const Model::DescribeSQLPlanRequest& request, const DescribeSQLPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSQLPlanOutcomeCallable describeSQLPlanCallable(const Model::DescribeSQLPlanRequest& request) const;
DescribeSQLPlanTaskOutcome describeSQLPlanTask(const Model::DescribeSQLPlanTaskRequest &request)const;
void describeSQLPlanTaskAsync(const Model::DescribeSQLPlanTaskRequest& request, const DescribeSQLPlanTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSQLPlanTaskOutcomeCallable describeSQLPlanTaskCallable(const Model::DescribeSQLPlanTaskRequest& request) const;
DescribeSchemasOutcome describeSchemas(const Model::DescribeSchemasRequest &request)const;
void describeSchemasAsync(const Model::DescribeSchemasRequest& request, const DescribeSchemasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSchemasOutcomeCallable describeSchemasCallable(const Model::DescribeSchemasRequest& request) const;
@@ -360,6 +497,9 @@ namespace AlibabaCloud
DescribeTablePartitionDiagnoseOutcome describeTablePartitionDiagnose(const Model::DescribeTablePartitionDiagnoseRequest &request)const;
void describeTablePartitionDiagnoseAsync(const Model::DescribeTablePartitionDiagnoseRequest& request, const DescribeTablePartitionDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTablePartitionDiagnoseOutcomeCallable describeTablePartitionDiagnoseCallable(const Model::DescribeTablePartitionDiagnoseRequest& request) const;
DescribeTableStatisticsOutcome describeTableStatistics(const Model::DescribeTableStatisticsRequest &request)const;
void describeTableStatisticsAsync(const Model::DescribeTableStatisticsRequest& request, const DescribeTableStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTableStatisticsOutcomeCallable describeTableStatisticsCallable(const Model::DescribeTableStatisticsRequest& request) const;
DescribeTablesOutcome describeTables(const Model::DescribeTablesRequest &request)const;
void describeTablesAsync(const Model::DescribeTablesRequest& request, const DescribeTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTablesOutcomeCallable describeTablesCallable(const Model::DescribeTablesRequest& request) const;
@@ -402,6 +542,15 @@ namespace AlibabaCloud
ModifyDBClusterMaintainTimeOutcome modifyDBClusterMaintainTime(const Model::ModifyDBClusterMaintainTimeRequest &request)const;
void modifyDBClusterMaintainTimeAsync(const Model::ModifyDBClusterMaintainTimeRequest& request, const ModifyDBClusterMaintainTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDBClusterMaintainTimeOutcomeCallable modifyDBClusterMaintainTimeCallable(const Model::ModifyDBClusterMaintainTimeRequest& request) const;
ModifyDBClusterResourceGroupOutcome modifyDBClusterResourceGroup(const Model::ModifyDBClusterResourceGroupRequest &request)const;
void modifyDBClusterResourceGroupAsync(const Model::ModifyDBClusterResourceGroupRequest& request, const ModifyDBClusterResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDBClusterResourceGroupOutcomeCallable modifyDBClusterResourceGroupCallable(const Model::ModifyDBClusterResourceGroupRequest& request) const;
ModifyDBResourcePoolOutcome modifyDBResourcePool(const Model::ModifyDBResourcePoolRequest &request)const;
void modifyDBResourcePoolAsync(const Model::ModifyDBResourcePoolRequest& request, const ModifyDBResourcePoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDBResourcePoolOutcomeCallable modifyDBResourcePoolCallable(const Model::ModifyDBResourcePoolRequest& request) const;
ModifyElasticPlanOutcome modifyElasticPlan(const Model::ModifyElasticPlanRequest &request)const;
void modifyElasticPlanAsync(const Model::ModifyElasticPlanRequest& request, const ModifyElasticPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyElasticPlanOutcomeCallable modifyElasticPlanCallable(const Model::ModifyElasticPlanRequest& request) const;
ModifyLogBackupPolicyOutcome modifyLogBackupPolicy(const Model::ModifyLogBackupPolicyRequest &request)const;
void modifyLogBackupPolicyAsync(const Model::ModifyLogBackupPolicyRequest& request, const ModifyLogBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyLogBackupPolicyOutcomeCallable modifyLogBackupPolicyCallable(const Model::ModifyLogBackupPolicyRequest& request) const;
@@ -417,6 +566,9 @@ namespace AlibabaCloud
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
UnbindDBResourcePoolWithUserOutcome unbindDBResourcePoolWithUser(const Model::UnbindDBResourcePoolWithUserRequest &request)const;
void unbindDBResourcePoolWithUserAsync(const Model::UnbindDBResourcePoolWithUserRequest& request, const UnbindDBResourcePoolWithUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnbindDBResourcePoolWithUserOutcomeCallable unbindDBResourcePoolWithUserCallable(const Model::UnbindDBResourcePoolWithUserRequest& request) const;
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;

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_BINDDBRESOURCEPOOLWITHUSERREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_BINDDBRESOURCEPOOLWITHUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT BindDBResourcePoolWithUserRequest : public RpcServiceRequest
{
public:
BindDBResourcePoolWithUserRequest();
~BindDBResourcePoolWithUserRequest();
std::string getPoolName()const;
void setPoolName(const std::string& poolName);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPoolUser()const;
void setPoolUser(const std::string& poolUser);
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:
std::string poolName_;
long resourceOwnerId_;
std::string poolUser_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_BINDDBRESOURCEPOOLWITHUSERREQUEST_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_BINDDBRESOURCEPOOLWITHUSERRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_BINDDBRESOURCEPOOLWITHUSERRESULT_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 BindDBResourcePoolWithUserResult : public ServiceResult
{
public:
BindDBResourcePoolWithUserResult();
explicit BindDBResourcePoolWithUserResult(const std::string &payload);
~BindDBResourcePoolWithUserResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_BINDDBRESOURCEPOOLWITHUSERRESULT_H_

View File

@@ -39,16 +39,32 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getDBClusterDescription()const;
void setDBClusterDescription(const std::string& dBClusterDescription);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getStorageType()const;
void setStorageType(const std::string& storageType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getMode()const;
void setMode(const std::string& mode);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getPeriod()const;
void setPeriod(const std::string& period);
std::string getBackupSetID()const;
void setBackupSetID(const std::string& backupSetID);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBNodeGroupCount()const;
void setDBNodeGroupCount(const std::string& dBNodeGroupCount);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getComputeResource()const;
void setComputeResource(const std::string& computeResource);
std::string getSourceDBInstanceName()const;
void setSourceDBInstanceName(const std::string& sourceDBInstanceName);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getStorageResource()const;
void setStorageResource(const std::string& storageResource);
std::string getRegionId()const;
@@ -57,8 +73,8 @@ namespace AlibabaCloud
void setDBClusterCategory(const std::string& dBClusterCategory);
std::string getDBClusterNetworkType()const;
void setDBClusterNetworkType(const std::string& dBClusterNetworkType);
std::string getPeriod()const;
void setPeriod(const std::string& period);
std::string getRestoreTime()const;
void setRestoreTime(const std::string& restoreTime);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
@@ -67,53 +83,49 @@ namespace AlibabaCloud
void setDBClusterVersion(const std::string& dBClusterVersion);
std::string getDBClusterClass()const;
void setDBClusterClass(const std::string& dBClusterClass);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBNodeGroupCount()const;
void setDBNodeGroupCount(const std::string& dBNodeGroupCount);
std::string getUsedTime()const;
void setUsedTime(const std::string& usedTime);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getRestoreType()const;
void setRestoreType(const std::string& restoreType);
std::string getDBNodeStorage()const;
void setDBNodeStorage(const std::string& dBNodeStorage);
std::string getExecutorCount()const;
void setExecutorCount(const std::string& executorCount);
std::string getVPCId()const;
void setVPCId(const std::string& vPCId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getComputeResource()const;
void setComputeResource(const std::string& computeResource);
std::string getPayType()const;
void setPayType(const std::string& payType);
private:
long resourceOwnerId_;
std::string dBClusterDescription_;
std::string clientToken_;
std::string storageType_;
std::string accessKeyId_;
std::string mode_;
std::string resourceGroupId_;
std::string period_;
std::string backupSetID_;
long ownerId_;
std::string dBNodeGroupCount_;
std::string vSwitchId_;
std::string zoneId_;
std::string computeResource_;
std::string sourceDBInstanceName_;
std::string clientToken_;
std::string accessKeyId_;
std::string storageResource_;
std::string regionId_;
std::string dBClusterCategory_;
std::string dBClusterNetworkType_;
std::string period_;
std::string restoreTime_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBClusterVersion_;
std::string dBClusterClass_;
long ownerId_;
std::string dBNodeGroupCount_;
std::string usedTime_;
std::string vSwitchId_;
std::string restoreType_;
std::string dBNodeStorage_;
std::string executorCount_;
std::string vPCId_;
std::string zoneId_;
std::string computeResource_;
std::string payType_;
};

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_CREATEDBRESOURCEPOOLREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_CREATEDBRESOURCEPOOLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT CreateDBResourcePoolRequest : public RpcServiceRequest
{
public:
CreateDBResourcePoolRequest();
~CreateDBResourcePoolRequest();
std::string getPoolName()const;
void setPoolName(const std::string& poolName);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getNodeNum()const;
void setNodeNum(int nodeNum);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getQueryType()const;
void setQueryType(const std::string& queryType);
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:
std::string poolName_;
long resourceOwnerId_;
int nodeNum_;
std::string accessKeyId_;
std::string queryType_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_CREATEDBRESOURCEPOOLREQUEST_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_CREATEDBRESOURCEPOOLRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_CREATEDBRESOURCEPOOLRESULT_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 CreateDBResourcePoolResult : public ServiceResult
{
public:
CreateDBResourcePoolResult();
explicit CreateDBResourcePoolResult(const std::string &payload);
~CreateDBResourcePoolResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_CREATEDBRESOURCEPOOLRESULT_H_

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_CREATEELASTICPLANREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_CREATEELASTICPLANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT CreateElasticPlanRequest : public RpcServiceRequest
{
public:
CreateElasticPlanRequest();
~CreateElasticPlanRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getElasticPlanTimeStart()const;
void setElasticPlanTimeStart(const std::string& elasticPlanTimeStart);
std::string getElasticPlanEndDay()const;
void setElasticPlanEndDay(const std::string& elasticPlanEndDay);
std::string getElasticPlanWeeklyRepeat()const;
void setElasticPlanWeeklyRepeat(const std::string& elasticPlanWeeklyRepeat);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getElasticPlanEnable()const;
void setElasticPlanEnable(bool elasticPlanEnable);
std::string getElasticPlanTimeEnd()const;
void setElasticPlanTimeEnd(const std::string& elasticPlanTimeEnd);
std::string getElasticPlanStartDay()const;
void setElasticPlanStartDay(const std::string& elasticPlanStartDay);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getElasticPlanName()const;
void setElasticPlanName(const std::string& elasticPlanName);
std::string getResourcePoolName()const;
void setResourcePoolName(const std::string& resourcePoolName);
int getElasticPlanNodeNum()const;
void setElasticPlanNodeNum(int elasticPlanNodeNum);
private:
long resourceOwnerId_;
std::string elasticPlanTimeStart_;
std::string elasticPlanEndDay_;
std::string elasticPlanWeeklyRepeat_;
std::string accessKeyId_;
bool elasticPlanEnable_;
std::string elasticPlanTimeEnd_;
std::string elasticPlanStartDay_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
std::string elasticPlanName_;
std::string resourcePoolName_;
int elasticPlanNodeNum_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_CREATEELASTICPLANREQUEST_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_CREATEELASTICPLANRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_CREATEELASTICPLANRESULT_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 CreateElasticPlanResult : public ServiceResult
{
public:
CreateElasticPlanResult();
explicit CreateElasticPlanResult(const std::string &payload);
~CreateElasticPlanResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_CREATEELASTICPLANRESULT_H_

View File

@@ -37,10 +37,14 @@ namespace AlibabaCloud
DeleteDBClusterResult();
explicit DeleteDBClusterResult(const std::string &payload);
~DeleteDBClusterResult();
int getTaskId()const;
std::string getDBClusterId()const;
protected:
void parse(const std::string &payload);
private:
int taskId_;
std::string dBClusterId_;
};
}

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_DELETEDBRESOURCEPOOLREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DELETEDBRESOURCEPOOLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DeleteDBResourcePoolRequest : public RpcServiceRequest
{
public:
DeleteDBResourcePoolRequest();
~DeleteDBResourcePoolRequest();
std::string getPoolName()const;
void setPoolName(const std::string& poolName);
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:
std::string poolName_;
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DELETEDBRESOURCEPOOLREQUEST_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_DELETEDBRESOURCEPOOLRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DELETEDBRESOURCEPOOLRESULT_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 DeleteDBResourcePoolResult : public ServiceResult
{
public:
DeleteDBResourcePoolResult();
explicit DeleteDBResourcePoolResult(const std::string &payload);
~DeleteDBResourcePoolResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DELETEDBRESOURCEPOOLRESULT_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_DELETEELASTICPLANREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DELETEELASTICPLANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DeleteElasticPlanRequest : public RpcServiceRequest
{
public:
DeleteElasticPlanRequest();
~DeleteElasticPlanRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getElasticPlanName()const;
void setElasticPlanName(const std::string& elasticPlanName);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
std::string elasticPlanName_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DELETEELASTICPLANREQUEST_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_DELETEELASTICPLANRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DELETEELASTICPLANRESULT_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 DeleteElasticPlanResult : public ServiceResult
{
public:
DeleteElasticPlanResult();
explicit DeleteElasticPlanResult(const std::string &payload);
~DeleteElasticPlanResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DELETEELASTICPLANRESULT_H_

View File

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

View File

@@ -40,7 +40,14 @@ namespace AlibabaCloud
{
struct SupportedFlexibleResourceItem
{
struct SupportedElasticIOResource
{
std::string maxCount;
std::string step;
std::string minCount;
};
std::string storageType;
SupportedElasticIOResource supportedElasticIOResource;
std::vector<std::string> supportedStorageResource;
std::vector<std::string> supportedComputeResource;
};

View File

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

View File

@@ -47,6 +47,7 @@ namespace AlibabaCloud
std::string dBClusterNetworkType;
std::string dBClusterType;
std::string diskType;
int elasticIOResource;
std::string dBVersion;
std::string dtsJobId;
long dBNodeCount;
@@ -57,6 +58,8 @@ namespace AlibabaCloud
std::vector<DBCluster::Tag> tags;
std::string engine;
long dBNodeStorage;
std::string engineVersion;
bool userENIStatus;
std::string zoneId;
std::string vPCId;
std::string dBClusterStatus;
@@ -67,7 +70,9 @@ namespace AlibabaCloud
std::string expired;
std::string lockMode;
std::string payType;
bool enableAirflow;
std::string dBNodeClass;
bool enableSpark;
std::string vPCCloudInstanceId;
std::string creationTime;
std::string regionId;

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_DESCRIBEDBCLUSTERRESOURCEPOOLPERFORMANCEREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERRESOURCEPOOLPERFORMANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterResourcePoolPerformanceRequest : public RpcServiceRequest
{
public:
DescribeDBClusterResourcePoolPerformanceRequest();
~DescribeDBClusterResourcePoolPerformanceRequest();
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 getResourcePools()const;
void setResourcePools(const std::string& resourcePools);
std::string getKey()const;
void setKey(const std::string& key);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string startTime_;
std::string accessKeyId_;
std::string resourcePools_;
std::string key_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
std::string endTime_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERRESOURCEPOOLPERFORMANCEREQUEST_H_

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERRESOURCEPOOLPERFORMANCERESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERRESOURCEPOOLPERFORMANCERESULT_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 DescribeDBClusterResourcePoolPerformanceResult : public ServiceResult
{
public:
struct PerformanceItem
{
struct ResourcePoolPerformancesItem
{
struct ResourcePoolSeriesItem
{
std::vector<std::string> values;
std::string name;
};
std::vector<ResourcePoolPerformancesItem::ResourcePoolSeriesItem> resourcePoolSeries;
std::string resourcePoolName;
};
std::vector<PerformanceItem::ResourcePoolPerformancesItem> resourcePoolPerformances;
std::string unit;
std::string key;
};
DescribeDBClusterResourcePoolPerformanceResult();
explicit DescribeDBClusterResourcePoolPerformanceResult(const std::string &payload);
~DescribeDBClusterResourcePoolPerformanceResult();
std::string getEndTime()const;
std::string getDBClusterId()const;
std::string getStartTime()const;
std::vector<PerformanceItem> getPerformances()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string dBClusterId_;
std::string startTime_;
std::vector<PerformanceItem> performances_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERRESOURCEPOOLPERFORMANCERESULT_H_

View File

@@ -47,6 +47,7 @@ namespace AlibabaCloud
std::string dBClusterNetworkType;
std::string dBClusterType;
std::string diskType;
int elasticIOResource;
std::string dBVersion;
std::string dtsJobId;
long dBNodeCount;

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_DESCRIBEDBRESOURCEPOOLREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBRESOURCEPOOLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeDBResourcePoolRequest : public RpcServiceRequest
{
public:
DescribeDBResourcePoolRequest();
~DescribeDBResourcePoolRequest();
std::string getPoolName()const;
void setPoolName(const std::string& poolName);
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:
std::string poolName_;
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBRESOURCEPOOLREQUEST_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_DESCRIBEDBRESOURCEPOOLRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBRESOURCEPOOLRESULT_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 DescribeDBResourcePoolResult : public ServiceResult
{
public:
struct PoolInfo
{
int nodeNum;
std::string poolName;
std::string createTime;
std::string updateTime;
std::string poolUsers;
std::string queryType;
};
DescribeDBResourcePoolResult();
explicit DescribeDBResourcePoolResult(const std::string &payload);
~DescribeDBResourcePoolResult();
std::vector<PoolInfo> getPoolsInfo()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PoolInfo> poolsInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBRESOURCEPOOLRESULT_H_

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,87 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_DESCRIBELOADTASKSRECORDSREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOADTASKSRECORDSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeLoadTasksRecordsRequest : public RpcServiceRequest
{
public:
DescribeLoadTasksRecordsRequest();
~DescribeLoadTasksRecordsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRange()const;
void setRange(const std::string& range);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getState()const;
void setState(const std::string& state);
std::string getOrder()const;
void setOrder(const std::string& order);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBName()const;
void setDBName(const std::string& dBName);
private:
long resourceOwnerId_;
std::string range_;
std::string startTime_;
int pageNumber_;
std::string accessKeyId_;
int pageSize_;
std::string state_;
std::string order_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
std::string endTime_;
long ownerId_;
std::string dBName_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOADTASKSRECORDSREQUEST_H_

View File

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

View File

@@ -0,0 +1,92 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_DESCRIBESQLPLANRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANRESULT_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 DescribeSQLPlanResult : public ServiceResult
{
public:
struct Detail
{
long totalTask;
long outputSize;
std::string user;
long totalStage;
long peakMemory;
std::string startTime;
std::string clientIP;
std::string sQL;
long cPUTime;
long queuedTime;
std::string state;
std::string database;
long totalTime;
long planningTime;
long outputRows;
};
struct SqlPlanStage
{
long scanSizeMin;
long scanSizeAvg;
int stageId;
long peakMemory;
long cPUTimeMax;
long scanTimeMin;
long scanTimeAvg;
long inputSizeMax;
long inputSizeMin;
long inputSizeAvg;
long scanSizeMax;
std::string state;
long operatorCost;
long scanTimeMax;
long cPUTimeMin;
long cPUTimeAvg;
};
DescribeSQLPlanResult();
explicit DescribeSQLPlanResult(const std::string &payload);
~DescribeSQLPlanResult();
std::vector<SqlPlanStage> getStageList()const;
std::string getOriginInfo()const;
Detail getDetail()const;
protected:
void parse(const std::string &payload);
private:
std::vector<SqlPlanStage> stageList_;
std::string originInfo_;
Detail detail_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANRESULT_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_DESCRIBESQLPLANTASKREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT DescribeSQLPlanTaskRequest : public RpcServiceRequest
{
public:
DescribeSQLPlanTaskRequest();
~DescribeSQLPlanTaskRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProcessId()const;
void setProcessId(const std::string& processId);
std::string getStageId()const;
void setStageId(const std::string& stageId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
std::string processId_;
std::string stageId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANTASKREQUEST_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_DESCRIBESQLPLANTASKRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANTASKRESULT_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 DescribeSQLPlanTaskResult : public ServiceResult
{
public:
struct SqlPlanTask
{
long outputSize;
int taskId;
long scanRows;
long inputSize;
long scanCost;
std::string state;
long peakMemory;
long elapsedTime;
long operatorCost;
long outputRows;
long scanSize;
long inputRows;
};
DescribeSQLPlanTaskResult();
explicit DescribeSQLPlanTaskResult(const std::string &payload);
~DescribeSQLPlanTaskResult();
std::vector<SqlPlanTask> getTaskList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<SqlPlanTask> taskList_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANTASKRESULT_H_

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRange()const;
void setRange(const std::string& range);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
int getPageNumber()const;
@@ -45,6 +47,10 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getState()const;
void setState(const std::string& state);
std::string getOrder()const;
void setOrder(const std::string& order);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
@@ -57,19 +63,25 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getDBName()const;
void setDBName(const std::string& dBName);
std::string getProcessID()const;
void setProcessID(const std::string& processID);
private:
long resourceOwnerId_;
std::string range_;
std::string startTime_;
int pageNumber_;
std::string accessKeyId_;
int pageSize_;
std::string state_;
std::string order_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
std::string endTime_;
long ownerId_;
std::string dBName_;
std::string processID_;
};
}

View File

@@ -34,15 +34,20 @@ namespace AlibabaCloud
public:
struct SlowLogRecord
{
std::string outputSize;
std::string userName;
std::string peakMemoryUsage;
std::string executionStartTime;
long queryTime;
long parseRowCounts;
long queryTime;
long scanTime;
std::string hostAddress;
std::string sQLText;
long wallTime;
long scanRows;
std::string state;
long returnRowCounts;
long planningTime;
std::string dBName;
long queueTime;
std::string processID;

View File

@@ -47,7 +47,7 @@ namespace AlibabaCloud
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
int getDBClusterId()const;
std::string getDBClusterId()const;
long getSuggestMaxRecordsPerPartition()const;
std::vector<TablePartitionDiagnose> getItems()const;
long getSuggestMinRecordsPerPartition()const;
@@ -58,7 +58,7 @@ namespace AlibabaCloud
int totalCount_;
int pageSize_;
int pageNumber_;
int dBClusterId_;
std::string dBClusterId_;
long suggestMaxRecordsPerPartition_;
std::vector<TablePartitionDiagnose> items_;
long suggestMinRecordsPerPartition_;

View File

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

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBETABLESTATISTICSRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLESTATISTICSRESULT_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 DescribeTableStatisticsResult : public ServiceResult
{
public:
struct TableStatisticRecords
{
std::string tableName;
long coldDataSize;
long dataSize;
long primaryKeyIndexSize;
long indexSize;
long rowCount;
long partitionCount;
std::string schemaName;
};
DescribeTableStatisticsResult();
explicit DescribeTableStatisticsResult(const std::string &payload);
~DescribeTableStatisticsResult();
std::string getTotalCount()const;
std::string getPageSize()const;
std::string getPageNumber()const;
std::string getDBClusterId()const;
std::vector<TableStatisticRecords> getItems()const;
protected:
void parse(const std::string &payload);
private:
std::string totalCount_;
std::string pageSize_;
std::string pageNumber_;
std::string dBClusterId_;
std::vector<TableStatisticRecords> items_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLESTATISTICSRESULT_H_

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getEnableBackupLog()const;
void setEnableBackupLog(const std::string& enableBackupLog);
std::string getPreferredBackupPeriod()const;
void setPreferredBackupPeriod(const std::string& preferredBackupPeriod);
std::string getResourceOwnerAccount()const;
@@ -53,10 +55,13 @@ namespace AlibabaCloud
void setPreferredBackupTime(const std::string& preferredBackupTime);
std::string getBackupRetentionPeriod()const;
void setBackupRetentionPeriod(const std::string& backupRetentionPeriod);
int getLogBackupRetentionPeriod()const;
void setLogBackupRetentionPeriod(int logBackupRetentionPeriod);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string enableBackupLog_;
std::string preferredBackupPeriod_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
@@ -64,6 +69,7 @@ namespace AlibabaCloud
long ownerId_;
std::string preferredBackupTime_;
std::string backupRetentionPeriod_;
int logBackupRetentionPeriod_;
};
}

View File

@@ -39,12 +39,16 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getMode()const;
void setMode(const std::string& mode);
std::string getStorageResource()const;
void setStorageResource(const std::string& storageResource);
std::string getDBNodeClass()const;
void setDBNodeClass(const std::string& dBNodeClass);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDBClusterCategory()const;
void setDBClusterCategory(const std::string& dBClusterCategory);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
@@ -63,13 +67,17 @@ namespace AlibabaCloud
void setModifyType(const std::string& modifyType);
std::string getComputeResource()const;
void setComputeResource(const std::string& computeResource);
int getElasticIOResource()const;
void setElasticIOResource(int elasticIOResource);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string mode_;
std::string storageResource_;
std::string dBNodeClass_;
std::string regionId_;
std::string dBClusterCategory_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
@@ -79,6 +87,7 @@ namespace AlibabaCloud
std::string executorCount_;
std::string modifyType_;
std::string computeResource_;
int elasticIOResource_;
};
}

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_MODIFYDBCLUSTERRESOURCEGROUPREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERRESOURCEGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ModifyDBClusterResourceGroupRequest : public RpcServiceRequest
{
public:
ModifyDBClusterResourceGroupRequest();
~ModifyDBClusterResourceGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getNewResourceGroupId()const;
void setNewResourceGroupId(const std::string& newResourceGroupId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
std::string newResourceGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERRESOURCEGROUPREQUEST_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_MODIFYDBCLUSTERRESOURCEGROUPRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERRESOURCEGROUPRESULT_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 ModifyDBClusterResourceGroupResult : public ServiceResult
{
public:
ModifyDBClusterResourceGroupResult();
explicit ModifyDBClusterResourceGroupResult(const std::string &payload);
~ModifyDBClusterResourceGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERRESOURCEGROUPRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYDBRESOURCEPOOLREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYDBRESOURCEPOOLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ModifyDBResourcePoolRequest : public RpcServiceRequest
{
public:
ModifyDBResourcePoolRequest();
~ModifyDBResourcePoolRequest();
std::string getPoolName()const;
void setPoolName(const std::string& poolName);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getNodeNum()const;
void setNodeNum(int nodeNum);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getQueryType()const;
void setQueryType(const std::string& queryType);
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:
std::string poolName_;
long resourceOwnerId_;
int nodeNum_;
std::string accessKeyId_;
std::string queryType_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBRESOURCEPOOLREQUEST_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_MODIFYDBRESOURCEPOOLRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYDBRESOURCEPOOLRESULT_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 ModifyDBResourcePoolResult : public ServiceResult
{
public:
ModifyDBResourcePoolResult();
explicit ModifyDBResourcePoolResult(const std::string &payload);
~ModifyDBResourcePoolResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBRESOURCEPOOLRESULT_H_

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYELASTICPLANREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYELASTICPLANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ModifyElasticPlanRequest : public RpcServiceRequest
{
public:
ModifyElasticPlanRequest();
~ModifyElasticPlanRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getElasticPlanTimeStart()const;
void setElasticPlanTimeStart(const std::string& elasticPlanTimeStart);
std::string getElasticPlanEndDay()const;
void setElasticPlanEndDay(const std::string& elasticPlanEndDay);
std::string getElasticPlanWeeklyRepeat()const;
void setElasticPlanWeeklyRepeat(const std::string& elasticPlanWeeklyRepeat);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getElasticPlanEnable()const;
void setElasticPlanEnable(bool elasticPlanEnable);
std::string getElasticPlanTimeEnd()const;
void setElasticPlanTimeEnd(const std::string& elasticPlanTimeEnd);
std::string getElasticPlanStartDay()const;
void setElasticPlanStartDay(const std::string& elasticPlanStartDay);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getDBClusterId()const;
void setDBClusterId(const std::string& dBClusterId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getElasticPlanName()const;
void setElasticPlanName(const std::string& elasticPlanName);
std::string getResourcePoolName()const;
void setResourcePoolName(const std::string& resourcePoolName);
int getElasticPlanNodeNum()const;
void setElasticPlanNodeNum(int elasticPlanNodeNum);
private:
long resourceOwnerId_;
std::string elasticPlanTimeStart_;
std::string elasticPlanEndDay_;
std::string elasticPlanWeeklyRepeat_;
std::string accessKeyId_;
bool elasticPlanEnable_;
std::string elasticPlanTimeEnd_;
std::string elasticPlanStartDay_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
std::string elasticPlanName_;
std::string resourcePoolName_;
int elasticPlanNodeNum_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYELASTICPLANREQUEST_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_MODIFYELASTICPLANRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_MODIFYELASTICPLANRESULT_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 ModifyElasticPlanResult : public ServiceResult
{
public:
ModifyElasticPlanResult();
explicit ModifyElasticPlanResult(const std::string &payload);
~ModifyElasticPlanResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYELASTICPLANRESULT_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_UNBINDDBRESOURCEPOOLWITHUSERREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_UNBINDDBRESOURCEPOOLWITHUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT UnbindDBResourcePoolWithUserRequest : public RpcServiceRequest
{
public:
UnbindDBResourcePoolWithUserRequest();
~UnbindDBResourcePoolWithUserRequest();
std::string getPoolName()const;
void setPoolName(const std::string& poolName);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPoolUser()const;
void setPoolUser(const std::string& poolUser);
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:
std::string poolName_;
long resourceOwnerId_;
std::string poolUser_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_UNBINDDBRESOURCEPOOLWITHUSERREQUEST_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_UNBINDDBRESOURCEPOOLWITHUSERRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_UNBINDDBRESOURCEPOOLWITHUSERRESULT_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 UnbindDBResourcePoolWithUserResult : public ServiceResult
{
public:
UnbindDBResourcePoolWithUserResult();
explicit UnbindDBResourcePoolWithUserResult(const std::string &payload);
~UnbindDBResourcePoolWithUserResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_UNBINDDBRESOURCEPOOLWITHUSERRESULT_H_

View File

@@ -87,6 +87,42 @@ AdbClient::AllocateClusterPublicConnectionOutcomeCallable AdbClient::allocateClu
return task->get_future();
}
AdbClient::BindDBResourcePoolWithUserOutcome AdbClient::bindDBResourcePoolWithUser(const BindDBResourcePoolWithUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BindDBResourcePoolWithUserOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BindDBResourcePoolWithUserOutcome(BindDBResourcePoolWithUserResult(outcome.result()));
else
return BindDBResourcePoolWithUserOutcome(outcome.error());
}
void AdbClient::bindDBResourcePoolWithUserAsync(const BindDBResourcePoolWithUserRequest& request, const BindDBResourcePoolWithUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, bindDBResourcePoolWithUser(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::BindDBResourcePoolWithUserOutcomeCallable AdbClient::bindDBResourcePoolWithUserCallable(const BindDBResourcePoolWithUserRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BindDBResourcePoolWithUserOutcome()>>(
[this, request]()
{
return this->bindDBResourcePoolWithUser(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::CreateAccountOutcome AdbClient::createAccount(const CreateAccountRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -159,6 +195,78 @@ AdbClient::CreateDBClusterOutcomeCallable AdbClient::createDBClusterCallable(con
return task->get_future();
}
AdbClient::CreateDBResourcePoolOutcome AdbClient::createDBResourcePool(const CreateDBResourcePoolRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateDBResourcePoolOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateDBResourcePoolOutcome(CreateDBResourcePoolResult(outcome.result()));
else
return CreateDBResourcePoolOutcome(outcome.error());
}
void AdbClient::createDBResourcePoolAsync(const CreateDBResourcePoolRequest& request, const CreateDBResourcePoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createDBResourcePool(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::CreateDBResourcePoolOutcomeCallable AdbClient::createDBResourcePoolCallable(const CreateDBResourcePoolRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateDBResourcePoolOutcome()>>(
[this, request]()
{
return this->createDBResourcePool(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::CreateElasticPlanOutcome AdbClient::createElasticPlan(const CreateElasticPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateElasticPlanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateElasticPlanOutcome(CreateElasticPlanResult(outcome.result()));
else
return CreateElasticPlanOutcome(outcome.error());
}
void AdbClient::createElasticPlanAsync(const CreateElasticPlanRequest& request, const CreateElasticPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createElasticPlan(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::CreateElasticPlanOutcomeCallable AdbClient::createElasticPlanCallable(const CreateElasticPlanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateElasticPlanOutcome()>>(
[this, request]()
{
return this->createElasticPlan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DeleteAccountOutcome AdbClient::deleteAccount(const DeleteAccountRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -231,6 +339,78 @@ AdbClient::DeleteDBClusterOutcomeCallable AdbClient::deleteDBClusterCallable(con
return task->get_future();
}
AdbClient::DeleteDBResourcePoolOutcome AdbClient::deleteDBResourcePool(const DeleteDBResourcePoolRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteDBResourcePoolOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteDBResourcePoolOutcome(DeleteDBResourcePoolResult(outcome.result()));
else
return DeleteDBResourcePoolOutcome(outcome.error());
}
void AdbClient::deleteDBResourcePoolAsync(const DeleteDBResourcePoolRequest& request, const DeleteDBResourcePoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteDBResourcePool(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DeleteDBResourcePoolOutcomeCallable AdbClient::deleteDBResourcePoolCallable(const DeleteDBResourcePoolRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteDBResourcePoolOutcome()>>(
[this, request]()
{
return this->deleteDBResourcePool(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DeleteElasticPlanOutcome AdbClient::deleteElasticPlan(const DeleteElasticPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteElasticPlanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteElasticPlanOutcome(DeleteElasticPlanResult(outcome.result()));
else
return DeleteElasticPlanOutcome(outcome.error());
}
void AdbClient::deleteElasticPlanAsync(const DeleteElasticPlanRequest& request, const DeleteElasticPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteElasticPlan(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DeleteElasticPlanOutcomeCallable AdbClient::deleteElasticPlanCallable(const DeleteElasticPlanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteElasticPlanOutcome()>>(
[this, request]()
{
return this->deleteElasticPlan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeAccountsOutcome AdbClient::describeAccounts(const DescribeAccountsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -267,6 +447,42 @@ AdbClient::DescribeAccountsOutcomeCallable AdbClient::describeAccountsCallable(c
return task->get_future();
}
AdbClient::DescribeAllAccountsOutcome AdbClient::describeAllAccounts(const DescribeAllAccountsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeAllAccountsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeAllAccountsOutcome(DescribeAllAccountsResult(outcome.result()));
else
return DescribeAllAccountsOutcome(outcome.error());
}
void AdbClient::describeAllAccountsAsync(const DescribeAllAccountsRequest& request, const DescribeAllAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeAllAccounts(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeAllAccountsOutcomeCallable AdbClient::describeAllAccountsCallable(const DescribeAllAccountsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeAllAccountsOutcome()>>(
[this, request]()
{
return this->describeAllAccounts(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeAllDataSourceOutcome AdbClient::describeAllDataSource(const DescribeAllDataSourceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -555,6 +771,42 @@ AdbClient::DescribeColumnsOutcomeCallable AdbClient::describeColumnsCallable(con
return task->get_future();
}
AdbClient::DescribeConnectionCountRecordsOutcome AdbClient::describeConnectionCountRecords(const DescribeConnectionCountRecordsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeConnectionCountRecordsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeConnectionCountRecordsOutcome(DescribeConnectionCountRecordsResult(outcome.result()));
else
return DescribeConnectionCountRecordsOutcome(outcome.error());
}
void AdbClient::describeConnectionCountRecordsAsync(const DescribeConnectionCountRecordsRequest& request, const DescribeConnectionCountRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeConnectionCountRecords(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeConnectionCountRecordsOutcomeCallable AdbClient::describeConnectionCountRecordsCallable(const DescribeConnectionCountRecordsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeConnectionCountRecordsOutcome()>>(
[this, request]()
{
return this->describeConnectionCountRecords(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeDBClusterAccessWhiteListOutcome AdbClient::describeDBClusterAccessWhiteList(const DescribeDBClusterAccessWhiteListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -699,6 +951,42 @@ AdbClient::DescribeDBClusterPerformanceOutcomeCallable AdbClient::describeDBClus
return task->get_future();
}
AdbClient::DescribeDBClusterResourcePoolPerformanceOutcome AdbClient::describeDBClusterResourcePoolPerformance(const DescribeDBClusterResourcePoolPerformanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDBClusterResourcePoolPerformanceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDBClusterResourcePoolPerformanceOutcome(DescribeDBClusterResourcePoolPerformanceResult(outcome.result()));
else
return DescribeDBClusterResourcePoolPerformanceOutcome(outcome.error());
}
void AdbClient::describeDBClusterResourcePoolPerformanceAsync(const DescribeDBClusterResourcePoolPerformanceRequest& request, const DescribeDBClusterResourcePoolPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDBClusterResourcePoolPerformance(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeDBClusterResourcePoolPerformanceOutcomeCallable AdbClient::describeDBClusterResourcePoolPerformanceCallable(const DescribeDBClusterResourcePoolPerformanceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDBClusterResourcePoolPerformanceOutcome()>>(
[this, request]()
{
return this->describeDBClusterResourcePoolPerformance(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeDBClustersOutcome AdbClient::describeDBClusters(const DescribeDBClustersRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -735,6 +1023,114 @@ AdbClient::DescribeDBClustersOutcomeCallable AdbClient::describeDBClustersCallab
return task->get_future();
}
AdbClient::DescribeDBResourcePoolOutcome AdbClient::describeDBResourcePool(const DescribeDBResourcePoolRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDBResourcePoolOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDBResourcePoolOutcome(DescribeDBResourcePoolResult(outcome.result()));
else
return DescribeDBResourcePoolOutcome(outcome.error());
}
void AdbClient::describeDBResourcePoolAsync(const DescribeDBResourcePoolRequest& request, const DescribeDBResourcePoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDBResourcePool(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeDBResourcePoolOutcomeCallable AdbClient::describeDBResourcePoolCallable(const DescribeDBResourcePoolRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDBResourcePoolOutcome()>>(
[this, request]()
{
return this->describeDBResourcePool(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeElasticDailyPlanOutcome AdbClient::describeElasticDailyPlan(const DescribeElasticDailyPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeElasticDailyPlanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeElasticDailyPlanOutcome(DescribeElasticDailyPlanResult(outcome.result()));
else
return DescribeElasticDailyPlanOutcome(outcome.error());
}
void AdbClient::describeElasticDailyPlanAsync(const DescribeElasticDailyPlanRequest& request, const DescribeElasticDailyPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeElasticDailyPlan(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeElasticDailyPlanOutcomeCallable AdbClient::describeElasticDailyPlanCallable(const DescribeElasticDailyPlanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeElasticDailyPlanOutcome()>>(
[this, request]()
{
return this->describeElasticDailyPlan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeElasticPlanOutcome AdbClient::describeElasticPlan(const DescribeElasticPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeElasticPlanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeElasticPlanOutcome(DescribeElasticPlanResult(outcome.result()));
else
return DescribeElasticPlanOutcome(outcome.error());
}
void AdbClient::describeElasticPlanAsync(const DescribeElasticPlanRequest& request, const DescribeElasticPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeElasticPlan(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeElasticPlanOutcomeCallable AdbClient::describeElasticPlanCallable(const DescribeElasticPlanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeElasticPlanOutcome()>>(
[this, request]()
{
return this->describeElasticPlan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeInclinedTablesOutcome AdbClient::describeInclinedTables(const DescribeInclinedTablesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -771,6 +1167,42 @@ AdbClient::DescribeInclinedTablesOutcomeCallable AdbClient::describeInclinedTabl
return task->get_future();
}
AdbClient::DescribeLoadTasksRecordsOutcome AdbClient::describeLoadTasksRecords(const DescribeLoadTasksRecordsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeLoadTasksRecordsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeLoadTasksRecordsOutcome(DescribeLoadTasksRecordsResult(outcome.result()));
else
return DescribeLoadTasksRecordsOutcome(outcome.error());
}
void AdbClient::describeLoadTasksRecordsAsync(const DescribeLoadTasksRecordsRequest& request, const DescribeLoadTasksRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeLoadTasksRecords(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeLoadTasksRecordsOutcomeCallable AdbClient::describeLoadTasksRecordsCallable(const DescribeLoadTasksRecordsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeLoadTasksRecordsOutcome()>>(
[this, request]()
{
return this->describeLoadTasksRecords(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeOperatorPermissionOutcome AdbClient::describeOperatorPermission(const DescribeOperatorPermissionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -879,6 +1311,78 @@ AdbClient::DescribeRegionsOutcomeCallable AdbClient::describeRegionsCallable(con
return task->get_future();
}
AdbClient::DescribeSQLPlanOutcome AdbClient::describeSQLPlan(const DescribeSQLPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeSQLPlanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeSQLPlanOutcome(DescribeSQLPlanResult(outcome.result()));
else
return DescribeSQLPlanOutcome(outcome.error());
}
void AdbClient::describeSQLPlanAsync(const DescribeSQLPlanRequest& request, const DescribeSQLPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeSQLPlan(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeSQLPlanOutcomeCallable AdbClient::describeSQLPlanCallable(const DescribeSQLPlanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeSQLPlanOutcome()>>(
[this, request]()
{
return this->describeSQLPlan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeSQLPlanTaskOutcome AdbClient::describeSQLPlanTask(const DescribeSQLPlanTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeSQLPlanTaskOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeSQLPlanTaskOutcome(DescribeSQLPlanTaskResult(outcome.result()));
else
return DescribeSQLPlanTaskOutcome(outcome.error());
}
void AdbClient::describeSQLPlanTaskAsync(const DescribeSQLPlanTaskRequest& request, const DescribeSQLPlanTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeSQLPlanTask(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeSQLPlanTaskOutcomeCallable AdbClient::describeSQLPlanTaskCallable(const DescribeSQLPlanTaskRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeSQLPlanTaskOutcome()>>(
[this, request]()
{
return this->describeSQLPlanTask(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeSchemasOutcome AdbClient::describeSchemas(const DescribeSchemasRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1059,6 +1563,42 @@ AdbClient::DescribeTablePartitionDiagnoseOutcomeCallable AdbClient::describeTabl
return task->get_future();
}
AdbClient::DescribeTableStatisticsOutcome AdbClient::describeTableStatistics(const DescribeTableStatisticsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeTableStatisticsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeTableStatisticsOutcome(DescribeTableStatisticsResult(outcome.result()));
else
return DescribeTableStatisticsOutcome(outcome.error());
}
void AdbClient::describeTableStatisticsAsync(const DescribeTableStatisticsRequest& request, const DescribeTableStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeTableStatistics(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::DescribeTableStatisticsOutcomeCallable AdbClient::describeTableStatisticsCallable(const DescribeTableStatisticsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeTableStatisticsOutcome()>>(
[this, request]()
{
return this->describeTableStatistics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::DescribeTablesOutcome AdbClient::describeTables(const DescribeTablesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1563,6 +2103,114 @@ AdbClient::ModifyDBClusterMaintainTimeOutcomeCallable AdbClient::modifyDBCluster
return task->get_future();
}
AdbClient::ModifyDBClusterResourceGroupOutcome AdbClient::modifyDBClusterResourceGroup(const ModifyDBClusterResourceGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyDBClusterResourceGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyDBClusterResourceGroupOutcome(ModifyDBClusterResourceGroupResult(outcome.result()));
else
return ModifyDBClusterResourceGroupOutcome(outcome.error());
}
void AdbClient::modifyDBClusterResourceGroupAsync(const ModifyDBClusterResourceGroupRequest& request, const ModifyDBClusterResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyDBClusterResourceGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::ModifyDBClusterResourceGroupOutcomeCallable AdbClient::modifyDBClusterResourceGroupCallable(const ModifyDBClusterResourceGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyDBClusterResourceGroupOutcome()>>(
[this, request]()
{
return this->modifyDBClusterResourceGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::ModifyDBResourcePoolOutcome AdbClient::modifyDBResourcePool(const ModifyDBResourcePoolRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyDBResourcePoolOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyDBResourcePoolOutcome(ModifyDBResourcePoolResult(outcome.result()));
else
return ModifyDBResourcePoolOutcome(outcome.error());
}
void AdbClient::modifyDBResourcePoolAsync(const ModifyDBResourcePoolRequest& request, const ModifyDBResourcePoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyDBResourcePool(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::ModifyDBResourcePoolOutcomeCallable AdbClient::modifyDBResourcePoolCallable(const ModifyDBResourcePoolRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyDBResourcePoolOutcome()>>(
[this, request]()
{
return this->modifyDBResourcePool(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::ModifyElasticPlanOutcome AdbClient::modifyElasticPlan(const ModifyElasticPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyElasticPlanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyElasticPlanOutcome(ModifyElasticPlanResult(outcome.result()));
else
return ModifyElasticPlanOutcome(outcome.error());
}
void AdbClient::modifyElasticPlanAsync(const ModifyElasticPlanRequest& request, const ModifyElasticPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyElasticPlan(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::ModifyElasticPlanOutcomeCallable AdbClient::modifyElasticPlanCallable(const ModifyElasticPlanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyElasticPlanOutcome()>>(
[this, request]()
{
return this->modifyElasticPlan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::ModifyLogBackupPolicyOutcome AdbClient::modifyLogBackupPolicy(const ModifyLogBackupPolicyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1743,6 +2391,42 @@ AdbClient::TagResourcesOutcomeCallable AdbClient::tagResourcesCallable(const Tag
return task->get_future();
}
AdbClient::UnbindDBResourcePoolWithUserOutcome AdbClient::unbindDBResourcePoolWithUser(const UnbindDBResourcePoolWithUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UnbindDBResourcePoolWithUserOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UnbindDBResourcePoolWithUserOutcome(UnbindDBResourcePoolWithUserResult(outcome.result()));
else
return UnbindDBResourcePoolWithUserOutcome(outcome.error());
}
void AdbClient::unbindDBResourcePoolWithUserAsync(const UnbindDBResourcePoolWithUserRequest& request, const UnbindDBResourcePoolWithUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, unbindDBResourcePoolWithUser(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::UnbindDBResourcePoolWithUserOutcomeCallable AdbClient::unbindDBResourcePoolWithUserCallable(const UnbindDBResourcePoolWithUserRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UnbindDBResourcePoolWithUserOutcome()>>(
[this, request]()
{
return this->unbindDBResourcePoolWithUser(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::UntagResourcesOutcome AdbClient::untagResources(const UntagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

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

View File

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

View File

@@ -49,17 +49,6 @@ void CreateDBClusterRequest::setDBClusterDescription(const std::string& dBCluste
setParameter("DBClusterDescription", dBClusterDescription);
}
std::string CreateDBClusterRequest::getClientToken()const
{
return clientToken_;
}
void CreateDBClusterRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string CreateDBClusterRequest::getStorageType()const
{
return storageType_;
@@ -71,17 +60,6 @@ void CreateDBClusterRequest::setStorageType(const std::string& storageType)
setParameter("StorageType", storageType);
}
std::string CreateDBClusterRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateDBClusterRequest::getMode()const
{
return mode_;
@@ -104,6 +82,116 @@ void CreateDBClusterRequest::setResourceGroupId(const std::string& resourceGroup
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateDBClusterRequest::getPeriod()const
{
return period_;
}
void CreateDBClusterRequest::setPeriod(const std::string& period)
{
period_ = period;
setParameter("Period", period);
}
std::string CreateDBClusterRequest::getBackupSetID()const
{
return backupSetID_;
}
void CreateDBClusterRequest::setBackupSetID(const std::string& backupSetID)
{
backupSetID_ = backupSetID;
setParameter("BackupSetID", backupSetID);
}
long CreateDBClusterRequest::getOwnerId()const
{
return ownerId_;
}
void CreateDBClusterRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateDBClusterRequest::getDBNodeGroupCount()const
{
return dBNodeGroupCount_;
}
void CreateDBClusterRequest::setDBNodeGroupCount(const std::string& dBNodeGroupCount)
{
dBNodeGroupCount_ = dBNodeGroupCount;
setParameter("DBNodeGroupCount", dBNodeGroupCount);
}
std::string CreateDBClusterRequest::getVSwitchId()const
{
return vSwitchId_;
}
void CreateDBClusterRequest::setVSwitchId(const std::string& vSwitchId)
{
vSwitchId_ = vSwitchId;
setParameter("VSwitchId", vSwitchId);
}
std::string CreateDBClusterRequest::getZoneId()const
{
return zoneId_;
}
void CreateDBClusterRequest::setZoneId(const std::string& zoneId)
{
zoneId_ = zoneId;
setParameter("ZoneId", zoneId);
}
std::string CreateDBClusterRequest::getComputeResource()const
{
return computeResource_;
}
void CreateDBClusterRequest::setComputeResource(const std::string& computeResource)
{
computeResource_ = computeResource;
setParameter("ComputeResource", computeResource);
}
std::string CreateDBClusterRequest::getSourceDBInstanceName()const
{
return sourceDBInstanceName_;
}
void CreateDBClusterRequest::setSourceDBInstanceName(const std::string& sourceDBInstanceName)
{
sourceDBInstanceName_ = sourceDBInstanceName;
setParameter("SourceDBInstanceName", sourceDBInstanceName);
}
std::string CreateDBClusterRequest::getClientToken()const
{
return clientToken_;
}
void CreateDBClusterRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string CreateDBClusterRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateDBClusterRequest::getStorageResource()const
{
return storageResource_;
@@ -148,15 +236,15 @@ void CreateDBClusterRequest::setDBClusterNetworkType(const std::string& dBCluste
setParameter("DBClusterNetworkType", dBClusterNetworkType);
}
std::string CreateDBClusterRequest::getPeriod()const
std::string CreateDBClusterRequest::getRestoreTime()const
{
return period_;
return restoreTime_;
}
void CreateDBClusterRequest::setPeriod(const std::string& period)
void CreateDBClusterRequest::setRestoreTime(const std::string& restoreTime)
{
period_ = period;
setParameter("Period", period);
restoreTime_ = restoreTime;
setParameter("RestoreTime", restoreTime);
}
std::string CreateDBClusterRequest::getResourceOwnerAccount()const
@@ -203,28 +291,6 @@ void CreateDBClusterRequest::setDBClusterClass(const std::string& dBClusterClass
setParameter("DBClusterClass", dBClusterClass);
}
long CreateDBClusterRequest::getOwnerId()const
{
return ownerId_;
}
void CreateDBClusterRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateDBClusterRequest::getDBNodeGroupCount()const
{
return dBNodeGroupCount_;
}
void CreateDBClusterRequest::setDBNodeGroupCount(const std::string& dBNodeGroupCount)
{
dBNodeGroupCount_ = dBNodeGroupCount;
setParameter("DBNodeGroupCount", dBNodeGroupCount);
}
std::string CreateDBClusterRequest::getUsedTime()const
{
return usedTime_;
@@ -236,15 +302,15 @@ void CreateDBClusterRequest::setUsedTime(const std::string& usedTime)
setParameter("UsedTime", usedTime);
}
std::string CreateDBClusterRequest::getVSwitchId()const
std::string CreateDBClusterRequest::getRestoreType()const
{
return vSwitchId_;
return restoreType_;
}
void CreateDBClusterRequest::setVSwitchId(const std::string& vSwitchId)
void CreateDBClusterRequest::setRestoreType(const std::string& restoreType)
{
vSwitchId_ = vSwitchId;
setParameter("VSwitchId", vSwitchId);
restoreType_ = restoreType;
setParameter("RestoreType", restoreType);
}
std::string CreateDBClusterRequest::getDBNodeStorage()const
@@ -280,28 +346,6 @@ void CreateDBClusterRequest::setVPCId(const std::string& vPCId)
setParameter("VPCId", vPCId);
}
std::string CreateDBClusterRequest::getZoneId()const
{
return zoneId_;
}
void CreateDBClusterRequest::setZoneId(const std::string& zoneId)
{
zoneId_ = zoneId;
setParameter("ZoneId", zoneId);
}
std::string CreateDBClusterRequest::getComputeResource()const
{
return computeResource_;
}
void CreateDBClusterRequest::setComputeResource(const std::string& computeResource)
{
computeResource_ = computeResource;
setParameter("ComputeResource", computeResource);
}
std::string CreateDBClusterRequest::getPayType()const
{
return payType_;

View File

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

View File

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

View File

@@ -0,0 +1,194 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/CreateElasticPlanRequest.h>
using AlibabaCloud::Adb::Model::CreateElasticPlanRequest;
CreateElasticPlanRequest::CreateElasticPlanRequest() :
RpcServiceRequest("adb", "2019-03-15", "CreateElasticPlan")
{
setMethod(HttpRequest::Method::Post);
}
CreateElasticPlanRequest::~CreateElasticPlanRequest()
{}
long CreateElasticPlanRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateElasticPlanRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateElasticPlanRequest::getElasticPlanTimeStart()const
{
return elasticPlanTimeStart_;
}
void CreateElasticPlanRequest::setElasticPlanTimeStart(const std::string& elasticPlanTimeStart)
{
elasticPlanTimeStart_ = elasticPlanTimeStart;
setParameter("ElasticPlanTimeStart", elasticPlanTimeStart);
}
std::string CreateElasticPlanRequest::getElasticPlanEndDay()const
{
return elasticPlanEndDay_;
}
void CreateElasticPlanRequest::setElasticPlanEndDay(const std::string& elasticPlanEndDay)
{
elasticPlanEndDay_ = elasticPlanEndDay;
setParameter("ElasticPlanEndDay", elasticPlanEndDay);
}
std::string CreateElasticPlanRequest::getElasticPlanWeeklyRepeat()const
{
return elasticPlanWeeklyRepeat_;
}
void CreateElasticPlanRequest::setElasticPlanWeeklyRepeat(const std::string& elasticPlanWeeklyRepeat)
{
elasticPlanWeeklyRepeat_ = elasticPlanWeeklyRepeat;
setParameter("ElasticPlanWeeklyRepeat", elasticPlanWeeklyRepeat);
}
std::string CreateElasticPlanRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateElasticPlanRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
bool CreateElasticPlanRequest::getElasticPlanEnable()const
{
return elasticPlanEnable_;
}
void CreateElasticPlanRequest::setElasticPlanEnable(bool elasticPlanEnable)
{
elasticPlanEnable_ = elasticPlanEnable;
setParameter("ElasticPlanEnable", elasticPlanEnable ? "true" : "false");
}
std::string CreateElasticPlanRequest::getElasticPlanTimeEnd()const
{
return elasticPlanTimeEnd_;
}
void CreateElasticPlanRequest::setElasticPlanTimeEnd(const std::string& elasticPlanTimeEnd)
{
elasticPlanTimeEnd_ = elasticPlanTimeEnd;
setParameter("ElasticPlanTimeEnd", elasticPlanTimeEnd);
}
std::string CreateElasticPlanRequest::getElasticPlanStartDay()const
{
return elasticPlanStartDay_;
}
void CreateElasticPlanRequest::setElasticPlanStartDay(const std::string& elasticPlanStartDay)
{
elasticPlanStartDay_ = elasticPlanStartDay;
setParameter("ElasticPlanStartDay", elasticPlanStartDay);
}
std::string CreateElasticPlanRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateElasticPlanRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateElasticPlanRequest::getDBClusterId()const
{
return dBClusterId_;
}
void CreateElasticPlanRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setParameter("DBClusterId", dBClusterId);
}
std::string CreateElasticPlanRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateElasticPlanRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CreateElasticPlanRequest::getOwnerId()const
{
return ownerId_;
}
void CreateElasticPlanRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateElasticPlanRequest::getElasticPlanName()const
{
return elasticPlanName_;
}
void CreateElasticPlanRequest::setElasticPlanName(const std::string& elasticPlanName)
{
elasticPlanName_ = elasticPlanName;
setParameter("ElasticPlanName", elasticPlanName);
}
std::string CreateElasticPlanRequest::getResourcePoolName()const
{
return resourcePoolName_;
}
void CreateElasticPlanRequest::setResourcePoolName(const std::string& resourcePoolName)
{
resourcePoolName_ = resourcePoolName;
setParameter("ResourcePoolName", resourcePoolName);
}
int CreateElasticPlanRequest::getElasticPlanNodeNum()const
{
return elasticPlanNodeNum_;
}
void CreateElasticPlanRequest::setElasticPlanNodeNum(int elasticPlanNodeNum)
{
elasticPlanNodeNum_ = elasticPlanNodeNum;
setParameter("ElasticPlanNodeNum", std::to_string(elasticPlanNodeNum));
}

View File

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

View File

@@ -39,6 +39,20 @@ void DeleteDBClusterResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["TaskId"].isNull())
taskId_ = std::stoi(value["TaskId"].asString());
if(!value["DBClusterId"].isNull())
dBClusterId_ = value["DBClusterId"].asString();
}
int DeleteDBClusterResult::getTaskId()const
{
return taskId_;
}
std::string DeleteDBClusterResult::getDBClusterId()const
{
return dBClusterId_;
}

View File

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

View File

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

View File

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

View File

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

View File

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

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.
*/
#include <alibabacloud/adb/model/DescribeAllAccountsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeAllAccountsResult::DescribeAllAccountsResult() :
ServiceResult()
{}
DescribeAllAccountsResult::DescribeAllAccountsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAllAccountsResult::~DescribeAllAccountsResult()
{}
void DescribeAllAccountsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allAccountListNode = value["AccountList"]["AccountInfo"];
for (auto valueAccountListAccountInfo : allAccountListNode)
{
AccountInfo accountListObject;
if(!valueAccountListAccountInfo["User"].isNull())
accountListObject.user = valueAccountListAccountInfo["User"].asString();
accountList_.push_back(accountListObject);
}
}
std::vector<DescribeAllAccountsResult::AccountInfo> DescribeAllAccountsResult::getAccountList()const
{
return accountList_;
}

View File

@@ -45,24 +45,31 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
AvailableZone availableZoneListObject;
if(!valueAvailableZoneListAvailableZone["ZoneId"].isNull())
availableZoneListObject.zoneId = valueAvailableZoneListAvailableZone["ZoneId"].asString();
auto allSupportedModeNode = allAvailableZoneListNode["SupportedMode"]["SupportedModeItem"];
for (auto allAvailableZoneListNodeSupportedModeSupportedModeItem : allSupportedModeNode)
auto allSupportedModeNode = valueAvailableZoneListAvailableZone["SupportedMode"]["SupportedModeItem"];
for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItem : allSupportedModeNode)
{
AvailableZone::SupportedModeItem supportedModeObject;
if(!allAvailableZoneListNodeSupportedModeSupportedModeItem["Mode"].isNull())
supportedModeObject.mode = allAvailableZoneListNodeSupportedModeSupportedModeItem["Mode"].asString();
auto allSupportedSerialListNode = allSupportedModeNode["SupportedSerialList"]["SupportedSerialListItem"];
for (auto allSupportedModeNodeSupportedSerialListSupportedSerialListItem : allSupportedSerialListNode)
if(!valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItem["Mode"].isNull())
supportedModeObject.mode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItem["Mode"].asString();
auto allSupportedSerialListNode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItem["SupportedSerialList"]["SupportedSerialListItem"];
for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItem : allSupportedSerialListNode)
{
AvailableZone::SupportedModeItem::SupportedSerialListItem supportedSerialListObject;
if(!allSupportedModeNodeSupportedSerialListSupportedSerialListItem["Serial"].isNull())
supportedSerialListObject.serial = allSupportedModeNodeSupportedSerialListSupportedSerialListItem["Serial"].asString();
auto allSupportedFlexibleResourceNode = allSupportedSerialListNode["SupportedFlexibleResource"]["SupportedFlexibleResourceItem"];
for (auto allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem : allSupportedFlexibleResourceNode)
if(!valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItem["Serial"].isNull())
supportedSerialListObject.serial = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItem["Serial"].asString();
auto allSupportedFlexibleResourceNode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItem["SupportedFlexibleResource"]["SupportedFlexibleResourceItem"];
for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedFlexibleResourceSupportedFlexibleResourceItem : allSupportedFlexibleResourceNode)
{
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedFlexibleResourceItem supportedFlexibleResourceObject;
if(!allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].isNull())
supportedFlexibleResourceObject.storageType = allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].asString();
if(!valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].isNull())
supportedFlexibleResourceObject.storageType = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].asString();
auto supportedElasticIOResourceNode = value["SupportedElasticIOResource"];
if(!supportedElasticIOResourceNode["MinCount"].isNull())
supportedFlexibleResourceObject.supportedElasticIOResource.minCount = supportedElasticIOResourceNode["MinCount"].asString();
if(!supportedElasticIOResourceNode["MaxCount"].isNull())
supportedFlexibleResourceObject.supportedElasticIOResource.maxCount = supportedElasticIOResourceNode["MaxCount"].asString();
if(!supportedElasticIOResourceNode["Step"].isNull())
supportedFlexibleResourceObject.supportedElasticIOResource.step = supportedElasticIOResourceNode["Step"].asString();
auto allSupportedStorageResource = value["SupportedStorageResource"]["SupportedStorageResource"];
for (auto value : allSupportedStorageResource)
supportedFlexibleResourceObject.supportedStorageResource.push_back(value.asString());
@@ -71,16 +78,16 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
supportedFlexibleResourceObject.supportedComputeResource.push_back(value.asString());
supportedSerialListObject.supportedFlexibleResource.push_back(supportedFlexibleResourceObject);
}
auto allSupportedInstanceClassListNode = allSupportedSerialListNode["SupportedInstanceClassList"]["SupportedInstanceClass"];
for (auto allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass : allSupportedInstanceClassListNode)
auto allSupportedInstanceClassListNode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItem["SupportedInstanceClassList"]["SupportedInstanceClass"];
for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass : allSupportedInstanceClassListNode)
{
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass supportedInstanceClassListObject;
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].isNull())
supportedInstanceClassListObject.instanceClass = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].asString();
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].isNull())
supportedInstanceClassListObject.tips = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].asString();
auto allSupportedNodeCountListNode = allSupportedInstanceClassListNode["SupportedNodeCountList"]["SupportedNodeCount"];
for (auto allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount : allSupportedNodeCountListNode)
if(!valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].isNull())
supportedInstanceClassListObject.instanceClass = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].asString();
if(!valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass["Tips"].isNull())
supportedInstanceClassListObject.tips = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass["Tips"].asString();
auto allSupportedNodeCountListNode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass["SupportedNodeCountList"]["SupportedNodeCount"];
for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClassSupportedNodeCountListSupportedNodeCount : allSupportedNodeCountListNode)
{
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass::SupportedNodeCount supportedNodeCountListObject;
auto nodeCountNode = value["NodeCount"];
@@ -95,8 +102,8 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
supportedNodeCountListObject.storageSize.push_back(value.asString());
supportedInstanceClassListObject.supportedNodeCountList.push_back(supportedNodeCountListObject);
}
auto allSupportedExecutorListNode = allSupportedInstanceClassListNode["SupportedExecutorList"]["SupportedExecutor"];
for (auto allSupportedInstanceClassListNodeSupportedExecutorListSupportedExecutor : allSupportedExecutorListNode)
auto allSupportedExecutorListNode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass["SupportedExecutorList"]["SupportedExecutor"];
for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClassSupportedExecutorListSupportedExecutor : allSupportedExecutorListNode)
{
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass::SupportedExecutor supportedExecutorListObject;
auto nodeCount1Node = value["NodeCount"];

View File

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

View File

@@ -0,0 +1,88 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeConnectionCountRecordsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeConnectionCountRecordsResult::DescribeConnectionCountRecordsResult() :
ServiceResult()
{}
DescribeConnectionCountRecordsResult::DescribeConnectionCountRecordsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeConnectionCountRecordsResult::~DescribeConnectionCountRecordsResult()
{}
void DescribeConnectionCountRecordsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allUserRecordsNode = value["UserRecords"]["Users"];
for (auto valueUserRecordsUsers : allUserRecordsNode)
{
Users userRecordsObject;
if(!valueUserRecordsUsers["User"].isNull())
userRecordsObject.user = valueUserRecordsUsers["User"].asString();
if(!valueUserRecordsUsers["Count"].isNull())
userRecordsObject.count = std::stol(valueUserRecordsUsers["Count"].asString());
userRecords_.push_back(userRecordsObject);
}
auto allAccessIpRecordsNode = value["AccessIpRecords"]["AccessIps"];
for (auto valueAccessIpRecordsAccessIps : allAccessIpRecordsNode)
{
AccessIps accessIpRecordsObject;
if(!valueAccessIpRecordsAccessIps["AccessIp"].isNull())
accessIpRecordsObject.accessIp = valueAccessIpRecordsAccessIps["AccessIp"].asString();
if(!valueAccessIpRecordsAccessIps["Count"].isNull())
accessIpRecordsObject.count = std::stol(valueAccessIpRecordsAccessIps["Count"].asString());
accessIpRecords_.push_back(accessIpRecordsObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = value["TotalCount"].asString();
if(!value["DBClusterId"].isNull())
dBClusterId_ = value["DBClusterId"].asString();
}
std::string DescribeConnectionCountRecordsResult::getTotalCount()const
{
return totalCount_;
}
std::vector<DescribeConnectionCountRecordsResult::Users> DescribeConnectionCountRecordsResult::getUserRecords()const
{
return userRecords_;
}
std::string DescribeConnectionCountRecordsResult::getDBClusterId()const
{
return dBClusterId_;
}
std::vector<DescribeConnectionCountRecordsResult::AccessIps> DescribeConnectionCountRecordsResult::getAccessIpRecords()const
{
return accessIpRecords_;
}

View File

@@ -111,14 +111,24 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
itemsObject.mode = valueItemsDBCluster["Mode"].asString();
if(!valueItemsDBCluster["ResourceGroupId"].isNull())
itemsObject.resourceGroupId = valueItemsDBCluster["ResourceGroupId"].asString();
auto allTagsNode = allItemsNode["Tags"]["Tag"];
for (auto allItemsNodeTagsTag : allTagsNode)
if(!valueItemsDBCluster["ElasticIOResource"].isNull())
itemsObject.elasticIOResource = std::stoi(valueItemsDBCluster["ElasticIOResource"].asString());
if(!valueItemsDBCluster["EngineVersion"].isNull())
itemsObject.engineVersion = valueItemsDBCluster["EngineVersion"].asString();
if(!valueItemsDBCluster["UserENIStatus"].isNull())
itemsObject.userENIStatus = valueItemsDBCluster["UserENIStatus"].asString() == "true";
if(!valueItemsDBCluster["EnableSpark"].isNull())
itemsObject.enableSpark = valueItemsDBCluster["EnableSpark"].asString() == "true";
if(!valueItemsDBCluster["EnableAirflow"].isNull())
itemsObject.enableAirflow = valueItemsDBCluster["EnableAirflow"].asString() == "true";
auto allTagsNode = valueItemsDBCluster["Tags"]["Tag"];
for (auto valueItemsDBClusterTagsTag : allTagsNode)
{
DBCluster::Tag tagsObject;
if(!allItemsNodeTagsTag["Key"].isNull())
tagsObject.key = allItemsNodeTagsTag["Key"].asString();
if(!allItemsNodeTagsTag["Value"].isNull())
tagsObject.value = allItemsNodeTagsTag["Value"].asString();
if(!valueItemsDBClusterTagsTag["Key"].isNull())
tagsObject.key = valueItemsDBClusterTagsTag["Key"].asString();
if(!valueItemsDBClusterTagsTag["Value"].isNull())
tagsObject.value = valueItemsDBClusterTagsTag["Value"].asString();
itemsObject.tags.push_back(tagsObject);
}
items_.push_back(itemsObject);

View File

@@ -47,12 +47,12 @@ void DescribeDBClusterPerformanceResult::parse(const std::string &payload)
performancesObject.key = valuePerformancesPerformanceItem["Key"].asString();
if(!valuePerformancesPerformanceItem["Unit"].isNull())
performancesObject.unit = valuePerformancesPerformanceItem["Unit"].asString();
auto allSeriesNode = allPerformancesNode["Series"]["SeriesItem"];
for (auto allPerformancesNodeSeriesSeriesItem : allSeriesNode)
auto allSeriesNode = valuePerformancesPerformanceItem["Series"]["SeriesItem"];
for (auto valuePerformancesPerformanceItemSeriesSeriesItem : allSeriesNode)
{
PerformanceItem::SeriesItem seriesObject;
if(!allPerformancesNodeSeriesSeriesItem["Name"].isNull())
seriesObject.name = allPerformancesNodeSeriesSeriesItem["Name"].asString();
if(!valuePerformancesPerformanceItemSeriesSeriesItem["Name"].isNull())
seriesObject.name = valuePerformancesPerformanceItemSeriesSeriesItem["Name"].asString();
auto allValues = value["Values"]["Values"];
for (auto value : allValues)
seriesObject.values.push_back(value.asString());

View File

@@ -0,0 +1,139 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/DescribeDBClusterResourcePoolPerformanceRequest.h>
using AlibabaCloud::Adb::Model::DescribeDBClusterResourcePoolPerformanceRequest;
DescribeDBClusterResourcePoolPerformanceRequest::DescribeDBClusterResourcePoolPerformanceRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeDBClusterResourcePoolPerformance")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDBClusterResourcePoolPerformanceRequest::~DescribeDBClusterResourcePoolPerformanceRequest()
{}
long DescribeDBClusterResourcePoolPerformanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeDBClusterResourcePoolPerformanceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeDBClusterResourcePoolPerformanceRequest::getStartTime()const
{
return startTime_;
}
void DescribeDBClusterResourcePoolPerformanceRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string DescribeDBClusterResourcePoolPerformanceRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeDBClusterResourcePoolPerformanceRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeDBClusterResourcePoolPerformanceRequest::getResourcePools()const
{
return resourcePools_;
}
void DescribeDBClusterResourcePoolPerformanceRequest::setResourcePools(const std::string& resourcePools)
{
resourcePools_ = resourcePools;
setParameter("ResourcePools", resourcePools);
}
std::string DescribeDBClusterResourcePoolPerformanceRequest::getKey()const
{
return key_;
}
void DescribeDBClusterResourcePoolPerformanceRequest::setKey(const std::string& key)
{
key_ = key;
setParameter("Key", key);
}
std::string DescribeDBClusterResourcePoolPerformanceRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeDBClusterResourcePoolPerformanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeDBClusterResourcePoolPerformanceRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DescribeDBClusterResourcePoolPerformanceRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setParameter("DBClusterId", dBClusterId);
}
std::string DescribeDBClusterResourcePoolPerformanceRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeDBClusterResourcePoolPerformanceRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::string DescribeDBClusterResourcePoolPerformanceRequest::getEndTime()const
{
return endTime_;
}
void DescribeDBClusterResourcePoolPerformanceRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeDBClusterResourcePoolPerformanceRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDBClusterResourcePoolPerformanceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

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/adb/model/DescribeDBClusterResourcePoolPerformanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeDBClusterResourcePoolPerformanceResult::DescribeDBClusterResourcePoolPerformanceResult() :
ServiceResult()
{}
DescribeDBClusterResourcePoolPerformanceResult::DescribeDBClusterResourcePoolPerformanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBClusterResourcePoolPerformanceResult::~DescribeDBClusterResourcePoolPerformanceResult()
{}
void DescribeDBClusterResourcePoolPerformanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allPerformancesNode = value["Performances"]["PerformanceItem"];
for (auto valuePerformancesPerformanceItem : allPerformancesNode)
{
PerformanceItem performancesObject;
if(!valuePerformancesPerformanceItem["Key"].isNull())
performancesObject.key = valuePerformancesPerformanceItem["Key"].asString();
if(!valuePerformancesPerformanceItem["Unit"].isNull())
performancesObject.unit = valuePerformancesPerformanceItem["Unit"].asString();
auto allResourcePoolPerformancesNode = valuePerformancesPerformanceItem["ResourcePoolPerformances"]["ResourcePoolPerformancesItem"];
for (auto valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItem : allResourcePoolPerformancesNode)
{
PerformanceItem::ResourcePoolPerformancesItem resourcePoolPerformancesObject;
if(!valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItem["ResourcePoolName"].isNull())
resourcePoolPerformancesObject.resourcePoolName = valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItem["ResourcePoolName"].asString();
auto allResourcePoolSeriesNode = valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItem["ResourcePoolSeries"]["ResourcePoolSeriesItem"];
for (auto valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItemResourcePoolSeriesResourcePoolSeriesItem : allResourcePoolSeriesNode)
{
PerformanceItem::ResourcePoolPerformancesItem::ResourcePoolSeriesItem resourcePoolSeriesObject;
if(!valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItemResourcePoolSeriesResourcePoolSeriesItem["Name"].isNull())
resourcePoolSeriesObject.name = valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItemResourcePoolSeriesResourcePoolSeriesItem["Name"].asString();
auto allValues = value["Values"]["Values"];
for (auto value : allValues)
resourcePoolSeriesObject.values.push_back(value.asString());
resourcePoolPerformancesObject.resourcePoolSeries.push_back(resourcePoolSeriesObject);
}
performancesObject.resourcePoolPerformances.push_back(resourcePoolPerformancesObject);
}
performances_.push_back(performancesObject);
}
if(!value["DBClusterId"].isNull())
dBClusterId_ = value["DBClusterId"].asString();
if(!value["StartTime"].isNull())
startTime_ = value["StartTime"].asString();
if(!value["EndTime"].isNull())
endTime_ = value["EndTime"].asString();
}
std::string DescribeDBClusterResourcePoolPerformanceResult::getEndTime()const
{
return endTime_;
}
std::string DescribeDBClusterResourcePoolPerformanceResult::getDBClusterId()const
{
return dBClusterId_;
}
std::string DescribeDBClusterResourcePoolPerformanceResult::getStartTime()const
{
return startTime_;
}
std::vector<DescribeDBClusterResourcePoolPerformanceResult::PerformanceItem> DescribeDBClusterResourcePoolPerformanceResult::getPerformances()const
{
return performances_;
}

View File

@@ -109,14 +109,16 @@ void DescribeDBClustersResult::parse(const std::string &payload)
itemsObject.mode = valueItemsDBCluster["Mode"].asString();
if(!valueItemsDBCluster["ResourceGroupId"].isNull())
itemsObject.resourceGroupId = valueItemsDBCluster["ResourceGroupId"].asString();
auto allTagsNode = allItemsNode["Tags"]["Tag"];
for (auto allItemsNodeTagsTag : allTagsNode)
if(!valueItemsDBCluster["ElasticIOResource"].isNull())
itemsObject.elasticIOResource = std::stoi(valueItemsDBCluster["ElasticIOResource"].asString());
auto allTagsNode = valueItemsDBCluster["Tags"]["Tag"];
for (auto valueItemsDBClusterTagsTag : allTagsNode)
{
DBCluster::Tag tagsObject;
if(!allItemsNodeTagsTag["Key"].isNull())
tagsObject.key = allItemsNodeTagsTag["Key"].asString();
if(!allItemsNodeTagsTag["Value"].isNull())
tagsObject.value = allItemsNodeTagsTag["Value"].asString();
if(!valueItemsDBClusterTagsTag["Key"].isNull())
tagsObject.key = valueItemsDBClusterTagsTag["Key"].asString();
if(!valueItemsDBClusterTagsTag["Value"].isNull())
tagsObject.value = valueItemsDBClusterTagsTag["Value"].asString();
itemsObject.tags.push_back(tagsObject);
}
items_.push_back(itemsObject);

View File

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

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.
*/
#include <alibabacloud/adb/model/DescribeDBResourcePoolResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeDBResourcePoolResult::DescribeDBResourcePoolResult() :
ServiceResult()
{}
DescribeDBResourcePoolResult::DescribeDBResourcePoolResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBResourcePoolResult::~DescribeDBResourcePoolResult()
{}
void DescribeDBResourcePoolResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allPoolsInfoNode = value["PoolsInfo"]["PoolInfo"];
for (auto valuePoolsInfoPoolInfo : allPoolsInfoNode)
{
PoolInfo poolsInfoObject;
if(!valuePoolsInfoPoolInfo["PoolName"].isNull())
poolsInfoObject.poolName = valuePoolsInfoPoolInfo["PoolName"].asString();
if(!valuePoolsInfoPoolInfo["QueryType"].isNull())
poolsInfoObject.queryType = valuePoolsInfoPoolInfo["QueryType"].asString();
if(!valuePoolsInfoPoolInfo["NodeNum"].isNull())
poolsInfoObject.nodeNum = std::stoi(valuePoolsInfoPoolInfo["NodeNum"].asString());
if(!valuePoolsInfoPoolInfo["PoolUsers"].isNull())
poolsInfoObject.poolUsers = valuePoolsInfoPoolInfo["PoolUsers"].asString();
if(!valuePoolsInfoPoolInfo["CreateTime"].isNull())
poolsInfoObject.createTime = valuePoolsInfoPoolInfo["CreateTime"].asString();
if(!valuePoolsInfoPoolInfo["UpdateTime"].isNull())
poolsInfoObject.updateTime = valuePoolsInfoPoolInfo["UpdateTime"].asString();
poolsInfo_.push_back(poolsInfoObject);
}
}
std::vector<DescribeDBResourcePoolResult::PoolInfo> DescribeDBResourcePoolResult::getPoolsInfo()const
{
return poolsInfo_;
}

View File

@@ -0,0 +1,139 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/DescribeElasticDailyPlanRequest.h>
using AlibabaCloud::Adb::Model::DescribeElasticDailyPlanRequest;
DescribeElasticDailyPlanRequest::DescribeElasticDailyPlanRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeElasticDailyPlan")
{
setMethod(HttpRequest::Method::Post);
}
DescribeElasticDailyPlanRequest::~DescribeElasticDailyPlanRequest()
{}
long DescribeElasticDailyPlanRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeElasticDailyPlanRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeElasticDailyPlanRequest::getElasticDailyPlanStatusList()const
{
return elasticDailyPlanStatusList_;
}
void DescribeElasticDailyPlanRequest::setElasticDailyPlanStatusList(const std::string& elasticDailyPlanStatusList)
{
elasticDailyPlanStatusList_ = elasticDailyPlanStatusList;
setParameter("ElasticDailyPlanStatusList", elasticDailyPlanStatusList);
}
std::string DescribeElasticDailyPlanRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeElasticDailyPlanRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeElasticDailyPlanRequest::getElasticDailyPlanDay()const
{
return elasticDailyPlanDay_;
}
void DescribeElasticDailyPlanRequest::setElasticDailyPlanDay(const std::string& elasticDailyPlanDay)
{
elasticDailyPlanDay_ = elasticDailyPlanDay;
setParameter("ElasticDailyPlanDay", elasticDailyPlanDay);
}
std::string DescribeElasticDailyPlanRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeElasticDailyPlanRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeElasticDailyPlanRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DescribeElasticDailyPlanRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setParameter("DBClusterId", dBClusterId);
}
std::string DescribeElasticDailyPlanRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeElasticDailyPlanRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DescribeElasticDailyPlanRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeElasticDailyPlanRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeElasticDailyPlanRequest::getElasticPlanName()const
{
return elasticPlanName_;
}
void DescribeElasticDailyPlanRequest::setElasticPlanName(const std::string& elasticPlanName)
{
elasticPlanName_ = elasticPlanName;
setParameter("ElasticPlanName", elasticPlanName);
}
std::string DescribeElasticDailyPlanRequest::getResourcePoolName()const
{
return resourcePoolName_;
}
void DescribeElasticDailyPlanRequest::setResourcePoolName(const std::string& resourcePoolName)
{
resourcePoolName_ = resourcePoolName;
setParameter("ResourcePoolName", resourcePoolName);
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeElasticDailyPlanResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeElasticDailyPlanResult::DescribeElasticDailyPlanResult() :
ServiceResult()
{}
DescribeElasticDailyPlanResult::DescribeElasticDailyPlanResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeElasticDailyPlanResult::~DescribeElasticDailyPlanResult()
{}
void DescribeElasticDailyPlanResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allElasticDailyPlanListNode = value["ElasticDailyPlanList"]["ElasticDailyPlanInfo"];
for (auto valueElasticDailyPlanListElasticDailyPlanInfo : allElasticDailyPlanListNode)
{
ElasticDailyPlanInfo elasticDailyPlanListObject;
if(!valueElasticDailyPlanListElasticDailyPlanInfo["PlanName"].isNull())
elasticDailyPlanListObject.planName = valueElasticDailyPlanListElasticDailyPlanInfo["PlanName"].asString();
if(!valueElasticDailyPlanListElasticDailyPlanInfo["ResourcePoolName"].isNull())
elasticDailyPlanListObject.resourcePoolName = valueElasticDailyPlanListElasticDailyPlanInfo["ResourcePoolName"].asString();
if(!valueElasticDailyPlanListElasticDailyPlanInfo["ElasticNodeNum"].isNull())
elasticDailyPlanListObject.elasticNodeNum = std::stoi(valueElasticDailyPlanListElasticDailyPlanInfo["ElasticNodeNum"].asString());
if(!valueElasticDailyPlanListElasticDailyPlanInfo["PlanStartTs"].isNull())
elasticDailyPlanListObject.planStartTs = valueElasticDailyPlanListElasticDailyPlanInfo["PlanStartTs"].asString();
if(!valueElasticDailyPlanListElasticDailyPlanInfo["PlanEndTs"].isNull())
elasticDailyPlanListObject.planEndTs = valueElasticDailyPlanListElasticDailyPlanInfo["PlanEndTs"].asString();
if(!valueElasticDailyPlanListElasticDailyPlanInfo["StartTs"].isNull())
elasticDailyPlanListObject.startTs = valueElasticDailyPlanListElasticDailyPlanInfo["StartTs"].asString();
if(!valueElasticDailyPlanListElasticDailyPlanInfo["EndTs"].isNull())
elasticDailyPlanListObject.endTs = valueElasticDailyPlanListElasticDailyPlanInfo["EndTs"].asString();
if(!valueElasticDailyPlanListElasticDailyPlanInfo["Day"].isNull())
elasticDailyPlanListObject.day = valueElasticDailyPlanListElasticDailyPlanInfo["Day"].asString();
if(!valueElasticDailyPlanListElasticDailyPlanInfo["Status"].isNull())
elasticDailyPlanListObject.status = std::stoi(valueElasticDailyPlanListElasticDailyPlanInfo["Status"].asString());
elasticDailyPlanList_.push_back(elasticDailyPlanListObject);
}
}
std::vector<DescribeElasticDailyPlanResult::ElasticDailyPlanInfo> DescribeElasticDailyPlanResult::getElasticDailyPlanList()const
{
return elasticDailyPlanList_;
}

View File

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

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/adb/model/DescribeElasticPlanResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeElasticPlanResult::DescribeElasticPlanResult() :
ServiceResult()
{}
DescribeElasticPlanResult::DescribeElasticPlanResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeElasticPlanResult::~DescribeElasticPlanResult()
{}
void DescribeElasticPlanResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allElasticPlanListNode = value["ElasticPlanList"]["ElasticPlanInfo"];
for (auto valueElasticPlanListElasticPlanInfo : allElasticPlanListNode)
{
ElasticPlanInfo elasticPlanListObject;
if(!valueElasticPlanListElasticPlanInfo["PlanName"].isNull())
elasticPlanListObject.planName = valueElasticPlanListElasticPlanInfo["PlanName"].asString();
if(!valueElasticPlanListElasticPlanInfo["ResourcePoolName"].isNull())
elasticPlanListObject.resourcePoolName = valueElasticPlanListElasticPlanInfo["ResourcePoolName"].asString();
if(!valueElasticPlanListElasticPlanInfo["ElasticNodeNum"].isNull())
elasticPlanListObject.elasticNodeNum = std::stoi(valueElasticPlanListElasticPlanInfo["ElasticNodeNum"].asString());
if(!valueElasticPlanListElasticPlanInfo["StartTime"].isNull())
elasticPlanListObject.startTime = valueElasticPlanListElasticPlanInfo["StartTime"].asString();
if(!valueElasticPlanListElasticPlanInfo["EndTime"].isNull())
elasticPlanListObject.endTime = valueElasticPlanListElasticPlanInfo["EndTime"].asString();
if(!valueElasticPlanListElasticPlanInfo["WeeklyRepeat"].isNull())
elasticPlanListObject.weeklyRepeat = valueElasticPlanListElasticPlanInfo["WeeklyRepeat"].asString();
if(!valueElasticPlanListElasticPlanInfo["StartDay"].isNull())
elasticPlanListObject.startDay = valueElasticPlanListElasticPlanInfo["StartDay"].asString();
if(!valueElasticPlanListElasticPlanInfo["EndDay"].isNull())
elasticPlanListObject.endDay = valueElasticPlanListElasticPlanInfo["EndDay"].asString();
if(!valueElasticPlanListElasticPlanInfo["Enable"].isNull())
elasticPlanListObject.enable = valueElasticPlanListElasticPlanInfo["Enable"].asString() == "true";
elasticPlanList_.push_back(elasticPlanListObject);
}
}
std::vector<DescribeElasticPlanResult::ElasticPlanInfo> DescribeElasticPlanResult::getElasticPlanList()const
{
return elasticPlanList_;
}

View File

@@ -0,0 +1,183 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/DescribeLoadTasksRecordsRequest.h>
using AlibabaCloud::Adb::Model::DescribeLoadTasksRecordsRequest;
DescribeLoadTasksRecordsRequest::DescribeLoadTasksRecordsRequest() :
RpcServiceRequest("adb", "2019-03-15", "DescribeLoadTasksRecords")
{
setMethod(HttpRequest::Method::Post);
}
DescribeLoadTasksRecordsRequest::~DescribeLoadTasksRecordsRequest()
{}
long DescribeLoadTasksRecordsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeLoadTasksRecordsRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeLoadTasksRecordsRequest::getRange()const
{
return range_;
}
void DescribeLoadTasksRecordsRequest::setRange(const std::string& range)
{
range_ = range;
setParameter("Range", range);
}
std::string DescribeLoadTasksRecordsRequest::getStartTime()const
{
return startTime_;
}
void DescribeLoadTasksRecordsRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
int DescribeLoadTasksRecordsRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeLoadTasksRecordsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeLoadTasksRecordsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeLoadTasksRecordsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
int DescribeLoadTasksRecordsRequest::getPageSize()const
{
return pageSize_;
}
void DescribeLoadTasksRecordsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeLoadTasksRecordsRequest::getState()const
{
return state_;
}
void DescribeLoadTasksRecordsRequest::setState(const std::string& state)
{
state_ = state;
setParameter("State", state);
}
std::string DescribeLoadTasksRecordsRequest::getOrder()const
{
return order_;
}
void DescribeLoadTasksRecordsRequest::setOrder(const std::string& order)
{
order_ = order;
setParameter("Order", order);
}
std::string DescribeLoadTasksRecordsRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeLoadTasksRecordsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeLoadTasksRecordsRequest::getDBClusterId()const
{
return dBClusterId_;
}
void DescribeLoadTasksRecordsRequest::setDBClusterId(const std::string& dBClusterId)
{
dBClusterId_ = dBClusterId;
setParameter("DBClusterId", dBClusterId);
}
std::string DescribeLoadTasksRecordsRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeLoadTasksRecordsRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::string DescribeLoadTasksRecordsRequest::getEndTime()const
{
return endTime_;
}
void DescribeLoadTasksRecordsRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeLoadTasksRecordsRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeLoadTasksRecordsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeLoadTasksRecordsRequest::getDBName()const
{
return dBName_;
}
void DescribeLoadTasksRecordsRequest::setDBName(const std::string& dBName)
{
dBName_ = dBName;
setParameter("DBName", dBName);
}

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/adb/model/DescribeLoadTasksRecordsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
DescribeLoadTasksRecordsResult::DescribeLoadTasksRecordsResult() :
ServiceResult()
{}
DescribeLoadTasksRecordsResult::DescribeLoadTasksRecordsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeLoadTasksRecordsResult::~DescribeLoadTasksRecordsResult()
{}
void DescribeLoadTasksRecordsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allLoadTasksRecordsNode = value["LoadTasksRecords"]["LoadTaskRecord"];
for (auto valueLoadTasksRecordsLoadTaskRecord : allLoadTasksRecordsNode)
{
LoadTaskRecord loadTasksRecordsObject;
if(!valueLoadTasksRecordsLoadTaskRecord["ProcessRows"].isNull())
loadTasksRecordsObject.processRows = std::stol(valueLoadTasksRecordsLoadTaskRecord["ProcessRows"].asString());
if(!valueLoadTasksRecordsLoadTaskRecord["State"].isNull())
loadTasksRecordsObject.state = valueLoadTasksRecordsLoadTaskRecord["State"].asString();
if(!valueLoadTasksRecordsLoadTaskRecord["CreateTime"].isNull())
loadTasksRecordsObject.createTime = valueLoadTasksRecordsLoadTaskRecord["CreateTime"].asString();
if(!valueLoadTasksRecordsLoadTaskRecord["JobName"].isNull())
loadTasksRecordsObject.jobName = valueLoadTasksRecordsLoadTaskRecord["JobName"].asString();
if(!valueLoadTasksRecordsLoadTaskRecord["UpdateTime"].isNull())
loadTasksRecordsObject.updateTime = valueLoadTasksRecordsLoadTaskRecord["UpdateTime"].asString();
if(!valueLoadTasksRecordsLoadTaskRecord["DBName"].isNull())
loadTasksRecordsObject.dBName = valueLoadTasksRecordsLoadTaskRecord["DBName"].asString();
if(!valueLoadTasksRecordsLoadTaskRecord["ProcessID"].isNull())
loadTasksRecordsObject.processID = valueLoadTasksRecordsLoadTaskRecord["ProcessID"].asString();
if(!valueLoadTasksRecordsLoadTaskRecord["Sql"].isNull())
loadTasksRecordsObject.sql = valueLoadTasksRecordsLoadTaskRecord["Sql"].asString();
loadTasksRecords_.push_back(loadTasksRecordsObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = value["TotalCount"].asString();
if(!value["PageSize"].isNull())
pageSize_ = value["PageSize"].asString();
if(!value["PageNumber"].isNull())
pageNumber_ = value["PageNumber"].asString();
if(!value["DBClusterId"].isNull())
dBClusterId_ = value["DBClusterId"].asString();
}
std::string DescribeLoadTasksRecordsResult::getTotalCount()const
{
return totalCount_;
}
std::vector<DescribeLoadTasksRecordsResult::LoadTaskRecord> DescribeLoadTasksRecordsResult::getLoadTasksRecords()const
{
return loadTasksRecords_;
}
std::string DescribeLoadTasksRecordsResult::getPageSize()const
{
return pageSize_;
}
std::string DescribeLoadTasksRecordsResult::getPageNumber()const
{
return pageNumber_;
}
std::string DescribeLoadTasksRecordsResult::getDBClusterId()const
{
return dBClusterId_;
}

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