Compare commits
396 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0b65c2479 | ||
|
|
3267f3d649 | ||
|
|
a79257acaa | ||
|
|
724ad3f5ef | ||
|
|
208ca6ba33 | ||
|
|
7f67c014d7 | ||
|
|
e5892aafb1 | ||
|
|
4553624eb3 | ||
|
|
ecee6ebdcf | ||
|
|
e38743541f | ||
|
|
62675547a0 | ||
|
|
0b83aafb63 | ||
|
|
2ce5479bb3 | ||
|
|
0e8bc4d53b | ||
|
|
1e896e337a | ||
|
|
51b2160a35 | ||
|
|
a2538884e5 | ||
|
|
38687878d7 | ||
|
|
50542d3a96 | ||
|
|
31d841f554 | ||
|
|
38f1feda73 | ||
|
|
5e1ff681ee | ||
|
|
5888c43598 | ||
|
|
197143a57e | ||
|
|
cd65c6d063 | ||
|
|
af64ff1838 | ||
|
|
e1213b9125 | ||
|
|
00eafdf174 | ||
|
|
ebee82abfa | ||
|
|
5d8069b2ae | ||
|
|
7a56454f4a | ||
|
|
0c97547a63 | ||
|
|
6161fb7cdf | ||
|
|
25cf7939ec | ||
|
|
a91b82458d | ||
|
|
031448bbad | ||
|
|
31092444cc | ||
|
|
8a89fa30ff | ||
|
|
705a4d512f | ||
|
|
4ec6eb47bf | ||
|
|
188d8467c7 | ||
|
|
1b1720464f | ||
|
|
76b653f2fe | ||
|
|
aab920ef80 | ||
|
|
3260faf247 | ||
|
|
1cef04d1ee | ||
|
|
18531457b1 | ||
|
|
a704f2315b | ||
|
|
f608c575ec | ||
|
|
12839600df | ||
|
|
580d4c3b54 | ||
|
|
3dad76444f | ||
|
|
9ad24b2908 | ||
|
|
043fd0fcb4 | ||
|
|
3ed26d9565 | ||
|
|
93f7addccc | ||
|
|
8bc204572b | ||
|
|
80d1d26c38 | ||
|
|
d5a028a4c5 | ||
|
|
fa17bc470e | ||
|
|
cf67836e22 | ||
|
|
4b1dc6a6c3 | ||
|
|
6e851fd163 | ||
|
|
e9912734b2 | ||
|
|
946b319c79 | ||
|
|
93a074e698 | ||
|
|
fd111fd0e2 | ||
|
|
e5c93bd03a | ||
|
|
9d1b5377f0 | ||
|
|
61d3b1e147 | ||
|
|
cc4191005a | ||
|
|
12ce668e31 | ||
|
|
5ca855fea0 | ||
|
|
8e896759ac | ||
|
|
a95ef9f1ce | ||
|
|
1600c745a1 | ||
|
|
297be84e79 | ||
|
|
ec08c61a17 | ||
|
|
2b7e50c691 | ||
|
|
3d20963438 | ||
|
|
8eda6c1cc6 | ||
|
|
8cfb9f0b4d | ||
|
|
ff586b38ea | ||
|
|
28e4f58d7c | ||
|
|
0137ae2b16 | ||
|
|
917b2cbb5c | ||
|
|
97f1441d6e | ||
|
|
f8a80b38cd | ||
|
|
a15c3f4c89 | ||
|
|
fba9a5d827 | ||
|
|
d4daecde16 | ||
|
|
593ca5f90e | ||
|
|
077d8093c7 | ||
|
|
bfe14f3d0f | ||
|
|
9bf268a2db | ||
|
|
08dd92a830 | ||
|
|
dbaa86de9e | ||
|
|
b42b84f531 | ||
|
|
030376a748 | ||
|
|
030365b477 | ||
|
|
389f829a6a | ||
|
|
ca9d05cc67 | ||
|
|
a22a0c32f6 | ||
|
|
7a240d684e | ||
|
|
45ae211126 | ||
|
|
9a7ae6feb5 | ||
|
|
bdeb75c7ee | ||
|
|
a657203073 | ||
|
|
05012978b8 | ||
|
|
262fc718c8 | ||
|
|
67629320ba | ||
|
|
2f207f2248 | ||
|
|
8a13f09360 | ||
|
|
8ad84be9ba | ||
|
|
e26545ca6b | ||
|
|
69e65468df | ||
|
|
d47b0c609a | ||
|
|
68ba54083f | ||
|
|
8efbcc3612 | ||
|
|
a49b2abbe6 | ||
|
|
74a75c630f | ||
|
|
eb9e915503 | ||
|
|
159a3aa236 | ||
|
|
766d807fa5 | ||
|
|
78a5b2c702 | ||
|
|
f47daab733 | ||
|
|
da19881477 | ||
|
|
e54d97e987 | ||
|
|
4838a80585 | ||
|
|
8871ba8a2c | ||
|
|
0a7dacccb5 | ||
|
|
430d7d44dc | ||
|
|
60e29b9949 | ||
|
|
8f0d7fd7bf | ||
|
|
f8a61d85e7 | ||
|
|
f271563b86 | ||
|
|
611c11965c | ||
|
|
548f34f031 | ||
|
|
32139f1723 | ||
|
|
877c50bdf4 | ||
|
|
e9b7f9a589 | ||
|
|
c3c2eedf5c | ||
|
|
ad6d6026c2 | ||
|
|
0e44eb04f0 | ||
|
|
3fd4f1bb94 | ||
|
|
bb8ddd9024 | ||
|
|
077c40de15 | ||
|
|
f10a2a333b | ||
|
|
9e543cd602 | ||
|
|
6396bde1d4 | ||
|
|
cbcd585696 | ||
|
|
53da02f63b | ||
|
|
ecf1fc42a2 | ||
|
|
b2feb38de2 | ||
|
|
637cfee0ee | ||
|
|
054bcf4d84 | ||
|
|
2515aa4e65 | ||
|
|
aa2239005d | ||
|
|
c4144df5aa | ||
|
|
9f61515774 | ||
|
|
b94efe4684 | ||
|
|
f798fffbdb | ||
|
|
9db0b784a4 | ||
|
|
483be2dd81 | ||
|
|
4f44a09488 | ||
|
|
625c319b69 | ||
|
|
0fe965ef54 | ||
|
|
824992b7be | ||
|
|
662d539c6f | ||
|
|
cf3eecd9d3 | ||
|
|
3ab029ef1f | ||
|
|
dbfef6a376 | ||
|
|
b85b690930 | ||
|
|
c6aa166140 | ||
|
|
bad958a4b6 | ||
|
|
dcd91993ca | ||
|
|
61401b380a | ||
|
|
a85736c67f | ||
|
|
f7e495440d | ||
|
|
8966bab292 | ||
|
|
bfffa0a645 | ||
|
|
8a637c7bd9 | ||
|
|
665991c212 | ||
|
|
8577e276cb | ||
|
|
cf26b726ed | ||
|
|
e174ddcab8 | ||
|
|
a8f72c5f44 | ||
|
|
84f0671771 | ||
|
|
feb2a1a569 | ||
|
|
3951dffc62 | ||
|
|
dc54a90aee | ||
|
|
831ddef131 | ||
|
|
ac4c81dcb5 | ||
|
|
35aa024193 | ||
|
|
1b91dcfc91 | ||
|
|
e5acce5400 | ||
|
|
853c51d753 | ||
|
|
7d28af74ab | ||
|
|
5b44f9773d | ||
|
|
55060df956 | ||
|
|
dabca8e080 | ||
|
|
a382e3172c | ||
|
|
c2b3070859 | ||
|
|
3300b8de84 | ||
|
|
56bdae2cc0 | ||
|
|
aee93835d2 | ||
|
|
18c687ac7c | ||
|
|
10de5f93e0 | ||
|
|
fec6edb88e | ||
|
|
0e89026533 | ||
|
|
156c08ef4e | ||
|
|
623a29292c | ||
|
|
e089d8a671 | ||
|
|
caa1af1644 | ||
|
|
c1d131827e | ||
|
|
cfec2a4f73 | ||
|
|
1e31c73a54 | ||
|
|
2a254b88e0 | ||
|
|
3766be3d58 | ||
|
|
314a657cac | ||
|
|
c9454fb5be | ||
|
|
82d7fc9e8a | ||
|
|
c5bd44e307 | ||
|
|
4074a5b52e | ||
|
|
d4e14749ca | ||
|
|
e0dbc50d2f | ||
|
|
e657a8b04c | ||
|
|
736a166604 | ||
|
|
2f9276a66e | ||
|
|
7e8bb03821 | ||
|
|
b1800ef54d | ||
|
|
7a780263d7 | ||
|
|
4ac78d11e2 | ||
|
|
92edf52243 | ||
|
|
fa4f475079 | ||
|
|
c885bb9c23 | ||
|
|
9b3d0e6145 | ||
|
|
f5fc8b1bdb | ||
|
|
f9ab1f5227 | ||
|
|
bd6bd854e4 | ||
|
|
f3151aa716 | ||
|
|
a27a876ddb | ||
|
|
713828dbf2 | ||
|
|
3a13a540f4 | ||
|
|
e4d3a2d47e | ||
|
|
a5c2149e5a | ||
|
|
993a449ada | ||
|
|
48cf4804fb | ||
|
|
a3322bd82b | ||
|
|
ce8de7c7bf | ||
|
|
8b0585e3c0 | ||
|
|
595c192584 | ||
|
|
9f078db0ce | ||
|
|
5851781fdd | ||
|
|
8e5f42ce58 | ||
|
|
62720f38c2 | ||
|
|
8d8d9b4513 | ||
|
|
60c8f0572d | ||
|
|
8de0b02bda | ||
|
|
990e340be2 | ||
|
|
cecc31b199 | ||
|
|
0d0102d437 | ||
|
|
385caac18e | ||
|
|
6e64c6d014 | ||
|
|
7186e9b5f0 | ||
|
|
3b6ccb6d6f | ||
|
|
14f9dd0353 | ||
|
|
5aac0173f2 | ||
|
|
e107bb45d2 | ||
|
|
bc9938b104 | ||
|
|
5d3f641eab | ||
|
|
1b709ba76f | ||
|
|
57a114d7ef | ||
|
|
b7b1b733c1 | ||
|
|
4d88688ea6 | ||
|
|
675df848ba | ||
|
|
43fef9b25b | ||
|
|
6de92913f1 | ||
|
|
6706d1ef32 | ||
|
|
7c4887171f | ||
|
|
dce3c27547 | ||
|
|
13e8e848ea | ||
|
|
07baf122d2 | ||
|
|
e2fb64b9a3 | ||
|
|
edc4c69e3b | ||
|
|
edcb0cd662 | ||
|
|
a493636d49 | ||
|
|
d0b808cbaa | ||
|
|
c9e34d5a9c | ||
|
|
aab9bc66c5 | ||
|
|
79c5438009 | ||
|
|
a0c8b06b21 | ||
|
|
1682e58f98 | ||
|
|
c71ce3c596 | ||
|
|
250a0529f2 | ||
|
|
b9383c3ee7 | ||
|
|
05c8bd2c86 | ||
|
|
e6d150f65f | ||
|
|
180641e5ac | ||
|
|
8fbb3ee026 | ||
|
|
40a58a91ea | ||
|
|
2f4318d56c | ||
|
|
6a9f707edb | ||
|
|
08bb846a89 | ||
|
|
e4a8dc8cd4 | ||
|
|
eb40626c68 | ||
|
|
1eec105bda | ||
|
|
3b853470ee | ||
|
|
2f4689f88a | ||
|
|
e7cf03a9fd | ||
|
|
a1bc2cb5af | ||
|
|
57aece2625 | ||
|
|
ab2dee526e | ||
|
|
894262087a | ||
|
|
b0e8e978fc | ||
|
|
82ac445152 | ||
|
|
0ff3487fe7 | ||
|
|
df03038e74 | ||
|
|
1e4ada7895 | ||
|
|
809c3d3354 | ||
|
|
73e4c0810f | ||
|
|
7605e6a14e | ||
|
|
52977d04d8 | ||
|
|
39f77beaaf | ||
|
|
8f129b76e0 | ||
|
|
3be7e28fb6 | ||
|
|
a488ba7a7b | ||
|
|
0dec2e07b9 | ||
|
|
c786e7174e | ||
|
|
ca43fa689c | ||
|
|
99b00fe274 | ||
|
|
36af71113d | ||
|
|
6bdbd9482a | ||
|
|
fb4f6ae3b1 | ||
|
|
39b81f8e34 | ||
|
|
3b8df66c89 | ||
|
|
f9202a675c | ||
|
|
1b0819437f | ||
|
|
3d05a2f21a | ||
|
|
a358f4d5f0 | ||
|
|
b42b0028db | ||
|
|
320438db47 | ||
|
|
364ec55dbb | ||
|
|
f8807bdf99 | ||
|
|
af797c3520 | ||
|
|
98aeacc7c2 | ||
|
|
0363b94b0d | ||
|
|
97a4f5217e | ||
|
|
a336e2d994 | ||
|
|
aa1a6d2362 | ||
|
|
587e1e512e | ||
|
|
949e7960dc | ||
|
|
1b0c1eab88 | ||
|
|
469ca3633e | ||
|
|
6da60ce557 | ||
|
|
70f6c89c06 | ||
|
|
1ac934250e | ||
|
|
852d78709b | ||
|
|
db913af39d | ||
|
|
2f8cd1121d | ||
|
|
15ad2ff078 | ||
|
|
6f27a24f42 | ||
|
|
5faaf0ce0e | ||
|
|
5c849887e8 | ||
|
|
011b8ae4c5 | ||
|
|
82ed15642d | ||
|
|
53cb186ca3 | ||
|
|
6f733cd473 | ||
|
|
384ce24607 | ||
|
|
8ec9faabe1 | ||
|
|
dddd6b352c | ||
|
|
bd7c649ba2 | ||
|
|
e1a6fce136 | ||
|
|
fb7804f7b0 | ||
|
|
ef5165d686 | ||
|
|
2744d4cd2d | ||
|
|
e1863f13bf | ||
|
|
51b79e2956 | ||
|
|
6d52fc0e8d | ||
|
|
d0405dd61f | ||
|
|
1227bba30c | ||
|
|
04416d35c6 | ||
|
|
e75a9596ef | ||
|
|
6700b9eb65 | ||
|
|
2b1cad3ddf | ||
|
|
517d9852d6 | ||
|
|
4840d6ca87 | ||
|
|
99c7c0b611 | ||
|
|
c6319b3fbc | ||
|
|
80439374d5 | ||
|
|
9fde20e6f6 | ||
|
|
fefb29dee6 | ||
|
|
5e824d55da | ||
|
|
192d947607 | ||
|
|
0f0940e32a | ||
|
|
3ad3e4b062 |
25
CHANGELOG
25
CHANGELOG
@@ -1,3 +1,28 @@
|
||||
2022-08-11 Version: 1.36.1221
|
||||
- Fix ListManagedRules bugs.
|
||||
|
||||
2022-08-11 Version: 1.36.1220
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2022-08-09 Version: 1.36.1219
|
||||
- Support API ARMInstance.
|
||||
- Support Control ARM API.
|
||||
|
||||
2022-08-05 Version: 1.36.1218
|
||||
- Automatically generate sdk tasks.
|
||||
|
||||
2022-08-03 Version: 1.36.1217
|
||||
- Supported more query conditions when searching resource group.
|
||||
|
||||
2022-08-02 Version: 1.36.1216
|
||||
- Support ecs instance diagnostic features.
|
||||
|
||||
2022-08-01 Version: 1.36.1215
|
||||
- Update CreateKey and CreateSecret.
|
||||
|
||||
2022-07-29 Version: 1.36.1213
|
||||
- Change ListCheckInstanceResult Public.
|
||||
|
||||
2022-07-28 Version: 1.36.1212
|
||||
- AMP version.
|
||||
|
||||
|
||||
@@ -23,6 +23,12 @@ set(adb_public_header
|
||||
set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/AllocateClusterPublicConnectionRequest.h
|
||||
include/alibabacloud/adb/model/AllocateClusterPublicConnectionResult.h
|
||||
include/alibabacloud/adb/model/ApplyAdviceByIdRequest.h
|
||||
include/alibabacloud/adb/model/ApplyAdviceByIdResult.h
|
||||
include/alibabacloud/adb/model/AttachUserENIRequest.h
|
||||
include/alibabacloud/adb/model/AttachUserENIResult.h
|
||||
include/alibabacloud/adb/model/BatchApplyAdviceByIdListRequest.h
|
||||
include/alibabacloud/adb/model/BatchApplyAdviceByIdListResult.h
|
||||
include/alibabacloud/adb/model/BindDBResourceGroupWithUserRequest.h
|
||||
include/alibabacloud/adb/model/BindDBResourceGroupWithUserResult.h
|
||||
include/alibabacloud/adb/model/BindDBResourcePoolWithUserRequest.h
|
||||
@@ -49,16 +55,22 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/DeleteElasticPlanResult.h
|
||||
include/alibabacloud/adb/model/DescribeAccountsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAccountsResult.h
|
||||
include/alibabacloud/adb/model/DescribeAdviceServiceEnabledRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAdviceServiceEnabledResult.h
|
||||
include/alibabacloud/adb/model/DescribeAllAccountsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAllAccountsResult.h
|
||||
include/alibabacloud/adb/model/DescribeAllDataSourceRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAllDataSourceResult.h
|
||||
include/alibabacloud/adb/model/DescribeAppliedAdvicesRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAppliedAdvicesResult.h
|
||||
include/alibabacloud/adb/model/DescribeAuditLogConfigRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAuditLogConfigResult.h
|
||||
include/alibabacloud/adb/model/DescribeAuditLogRecordsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAuditLogRecordsResult.h
|
||||
include/alibabacloud/adb/model/DescribeAutoRenewAttributeRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAutoRenewAttributeResult.h
|
||||
include/alibabacloud/adb/model/DescribeAvailableAdvicesRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAvailableAdvicesResult.h
|
||||
include/alibabacloud/adb/model/DescribeAvailableResourceRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAvailableResourceResult.h
|
||||
include/alibabacloud/adb/model/DescribeBackupPolicyRequest.h
|
||||
@@ -67,22 +79,24 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/DescribeBackupsResult.h
|
||||
include/alibabacloud/adb/model/DescribeColumnsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeColumnsResult.h
|
||||
include/alibabacloud/adb/model/DescribeComputeResourceRequest.h
|
||||
include/alibabacloud/adb/model/DescribeComputeResourceResult.h
|
||||
include/alibabacloud/adb/model/DescribeConnectionCountRecordsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeConnectionCountRecordsResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterAccessWhiteListRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterAccessWhiteListResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterAttributeRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterAttributeResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterForecastRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterForecastResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterHealthReportRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterHealthReportResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterHealthStatusRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterHealthStatusResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterNetInfoRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterNetInfoResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterPerformanceRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterPerformanceResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterStatusRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterStatusResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClustersRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDBClustersResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBResourceGroupRequest.h
|
||||
@@ -91,10 +105,18 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/DescribeDBResourcePoolResult.h
|
||||
include/alibabacloud/adb/model/DescribeDiagnosisDimensionsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDiagnosisDimensionsResult.h
|
||||
include/alibabacloud/adb/model/DescribeDiagnosisMonitorPerformanceRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDiagnosisMonitorPerformanceResult.h
|
||||
include/alibabacloud/adb/model/DescribeDiagnosisRecordsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDiagnosisRecordsResult.h
|
||||
include/alibabacloud/adb/model/DescribeDiagnosisSQLInfoRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDiagnosisSQLInfoResult.h
|
||||
include/alibabacloud/adb/model/DescribeDiagnosisTasksRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDiagnosisTasksResult.h
|
||||
include/alibabacloud/adb/model/DescribeDownloadRecordsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDownloadRecordsResult.h
|
||||
include/alibabacloud/adb/model/DescribeEIURangeRequest.h
|
||||
include/alibabacloud/adb/model/DescribeEIURangeResult.h
|
||||
include/alibabacloud/adb/model/DescribeElasticDailyPlanRequest.h
|
||||
include/alibabacloud/adb/model/DescribeElasticDailyPlanResult.h
|
||||
include/alibabacloud/adb/model/DescribeElasticPlanRequest.h
|
||||
@@ -141,8 +163,16 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/DescribeTablesResult.h
|
||||
include/alibabacloud/adb/model/DescribeTaskInfoRequest.h
|
||||
include/alibabacloud/adb/model/DescribeTaskInfoResult.h
|
||||
include/alibabacloud/adb/model/DetachUserENIRequest.h
|
||||
include/alibabacloud/adb/model/DetachUserENIResult.h
|
||||
include/alibabacloud/adb/model/DisableAdviceServiceRequest.h
|
||||
include/alibabacloud/adb/model/DisableAdviceServiceResult.h
|
||||
include/alibabacloud/adb/model/DownloadDiagnosisRecordsRequest.h
|
||||
include/alibabacloud/adb/model/DownloadDiagnosisRecordsResult.h
|
||||
include/alibabacloud/adb/model/DryRunClusterRequest.h
|
||||
include/alibabacloud/adb/model/DryRunClusterResult.h
|
||||
include/alibabacloud/adb/model/EnableAdviceServiceRequest.h
|
||||
include/alibabacloud/adb/model/EnableAdviceServiceResult.h
|
||||
include/alibabacloud/adb/model/GrantOperatorPermissionRequest.h
|
||||
include/alibabacloud/adb/model/GrantOperatorPermissionResult.h
|
||||
include/alibabacloud/adb/model/KillProcessRequest.h
|
||||
@@ -200,6 +230,12 @@ set(adb_src
|
||||
src/AdbClient.cc
|
||||
src/model/AllocateClusterPublicConnectionRequest.cc
|
||||
src/model/AllocateClusterPublicConnectionResult.cc
|
||||
src/model/ApplyAdviceByIdRequest.cc
|
||||
src/model/ApplyAdviceByIdResult.cc
|
||||
src/model/AttachUserENIRequest.cc
|
||||
src/model/AttachUserENIResult.cc
|
||||
src/model/BatchApplyAdviceByIdListRequest.cc
|
||||
src/model/BatchApplyAdviceByIdListResult.cc
|
||||
src/model/BindDBResourceGroupWithUserRequest.cc
|
||||
src/model/BindDBResourceGroupWithUserResult.cc
|
||||
src/model/BindDBResourcePoolWithUserRequest.cc
|
||||
@@ -226,16 +262,22 @@ set(adb_src
|
||||
src/model/DeleteElasticPlanResult.cc
|
||||
src/model/DescribeAccountsRequest.cc
|
||||
src/model/DescribeAccountsResult.cc
|
||||
src/model/DescribeAdviceServiceEnabledRequest.cc
|
||||
src/model/DescribeAdviceServiceEnabledResult.cc
|
||||
src/model/DescribeAllAccountsRequest.cc
|
||||
src/model/DescribeAllAccountsResult.cc
|
||||
src/model/DescribeAllDataSourceRequest.cc
|
||||
src/model/DescribeAllDataSourceResult.cc
|
||||
src/model/DescribeAppliedAdvicesRequest.cc
|
||||
src/model/DescribeAppliedAdvicesResult.cc
|
||||
src/model/DescribeAuditLogConfigRequest.cc
|
||||
src/model/DescribeAuditLogConfigResult.cc
|
||||
src/model/DescribeAuditLogRecordsRequest.cc
|
||||
src/model/DescribeAuditLogRecordsResult.cc
|
||||
src/model/DescribeAutoRenewAttributeRequest.cc
|
||||
src/model/DescribeAutoRenewAttributeResult.cc
|
||||
src/model/DescribeAvailableAdvicesRequest.cc
|
||||
src/model/DescribeAvailableAdvicesResult.cc
|
||||
src/model/DescribeAvailableResourceRequest.cc
|
||||
src/model/DescribeAvailableResourceResult.cc
|
||||
src/model/DescribeBackupPolicyRequest.cc
|
||||
@@ -244,22 +286,24 @@ set(adb_src
|
||||
src/model/DescribeBackupsResult.cc
|
||||
src/model/DescribeColumnsRequest.cc
|
||||
src/model/DescribeColumnsResult.cc
|
||||
src/model/DescribeComputeResourceRequest.cc
|
||||
src/model/DescribeComputeResourceResult.cc
|
||||
src/model/DescribeConnectionCountRecordsRequest.cc
|
||||
src/model/DescribeConnectionCountRecordsResult.cc
|
||||
src/model/DescribeDBClusterAccessWhiteListRequest.cc
|
||||
src/model/DescribeDBClusterAccessWhiteListResult.cc
|
||||
src/model/DescribeDBClusterAttributeRequest.cc
|
||||
src/model/DescribeDBClusterAttributeResult.cc
|
||||
src/model/DescribeDBClusterForecastRequest.cc
|
||||
src/model/DescribeDBClusterForecastResult.cc
|
||||
src/model/DescribeDBClusterHealthReportRequest.cc
|
||||
src/model/DescribeDBClusterHealthReportResult.cc
|
||||
src/model/DescribeDBClusterHealthStatusRequest.cc
|
||||
src/model/DescribeDBClusterHealthStatusResult.cc
|
||||
src/model/DescribeDBClusterNetInfoRequest.cc
|
||||
src/model/DescribeDBClusterNetInfoResult.cc
|
||||
src/model/DescribeDBClusterPerformanceRequest.cc
|
||||
src/model/DescribeDBClusterPerformanceResult.cc
|
||||
src/model/DescribeDBClusterResourcePoolPerformanceRequest.cc
|
||||
src/model/DescribeDBClusterResourcePoolPerformanceResult.cc
|
||||
src/model/DescribeDBClusterStatusRequest.cc
|
||||
src/model/DescribeDBClusterStatusResult.cc
|
||||
src/model/DescribeDBClustersRequest.cc
|
||||
src/model/DescribeDBClustersResult.cc
|
||||
src/model/DescribeDBResourceGroupRequest.cc
|
||||
@@ -268,10 +312,18 @@ set(adb_src
|
||||
src/model/DescribeDBResourcePoolResult.cc
|
||||
src/model/DescribeDiagnosisDimensionsRequest.cc
|
||||
src/model/DescribeDiagnosisDimensionsResult.cc
|
||||
src/model/DescribeDiagnosisMonitorPerformanceRequest.cc
|
||||
src/model/DescribeDiagnosisMonitorPerformanceResult.cc
|
||||
src/model/DescribeDiagnosisRecordsRequest.cc
|
||||
src/model/DescribeDiagnosisRecordsResult.cc
|
||||
src/model/DescribeDiagnosisSQLInfoRequest.cc
|
||||
src/model/DescribeDiagnosisSQLInfoResult.cc
|
||||
src/model/DescribeDiagnosisTasksRequest.cc
|
||||
src/model/DescribeDiagnosisTasksResult.cc
|
||||
src/model/DescribeDownloadRecordsRequest.cc
|
||||
src/model/DescribeDownloadRecordsResult.cc
|
||||
src/model/DescribeEIURangeRequest.cc
|
||||
src/model/DescribeEIURangeResult.cc
|
||||
src/model/DescribeElasticDailyPlanRequest.cc
|
||||
src/model/DescribeElasticDailyPlanResult.cc
|
||||
src/model/DescribeElasticPlanRequest.cc
|
||||
@@ -318,8 +370,16 @@ set(adb_src
|
||||
src/model/DescribeTablesResult.cc
|
||||
src/model/DescribeTaskInfoRequest.cc
|
||||
src/model/DescribeTaskInfoResult.cc
|
||||
src/model/DetachUserENIRequest.cc
|
||||
src/model/DetachUserENIResult.cc
|
||||
src/model/DisableAdviceServiceRequest.cc
|
||||
src/model/DisableAdviceServiceResult.cc
|
||||
src/model/DownloadDiagnosisRecordsRequest.cc
|
||||
src/model/DownloadDiagnosisRecordsResult.cc
|
||||
src/model/DryRunClusterRequest.cc
|
||||
src/model/DryRunClusterResult.cc
|
||||
src/model/EnableAdviceServiceRequest.cc
|
||||
src/model/EnableAdviceServiceResult.cc
|
||||
src/model/GrantOperatorPermissionRequest.cc
|
||||
src/model/GrantOperatorPermissionResult.cc
|
||||
src/model/KillProcessRequest.cc
|
||||
|
||||
@@ -24,6 +24,12 @@
|
||||
#include "AdbExport.h"
|
||||
#include "model/AllocateClusterPublicConnectionRequest.h"
|
||||
#include "model/AllocateClusterPublicConnectionResult.h"
|
||||
#include "model/ApplyAdviceByIdRequest.h"
|
||||
#include "model/ApplyAdviceByIdResult.h"
|
||||
#include "model/AttachUserENIRequest.h"
|
||||
#include "model/AttachUserENIResult.h"
|
||||
#include "model/BatchApplyAdviceByIdListRequest.h"
|
||||
#include "model/BatchApplyAdviceByIdListResult.h"
|
||||
#include "model/BindDBResourceGroupWithUserRequest.h"
|
||||
#include "model/BindDBResourceGroupWithUserResult.h"
|
||||
#include "model/BindDBResourcePoolWithUserRequest.h"
|
||||
@@ -50,16 +56,22 @@
|
||||
#include "model/DeleteElasticPlanResult.h"
|
||||
#include "model/DescribeAccountsRequest.h"
|
||||
#include "model/DescribeAccountsResult.h"
|
||||
#include "model/DescribeAdviceServiceEnabledRequest.h"
|
||||
#include "model/DescribeAdviceServiceEnabledResult.h"
|
||||
#include "model/DescribeAllAccountsRequest.h"
|
||||
#include "model/DescribeAllAccountsResult.h"
|
||||
#include "model/DescribeAllDataSourceRequest.h"
|
||||
#include "model/DescribeAllDataSourceResult.h"
|
||||
#include "model/DescribeAppliedAdvicesRequest.h"
|
||||
#include "model/DescribeAppliedAdvicesResult.h"
|
||||
#include "model/DescribeAuditLogConfigRequest.h"
|
||||
#include "model/DescribeAuditLogConfigResult.h"
|
||||
#include "model/DescribeAuditLogRecordsRequest.h"
|
||||
#include "model/DescribeAuditLogRecordsResult.h"
|
||||
#include "model/DescribeAutoRenewAttributeRequest.h"
|
||||
#include "model/DescribeAutoRenewAttributeResult.h"
|
||||
#include "model/DescribeAvailableAdvicesRequest.h"
|
||||
#include "model/DescribeAvailableAdvicesResult.h"
|
||||
#include "model/DescribeAvailableResourceRequest.h"
|
||||
#include "model/DescribeAvailableResourceResult.h"
|
||||
#include "model/DescribeBackupPolicyRequest.h"
|
||||
@@ -68,22 +80,24 @@
|
||||
#include "model/DescribeBackupsResult.h"
|
||||
#include "model/DescribeColumnsRequest.h"
|
||||
#include "model/DescribeColumnsResult.h"
|
||||
#include "model/DescribeComputeResourceRequest.h"
|
||||
#include "model/DescribeComputeResourceResult.h"
|
||||
#include "model/DescribeConnectionCountRecordsRequest.h"
|
||||
#include "model/DescribeConnectionCountRecordsResult.h"
|
||||
#include "model/DescribeDBClusterAccessWhiteListRequest.h"
|
||||
#include "model/DescribeDBClusterAccessWhiteListResult.h"
|
||||
#include "model/DescribeDBClusterAttributeRequest.h"
|
||||
#include "model/DescribeDBClusterAttributeResult.h"
|
||||
#include "model/DescribeDBClusterForecastRequest.h"
|
||||
#include "model/DescribeDBClusterForecastResult.h"
|
||||
#include "model/DescribeDBClusterHealthReportRequest.h"
|
||||
#include "model/DescribeDBClusterHealthReportResult.h"
|
||||
#include "model/DescribeDBClusterHealthStatusRequest.h"
|
||||
#include "model/DescribeDBClusterHealthStatusResult.h"
|
||||
#include "model/DescribeDBClusterNetInfoRequest.h"
|
||||
#include "model/DescribeDBClusterNetInfoResult.h"
|
||||
#include "model/DescribeDBClusterPerformanceRequest.h"
|
||||
#include "model/DescribeDBClusterPerformanceResult.h"
|
||||
#include "model/DescribeDBClusterResourcePoolPerformanceRequest.h"
|
||||
#include "model/DescribeDBClusterResourcePoolPerformanceResult.h"
|
||||
#include "model/DescribeDBClusterStatusRequest.h"
|
||||
#include "model/DescribeDBClusterStatusResult.h"
|
||||
#include "model/DescribeDBClustersRequest.h"
|
||||
#include "model/DescribeDBClustersResult.h"
|
||||
#include "model/DescribeDBResourceGroupRequest.h"
|
||||
@@ -92,10 +106,18 @@
|
||||
#include "model/DescribeDBResourcePoolResult.h"
|
||||
#include "model/DescribeDiagnosisDimensionsRequest.h"
|
||||
#include "model/DescribeDiagnosisDimensionsResult.h"
|
||||
#include "model/DescribeDiagnosisMonitorPerformanceRequest.h"
|
||||
#include "model/DescribeDiagnosisMonitorPerformanceResult.h"
|
||||
#include "model/DescribeDiagnosisRecordsRequest.h"
|
||||
#include "model/DescribeDiagnosisRecordsResult.h"
|
||||
#include "model/DescribeDiagnosisSQLInfoRequest.h"
|
||||
#include "model/DescribeDiagnosisSQLInfoResult.h"
|
||||
#include "model/DescribeDiagnosisTasksRequest.h"
|
||||
#include "model/DescribeDiagnosisTasksResult.h"
|
||||
#include "model/DescribeDownloadRecordsRequest.h"
|
||||
#include "model/DescribeDownloadRecordsResult.h"
|
||||
#include "model/DescribeEIURangeRequest.h"
|
||||
#include "model/DescribeEIURangeResult.h"
|
||||
#include "model/DescribeElasticDailyPlanRequest.h"
|
||||
#include "model/DescribeElasticDailyPlanResult.h"
|
||||
#include "model/DescribeElasticPlanRequest.h"
|
||||
@@ -142,8 +164,16 @@
|
||||
#include "model/DescribeTablesResult.h"
|
||||
#include "model/DescribeTaskInfoRequest.h"
|
||||
#include "model/DescribeTaskInfoResult.h"
|
||||
#include "model/DetachUserENIRequest.h"
|
||||
#include "model/DetachUserENIResult.h"
|
||||
#include "model/DisableAdviceServiceRequest.h"
|
||||
#include "model/DisableAdviceServiceResult.h"
|
||||
#include "model/DownloadDiagnosisRecordsRequest.h"
|
||||
#include "model/DownloadDiagnosisRecordsResult.h"
|
||||
#include "model/DryRunClusterRequest.h"
|
||||
#include "model/DryRunClusterResult.h"
|
||||
#include "model/EnableAdviceServiceRequest.h"
|
||||
#include "model/EnableAdviceServiceResult.h"
|
||||
#include "model/GrantOperatorPermissionRequest.h"
|
||||
#include "model/GrantOperatorPermissionResult.h"
|
||||
#include "model/KillProcessRequest.h"
|
||||
@@ -208,6 +238,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AllocateClusterPublicConnectionResult> AllocateClusterPublicConnectionOutcome;
|
||||
typedef std::future<AllocateClusterPublicConnectionOutcome> AllocateClusterPublicConnectionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::AllocateClusterPublicConnectionRequest&, const AllocateClusterPublicConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateClusterPublicConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ApplyAdviceByIdResult> ApplyAdviceByIdOutcome;
|
||||
typedef std::future<ApplyAdviceByIdOutcome> ApplyAdviceByIdOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ApplyAdviceByIdRequest&, const ApplyAdviceByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyAdviceByIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::AttachUserENIResult> AttachUserENIOutcome;
|
||||
typedef std::future<AttachUserENIOutcome> AttachUserENIOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::AttachUserENIRequest&, const AttachUserENIOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachUserENIAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchApplyAdviceByIdListResult> BatchApplyAdviceByIdListOutcome;
|
||||
typedef std::future<BatchApplyAdviceByIdListOutcome> BatchApplyAdviceByIdListOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::BatchApplyAdviceByIdListRequest&, const BatchApplyAdviceByIdListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchApplyAdviceByIdListAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindDBResourceGroupWithUserResult> BindDBResourceGroupWithUserOutcome;
|
||||
typedef std::future<BindDBResourceGroupWithUserOutcome> BindDBResourceGroupWithUserOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::BindDBResourceGroupWithUserRequest&, const BindDBResourceGroupWithUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindDBResourceGroupWithUserAsyncHandler;
|
||||
@@ -247,12 +286,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeAccountsResult> DescribeAccountsOutcome;
|
||||
typedef std::future<DescribeAccountsOutcome> DescribeAccountsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAccountsRequest&, const DescribeAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAdviceServiceEnabledResult> DescribeAdviceServiceEnabledOutcome;
|
||||
typedef std::future<DescribeAdviceServiceEnabledOutcome> DescribeAdviceServiceEnabledOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAdviceServiceEnabledRequest&, const DescribeAdviceServiceEnabledOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAdviceServiceEnabledAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAllAccountsResult> DescribeAllAccountsOutcome;
|
||||
typedef std::future<DescribeAllAccountsOutcome> DescribeAllAccountsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAllAccountsRequest&, const DescribeAllAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAllAccountsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAllDataSourceResult> DescribeAllDataSourceOutcome;
|
||||
typedef std::future<DescribeAllDataSourceOutcome> DescribeAllDataSourceOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAllDataSourceRequest&, const DescribeAllDataSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAllDataSourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAppliedAdvicesResult> DescribeAppliedAdvicesOutcome;
|
||||
typedef std::future<DescribeAppliedAdvicesOutcome> DescribeAppliedAdvicesOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAppliedAdvicesRequest&, const DescribeAppliedAdvicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppliedAdvicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAuditLogConfigResult> DescribeAuditLogConfigOutcome;
|
||||
typedef std::future<DescribeAuditLogConfigOutcome> DescribeAuditLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAuditLogConfigRequest&, const DescribeAuditLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuditLogConfigAsyncHandler;
|
||||
@@ -262,6 +307,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeAutoRenewAttributeResult> DescribeAutoRenewAttributeOutcome;
|
||||
typedef std::future<DescribeAutoRenewAttributeOutcome> DescribeAutoRenewAttributeOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAutoRenewAttributeRequest&, const DescribeAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAutoRenewAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAvailableAdvicesResult> DescribeAvailableAdvicesOutcome;
|
||||
typedef std::future<DescribeAvailableAdvicesOutcome> DescribeAvailableAdvicesOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAvailableAdvicesRequest&, const DescribeAvailableAdvicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAvailableAdvicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAvailableResourceResult> DescribeAvailableResourceOutcome;
|
||||
typedef std::future<DescribeAvailableResourceOutcome> DescribeAvailableResourceOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAvailableResourceRequest&, const DescribeAvailableResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAvailableResourceAsyncHandler;
|
||||
@@ -274,6 +322,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeColumnsResult> DescribeColumnsOutcome;
|
||||
typedef std::future<DescribeColumnsOutcome> DescribeColumnsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeColumnsRequest&, const DescribeColumnsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeColumnsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeComputeResourceResult> DescribeComputeResourceOutcome;
|
||||
typedef std::future<DescribeComputeResourceOutcome> DescribeComputeResourceOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeComputeResourceRequest&, const DescribeComputeResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeComputeResourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeConnectionCountRecordsResult> DescribeConnectionCountRecordsOutcome;
|
||||
typedef std::future<DescribeConnectionCountRecordsOutcome> DescribeConnectionCountRecordsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeConnectionCountRecordsRequest&, const DescribeConnectionCountRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConnectionCountRecordsAsyncHandler;
|
||||
@@ -283,12 +334,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDBClusterAttributeResult> DescribeDBClusterAttributeOutcome;
|
||||
typedef std::future<DescribeDBClusterAttributeOutcome> DescribeDBClusterAttributeOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterAttributeRequest&, const DescribeDBClusterAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBClusterForecastResult> DescribeDBClusterForecastOutcome;
|
||||
typedef std::future<DescribeDBClusterForecastOutcome> DescribeDBClusterForecastOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterForecastRequest&, const DescribeDBClusterForecastOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterForecastAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBClusterHealthReportResult> DescribeDBClusterHealthReportOutcome;
|
||||
typedef std::future<DescribeDBClusterHealthReportOutcome> DescribeDBClusterHealthReportOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterHealthReportRequest&, const DescribeDBClusterHealthReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterHealthReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBClusterHealthStatusResult> DescribeDBClusterHealthStatusOutcome;
|
||||
typedef std::future<DescribeDBClusterHealthStatusOutcome> DescribeDBClusterHealthStatusOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterHealthStatusRequest&, const DescribeDBClusterHealthStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterHealthStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBClusterNetInfoResult> DescribeDBClusterNetInfoOutcome;
|
||||
typedef std::future<DescribeDBClusterNetInfoOutcome> DescribeDBClusterNetInfoOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterNetInfoRequest&, const DescribeDBClusterNetInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterNetInfoAsyncHandler;
|
||||
@@ -298,6 +346,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDBClusterResourcePoolPerformanceResult> DescribeDBClusterResourcePoolPerformanceOutcome;
|
||||
typedef std::future<DescribeDBClusterResourcePoolPerformanceOutcome> DescribeDBClusterResourcePoolPerformanceOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterResourcePoolPerformanceRequest&, const DescribeDBClusterResourcePoolPerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterResourcePoolPerformanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBClusterStatusResult> DescribeDBClusterStatusOutcome;
|
||||
typedef std::future<DescribeDBClusterStatusOutcome> DescribeDBClusterStatusOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterStatusRequest&, const DescribeDBClusterStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBClustersResult> DescribeDBClustersOutcome;
|
||||
typedef std::future<DescribeDBClustersOutcome> DescribeDBClustersOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDBClustersRequest&, const DescribeDBClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClustersAsyncHandler;
|
||||
@@ -310,12 +361,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDiagnosisDimensionsResult> DescribeDiagnosisDimensionsOutcome;
|
||||
typedef std::future<DescribeDiagnosisDimensionsOutcome> DescribeDiagnosisDimensionsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDiagnosisDimensionsRequest&, const DescribeDiagnosisDimensionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosisDimensionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDiagnosisMonitorPerformanceResult> DescribeDiagnosisMonitorPerformanceOutcome;
|
||||
typedef std::future<DescribeDiagnosisMonitorPerformanceOutcome> DescribeDiagnosisMonitorPerformanceOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDiagnosisMonitorPerformanceRequest&, const DescribeDiagnosisMonitorPerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosisMonitorPerformanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDiagnosisRecordsResult> DescribeDiagnosisRecordsOutcome;
|
||||
typedef std::future<DescribeDiagnosisRecordsOutcome> DescribeDiagnosisRecordsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDiagnosisRecordsRequest&, const DescribeDiagnosisRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosisRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDiagnosisSQLInfoResult> DescribeDiagnosisSQLInfoOutcome;
|
||||
typedef std::future<DescribeDiagnosisSQLInfoOutcome> DescribeDiagnosisSQLInfoOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDiagnosisSQLInfoRequest&, const DescribeDiagnosisSQLInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosisSQLInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDiagnosisTasksResult> DescribeDiagnosisTasksOutcome;
|
||||
typedef std::future<DescribeDiagnosisTasksOutcome> DescribeDiagnosisTasksOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDiagnosisTasksRequest&, const DescribeDiagnosisTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosisTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDownloadRecordsResult> DescribeDownloadRecordsOutcome;
|
||||
typedef std::future<DescribeDownloadRecordsOutcome> DescribeDownloadRecordsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDownloadRecordsRequest&, const DescribeDownloadRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDownloadRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeEIURangeResult> DescribeEIURangeOutcome;
|
||||
typedef std::future<DescribeEIURangeOutcome> DescribeEIURangeOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeEIURangeRequest&, const DescribeEIURangeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEIURangeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeElasticDailyPlanResult> DescribeElasticDailyPlanOutcome;
|
||||
typedef std::future<DescribeElasticDailyPlanOutcome> DescribeElasticDailyPlanOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeElasticDailyPlanRequest&, const DescribeElasticDailyPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeElasticDailyPlanAsyncHandler;
|
||||
@@ -385,9 +448,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeTaskInfoResult> DescribeTaskInfoOutcome;
|
||||
typedef std::future<DescribeTaskInfoOutcome> DescribeTaskInfoOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeTaskInfoRequest&, const DescribeTaskInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTaskInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachUserENIResult> DetachUserENIOutcome;
|
||||
typedef std::future<DetachUserENIOutcome> DetachUserENIOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DetachUserENIRequest&, const DetachUserENIOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachUserENIAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableAdviceServiceResult> DisableAdviceServiceOutcome;
|
||||
typedef std::future<DisableAdviceServiceOutcome> DisableAdviceServiceOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DisableAdviceServiceRequest&, const DisableAdviceServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableAdviceServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DownloadDiagnosisRecordsResult> DownloadDiagnosisRecordsOutcome;
|
||||
typedef std::future<DownloadDiagnosisRecordsOutcome> DownloadDiagnosisRecordsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DownloadDiagnosisRecordsRequest&, const DownloadDiagnosisRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadDiagnosisRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DryRunClusterResult> DryRunClusterOutcome;
|
||||
typedef std::future<DryRunClusterOutcome> DryRunClusterOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DryRunClusterRequest&, const DryRunClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DryRunClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableAdviceServiceResult> EnableAdviceServiceOutcome;
|
||||
typedef std::future<EnableAdviceServiceOutcome> EnableAdviceServiceOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::EnableAdviceServiceRequest&, const EnableAdviceServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableAdviceServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GrantOperatorPermissionResult> GrantOperatorPermissionOutcome;
|
||||
typedef std::future<GrantOperatorPermissionOutcome> GrantOperatorPermissionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::GrantOperatorPermissionRequest&, const GrantOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GrantOperatorPermissionAsyncHandler;
|
||||
@@ -474,6 +549,15 @@ namespace AlibabaCloud
|
||||
AllocateClusterPublicConnectionOutcome allocateClusterPublicConnection(const Model::AllocateClusterPublicConnectionRequest &request)const;
|
||||
void allocateClusterPublicConnectionAsync(const Model::AllocateClusterPublicConnectionRequest& request, const AllocateClusterPublicConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AllocateClusterPublicConnectionOutcomeCallable allocateClusterPublicConnectionCallable(const Model::AllocateClusterPublicConnectionRequest& request) const;
|
||||
ApplyAdviceByIdOutcome applyAdviceById(const Model::ApplyAdviceByIdRequest &request)const;
|
||||
void applyAdviceByIdAsync(const Model::ApplyAdviceByIdRequest& request, const ApplyAdviceByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ApplyAdviceByIdOutcomeCallable applyAdviceByIdCallable(const Model::ApplyAdviceByIdRequest& request) const;
|
||||
AttachUserENIOutcome attachUserENI(const Model::AttachUserENIRequest &request)const;
|
||||
void attachUserENIAsync(const Model::AttachUserENIRequest& request, const AttachUserENIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachUserENIOutcomeCallable attachUserENICallable(const Model::AttachUserENIRequest& request) const;
|
||||
BatchApplyAdviceByIdListOutcome batchApplyAdviceByIdList(const Model::BatchApplyAdviceByIdListRequest &request)const;
|
||||
void batchApplyAdviceByIdListAsync(const Model::BatchApplyAdviceByIdListRequest& request, const BatchApplyAdviceByIdListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchApplyAdviceByIdListOutcomeCallable batchApplyAdviceByIdListCallable(const Model::BatchApplyAdviceByIdListRequest& request) const;
|
||||
BindDBResourceGroupWithUserOutcome bindDBResourceGroupWithUser(const Model::BindDBResourceGroupWithUserRequest &request)const;
|
||||
void bindDBResourceGroupWithUserAsync(const Model::BindDBResourceGroupWithUserRequest& request, const BindDBResourceGroupWithUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindDBResourceGroupWithUserOutcomeCallable bindDBResourceGroupWithUserCallable(const Model::BindDBResourceGroupWithUserRequest& request) const;
|
||||
@@ -513,12 +597,18 @@ namespace AlibabaCloud
|
||||
DescribeAccountsOutcome describeAccounts(const Model::DescribeAccountsRequest &request)const;
|
||||
void describeAccountsAsync(const Model::DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAccountsOutcomeCallable describeAccountsCallable(const Model::DescribeAccountsRequest& request) const;
|
||||
DescribeAdviceServiceEnabledOutcome describeAdviceServiceEnabled(const Model::DescribeAdviceServiceEnabledRequest &request)const;
|
||||
void describeAdviceServiceEnabledAsync(const Model::DescribeAdviceServiceEnabledRequest& request, const DescribeAdviceServiceEnabledAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAdviceServiceEnabledOutcomeCallable describeAdviceServiceEnabledCallable(const Model::DescribeAdviceServiceEnabledRequest& request) const;
|
||||
DescribeAllAccountsOutcome describeAllAccounts(const Model::DescribeAllAccountsRequest &request)const;
|
||||
void describeAllAccountsAsync(const Model::DescribeAllAccountsRequest& request, const DescribeAllAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAllAccountsOutcomeCallable describeAllAccountsCallable(const Model::DescribeAllAccountsRequest& request) const;
|
||||
DescribeAllDataSourceOutcome describeAllDataSource(const Model::DescribeAllDataSourceRequest &request)const;
|
||||
void describeAllDataSourceAsync(const Model::DescribeAllDataSourceRequest& request, const DescribeAllDataSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAllDataSourceOutcomeCallable describeAllDataSourceCallable(const Model::DescribeAllDataSourceRequest& request) const;
|
||||
DescribeAppliedAdvicesOutcome describeAppliedAdvices(const Model::DescribeAppliedAdvicesRequest &request)const;
|
||||
void describeAppliedAdvicesAsync(const Model::DescribeAppliedAdvicesRequest& request, const DescribeAppliedAdvicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAppliedAdvicesOutcomeCallable describeAppliedAdvicesCallable(const Model::DescribeAppliedAdvicesRequest& request) const;
|
||||
DescribeAuditLogConfigOutcome describeAuditLogConfig(const Model::DescribeAuditLogConfigRequest &request)const;
|
||||
void describeAuditLogConfigAsync(const Model::DescribeAuditLogConfigRequest& request, const DescribeAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAuditLogConfigOutcomeCallable describeAuditLogConfigCallable(const Model::DescribeAuditLogConfigRequest& request) const;
|
||||
@@ -528,6 +618,9 @@ namespace AlibabaCloud
|
||||
DescribeAutoRenewAttributeOutcome describeAutoRenewAttribute(const Model::DescribeAutoRenewAttributeRequest &request)const;
|
||||
void describeAutoRenewAttributeAsync(const Model::DescribeAutoRenewAttributeRequest& request, const DescribeAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAutoRenewAttributeOutcomeCallable describeAutoRenewAttributeCallable(const Model::DescribeAutoRenewAttributeRequest& request) const;
|
||||
DescribeAvailableAdvicesOutcome describeAvailableAdvices(const Model::DescribeAvailableAdvicesRequest &request)const;
|
||||
void describeAvailableAdvicesAsync(const Model::DescribeAvailableAdvicesRequest& request, const DescribeAvailableAdvicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAvailableAdvicesOutcomeCallable describeAvailableAdvicesCallable(const Model::DescribeAvailableAdvicesRequest& request) const;
|
||||
DescribeAvailableResourceOutcome describeAvailableResource(const Model::DescribeAvailableResourceRequest &request)const;
|
||||
void describeAvailableResourceAsync(const Model::DescribeAvailableResourceRequest& request, const DescribeAvailableResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAvailableResourceOutcomeCallable describeAvailableResourceCallable(const Model::DescribeAvailableResourceRequest& request) const;
|
||||
@@ -540,6 +633,9 @@ namespace AlibabaCloud
|
||||
DescribeColumnsOutcome describeColumns(const Model::DescribeColumnsRequest &request)const;
|
||||
void describeColumnsAsync(const Model::DescribeColumnsRequest& request, const DescribeColumnsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeColumnsOutcomeCallable describeColumnsCallable(const Model::DescribeColumnsRequest& request) const;
|
||||
DescribeComputeResourceOutcome describeComputeResource(const Model::DescribeComputeResourceRequest &request)const;
|
||||
void describeComputeResourceAsync(const Model::DescribeComputeResourceRequest& request, const DescribeComputeResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeComputeResourceOutcomeCallable describeComputeResourceCallable(const Model::DescribeComputeResourceRequest& request) const;
|
||||
DescribeConnectionCountRecordsOutcome describeConnectionCountRecords(const Model::DescribeConnectionCountRecordsRequest &request)const;
|
||||
void describeConnectionCountRecordsAsync(const Model::DescribeConnectionCountRecordsRequest& request, const DescribeConnectionCountRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeConnectionCountRecordsOutcomeCallable describeConnectionCountRecordsCallable(const Model::DescribeConnectionCountRecordsRequest& request) const;
|
||||
@@ -549,12 +645,9 @@ namespace AlibabaCloud
|
||||
DescribeDBClusterAttributeOutcome describeDBClusterAttribute(const Model::DescribeDBClusterAttributeRequest &request)const;
|
||||
void describeDBClusterAttributeAsync(const Model::DescribeDBClusterAttributeRequest& request, const DescribeDBClusterAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBClusterAttributeOutcomeCallable describeDBClusterAttributeCallable(const Model::DescribeDBClusterAttributeRequest& request) const;
|
||||
DescribeDBClusterForecastOutcome describeDBClusterForecast(const Model::DescribeDBClusterForecastRequest &request)const;
|
||||
void describeDBClusterForecastAsync(const Model::DescribeDBClusterForecastRequest& request, const DescribeDBClusterForecastAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBClusterForecastOutcomeCallable describeDBClusterForecastCallable(const Model::DescribeDBClusterForecastRequest& request) const;
|
||||
DescribeDBClusterHealthReportOutcome describeDBClusterHealthReport(const Model::DescribeDBClusterHealthReportRequest &request)const;
|
||||
void describeDBClusterHealthReportAsync(const Model::DescribeDBClusterHealthReportRequest& request, const DescribeDBClusterHealthReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBClusterHealthReportOutcomeCallable describeDBClusterHealthReportCallable(const Model::DescribeDBClusterHealthReportRequest& request) const;
|
||||
DescribeDBClusterHealthStatusOutcome describeDBClusterHealthStatus(const Model::DescribeDBClusterHealthStatusRequest &request)const;
|
||||
void describeDBClusterHealthStatusAsync(const Model::DescribeDBClusterHealthStatusRequest& request, const DescribeDBClusterHealthStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBClusterHealthStatusOutcomeCallable describeDBClusterHealthStatusCallable(const Model::DescribeDBClusterHealthStatusRequest& request) const;
|
||||
DescribeDBClusterNetInfoOutcome describeDBClusterNetInfo(const Model::DescribeDBClusterNetInfoRequest &request)const;
|
||||
void describeDBClusterNetInfoAsync(const Model::DescribeDBClusterNetInfoRequest& request, const DescribeDBClusterNetInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBClusterNetInfoOutcomeCallable describeDBClusterNetInfoCallable(const Model::DescribeDBClusterNetInfoRequest& request) const;
|
||||
@@ -564,6 +657,9 @@ namespace AlibabaCloud
|
||||
DescribeDBClusterResourcePoolPerformanceOutcome describeDBClusterResourcePoolPerformance(const Model::DescribeDBClusterResourcePoolPerformanceRequest &request)const;
|
||||
void describeDBClusterResourcePoolPerformanceAsync(const Model::DescribeDBClusterResourcePoolPerformanceRequest& request, const DescribeDBClusterResourcePoolPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBClusterResourcePoolPerformanceOutcomeCallable describeDBClusterResourcePoolPerformanceCallable(const Model::DescribeDBClusterResourcePoolPerformanceRequest& request) const;
|
||||
DescribeDBClusterStatusOutcome describeDBClusterStatus(const Model::DescribeDBClusterStatusRequest &request)const;
|
||||
void describeDBClusterStatusAsync(const Model::DescribeDBClusterStatusRequest& request, const DescribeDBClusterStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBClusterStatusOutcomeCallable describeDBClusterStatusCallable(const Model::DescribeDBClusterStatusRequest& request) const;
|
||||
DescribeDBClustersOutcome describeDBClusters(const Model::DescribeDBClustersRequest &request)const;
|
||||
void describeDBClustersAsync(const Model::DescribeDBClustersRequest& request, const DescribeDBClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBClustersOutcomeCallable describeDBClustersCallable(const Model::DescribeDBClustersRequest& request) const;
|
||||
@@ -576,12 +672,24 @@ namespace AlibabaCloud
|
||||
DescribeDiagnosisDimensionsOutcome describeDiagnosisDimensions(const Model::DescribeDiagnosisDimensionsRequest &request)const;
|
||||
void describeDiagnosisDimensionsAsync(const Model::DescribeDiagnosisDimensionsRequest& request, const DescribeDiagnosisDimensionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDiagnosisDimensionsOutcomeCallable describeDiagnosisDimensionsCallable(const Model::DescribeDiagnosisDimensionsRequest& request) const;
|
||||
DescribeDiagnosisMonitorPerformanceOutcome describeDiagnosisMonitorPerformance(const Model::DescribeDiagnosisMonitorPerformanceRequest &request)const;
|
||||
void describeDiagnosisMonitorPerformanceAsync(const Model::DescribeDiagnosisMonitorPerformanceRequest& request, const DescribeDiagnosisMonitorPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDiagnosisMonitorPerformanceOutcomeCallable describeDiagnosisMonitorPerformanceCallable(const Model::DescribeDiagnosisMonitorPerformanceRequest& request) const;
|
||||
DescribeDiagnosisRecordsOutcome describeDiagnosisRecords(const Model::DescribeDiagnosisRecordsRequest &request)const;
|
||||
void describeDiagnosisRecordsAsync(const Model::DescribeDiagnosisRecordsRequest& request, const DescribeDiagnosisRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDiagnosisRecordsOutcomeCallable describeDiagnosisRecordsCallable(const Model::DescribeDiagnosisRecordsRequest& request) const;
|
||||
DescribeDiagnosisSQLInfoOutcome describeDiagnosisSQLInfo(const Model::DescribeDiagnosisSQLInfoRequest &request)const;
|
||||
void describeDiagnosisSQLInfoAsync(const Model::DescribeDiagnosisSQLInfoRequest& request, const DescribeDiagnosisSQLInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDiagnosisSQLInfoOutcomeCallable describeDiagnosisSQLInfoCallable(const Model::DescribeDiagnosisSQLInfoRequest& request) const;
|
||||
DescribeDiagnosisTasksOutcome describeDiagnosisTasks(const Model::DescribeDiagnosisTasksRequest &request)const;
|
||||
void describeDiagnosisTasksAsync(const Model::DescribeDiagnosisTasksRequest& request, const DescribeDiagnosisTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDiagnosisTasksOutcomeCallable describeDiagnosisTasksCallable(const Model::DescribeDiagnosisTasksRequest& request) const;
|
||||
DescribeDownloadRecordsOutcome describeDownloadRecords(const Model::DescribeDownloadRecordsRequest &request)const;
|
||||
void describeDownloadRecordsAsync(const Model::DescribeDownloadRecordsRequest& request, const DescribeDownloadRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDownloadRecordsOutcomeCallable describeDownloadRecordsCallable(const Model::DescribeDownloadRecordsRequest& request) const;
|
||||
DescribeEIURangeOutcome describeEIURange(const Model::DescribeEIURangeRequest &request)const;
|
||||
void describeEIURangeAsync(const Model::DescribeEIURangeRequest& request, const DescribeEIURangeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEIURangeOutcomeCallable describeEIURangeCallable(const Model::DescribeEIURangeRequest& request) const;
|
||||
DescribeElasticDailyPlanOutcome describeElasticDailyPlan(const Model::DescribeElasticDailyPlanRequest &request)const;
|
||||
void describeElasticDailyPlanAsync(const Model::DescribeElasticDailyPlanRequest& request, const DescribeElasticDailyPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeElasticDailyPlanOutcomeCallable describeElasticDailyPlanCallable(const Model::DescribeElasticDailyPlanRequest& request) const;
|
||||
@@ -651,9 +759,21 @@ namespace AlibabaCloud
|
||||
DescribeTaskInfoOutcome describeTaskInfo(const Model::DescribeTaskInfoRequest &request)const;
|
||||
void describeTaskInfoAsync(const Model::DescribeTaskInfoRequest& request, const DescribeTaskInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTaskInfoOutcomeCallable describeTaskInfoCallable(const Model::DescribeTaskInfoRequest& request) const;
|
||||
DetachUserENIOutcome detachUserENI(const Model::DetachUserENIRequest &request)const;
|
||||
void detachUserENIAsync(const Model::DetachUserENIRequest& request, const DetachUserENIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachUserENIOutcomeCallable detachUserENICallable(const Model::DetachUserENIRequest& request) const;
|
||||
DisableAdviceServiceOutcome disableAdviceService(const Model::DisableAdviceServiceRequest &request)const;
|
||||
void disableAdviceServiceAsync(const Model::DisableAdviceServiceRequest& request, const DisableAdviceServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableAdviceServiceOutcomeCallable disableAdviceServiceCallable(const Model::DisableAdviceServiceRequest& request) const;
|
||||
DownloadDiagnosisRecordsOutcome downloadDiagnosisRecords(const Model::DownloadDiagnosisRecordsRequest &request)const;
|
||||
void downloadDiagnosisRecordsAsync(const Model::DownloadDiagnosisRecordsRequest& request, const DownloadDiagnosisRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DownloadDiagnosisRecordsOutcomeCallable downloadDiagnosisRecordsCallable(const Model::DownloadDiagnosisRecordsRequest& request) const;
|
||||
DryRunClusterOutcome dryRunCluster(const Model::DryRunClusterRequest &request)const;
|
||||
void dryRunClusterAsync(const Model::DryRunClusterRequest& request, const DryRunClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DryRunClusterOutcomeCallable dryRunClusterCallable(const Model::DryRunClusterRequest& request) const;
|
||||
EnableAdviceServiceOutcome enableAdviceService(const Model::EnableAdviceServiceRequest &request)const;
|
||||
void enableAdviceServiceAsync(const Model::EnableAdviceServiceRequest& request, const EnableAdviceServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableAdviceServiceOutcomeCallable enableAdviceServiceCallable(const Model::EnableAdviceServiceRequest& request) const;
|
||||
GrantOperatorPermissionOutcome grantOperatorPermission(const Model::GrantOperatorPermissionRequest &request)const;
|
||||
void grantOperatorPermissionAsync(const Model::GrantOperatorPermissionRequest& request, const GrantOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GrantOperatorPermissionOutcomeCallable grantOperatorPermissionCallable(const Model::GrantOperatorPermissionRequest& request) const;
|
||||
|
||||
51
adb/include/alibabacloud/adb/model/ApplyAdviceByIdRequest.h
Normal file
51
adb/include/alibabacloud/adb/model/ApplyAdviceByIdRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_APPLYADVICEBYIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_APPLYADVICEBYIDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT ApplyAdviceByIdRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ApplyAdviceByIdRequest();
|
||||
~ApplyAdviceByIdRequest();
|
||||
std::string getAdviceId() const;
|
||||
void setAdviceId(const std::string &adviceId);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
long getAdviceDate() const;
|
||||
void setAdviceDate(long adviceDate);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string adviceId_;
|
||||
std::string dBClusterId_;
|
||||
long adviceDate_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_APPLYADVICEBYIDREQUEST_H_
|
||||
51
adb/include/alibabacloud/adb/model/ApplyAdviceByIdResult.h
Normal file
51
adb/include/alibabacloud/adb/model/ApplyAdviceByIdResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_APPLYADVICEBYIDRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_APPLYADVICEBYIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ApplyAdviceByIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ApplyAdviceByIdResult();
|
||||
explicit ApplyAdviceByIdResult(const std::string &payload);
|
||||
~ApplyAdviceByIdResult();
|
||||
std::string getMessage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_APPLYADVICEBYIDRESULT_H_
|
||||
57
adb/include/alibabacloud/adb/model/AttachUserENIRequest.h
Normal file
57
adb/include/alibabacloud/adb/model/AttachUserENIRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_ATTACHUSERENIREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_ATTACHUSERENIREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT AttachUserENIRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AttachUserENIRequest();
|
||||
~AttachUserENIRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_ATTACHUSERENIREQUEST_H_
|
||||
49
adb/include/alibabacloud/adb/model/AttachUserENIResult.h
Normal file
49
adb/include/alibabacloud/adb/model/AttachUserENIResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_ATTACHUSERENIRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_ATTACHUSERENIRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT AttachUserENIResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AttachUserENIResult();
|
||||
explicit AttachUserENIResult(const std::string &payload);
|
||||
~AttachUserENIResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_ATTACHUSERENIRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_BATCHAPPLYADVICEBYIDLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_BATCHAPPLYADVICEBYIDLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT BatchApplyAdviceByIdListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
BatchApplyAdviceByIdListRequest();
|
||||
~BatchApplyAdviceByIdListRequest();
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getAdviceIdList() const;
|
||||
void setAdviceIdList(const std::string &adviceIdList);
|
||||
long getAdviceDate() const;
|
||||
void setAdviceDate(long adviceDate);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string dBClusterId_;
|
||||
std::string adviceIdList_;
|
||||
long adviceDate_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_BATCHAPPLYADVICEBYIDLISTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_BATCHAPPLYADVICEBYIDLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_BATCHAPPLYADVICEBYIDLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT BatchApplyAdviceByIdListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BatchApplyAdviceByIdListResult();
|
||||
explicit BatchApplyAdviceByIdListResult(const std::string &payload);
|
||||
~BatchApplyAdviceByIdListResult();
|
||||
std::string getMessage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_BATCHAPPLYADVICEBYIDLISTRESULT_H_
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~CreateElasticPlanRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getElasticPlanType() const;
|
||||
void setElasticPlanType(const std::string &elasticPlanType);
|
||||
std::string getElasticPlanTimeStart() const;
|
||||
void setElasticPlanTimeStart(const std::string &elasticPlanTimeStart);
|
||||
std::string getElasticPlanEndDay() const;
|
||||
@@ -40,6 +42,8 @@ public:
|
||||
void setElasticPlanWeeklyRepeat(const std::string &elasticPlanWeeklyRepeat);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getElasticPlanWorkerSpec() const;
|
||||
void setElasticPlanWorkerSpec(const std::string &elasticPlanWorkerSpec);
|
||||
bool getElasticPlanEnable() const;
|
||||
void setElasticPlanEnable(bool elasticPlanEnable);
|
||||
std::string getElasticPlanTimeEnd() const;
|
||||
@@ -63,10 +67,12 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string elasticPlanType_;
|
||||
std::string elasticPlanTimeStart_;
|
||||
std::string elasticPlanEndDay_;
|
||||
std::string elasticPlanWeeklyRepeat_;
|
||||
std::string accessKeyId_;
|
||||
std::string elasticPlanWorkerSpec_;
|
||||
bool elasticPlanEnable_;
|
||||
std::string elasticPlanTimeEnd_;
|
||||
std::string elasticPlanStartDay_;
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEADVICESERVICEENABLEDREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEADVICESERVICEENABLEDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAdviceServiceEnabledRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeAdviceServiceEnabledRequest();
|
||||
~DescribeAdviceServiceEnabledRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dBClusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEADVICESERVICEENABLEDREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEADVICESERVICEENABLEDRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEADVICESERVICEENABLEDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAdviceServiceEnabledResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeAdviceServiceEnabledResult();
|
||||
explicit DescribeAdviceServiceEnabledResult(const std::string &payload);
|
||||
~DescribeAdviceServiceEnabledResult();
|
||||
std::string getMessage()const;
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEADVICESERVICEENABLEDRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAPPLIEDADVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAPPLIEDADVICESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAppliedAdvicesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeAppliedAdvicesRequest();
|
||||
~DescribeAppliedAdvicesRequest();
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime() const;
|
||||
void setStartTime(long startTime);
|
||||
long getPageNumber() const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
|
||||
private:
|
||||
std::string dBClusterId_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
long pageNumber_;
|
||||
std::string regionId_;
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAPPLIEDADVICESREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAPPLIEDADVICESRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAPPLIEDADVICESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAppliedAdvicesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ItemsItem
|
||||
{
|
||||
std::string jobStatus;
|
||||
long totalCount;
|
||||
std::string buildSQL;
|
||||
long pageSize;
|
||||
std::string submitStatus;
|
||||
std::string benefit;
|
||||
long pageNumber;
|
||||
std::string submitTime;
|
||||
std::string adviceId;
|
||||
std::string rollbackSQL;
|
||||
std::string sQL;
|
||||
};
|
||||
|
||||
|
||||
DescribeAppliedAdvicesResult();
|
||||
explicit DescribeAppliedAdvicesResult(const std::string &payload);
|
||||
~DescribeAppliedAdvicesResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<ItemsItem> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<ItemsItem> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAPPLIEDADVICESRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLEADVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLEADVICESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAvailableAdvicesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeAvailableAdvicesRequest();
|
||||
~DescribeAvailableAdvicesRequest();
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
long getPageNumber() const;
|
||||
void setPageNumber(long pageNumber);
|
||||
long getAdviceDate() const;
|
||||
void setAdviceDate(long adviceDate);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
|
||||
private:
|
||||
std::string dBClusterId_;
|
||||
long pageNumber_;
|
||||
long adviceDate_;
|
||||
std::string regionId_;
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLEADVICESREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLEADVICESRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLEADVICESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAvailableAdvicesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ItemsItem
|
||||
{
|
||||
long totalCount;
|
||||
std::string adviceType;
|
||||
long pageSize;
|
||||
std::string benefit;
|
||||
long pageNumber;
|
||||
std::string adviceId;
|
||||
std::string reason;
|
||||
std::string adviceDate;
|
||||
std::string sQL;
|
||||
};
|
||||
|
||||
|
||||
DescribeAvailableAdvicesResult();
|
||||
explicit DescribeAvailableAdvicesResult(const std::string &payload);
|
||||
~DescribeAvailableAdvicesResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<ItemsItem> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<ItemsItem> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLEADVICESRESULT_H_
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getDBClusterVersion() const;
|
||||
void setDBClusterVersion(const std::string &dBClusterVersion);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAcceptLanguage() const;
|
||||
@@ -55,6 +57,7 @@ private:
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string dBClusterVersion_;
|
||||
long ownerId_;
|
||||
std::string acceptLanguage_;
|
||||
std::string zoneId_;
|
||||
|
||||
@@ -47,9 +47,9 @@ namespace AlibabaCloud
|
||||
std::string minCount;
|
||||
};
|
||||
std::string storageType;
|
||||
std::vector<std::string> supportedComputeResource1;
|
||||
SupportedElasticIOResource supportedElasticIOResource;
|
||||
std::vector<std::string> supportedStorageResource;
|
||||
std::vector<std::string> supportedComputeResource;
|
||||
std::vector<std::string> supportedStorageResource2;
|
||||
};
|
||||
struct SupportedInstanceClass
|
||||
{
|
||||
@@ -66,13 +66,13 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct SupportedExecutor
|
||||
{
|
||||
struct NodeCount1
|
||||
struct NodeCount3
|
||||
{
|
||||
std::string step;
|
||||
std::string maxCount;
|
||||
std::string minCount;
|
||||
};
|
||||
NodeCount1 nodeCount1;
|
||||
NodeCount3 nodeCount3;
|
||||
};
|
||||
std::vector<SupportedInstanceClass::SupportedExecutor> supportedExecutorList;
|
||||
std::string instanceClass;
|
||||
@@ -87,6 +87,8 @@ namespace AlibabaCloud
|
||||
std::vector<SupportedModeItem::SupportedSerialListItem> supportedSerialList;
|
||||
};
|
||||
std::string zoneId;
|
||||
std::vector<std::string> supportedStorageResource;
|
||||
std::vector<std::string> supportedComputeResource;
|
||||
std::vector<AvailableZone::SupportedModeItem> supportedMode;
|
||||
};
|
||||
|
||||
|
||||
@@ -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_DESCRIBECOMPUTERESOURCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBECOMPUTERESOURCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeComputeResourceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeComputeResourceRequest();
|
||||
~DescribeComputeResourceRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getDBClusterVersion() const;
|
||||
void setDBClusterVersion(const std::string &dBClusterVersion);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string dBClusterVersion_;
|
||||
long ownerId_;
|
||||
std::string zoneId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBECOMPUTERESOURCEREQUEST_H_
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBECOMPUTERESOURCERESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBECOMPUTERESOURCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeComputeResourceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ComputeResourceItem
|
||||
{
|
||||
std::string realValue;
|
||||
std::string displayValue;
|
||||
};
|
||||
|
||||
|
||||
DescribeComputeResourceResult();
|
||||
explicit DescribeComputeResourceResult(const std::string &payload);
|
||||
~DescribeComputeResourceResult();
|
||||
std::vector<ComputeResourceItem> getComputeResource()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ComputeResourceItem> computeResource_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBECOMPUTERESOURCERESULT_H_
|
||||
@@ -44,6 +44,7 @@ namespace AlibabaCloud
|
||||
std::string resourceGroupId;
|
||||
int port;
|
||||
std::string dBClusterId;
|
||||
std::string diskPerformanceLevel;
|
||||
std::string dBClusterNetworkType;
|
||||
std::string dBClusterType;
|
||||
std::string diskType;
|
||||
@@ -61,6 +62,8 @@ namespace AlibabaCloud
|
||||
std::string engineVersion;
|
||||
bool userENIStatus;
|
||||
std::string zoneId;
|
||||
std::string innerIp;
|
||||
std::string elasticIOResourceSize;
|
||||
std::string vPCId;
|
||||
std::string dBClusterStatus;
|
||||
std::string mode;
|
||||
@@ -73,6 +76,7 @@ namespace AlibabaCloud
|
||||
bool enableAirflow;
|
||||
bool enableSpark;
|
||||
std::string dBNodeClass;
|
||||
std::string innerPort;
|
||||
std::string vPCCloudInstanceId;
|
||||
std::string creationTime;
|
||||
std::string kmsId;
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERFORECASTREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERFORECASTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterForecastRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDBClusterForecastRequest();
|
||||
~DescribeDBClusterForecastRequest();
|
||||
std::string getMetricType() const;
|
||||
void setMetricType(const std::string &metricType);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
|
||||
private:
|
||||
std::string metricType_;
|
||||
std::string regionId_;
|
||||
std::string dBClusterId_;
|
||||
std::string startTime_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERFORECASTREQUEST_H_
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERFORECASTRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERFORECASTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterForecastResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PerformancesItem
|
||||
{
|
||||
struct SeriesItem
|
||||
{
|
||||
std::string values;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<PerformancesItem::SeriesItem> series;
|
||||
std::string unit;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBClusterForecastResult();
|
||||
explicit DescribeDBClusterForecastResult(const std::string &payload);
|
||||
~DescribeDBClusterForecastResult();
|
||||
std::vector<PerformancesItem> getPerformances()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PerformancesItem> performances_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERFORECASTRESULT_H_
|
||||
@@ -1,48 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHREPORTREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHREPORTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterHealthReportRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDBClusterHealthReportRequest();
|
||||
~DescribeDBClusterHealthReportRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dBClusterId_;
|
||||
std::string startTime_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHREPORTREQUEST_H_
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHREPORTRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHREPORTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterHealthReportResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ItemsItem
|
||||
{
|
||||
std::string avg;
|
||||
std::string max;
|
||||
std::string key;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBClusterHealthReportResult();
|
||||
explicit DescribeDBClusterHealthReportResult(const std::string &payload);
|
||||
~DescribeDBClusterHealthReportResult();
|
||||
std::vector<ItemsItem> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ItemsItem> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHREPORTRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterHealthStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDBClusterHealthStatusRequest();
|
||||
~DescribeDBClusterHealthStatusRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dBClusterId_;
|
||||
std::string accessKeyId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterHealthStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CS
|
||||
{
|
||||
std::string status;
|
||||
long unavailableCount;
|
||||
long activeCount;
|
||||
long expectedCount;
|
||||
long riskCount;
|
||||
};
|
||||
struct Executor
|
||||
{
|
||||
std::string status;
|
||||
long unavailableCount;
|
||||
long activeCount;
|
||||
long expectedCount;
|
||||
long riskCount;
|
||||
};
|
||||
struct Worker
|
||||
{
|
||||
std::string status;
|
||||
long unavailableCount;
|
||||
long activeCount;
|
||||
long expectedCount;
|
||||
long riskCount;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBClusterHealthStatusResult();
|
||||
explicit DescribeDBClusterHealthStatusResult(const std::string &payload);
|
||||
~DescribeDBClusterHealthStatusResult();
|
||||
CS getCS()const;
|
||||
Executor getExecutor()const;
|
||||
std::string getInstanceStatus()const;
|
||||
Worker getWorker()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
CS cS_;
|
||||
Executor executor_;
|
||||
std::string instanceStatus_;
|
||||
Worker worker_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERHEALTHSTATUSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDBClusterStatusRequest();
|
||||
~DescribeDBClusterStatusRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeDBClusterStatusResult();
|
||||
explicit DescribeDBClusterStatusResult(const std::string &payload);
|
||||
~DescribeDBClusterStatusResult();
|
||||
std::vector<std::string> getStatus()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERSTATUSRESULT_H_
|
||||
@@ -58,6 +58,8 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDBVersion() const;
|
||||
void setDBVersion(const std::string &dBVersion);
|
||||
std::string getDBClusterIds() const;
|
||||
void setDBClusterIds(const std::string &dBClusterIds);
|
||||
|
||||
@@ -74,6 +76,7 @@ private:
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string dBVersion_;
|
||||
std::string dBClusterIds_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -58,6 +58,7 @@ namespace AlibabaCloud
|
||||
std::string engine;
|
||||
long dBNodeStorage;
|
||||
std::string zoneId;
|
||||
std::string innerIp;
|
||||
std::string vPCId;
|
||||
std::string dBClusterStatus;
|
||||
std::string createTime;
|
||||
@@ -69,6 +70,7 @@ namespace AlibabaCloud
|
||||
std::string payType;
|
||||
std::string lockMode;
|
||||
std::string dBNodeClass;
|
||||
std::string innerPort;
|
||||
std::string vPCCloudInstanceId;
|
||||
std::string regionId;
|
||||
std::string connectionString;
|
||||
|
||||
@@ -46,11 +46,13 @@ namespace AlibabaCloud
|
||||
DescribeDBResourceGroupResult();
|
||||
explicit DescribeDBResourceGroupResult(const std::string &payload);
|
||||
~DescribeDBResourceGroupResult();
|
||||
std::string getDBClusterId()const;
|
||||
std::vector<PoolInfo> getGroupsInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dBClusterId_;
|
||||
std::vector<PoolInfo> groupsInfo_;
|
||||
|
||||
};
|
||||
|
||||
@@ -46,11 +46,13 @@ namespace AlibabaCloud
|
||||
DescribeDBResourcePoolResult();
|
||||
explicit DescribeDBResourcePoolResult(const std::string &payload);
|
||||
~DescribeDBResourcePoolResult();
|
||||
std::string getDBClusterId()const;
|
||||
std::vector<PoolInfo> getPoolsInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dBClusterId_;
|
||||
std::vector<PoolInfo> poolsInfo_;
|
||||
|
||||
};
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISMONITORPERFORMANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISMONITORPERFORMANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDiagnosisMonitorPerformanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDiagnosisMonitorPerformanceRequest();
|
||||
~DescribeDiagnosisMonitorPerformanceRequest();
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getQueryCondition() const;
|
||||
void setQueryCondition(const std::string &queryCondition);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
|
||||
private:
|
||||
std::string dBClusterId_;
|
||||
std::string queryCondition_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string regionId_;
|
||||
std::string lang_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISMONITORPERFORMANCEREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISMONITORPERFORMANCERESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISMONITORPERFORMANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDiagnosisMonitorPerformanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Items
|
||||
{
|
||||
std::string status;
|
||||
long scanRows;
|
||||
std::string userName;
|
||||
long peakMemory;
|
||||
long startTime;
|
||||
std::string processId;
|
||||
std::string rcHost;
|
||||
long scanSize;
|
||||
long cost;
|
||||
};
|
||||
|
||||
|
||||
DescribeDiagnosisMonitorPerformanceResult();
|
||||
explicit DescribeDiagnosisMonitorPerformanceResult(const std::string &payload);
|
||||
~DescribeDiagnosisMonitorPerformanceResult();
|
||||
bool getPerformancesTruncated()const;
|
||||
std::vector<Items> getPerformances()const;
|
||||
int getPerformancesThreshold()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool performancesTruncated_;
|
||||
std::vector<Items> performances_;
|
||||
int performancesThreshold_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISMONITORPERFORMANCERESULT_H_
|
||||
@@ -60,8 +60,8 @@ public:
|
||||
void setResourceGroup(const std::string &resourceGroup);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
long getPatternId() const;
|
||||
void setPatternId(long patternId);
|
||||
std::string getPatternId() const;
|
||||
void setPatternId(const std::string &patternId);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
long getMinPeakMemory() const;
|
||||
@@ -89,7 +89,7 @@ private:
|
||||
long maxScanSize_;
|
||||
std::string resourceGroup_;
|
||||
std::string dBClusterId_;
|
||||
long patternId_;
|
||||
std::string patternId_;
|
||||
std::string endTime_;
|
||||
long minPeakMemory_;
|
||||
long minScanSize_;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISSQLINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISSQLINFOREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDiagnosisSQLInfoRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDiagnosisSQLInfoRequest();
|
||||
~DescribeDiagnosisSQLInfoRequest();
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getProcessState() const;
|
||||
void setProcessState(const std::string &processState);
|
||||
long getProcessStartTime() const;
|
||||
void setProcessStartTime(long processStartTime);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getProcessId() const;
|
||||
void setProcessId(const std::string &processId);
|
||||
std::string getProcessRcHost() const;
|
||||
void setProcessRcHost(const std::string &processRcHost);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
|
||||
private:
|
||||
std::string dBClusterId_;
|
||||
std::string processState_;
|
||||
long processStartTime_;
|
||||
std::string regionId_;
|
||||
std::string processId_;
|
||||
std::string processRcHost_;
|
||||
std::string lang_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISSQLINFOREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISSQLINFORESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISSQLINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDiagnosisSQLInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct StageInfosItem
|
||||
{
|
||||
double progress;
|
||||
std::string state;
|
||||
long peakMemory;
|
||||
std::string stageId;
|
||||
long outputRows;
|
||||
long operatorCost;
|
||||
long inputDataSize;
|
||||
long inputRows;
|
||||
long outputDataSize;
|
||||
};
|
||||
|
||||
|
||||
DescribeDiagnosisSQLInfoResult();
|
||||
explicit DescribeDiagnosisSQLInfoResult(const std::string &payload);
|
||||
~DescribeDiagnosisSQLInfoResult();
|
||||
std::vector<StageInfosItem> getStageInfos()const;
|
||||
std::string getDiagnosisSQLInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<StageInfosItem> stageInfos_;
|
||||
std::string diagnosisSQLInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISSQLINFORESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISTASKSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDiagnosisTasksRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDiagnosisTasksRequest();
|
||||
~DescribeDiagnosisTasksRequest();
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getProcessId() const;
|
||||
void setProcessId(const std::string &processId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getHost() const;
|
||||
void setHost(const std::string &host);
|
||||
std::string getState() const;
|
||||
void setState(const std::string &state);
|
||||
std::string getStageId() const;
|
||||
void setStageId(const std::string &stageId);
|
||||
std::string getOrder() const;
|
||||
void setOrder(const std::string &order);
|
||||
|
||||
private:
|
||||
std::string dBClusterId_;
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string processId_;
|
||||
int pageSize_;
|
||||
std::string host_;
|
||||
std::string state_;
|
||||
std::string stageId_;
|
||||
std::string order_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISTASKSREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISTASKSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDiagnosisTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SqlTasks
|
||||
{
|
||||
std::string taskId;
|
||||
std::string drivers;
|
||||
long taskEndTime;
|
||||
long peakMemory;
|
||||
long elapsedTime;
|
||||
long scanDataSize;
|
||||
long inputRows;
|
||||
std::string taskHost;
|
||||
long taskCreateTime;
|
||||
long scanRows;
|
||||
long scanCost;
|
||||
std::string queuedTime;
|
||||
std::string state;
|
||||
long operatorCost;
|
||||
long outputRows;
|
||||
std::string computeTimeRatio;
|
||||
long inputDataSize;
|
||||
long outputDataSize;
|
||||
};
|
||||
|
||||
|
||||
DescribeDiagnosisTasksResult();
|
||||
explicit DescribeDiagnosisTasksResult(const std::string &payload);
|
||||
~DescribeDiagnosisTasksResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<SqlTasks> getTaskList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<SqlTasks> taskList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDIAGNOSISTASKSRESULT_H_
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_ADB_EXPORT DescribeDownloadRecordsRequest : public RpcService
|
||||
public:
|
||||
DescribeDownloadRecordsRequest();
|
||||
~DescribeDownloadRecordsRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dBClusterId_;
|
||||
std::string regionId_;
|
||||
std::string lang_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
72
adb/include/alibabacloud/adb/model/DescribeEIURangeRequest.h
Normal file
72
adb/include/alibabacloud/adb/model/DescribeEIURangeRequest.h
Normal 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_DESCRIBEEIURANGEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEEIURANGEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeEIURangeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeEIURangeRequest();
|
||||
~DescribeEIURangeRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getDBClusterVersion() const;
|
||||
void setDBClusterVersion(const std::string &dBClusterVersion);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
std::string getComputeResource() const;
|
||||
void setComputeResource(const std::string &computeResource);
|
||||
std::string getOperation() const;
|
||||
void setOperation(const std::string &operation);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
std::string dBClusterVersion_;
|
||||
long ownerId_;
|
||||
std::string zoneId_;
|
||||
std::string computeResource_;
|
||||
std::string operation_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEEIURANGEREQUEST_H_
|
||||
57
adb/include/alibabacloud/adb/model/DescribeEIURangeResult.h
Normal file
57
adb/include/alibabacloud/adb/model/DescribeEIURangeResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEEIURANGERESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEEIURANGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeEIURangeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EIUInfo
|
||||
{
|
||||
std::string defaultValue;
|
||||
std::vector<std::string> storageResourceRange;
|
||||
std::vector<std::string> eIURange;
|
||||
};
|
||||
|
||||
|
||||
DescribeEIURangeResult();
|
||||
explicit DescribeEIURangeResult(const std::string &payload);
|
||||
~DescribeEIURangeResult();
|
||||
EIUInfo getEIUInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
EIUInfo eIUInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEEIURANGERESULT_H_
|
||||
@@ -35,9 +35,11 @@ namespace AlibabaCloud
|
||||
struct ElasticDailyPlanInfo
|
||||
{
|
||||
int status;
|
||||
std::string elasticPlanType;
|
||||
std::string startTs;
|
||||
std::string planEndTs;
|
||||
std::string endTs;
|
||||
std::string elasticPlanWorkerSpec;
|
||||
int elasticNodeNum;
|
||||
std::string resourcePoolName;
|
||||
std::string planName;
|
||||
|
||||
@@ -34,8 +34,10 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct ElasticPlanInfo
|
||||
{
|
||||
std::string elasticPlanType;
|
||||
std::string weeklyRepeat;
|
||||
std::string endTime;
|
||||
std::string elasticPlanWorkerSpec;
|
||||
std::string startTime;
|
||||
int elasticNodeNum;
|
||||
std::string resourcePoolName;
|
||||
|
||||
@@ -30,8 +30,6 @@ class ALIBABACLOUD_ADB_EXPORT DescribePatternPerformanceRequest : public RpcServ
|
||||
public:
|
||||
DescribePatternPerformanceRequest();
|
||||
~DescribePatternPerformanceRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getPatternId() const;
|
||||
@@ -40,13 +38,15 @@ public:
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dBClusterId_;
|
||||
std::string patternId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
|
||||
57
adb/include/alibabacloud/adb/model/DetachUserENIRequest.h
Normal file
57
adb/include/alibabacloud/adb/model/DetachUserENIRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DETACHUSERENIREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DETACHUSERENIREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DetachUserENIRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DetachUserENIRequest();
|
||||
~DetachUserENIRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DETACHUSERENIREQUEST_H_
|
||||
49
adb/include/alibabacloud/adb/model/DetachUserENIResult.h
Normal file
49
adb/include/alibabacloud/adb/model/DetachUserENIResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DETACHUSERENIRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DETACHUSERENIRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DetachUserENIResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DetachUserENIResult();
|
||||
explicit DetachUserENIResult(const std::string &payload);
|
||||
~DetachUserENIResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DETACHUSERENIRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DISABLEADVICESERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DISABLEADVICESERVICEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DisableAdviceServiceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DisableAdviceServiceRequest();
|
||||
~DisableAdviceServiceRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dBClusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DISABLEADVICESERVICEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DISABLEADVICESERVICERESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DISABLEADVICESERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DisableAdviceServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableAdviceServiceResult();
|
||||
explicit DisableAdviceServiceResult(const std::string &payload);
|
||||
~DisableAdviceServiceResult();
|
||||
std::string getMessage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DISABLEADVICESERVICERESULT_H_
|
||||
@@ -30,58 +30,58 @@ class ALIBABACLOUD_ADB_EXPORT DownloadDiagnosisRecordsRequest : public RpcServic
|
||||
public:
|
||||
DownloadDiagnosisRecordsRequest();
|
||||
~DownloadDiagnosisRecordsRequest();
|
||||
long getMaxScanSize() const;
|
||||
void setMaxScanSize(long maxScanSize);
|
||||
std::string getResourceGroup() const;
|
||||
void setResourceGroup(const std::string &resourceGroup);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getQueryCondition() const;
|
||||
void setQueryCondition(const std::string &queryCondition);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getRawStartTime() const;
|
||||
void setRawStartTime(const std::string &rawStartTime);
|
||||
long getMinPeakMemory() const;
|
||||
void setMinPeakMemory(long minPeakMemory);
|
||||
std::string getRawEndTime() const;
|
||||
void setRawEndTime(const std::string &rawEndTime);
|
||||
long getMinScanSize() const;
|
||||
void setMinScanSize(long minScanSize);
|
||||
std::string getDatabase() const;
|
||||
void setDatabase(const std::string &database);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getClientIp() const;
|
||||
void setClientIp(const std::string &clientIp);
|
||||
long getMaxPeakMemory() const;
|
||||
void setMaxPeakMemory(long maxPeakMemory);
|
||||
std::string getKeyword() const;
|
||||
void setKeyword(const std::string &keyword);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
long getMaxScanSize() const;
|
||||
void setMaxScanSize(long maxScanSize);
|
||||
std::string getResourceGroup() const;
|
||||
void setResourceGroup(const std::string &resourceGroup);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
long getMinPeakMemory() const;
|
||||
void setMinPeakMemory(long minPeakMemory);
|
||||
long getMinScanSize() const;
|
||||
void setMinScanSize(long minScanSize);
|
||||
long getMaxPeakMemory() const;
|
||||
void setMaxPeakMemory(long maxPeakMemory);
|
||||
std::string getUserName() const;
|
||||
void setUserName(const std::string &userName);
|
||||
|
||||
private:
|
||||
long maxScanSize_;
|
||||
std::string resourceGroup_;
|
||||
std::string dBClusterId_;
|
||||
std::string queryCondition_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string rawStartTime_;
|
||||
long minPeakMemory_;
|
||||
std::string rawEndTime_;
|
||||
long minScanSize_;
|
||||
std::string database_;
|
||||
std::string regionId_;
|
||||
std::string clientIp_;
|
||||
long maxPeakMemory_;
|
||||
std::string keyword_;
|
||||
std::string lang_;
|
||||
long maxScanSize_;
|
||||
std::string resourceGroup_;
|
||||
std::string dBClusterId_;
|
||||
std::string endTime_;
|
||||
long minPeakMemory_;
|
||||
long minScanSize_;
|
||||
long maxPeakMemory_;
|
||||
std::string userName_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
87
adb/include/alibabacloud/adb/model/DryRunClusterRequest.h
Normal file
87
adb/include/alibabacloud/adb/model/DryRunClusterRequest.h
Normal 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_DRYRUNCLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DRYRUNCLUSTERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT DryRunClusterRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DryRunClusterRequest();
|
||||
~DryRunClusterRequest();
|
||||
std::string getDBClusterDescription() const;
|
||||
void setDBClusterDescription(const std::string &dBClusterDescription);
|
||||
bool getEnableDefaultResourcePool() const;
|
||||
void setEnableDefaultResourcePool(bool enableDefaultResourcePool);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getStorageResource() const;
|
||||
void setStorageResource(const std::string &storageResource);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDBClusterNetworkType() const;
|
||||
void setDBClusterNetworkType(const std::string &dBClusterNetworkType);
|
||||
std::string getPeriod() const;
|
||||
void setPeriod(const std::string &period);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getDBClusterVersion() const;
|
||||
void setDBClusterVersion(const std::string &dBClusterVersion);
|
||||
std::string getUsedTime() const;
|
||||
void setUsedTime(const std::string &usedTime);
|
||||
std::string getVSwitchId() const;
|
||||
void setVSwitchId(const std::string &vSwitchId);
|
||||
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);
|
||||
std::string getOperation() const;
|
||||
void setOperation(const std::string &operation);
|
||||
|
||||
private:
|
||||
std::string dBClusterDescription_;
|
||||
bool enableDefaultResourcePool_;
|
||||
std::string accessKeyId_;
|
||||
std::string storageResource_;
|
||||
std::string regionId_;
|
||||
std::string dBClusterNetworkType_;
|
||||
std::string period_;
|
||||
std::string dBClusterId_;
|
||||
std::string dBClusterVersion_;
|
||||
std::string usedTime_;
|
||||
std::string vSwitchId_;
|
||||
std::string vPCId_;
|
||||
std::string zoneId_;
|
||||
std::string computeResource_;
|
||||
std::string payType_;
|
||||
std::string operation_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DRYRUNCLUSTERREQUEST_H_
|
||||
51
adb/include/alibabacloud/adb/model/DryRunClusterResult.h
Normal file
51
adb/include/alibabacloud/adb/model/DryRunClusterResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DRYRUNCLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DRYRUNCLUSTERRESULT_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 DryRunClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DryRunClusterResult();
|
||||
explicit DryRunClusterResult(const std::string &payload);
|
||||
~DryRunClusterResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DRYRUNCLUSTERRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_ENABLEADVICESERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_ENABLEADVICESERVICEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Adb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ADB_EXPORT EnableAdviceServiceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
EnableAdviceServiceRequest();
|
||||
~EnableAdviceServiceRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dBClusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Adb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_ENABLEADVICESERVICEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_ENABLEADVICESERVICERESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_ENABLEADVICESERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT EnableAdviceServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableAdviceServiceResult();
|
||||
explicit EnableAdviceServiceResult(const std::string &payload);
|
||||
~EnableAdviceServiceResult();
|
||||
std::string getMessage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_ENABLEADVICESERVICERESULT_H_
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setDbClusterId(const std::string &dbClusterId);
|
||||
std::string getUsedTime() const;
|
||||
void setUsedTime(const std::string &usedTime);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getPayType() const;
|
||||
void setPayType(const std::string &payType);
|
||||
|
||||
@@ -43,6 +45,7 @@ private:
|
||||
std::string period_;
|
||||
std::string dbClusterId_;
|
||||
std::string usedTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string payType_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_ADB_EXPORT ModifyDBClusterRequest : public RpcServiceRequest
|
||||
public:
|
||||
ModifyDBClusterRequest();
|
||||
~ModifyDBClusterRequest();
|
||||
std::string getElasticIOResourceSize() const;
|
||||
void setElasticIOResourceSize(const std::string &elasticIOResourceSize);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
@@ -44,6 +46,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDBClusterCategory() const;
|
||||
void setDBClusterCategory(const std::string &dBClusterCategory);
|
||||
std::string getDiskPerformanceLevel() const;
|
||||
void setDiskPerformanceLevel(const std::string &diskPerformanceLevel);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
@@ -66,6 +70,7 @@ public:
|
||||
void setElasticIOResource(int elasticIOResource);
|
||||
|
||||
private:
|
||||
std::string elasticIOResourceSize_;
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string mode_;
|
||||
@@ -73,6 +78,7 @@ private:
|
||||
std::string dBNodeClass_;
|
||||
std::string regionId_;
|
||||
std::string dBClusterCategory_;
|
||||
std::string diskPerformanceLevel_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~ModifyElasticPlanRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getElasticPlanType() const;
|
||||
void setElasticPlanType(const std::string &elasticPlanType);
|
||||
std::string getElasticPlanTimeStart() const;
|
||||
void setElasticPlanTimeStart(const std::string &elasticPlanTimeStart);
|
||||
std::string getElasticPlanEndDay() const;
|
||||
@@ -40,6 +42,8 @@ public:
|
||||
void setElasticPlanWeeklyRepeat(const std::string &elasticPlanWeeklyRepeat);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getElasticPlanWorkerSpec() const;
|
||||
void setElasticPlanWorkerSpec(const std::string &elasticPlanWorkerSpec);
|
||||
bool getElasticPlanEnable() const;
|
||||
void setElasticPlanEnable(bool elasticPlanEnable);
|
||||
std::string getElasticPlanTimeEnd() const;
|
||||
@@ -63,10 +67,12 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string elasticPlanType_;
|
||||
std::string elasticPlanTimeStart_;
|
||||
std::string elasticPlanEndDay_;
|
||||
std::string elasticPlanWeeklyRepeat_;
|
||||
std::string accessKeyId_;
|
||||
std::string elasticPlanWorkerSpec_;
|
||||
bool elasticPlanEnable_;
|
||||
std::string elasticPlanTimeEnd_;
|
||||
std::string elasticPlanStartDay_;
|
||||
|
||||
@@ -87,6 +87,114 @@ AdbClient::AllocateClusterPublicConnectionOutcomeCallable AdbClient::allocateClu
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ApplyAdviceByIdOutcome AdbClient::applyAdviceById(const ApplyAdviceByIdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ApplyAdviceByIdOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ApplyAdviceByIdOutcome(ApplyAdviceByIdResult(outcome.result()));
|
||||
else
|
||||
return ApplyAdviceByIdOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::applyAdviceByIdAsync(const ApplyAdviceByIdRequest& request, const ApplyAdviceByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, applyAdviceById(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::ApplyAdviceByIdOutcomeCallable AdbClient::applyAdviceByIdCallable(const ApplyAdviceByIdRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ApplyAdviceByIdOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->applyAdviceById(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::AttachUserENIOutcome AdbClient::attachUserENI(const AttachUserENIRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AttachUserENIOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AttachUserENIOutcome(AttachUserENIResult(outcome.result()));
|
||||
else
|
||||
return AttachUserENIOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::attachUserENIAsync(const AttachUserENIRequest& request, const AttachUserENIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, attachUserENI(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::AttachUserENIOutcomeCallable AdbClient::attachUserENICallable(const AttachUserENIRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AttachUserENIOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->attachUserENI(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::BatchApplyAdviceByIdListOutcome AdbClient::batchApplyAdviceByIdList(const BatchApplyAdviceByIdListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BatchApplyAdviceByIdListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BatchApplyAdviceByIdListOutcome(BatchApplyAdviceByIdListResult(outcome.result()));
|
||||
else
|
||||
return BatchApplyAdviceByIdListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::batchApplyAdviceByIdListAsync(const BatchApplyAdviceByIdListRequest& request, const BatchApplyAdviceByIdListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, batchApplyAdviceByIdList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::BatchApplyAdviceByIdListOutcomeCallable AdbClient::batchApplyAdviceByIdListCallable(const BatchApplyAdviceByIdListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BatchApplyAdviceByIdListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->batchApplyAdviceByIdList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::BindDBResourceGroupWithUserOutcome AdbClient::bindDBResourceGroupWithUser(const BindDBResourceGroupWithUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -555,6 +663,42 @@ AdbClient::DescribeAccountsOutcomeCallable AdbClient::describeAccountsCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAdviceServiceEnabledOutcome AdbClient::describeAdviceServiceEnabled(const DescribeAdviceServiceEnabledRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAdviceServiceEnabledOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAdviceServiceEnabledOutcome(DescribeAdviceServiceEnabledResult(outcome.result()));
|
||||
else
|
||||
return DescribeAdviceServiceEnabledOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeAdviceServiceEnabledAsync(const DescribeAdviceServiceEnabledRequest& request, const DescribeAdviceServiceEnabledAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAdviceServiceEnabled(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeAdviceServiceEnabledOutcomeCallable AdbClient::describeAdviceServiceEnabledCallable(const DescribeAdviceServiceEnabledRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAdviceServiceEnabledOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAdviceServiceEnabled(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAllAccountsOutcome AdbClient::describeAllAccounts(const DescribeAllAccountsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -627,6 +771,42 @@ AdbClient::DescribeAllDataSourceOutcomeCallable AdbClient::describeAllDataSource
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAppliedAdvicesOutcome AdbClient::describeAppliedAdvices(const DescribeAppliedAdvicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAppliedAdvicesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAppliedAdvicesOutcome(DescribeAppliedAdvicesResult(outcome.result()));
|
||||
else
|
||||
return DescribeAppliedAdvicesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeAppliedAdvicesAsync(const DescribeAppliedAdvicesRequest& request, const DescribeAppliedAdvicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAppliedAdvices(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeAppliedAdvicesOutcomeCallable AdbClient::describeAppliedAdvicesCallable(const DescribeAppliedAdvicesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAppliedAdvicesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAppliedAdvices(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAuditLogConfigOutcome AdbClient::describeAuditLogConfig(const DescribeAuditLogConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -735,6 +915,42 @@ AdbClient::DescribeAutoRenewAttributeOutcomeCallable AdbClient::describeAutoRene
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAvailableAdvicesOutcome AdbClient::describeAvailableAdvices(const DescribeAvailableAdvicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAvailableAdvicesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAvailableAdvicesOutcome(DescribeAvailableAdvicesResult(outcome.result()));
|
||||
else
|
||||
return DescribeAvailableAdvicesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeAvailableAdvicesAsync(const DescribeAvailableAdvicesRequest& request, const DescribeAvailableAdvicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAvailableAdvices(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeAvailableAdvicesOutcomeCallable AdbClient::describeAvailableAdvicesCallable(const DescribeAvailableAdvicesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAvailableAdvicesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAvailableAdvices(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAvailableResourceOutcome AdbClient::describeAvailableResource(const DescribeAvailableResourceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -879,6 +1095,42 @@ AdbClient::DescribeColumnsOutcomeCallable AdbClient::describeColumnsCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeComputeResourceOutcome AdbClient::describeComputeResource(const DescribeComputeResourceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeComputeResourceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeComputeResourceOutcome(DescribeComputeResourceResult(outcome.result()));
|
||||
else
|
||||
return DescribeComputeResourceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeComputeResourceAsync(const DescribeComputeResourceRequest& request, const DescribeComputeResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeComputeResource(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeComputeResourceOutcomeCallable AdbClient::describeComputeResourceCallable(const DescribeComputeResourceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeComputeResourceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeComputeResource(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeConnectionCountRecordsOutcome AdbClient::describeConnectionCountRecords(const DescribeConnectionCountRecordsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,72 +1239,36 @@ AdbClient::DescribeDBClusterAttributeOutcomeCallable AdbClient::describeDBCluste
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeDBClusterForecastOutcome AdbClient::describeDBClusterForecast(const DescribeDBClusterForecastRequest &request) const
|
||||
AdbClient::DescribeDBClusterHealthStatusOutcome AdbClient::describeDBClusterHealthStatus(const DescribeDBClusterHealthStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDBClusterForecastOutcome(endpointOutcome.error());
|
||||
return DescribeDBClusterHealthStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDBClusterForecastOutcome(DescribeDBClusterForecastResult(outcome.result()));
|
||||
return DescribeDBClusterHealthStatusOutcome(DescribeDBClusterHealthStatusResult(outcome.result()));
|
||||
else
|
||||
return DescribeDBClusterForecastOutcome(outcome.error());
|
||||
return DescribeDBClusterHealthStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeDBClusterForecastAsync(const DescribeDBClusterForecastRequest& request, const DescribeDBClusterForecastAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AdbClient::describeDBClusterHealthStatusAsync(const DescribeDBClusterHealthStatusRequest& request, const DescribeDBClusterHealthStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDBClusterForecast(request), context);
|
||||
handler(this, request, describeDBClusterHealthStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeDBClusterForecastOutcomeCallable AdbClient::describeDBClusterForecastCallable(const DescribeDBClusterForecastRequest &request) const
|
||||
AdbClient::DescribeDBClusterHealthStatusOutcomeCallable AdbClient::describeDBClusterHealthStatusCallable(const DescribeDBClusterHealthStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDBClusterForecastOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDBClusterHealthStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDBClusterForecast(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeDBClusterHealthReportOutcome AdbClient::describeDBClusterHealthReport(const DescribeDBClusterHealthReportRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDBClusterHealthReportOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDBClusterHealthReportOutcome(DescribeDBClusterHealthReportResult(outcome.result()));
|
||||
else
|
||||
return DescribeDBClusterHealthReportOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeDBClusterHealthReportAsync(const DescribeDBClusterHealthReportRequest& request, const DescribeDBClusterHealthReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDBClusterHealthReport(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeDBClusterHealthReportOutcomeCallable AdbClient::describeDBClusterHealthReportCallable(const DescribeDBClusterHealthReportRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDBClusterHealthReportOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDBClusterHealthReport(request);
|
||||
return this->describeDBClusterHealthStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -1167,6 +1383,42 @@ AdbClient::DescribeDBClusterResourcePoolPerformanceOutcomeCallable AdbClient::de
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeDBClusterStatusOutcome AdbClient::describeDBClusterStatus(const DescribeDBClusterStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDBClusterStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDBClusterStatusOutcome(DescribeDBClusterStatusResult(outcome.result()));
|
||||
else
|
||||
return DescribeDBClusterStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeDBClusterStatusAsync(const DescribeDBClusterStatusRequest& request, const DescribeDBClusterStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDBClusterStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeDBClusterStatusOutcomeCallable AdbClient::describeDBClusterStatusCallable(const DescribeDBClusterStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDBClusterStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDBClusterStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeDBClustersOutcome AdbClient::describeDBClusters(const DescribeDBClustersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1311,6 +1563,42 @@ AdbClient::DescribeDiagnosisDimensionsOutcomeCallable AdbClient::describeDiagnos
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeDiagnosisMonitorPerformanceOutcome AdbClient::describeDiagnosisMonitorPerformance(const DescribeDiagnosisMonitorPerformanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDiagnosisMonitorPerformanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDiagnosisMonitorPerformanceOutcome(DescribeDiagnosisMonitorPerformanceResult(outcome.result()));
|
||||
else
|
||||
return DescribeDiagnosisMonitorPerformanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeDiagnosisMonitorPerformanceAsync(const DescribeDiagnosisMonitorPerformanceRequest& request, const DescribeDiagnosisMonitorPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDiagnosisMonitorPerformance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeDiagnosisMonitorPerformanceOutcomeCallable AdbClient::describeDiagnosisMonitorPerformanceCallable(const DescribeDiagnosisMonitorPerformanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDiagnosisMonitorPerformanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDiagnosisMonitorPerformance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeDiagnosisRecordsOutcome AdbClient::describeDiagnosisRecords(const DescribeDiagnosisRecordsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1347,6 +1635,78 @@ AdbClient::DescribeDiagnosisRecordsOutcomeCallable AdbClient::describeDiagnosisR
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeDiagnosisSQLInfoOutcome AdbClient::describeDiagnosisSQLInfo(const DescribeDiagnosisSQLInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDiagnosisSQLInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDiagnosisSQLInfoOutcome(DescribeDiagnosisSQLInfoResult(outcome.result()));
|
||||
else
|
||||
return DescribeDiagnosisSQLInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeDiagnosisSQLInfoAsync(const DescribeDiagnosisSQLInfoRequest& request, const DescribeDiagnosisSQLInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDiagnosisSQLInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeDiagnosisSQLInfoOutcomeCallable AdbClient::describeDiagnosisSQLInfoCallable(const DescribeDiagnosisSQLInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDiagnosisSQLInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDiagnosisSQLInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeDiagnosisTasksOutcome AdbClient::describeDiagnosisTasks(const DescribeDiagnosisTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDiagnosisTasksOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDiagnosisTasksOutcome(DescribeDiagnosisTasksResult(outcome.result()));
|
||||
else
|
||||
return DescribeDiagnosisTasksOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeDiagnosisTasksAsync(const DescribeDiagnosisTasksRequest& request, const DescribeDiagnosisTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDiagnosisTasks(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeDiagnosisTasksOutcomeCallable AdbClient::describeDiagnosisTasksCallable(const DescribeDiagnosisTasksRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDiagnosisTasksOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDiagnosisTasks(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeDownloadRecordsOutcome AdbClient::describeDownloadRecords(const DescribeDownloadRecordsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1383,6 +1743,42 @@ AdbClient::DescribeDownloadRecordsOutcomeCallable AdbClient::describeDownloadRec
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeEIURangeOutcome AdbClient::describeEIURange(const DescribeEIURangeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeEIURangeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeEIURangeOutcome(DescribeEIURangeResult(outcome.result()));
|
||||
else
|
||||
return DescribeEIURangeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeEIURangeAsync(const DescribeEIURangeRequest& request, const DescribeEIURangeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeEIURange(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeEIURangeOutcomeCallable AdbClient::describeEIURangeCallable(const DescribeEIURangeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeEIURangeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeEIURange(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeElasticDailyPlanOutcome AdbClient::describeElasticDailyPlan(const DescribeElasticDailyPlanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2211,6 +2607,78 @@ AdbClient::DescribeTaskInfoOutcomeCallable AdbClient::describeTaskInfoCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DetachUserENIOutcome AdbClient::detachUserENI(const DetachUserENIRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DetachUserENIOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DetachUserENIOutcome(DetachUserENIResult(outcome.result()));
|
||||
else
|
||||
return DetachUserENIOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::detachUserENIAsync(const DetachUserENIRequest& request, const DetachUserENIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, detachUserENI(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DetachUserENIOutcomeCallable AdbClient::detachUserENICallable(const DetachUserENIRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DetachUserENIOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->detachUserENI(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DisableAdviceServiceOutcome AdbClient::disableAdviceService(const DisableAdviceServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DisableAdviceServiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DisableAdviceServiceOutcome(DisableAdviceServiceResult(outcome.result()));
|
||||
else
|
||||
return DisableAdviceServiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::disableAdviceServiceAsync(const DisableAdviceServiceRequest& request, const DisableAdviceServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, disableAdviceService(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DisableAdviceServiceOutcomeCallable AdbClient::disableAdviceServiceCallable(const DisableAdviceServiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DisableAdviceServiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->disableAdviceService(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DownloadDiagnosisRecordsOutcome AdbClient::downloadDiagnosisRecords(const DownloadDiagnosisRecordsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2247,6 +2715,78 @@ AdbClient::DownloadDiagnosisRecordsOutcomeCallable AdbClient::downloadDiagnosisR
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DryRunClusterOutcome AdbClient::dryRunCluster(const DryRunClusterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DryRunClusterOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DryRunClusterOutcome(DryRunClusterResult(outcome.result()));
|
||||
else
|
||||
return DryRunClusterOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::dryRunClusterAsync(const DryRunClusterRequest& request, const DryRunClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, dryRunCluster(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DryRunClusterOutcomeCallable AdbClient::dryRunClusterCallable(const DryRunClusterRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DryRunClusterOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->dryRunCluster(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::EnableAdviceServiceOutcome AdbClient::enableAdviceService(const EnableAdviceServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return EnableAdviceServiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return EnableAdviceServiceOutcome(EnableAdviceServiceResult(outcome.result()));
|
||||
else
|
||||
return EnableAdviceServiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::enableAdviceServiceAsync(const EnableAdviceServiceRequest& request, const EnableAdviceServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, enableAdviceService(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::EnableAdviceServiceOutcomeCallable AdbClient::enableAdviceServiceCallable(const EnableAdviceServiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<EnableAdviceServiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->enableAdviceService(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::GrantOperatorPermissionOutcome AdbClient::grantOperatorPermission(const GrantOperatorPermissionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
63
adb/src/model/ApplyAdviceByIdRequest.cc
Normal file
63
adb/src/model/ApplyAdviceByIdRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/ApplyAdviceByIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::ApplyAdviceByIdRequest;
|
||||
|
||||
ApplyAdviceByIdRequest::ApplyAdviceByIdRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "ApplyAdviceById") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ApplyAdviceByIdRequest::~ApplyAdviceByIdRequest() {}
|
||||
|
||||
std::string ApplyAdviceByIdRequest::getAdviceId() const {
|
||||
return adviceId_;
|
||||
}
|
||||
|
||||
void ApplyAdviceByIdRequest::setAdviceId(const std::string &adviceId) {
|
||||
adviceId_ = adviceId;
|
||||
setParameter(std::string("AdviceId"), adviceId);
|
||||
}
|
||||
|
||||
std::string ApplyAdviceByIdRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void ApplyAdviceByIdRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
long ApplyAdviceByIdRequest::getAdviceDate() const {
|
||||
return adviceDate_;
|
||||
}
|
||||
|
||||
void ApplyAdviceByIdRequest::setAdviceDate(long adviceDate) {
|
||||
adviceDate_ = adviceDate;
|
||||
setParameter(std::string("AdviceDate"), std::to_string(adviceDate));
|
||||
}
|
||||
|
||||
std::string ApplyAdviceByIdRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ApplyAdviceByIdRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
51
adb/src/model/ApplyAdviceByIdResult.cc
Normal file
51
adb/src/model/ApplyAdviceByIdResult.cc
Normal 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/adb/model/ApplyAdviceByIdResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
ApplyAdviceByIdResult::ApplyAdviceByIdResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ApplyAdviceByIdResult::ApplyAdviceByIdResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ApplyAdviceByIdResult::~ApplyAdviceByIdResult()
|
||||
{}
|
||||
|
||||
void ApplyAdviceByIdResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ApplyAdviceByIdResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
81
adb/src/model/AttachUserENIRequest.cc
Normal file
81
adb/src/model/AttachUserENIRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/AttachUserENIRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::AttachUserENIRequest;
|
||||
|
||||
AttachUserENIRequest::AttachUserENIRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "AttachUserENI") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AttachUserENIRequest::~AttachUserENIRequest() {}
|
||||
|
||||
long AttachUserENIRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AttachUserENIRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachUserENIRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AttachUserENIRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string AttachUserENIRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AttachUserENIRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AttachUserENIRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void AttachUserENIRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
std::string AttachUserENIRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AttachUserENIRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long AttachUserENIRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AttachUserENIRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
44
adb/src/model/AttachUserENIResult.cc
Normal file
44
adb/src/model/AttachUserENIResult.cc
Normal 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/AttachUserENIResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
AttachUserENIResult::AttachUserENIResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AttachUserENIResult::AttachUserENIResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AttachUserENIResult::~AttachUserENIResult()
|
||||
{}
|
||||
|
||||
void AttachUserENIResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
63
adb/src/model/BatchApplyAdviceByIdListRequest.cc
Normal file
63
adb/src/model/BatchApplyAdviceByIdListRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/BatchApplyAdviceByIdListRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::BatchApplyAdviceByIdListRequest;
|
||||
|
||||
BatchApplyAdviceByIdListRequest::BatchApplyAdviceByIdListRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "BatchApplyAdviceByIdList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchApplyAdviceByIdListRequest::~BatchApplyAdviceByIdListRequest() {}
|
||||
|
||||
std::string BatchApplyAdviceByIdListRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void BatchApplyAdviceByIdListRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
std::string BatchApplyAdviceByIdListRequest::getAdviceIdList() const {
|
||||
return adviceIdList_;
|
||||
}
|
||||
|
||||
void BatchApplyAdviceByIdListRequest::setAdviceIdList(const std::string &adviceIdList) {
|
||||
adviceIdList_ = adviceIdList;
|
||||
setParameter(std::string("AdviceIdList"), adviceIdList);
|
||||
}
|
||||
|
||||
long BatchApplyAdviceByIdListRequest::getAdviceDate() const {
|
||||
return adviceDate_;
|
||||
}
|
||||
|
||||
void BatchApplyAdviceByIdListRequest::setAdviceDate(long adviceDate) {
|
||||
adviceDate_ = adviceDate;
|
||||
setParameter(std::string("AdviceDate"), std::to_string(adviceDate));
|
||||
}
|
||||
|
||||
std::string BatchApplyAdviceByIdListRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void BatchApplyAdviceByIdListRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
51
adb/src/model/BatchApplyAdviceByIdListResult.cc
Normal file
51
adb/src/model/BatchApplyAdviceByIdListResult.cc
Normal 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/adb/model/BatchApplyAdviceByIdListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
BatchApplyAdviceByIdListResult::BatchApplyAdviceByIdListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BatchApplyAdviceByIdListResult::BatchApplyAdviceByIdListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BatchApplyAdviceByIdListResult::~BatchApplyAdviceByIdListResult()
|
||||
{}
|
||||
|
||||
void BatchApplyAdviceByIdListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string BatchApplyAdviceByIdListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,15 @@ void CreateElasticPlanRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateElasticPlanRequest::getElasticPlanType() const {
|
||||
return elasticPlanType_;
|
||||
}
|
||||
|
||||
void CreateElasticPlanRequest::setElasticPlanType(const std::string &elasticPlanType) {
|
||||
elasticPlanType_ = elasticPlanType;
|
||||
setParameter(std::string("ElasticPlanType"), elasticPlanType);
|
||||
}
|
||||
|
||||
std::string CreateElasticPlanRequest::getElasticPlanTimeStart() const {
|
||||
return elasticPlanTimeStart_;
|
||||
}
|
||||
@@ -70,6 +79,15 @@ void CreateElasticPlanRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateElasticPlanRequest::getElasticPlanWorkerSpec() const {
|
||||
return elasticPlanWorkerSpec_;
|
||||
}
|
||||
|
||||
void CreateElasticPlanRequest::setElasticPlanWorkerSpec(const std::string &elasticPlanWorkerSpec) {
|
||||
elasticPlanWorkerSpec_ = elasticPlanWorkerSpec;
|
||||
setParameter(std::string("ElasticPlanWorkerSpec"), elasticPlanWorkerSpec);
|
||||
}
|
||||
|
||||
bool CreateElasticPlanRequest::getElasticPlanEnable() const {
|
||||
return elasticPlanEnable_;
|
||||
}
|
||||
|
||||
45
adb/src/model/DescribeAdviceServiceEnabledRequest.cc
Normal file
45
adb/src/model/DescribeAdviceServiceEnabledRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeAdviceServiceEnabledRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeAdviceServiceEnabledRequest;
|
||||
|
||||
DescribeAdviceServiceEnabledRequest::DescribeAdviceServiceEnabledRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "DescribeAdviceServiceEnabled") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAdviceServiceEnabledRequest::~DescribeAdviceServiceEnabledRequest() {}
|
||||
|
||||
std::string DescribeAdviceServiceEnabledRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAdviceServiceEnabledRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeAdviceServiceEnabledRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeAdviceServiceEnabledRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
58
adb/src/model/DescribeAdviceServiceEnabledResult.cc
Normal file
58
adb/src/model/DescribeAdviceServiceEnabledResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeAdviceServiceEnabledResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeAdviceServiceEnabledResult::DescribeAdviceServiceEnabledResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAdviceServiceEnabledResult::DescribeAdviceServiceEnabledResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAdviceServiceEnabledResult::~DescribeAdviceServiceEnabledResult()
|
||||
{}
|
||||
|
||||
void DescribeAdviceServiceEnabledResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Result"].isNull())
|
||||
result_ = value["Result"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeAdviceServiceEnabledResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
bool DescribeAdviceServiceEnabledResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
90
adb/src/model/DescribeAppliedAdvicesRequest.cc
Normal file
90
adb/src/model/DescribeAppliedAdvicesRequest.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeAppliedAdvicesRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeAppliedAdvicesRequest;
|
||||
|
||||
DescribeAppliedAdvicesRequest::DescribeAppliedAdvicesRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "DescribeAppliedAdvices") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAppliedAdvicesRequest::~DescribeAppliedAdvicesRequest() {}
|
||||
|
||||
std::string DescribeAppliedAdvicesRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeAppliedAdvicesRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
long DescribeAppliedAdvicesRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeAppliedAdvicesRequest::setEndTime(long endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
long DescribeAppliedAdvicesRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeAppliedAdvicesRequest::setStartTime(long startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), std::to_string(startTime));
|
||||
}
|
||||
|
||||
long DescribeAppliedAdvicesRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeAppliedAdvicesRequest::setPageNumber(long pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeAppliedAdvicesRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAppliedAdvicesRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
long DescribeAppliedAdvicesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeAppliedAdvicesRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeAppliedAdvicesRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeAppliedAdvicesRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
98
adb/src/model/DescribeAppliedAdvicesResult.cc
Normal file
98
adb/src/model/DescribeAppliedAdvicesResult.cc
Normal file
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeAppliedAdvicesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeAppliedAdvicesResult::DescribeAppliedAdvicesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAppliedAdvicesResult::DescribeAppliedAdvicesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAppliedAdvicesResult::~DescribeAppliedAdvicesResult()
|
||||
{}
|
||||
|
||||
void DescribeAppliedAdvicesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["ItemsItem"];
|
||||
for (auto valueItemsItemsItem : allItemsNode)
|
||||
{
|
||||
ItemsItem itemsObject;
|
||||
if(!valueItemsItemsItem["AdviceId"].isNull())
|
||||
itemsObject.adviceId = valueItemsItemsItem["AdviceId"].asString();
|
||||
if(!valueItemsItemsItem["SubmitTime"].isNull())
|
||||
itemsObject.submitTime = valueItemsItemsItem["SubmitTime"].asString();
|
||||
if(!valueItemsItemsItem["SubmitStatus"].isNull())
|
||||
itemsObject.submitStatus = valueItemsItemsItem["SubmitStatus"].asString();
|
||||
if(!valueItemsItemsItem["SQL"].isNull())
|
||||
itemsObject.sQL = valueItemsItemsItem["SQL"].asString();
|
||||
if(!valueItemsItemsItem["RollbackSQL"].isNull())
|
||||
itemsObject.rollbackSQL = valueItemsItemsItem["RollbackSQL"].asString();
|
||||
if(!valueItemsItemsItem["JobStatus"].isNull())
|
||||
itemsObject.jobStatus = valueItemsItemsItem["JobStatus"].asString();
|
||||
if(!valueItemsItemsItem["Benefit"].isNull())
|
||||
itemsObject.benefit = valueItemsItemsItem["Benefit"].asString();
|
||||
if(!valueItemsItemsItem["BuildSQL"].isNull())
|
||||
itemsObject.buildSQL = valueItemsItemsItem["BuildSQL"].asString();
|
||||
if(!valueItemsItemsItem["TotalCount"].isNull())
|
||||
itemsObject.totalCount = std::stol(valueItemsItemsItem["TotalCount"].asString());
|
||||
if(!valueItemsItemsItem["PageSize"].isNull())
|
||||
itemsObject.pageSize = std::stol(valueItemsItemsItem["PageSize"].asString());
|
||||
if(!valueItemsItemsItem["PageNumber"].isNull())
|
||||
itemsObject.pageNumber = std::stol(valueItemsItemsItem["PageNumber"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribeAppliedAdvicesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
long DescribeAppliedAdvicesResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribeAppliedAdvicesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAppliedAdvicesResult::ItemsItem> DescribeAppliedAdvicesResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
81
adb/src/model/DescribeAvailableAdvicesRequest.cc
Normal file
81
adb/src/model/DescribeAvailableAdvicesRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeAvailableAdvicesRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeAvailableAdvicesRequest;
|
||||
|
||||
DescribeAvailableAdvicesRequest::DescribeAvailableAdvicesRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "DescribeAvailableAdvices") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAvailableAdvicesRequest::~DescribeAvailableAdvicesRequest() {}
|
||||
|
||||
std::string DescribeAvailableAdvicesRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableAdvicesRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
long DescribeAvailableAdvicesRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeAvailableAdvicesRequest::setPageNumber(long pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
long DescribeAvailableAdvicesRequest::getAdviceDate() const {
|
||||
return adviceDate_;
|
||||
}
|
||||
|
||||
void DescribeAvailableAdvicesRequest::setAdviceDate(long adviceDate) {
|
||||
adviceDate_ = adviceDate;
|
||||
setParameter(std::string("AdviceDate"), std::to_string(adviceDate));
|
||||
}
|
||||
|
||||
std::string DescribeAvailableAdvicesRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableAdvicesRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
long DescribeAvailableAdvicesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeAvailableAdvicesRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeAvailableAdvicesRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeAvailableAdvicesRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
94
adb/src/model/DescribeAvailableAdvicesResult.cc
Normal file
94
adb/src/model/DescribeAvailableAdvicesResult.cc
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeAvailableAdvicesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeAvailableAdvicesResult::DescribeAvailableAdvicesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAvailableAdvicesResult::DescribeAvailableAdvicesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAvailableAdvicesResult::~DescribeAvailableAdvicesResult()
|
||||
{}
|
||||
|
||||
void DescribeAvailableAdvicesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["ItemsItem"];
|
||||
for (auto valueItemsItemsItem : allItemsNode)
|
||||
{
|
||||
ItemsItem itemsObject;
|
||||
if(!valueItemsItemsItem["AdviceId"].isNull())
|
||||
itemsObject.adviceId = valueItemsItemsItem["AdviceId"].asString();
|
||||
if(!valueItemsItemsItem["AdviceDate"].isNull())
|
||||
itemsObject.adviceDate = valueItemsItemsItem["AdviceDate"].asString();
|
||||
if(!valueItemsItemsItem["AdviceType"].isNull())
|
||||
itemsObject.adviceType = valueItemsItemsItem["AdviceType"].asString();
|
||||
if(!valueItemsItemsItem["SQL"].isNull())
|
||||
itemsObject.sQL = valueItemsItemsItem["SQL"].asString();
|
||||
if(!valueItemsItemsItem["Reason"].isNull())
|
||||
itemsObject.reason = valueItemsItemsItem["Reason"].asString();
|
||||
if(!valueItemsItemsItem["Benefit"].isNull())
|
||||
itemsObject.benefit = valueItemsItemsItem["Benefit"].asString();
|
||||
if(!valueItemsItemsItem["TotalCount"].isNull())
|
||||
itemsObject.totalCount = std::stol(valueItemsItemsItem["TotalCount"].asString());
|
||||
if(!valueItemsItemsItem["PageSize"].isNull())
|
||||
itemsObject.pageSize = std::stol(valueItemsItemsItem["PageSize"].asString());
|
||||
if(!valueItemsItemsItem["PageNumber"].isNull())
|
||||
itemsObject.pageNumber = std::stol(valueItemsItemsItem["PageNumber"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribeAvailableAdvicesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
long DescribeAvailableAdvicesResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribeAvailableAdvicesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAvailableAdvicesResult::ItemsItem> DescribeAvailableAdvicesResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,15 @@ void DescribeAvailableResourceRequest::setOwnerAccount(const std::string &ownerA
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getDBClusterVersion() const {
|
||||
return dBClusterVersion_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setDBClusterVersion(const std::string &dBClusterVersion) {
|
||||
dBClusterVersion_ = dBClusterVersion;
|
||||
setParameter(std::string("DBClusterVersion"), dBClusterVersion);
|
||||
}
|
||||
|
||||
long DescribeAvailableResourceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
@@ -70,12 +70,12 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
|
||||
supportedFlexibleResourceObject.supportedElasticIOResource.minCount = supportedElasticIOResourceNode["MinCount"].asString();
|
||||
if(!supportedElasticIOResourceNode["MaxCount"].isNull())
|
||||
supportedFlexibleResourceObject.supportedElasticIOResource.maxCount = supportedElasticIOResourceNode["MaxCount"].asString();
|
||||
auto allSupportedComputeResource = value["SupportedComputeResource"]["SupportedComputeResource"];
|
||||
for (auto value : allSupportedComputeResource)
|
||||
supportedFlexibleResourceObject.supportedComputeResource.push_back(value.asString());
|
||||
auto allSupportedStorageResource = value["SupportedStorageResource"]["SupportedStorageResource"];
|
||||
for (auto value : allSupportedStorageResource)
|
||||
supportedFlexibleResourceObject.supportedStorageResource.push_back(value.asString());
|
||||
auto allSupportedComputeResource1 = value["SupportedComputeResource"]["SupportedComputeResource"];
|
||||
for (auto value : allSupportedComputeResource1)
|
||||
supportedFlexibleResourceObject.supportedComputeResource1.push_back(value.asString());
|
||||
auto allSupportedStorageResource2 = value["SupportedStorageResource"]["SupportedStorageResource"];
|
||||
for (auto value : allSupportedStorageResource2)
|
||||
supportedFlexibleResourceObject.supportedStorageResource2.push_back(value.asString());
|
||||
supportedSerialListObject.supportedFlexibleResource.push_back(supportedFlexibleResourceObject);
|
||||
}
|
||||
auto allSupportedInstanceClassListNode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItem["SupportedInstanceClassList"]["SupportedInstanceClass"];
|
||||
@@ -106,13 +106,13 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
|
||||
for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClassSupportedExecutorListSupportedExecutor : allSupportedExecutorListNode)
|
||||
{
|
||||
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass::SupportedExecutor supportedExecutorListObject;
|
||||
auto nodeCount1Node = value["NodeCount"];
|
||||
if(!nodeCount1Node["Step"].isNull())
|
||||
supportedExecutorListObject.nodeCount1.step = nodeCount1Node["Step"].asString();
|
||||
if(!nodeCount1Node["MinCount"].isNull())
|
||||
supportedExecutorListObject.nodeCount1.minCount = nodeCount1Node["MinCount"].asString();
|
||||
if(!nodeCount1Node["MaxCount"].isNull())
|
||||
supportedExecutorListObject.nodeCount1.maxCount = nodeCount1Node["MaxCount"].asString();
|
||||
auto nodeCount3Node = value["NodeCount"];
|
||||
if(!nodeCount3Node["Step"].isNull())
|
||||
supportedExecutorListObject.nodeCount3.step = nodeCount3Node["Step"].asString();
|
||||
if(!nodeCount3Node["MinCount"].isNull())
|
||||
supportedExecutorListObject.nodeCount3.minCount = nodeCount3Node["MinCount"].asString();
|
||||
if(!nodeCount3Node["MaxCount"].isNull())
|
||||
supportedExecutorListObject.nodeCount3.maxCount = nodeCount3Node["MaxCount"].asString();
|
||||
supportedInstanceClassListObject.supportedExecutorList.push_back(supportedExecutorListObject);
|
||||
}
|
||||
supportedSerialListObject.supportedInstanceClassList.push_back(supportedInstanceClassListObject);
|
||||
@@ -121,6 +121,12 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
|
||||
}
|
||||
availableZoneListObject.supportedMode.push_back(supportedModeObject);
|
||||
}
|
||||
auto allSupportedComputeResource = value["SupportedComputeResource"]["SupportedComputeResource"];
|
||||
for (auto value : allSupportedComputeResource)
|
||||
availableZoneListObject.supportedComputeResource.push_back(value.asString());
|
||||
auto allSupportedStorageResource = value["SupportedStorageResource"]["SupportedStorageResource"];
|
||||
for (auto value : allSupportedStorageResource)
|
||||
availableZoneListObject.supportedStorageResource.push_back(value.asString());
|
||||
availableZoneList_.push_back(availableZoneListObject);
|
||||
}
|
||||
if(!value["RegionId"].isNull())
|
||||
|
||||
99
adb/src/model/DescribeComputeResourceRequest.cc
Normal file
99
adb/src/model/DescribeComputeResourceRequest.cc
Normal 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/DescribeComputeResourceRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeComputeResourceRequest;
|
||||
|
||||
DescribeComputeResourceRequest::DescribeComputeResourceRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "DescribeComputeResource") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeComputeResourceRequest::~DescribeComputeResourceRequest() {}
|
||||
|
||||
long DescribeComputeResourceRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeComputeResourceRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeComputeResourceRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeComputeResourceRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeComputeResourceRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeComputeResourceRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeComputeResourceRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeComputeResourceRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeComputeResourceRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeComputeResourceRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeComputeResourceRequest::getDBClusterVersion() const {
|
||||
return dBClusterVersion_;
|
||||
}
|
||||
|
||||
void DescribeComputeResourceRequest::setDBClusterVersion(const std::string &dBClusterVersion) {
|
||||
dBClusterVersion_ = dBClusterVersion;
|
||||
setParameter(std::string("DBClusterVersion"), dBClusterVersion);
|
||||
}
|
||||
|
||||
long DescribeComputeResourceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeComputeResourceRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeComputeResourceRequest::getZoneId() const {
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void DescribeComputeResourceRequest::setZoneId(const std::string &zoneId) {
|
||||
zoneId_ = zoneId;
|
||||
setParameter(std::string("ZoneId"), zoneId);
|
||||
}
|
||||
|
||||
59
adb/src/model/DescribeComputeResourceResult.cc
Normal file
59
adb/src/model/DescribeComputeResourceResult.cc
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeComputeResourceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeComputeResourceResult::DescribeComputeResourceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeComputeResourceResult::DescribeComputeResourceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeComputeResourceResult::~DescribeComputeResourceResult()
|
||||
{}
|
||||
|
||||
void DescribeComputeResourceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allComputeResourceNode = value["ComputeResource"]["ComputeResourceItem"];
|
||||
for (auto valueComputeResourceComputeResourceItem : allComputeResourceNode)
|
||||
{
|
||||
ComputeResourceItem computeResourceObject;
|
||||
if(!valueComputeResourceComputeResourceItem["DisplayValue"].isNull())
|
||||
computeResourceObject.displayValue = valueComputeResourceComputeResourceItem["DisplayValue"].asString();
|
||||
if(!valueComputeResourceComputeResourceItem["RealValue"].isNull())
|
||||
computeResourceObject.realValue = valueComputeResourceComputeResourceItem["RealValue"].asString();
|
||||
computeResource_.push_back(computeResourceObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeComputeResourceResult::ComputeResourceItem> DescribeComputeResourceResult::getComputeResource()const
|
||||
{
|
||||
return computeResource_;
|
||||
}
|
||||
|
||||
@@ -123,6 +123,14 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
|
||||
itemsObject.engine = valueItemsDBCluster["Engine"].asString();
|
||||
if(!valueItemsDBCluster["KmsId"].isNull())
|
||||
itemsObject.kmsId = valueItemsDBCluster["KmsId"].asString();
|
||||
if(!valueItemsDBCluster["InnerIp"].isNull())
|
||||
itemsObject.innerIp = valueItemsDBCluster["InnerIp"].asString();
|
||||
if(!valueItemsDBCluster["InnerPort"].isNull())
|
||||
itemsObject.innerPort = valueItemsDBCluster["InnerPort"].asString();
|
||||
if(!valueItemsDBCluster["DiskPerformanceLevel"].isNull())
|
||||
itemsObject.diskPerformanceLevel = valueItemsDBCluster["DiskPerformanceLevel"].asString();
|
||||
if(!valueItemsDBCluster["ElasticIOResourceSize"].isNull())
|
||||
itemsObject.elasticIOResourceSize = valueItemsDBCluster["ElasticIOResourceSize"].asString();
|
||||
auto allTagsNode = valueItemsDBCluster["Tags"]["Tag"];
|
||||
for (auto valueItemsDBClusterTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeDBClusterForecastRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeDBClusterForecastRequest;
|
||||
|
||||
DescribeDBClusterForecastRequest::DescribeDBClusterForecastRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "DescribeDBClusterForecast") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterForecastRequest::~DescribeDBClusterForecastRequest() {}
|
||||
|
||||
std::string DescribeDBClusterForecastRequest::getMetricType() const {
|
||||
return metricType_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterForecastRequest::setMetricType(const std::string &metricType) {
|
||||
metricType_ = metricType;
|
||||
setParameter(std::string("MetricType"), metricType);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterForecastRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterForecastRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterForecastRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterForecastRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterForecastRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterForecastRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeDBClusterForecastResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeDBClusterForecastResult::DescribeDBClusterForecastResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDBClusterForecastResult::DescribeDBClusterForecastResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDBClusterForecastResult::~DescribeDBClusterForecastResult()
|
||||
{}
|
||||
|
||||
void DescribeDBClusterForecastResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPerformancesNode = value["Performances"]["PerformancesItem"];
|
||||
for (auto valuePerformancesPerformancesItem : allPerformancesNode)
|
||||
{
|
||||
PerformancesItem performancesObject;
|
||||
if(!valuePerformancesPerformancesItem["Key"].isNull())
|
||||
performancesObject.key = valuePerformancesPerformancesItem["Key"].asString();
|
||||
if(!valuePerformancesPerformancesItem["Unit"].isNull())
|
||||
performancesObject.unit = valuePerformancesPerformancesItem["Unit"].asString();
|
||||
auto allSeriesNode = valuePerformancesPerformancesItem["Series"]["SeriesItem"];
|
||||
for (auto valuePerformancesPerformancesItemSeriesSeriesItem : allSeriesNode)
|
||||
{
|
||||
PerformancesItem::SeriesItem seriesObject;
|
||||
if(!valuePerformancesPerformancesItemSeriesSeriesItem["Name"].isNull())
|
||||
seriesObject.name = valuePerformancesPerformancesItemSeriesSeriesItem["Name"].asString();
|
||||
if(!valuePerformancesPerformancesItemSeriesSeriesItem["Values"].isNull())
|
||||
seriesObject.values = valuePerformancesPerformancesItemSeriesSeriesItem["Values"].asString();
|
||||
performancesObject.series.push_back(seriesObject);
|
||||
}
|
||||
performances_.push_back(performancesObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterForecastResult::PerformancesItem> DescribeDBClusterForecastResult::getPerformances()const
|
||||
{
|
||||
return performances_;
|
||||
}
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeDBClusterHealthReportRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeDBClusterHealthReportRequest;
|
||||
|
||||
DescribeDBClusterHealthReportRequest::DescribeDBClusterHealthReportRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "DescribeDBClusterHealthReport") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterHealthReportRequest::~DescribeDBClusterHealthReportRequest() {}
|
||||
|
||||
std::string DescribeDBClusterHealthReportRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterHealthReportRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterHealthReportRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterHealthReportRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterHealthReportRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterHealthReportRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeDBClusterHealthReportResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeDBClusterHealthReportResult::DescribeDBClusterHealthReportResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDBClusterHealthReportResult::DescribeDBClusterHealthReportResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDBClusterHealthReportResult::~DescribeDBClusterHealthReportResult()
|
||||
{}
|
||||
|
||||
void DescribeDBClusterHealthReportResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["ItemsItem"];
|
||||
for (auto valueItemsItemsItem : allItemsNode)
|
||||
{
|
||||
ItemsItem itemsObject;
|
||||
if(!valueItemsItemsItem["Key"].isNull())
|
||||
itemsObject.key = valueItemsItemsItem["Key"].asString();
|
||||
if(!valueItemsItemsItem["Max"].isNull())
|
||||
itemsObject.max = valueItemsItemsItem["Max"].asString();
|
||||
if(!valueItemsItemsItem["Name"].isNull())
|
||||
itemsObject.name = valueItemsItemsItem["Name"].asString();
|
||||
if(!valueItemsItemsItem["Avg"].isNull())
|
||||
itemsObject.avg = valueItemsItemsItem["Avg"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterHealthReportResult::ItemsItem> DescribeDBClusterHealthReportResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
54
adb/src/model/DescribeDBClusterHealthStatusRequest.cc
Normal file
54
adb/src/model/DescribeDBClusterHealthStatusRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeDBClusterHealthStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeDBClusterHealthStatusRequest;
|
||||
|
||||
DescribeDBClusterHealthStatusRequest::DescribeDBClusterHealthStatusRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "DescribeDBClusterHealthStatus") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterHealthStatusRequest::~DescribeDBClusterHealthStatusRequest() {}
|
||||
|
||||
std::string DescribeDBClusterHealthStatusRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterHealthStatusRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterHealthStatusRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterHealthStatusRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterHealthStatusRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterHealthStatusRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
99
adb/src/model/DescribeDBClusterHealthStatusResult.cc
Normal file
99
adb/src/model/DescribeDBClusterHealthStatusResult.cc
Normal 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/DescribeDBClusterHealthStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeDBClusterHealthStatusResult::DescribeDBClusterHealthStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDBClusterHealthStatusResult::DescribeDBClusterHealthStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDBClusterHealthStatusResult::~DescribeDBClusterHealthStatusResult()
|
||||
{}
|
||||
|
||||
void DescribeDBClusterHealthStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto cSNode = value["CS"];
|
||||
if(!cSNode["ActiveCount"].isNull())
|
||||
cS_.activeCount = std::stol(cSNode["ActiveCount"].asString());
|
||||
if(!cSNode["UnavailableCount"].isNull())
|
||||
cS_.unavailableCount = std::stol(cSNode["UnavailableCount"].asString());
|
||||
if(!cSNode["RiskCount"].isNull())
|
||||
cS_.riskCount = std::stol(cSNode["RiskCount"].asString());
|
||||
if(!cSNode["ExpectedCount"].isNull())
|
||||
cS_.expectedCount = std::stol(cSNode["ExpectedCount"].asString());
|
||||
if(!cSNode["Status"].isNull())
|
||||
cS_.status = cSNode["Status"].asString();
|
||||
auto executorNode = value["Executor"];
|
||||
if(!executorNode["ActiveCount"].isNull())
|
||||
executor_.activeCount = std::stol(executorNode["ActiveCount"].asString());
|
||||
if(!executorNode["UnavailableCount"].isNull())
|
||||
executor_.unavailableCount = std::stol(executorNode["UnavailableCount"].asString());
|
||||
if(!executorNode["RiskCount"].isNull())
|
||||
executor_.riskCount = std::stol(executorNode["RiskCount"].asString());
|
||||
if(!executorNode["ExpectedCount"].isNull())
|
||||
executor_.expectedCount = std::stol(executorNode["ExpectedCount"].asString());
|
||||
if(!executorNode["Status"].isNull())
|
||||
executor_.status = executorNode["Status"].asString();
|
||||
auto workerNode = value["Worker"];
|
||||
if(!workerNode["ActiveCount"].isNull())
|
||||
worker_.activeCount = std::stol(workerNode["ActiveCount"].asString());
|
||||
if(!workerNode["UnavailableCount"].isNull())
|
||||
worker_.unavailableCount = std::stol(workerNode["UnavailableCount"].asString());
|
||||
if(!workerNode["RiskCount"].isNull())
|
||||
worker_.riskCount = std::stol(workerNode["RiskCount"].asString());
|
||||
if(!workerNode["ExpectedCount"].isNull())
|
||||
worker_.expectedCount = std::stol(workerNode["ExpectedCount"].asString());
|
||||
if(!workerNode["Status"].isNull())
|
||||
worker_.status = workerNode["Status"].asString();
|
||||
if(!value["InstanceStatus"].isNull())
|
||||
instanceStatus_ = value["InstanceStatus"].asString();
|
||||
|
||||
}
|
||||
|
||||
DescribeDBClusterHealthStatusResult::CS DescribeDBClusterHealthStatusResult::getCS()const
|
||||
{
|
||||
return cS_;
|
||||
}
|
||||
|
||||
DescribeDBClusterHealthStatusResult::Executor DescribeDBClusterHealthStatusResult::getExecutor()const
|
||||
{
|
||||
return executor_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterHealthStatusResult::getInstanceStatus()const
|
||||
{
|
||||
return instanceStatus_;
|
||||
}
|
||||
|
||||
DescribeDBClusterHealthStatusResult::Worker DescribeDBClusterHealthStatusResult::getWorker()const
|
||||
{
|
||||
return worker_;
|
||||
}
|
||||
|
||||
81
adb/src/model/DescribeDBClusterStatusRequest.cc
Normal file
81
adb/src/model/DescribeDBClusterStatusRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeDBClusterStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeDBClusterStatusRequest;
|
||||
|
||||
DescribeDBClusterStatusRequest::DescribeDBClusterStatusRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "DescribeDBClusterStatus") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterStatusRequest::~DescribeDBClusterStatusRequest() {}
|
||||
|
||||
long DescribeDBClusterStatusRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterStatusRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterStatusRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterStatusRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterStatusRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterStatusRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterStatusRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterStatusRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterStatusRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterStatusRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeDBClusterStatusRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterStatusRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
52
adb/src/model/DescribeDBClusterStatusResult.cc
Normal file
52
adb/src/model/DescribeDBClusterStatusResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDBClusterStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeDBClusterStatusResult::DescribeDBClusterStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDBClusterStatusResult::DescribeDBClusterStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDBClusterStatusResult::~DescribeDBClusterStatusResult()
|
||||
{}
|
||||
|
||||
void DescribeDBClusterStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStatus = value["Status"]["Status"];
|
||||
for (const auto &item : allStatus)
|
||||
status_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDBClusterStatusResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
@@ -138,6 +138,15 @@ void DescribeDBClustersRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClustersRequest::getDBVersion() const {
|
||||
return dBVersion_;
|
||||
}
|
||||
|
||||
void DescribeDBClustersRequest::setDBVersion(const std::string &dBVersion) {
|
||||
dBVersion_ = dBVersion;
|
||||
setParameter(std::string("DBVersion"), dBVersion);
|
||||
}
|
||||
|
||||
std::string DescribeDBClustersRequest::getDBClusterIds() const {
|
||||
return dBClusterIds_;
|
||||
}
|
||||
|
||||
@@ -111,6 +111,10 @@ void DescribeDBClustersResult::parse(const std::string &payload)
|
||||
itemsObject.category = valueItemsDBCluster["Category"].asString();
|
||||
if(!valueItemsDBCluster["Engine"].isNull())
|
||||
itemsObject.engine = valueItemsDBCluster["Engine"].asString();
|
||||
if(!valueItemsDBCluster["InnerIp"].isNull())
|
||||
itemsObject.innerIp = valueItemsDBCluster["InnerIp"].asString();
|
||||
if(!valueItemsDBCluster["InnerPort"].isNull())
|
||||
itemsObject.innerPort = valueItemsDBCluster["InnerPort"].asString();
|
||||
auto allTagsNode = valueItemsDBCluster["Tags"]["Tag"];
|
||||
for (auto valueItemsDBClusterTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -57,9 +57,16 @@ void DescribeDBResourceGroupResult::parse(const std::string &payload)
|
||||
groupsInfoObject.nodeNum = std::stoi(valueGroupsInfoPoolInfo["NodeNum"].asString());
|
||||
groupsInfo_.push_back(groupsInfoObject);
|
||||
}
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDBResourceGroupResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDBResourceGroupResult::PoolInfo> DescribeDBResourceGroupResult::getGroupsInfo()const
|
||||
{
|
||||
return groupsInfo_;
|
||||
|
||||
@@ -57,9 +57,16 @@ void DescribeDBResourcePoolResult::parse(const std::string &payload)
|
||||
poolsInfoObject.nodeNum = std::stoi(valuePoolsInfoPoolInfo["NodeNum"].asString());
|
||||
poolsInfo_.push_back(poolsInfoObject);
|
||||
}
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDBResourcePoolResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDBResourcePoolResult::PoolInfo> DescribeDBResourcePoolResult::getPoolsInfo()const
|
||||
{
|
||||
return poolsInfo_;
|
||||
|
||||
81
adb/src/model/DescribeDiagnosisMonitorPerformanceRequest.cc
Normal file
81
adb/src/model/DescribeDiagnosisMonitorPerformanceRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeDiagnosisMonitorPerformanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeDiagnosisMonitorPerformanceRequest;
|
||||
|
||||
DescribeDiagnosisMonitorPerformanceRequest::DescribeDiagnosisMonitorPerformanceRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "DescribeDiagnosisMonitorPerformance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDiagnosisMonitorPerformanceRequest::~DescribeDiagnosisMonitorPerformanceRequest() {}
|
||||
|
||||
std::string DescribeDiagnosisMonitorPerformanceRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisMonitorPerformanceRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisMonitorPerformanceRequest::getQueryCondition() const {
|
||||
return queryCondition_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisMonitorPerformanceRequest::setQueryCondition(const std::string &queryCondition) {
|
||||
queryCondition_ = queryCondition;
|
||||
setParameter(std::string("QueryCondition"), queryCondition);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisMonitorPerformanceRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisMonitorPerformanceRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisMonitorPerformanceRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisMonitorPerformanceRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisMonitorPerformanceRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisMonitorPerformanceRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisMonitorPerformanceRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisMonitorPerformanceRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
87
adb/src/model/DescribeDiagnosisMonitorPerformanceResult.cc
Normal file
87
adb/src/model/DescribeDiagnosisMonitorPerformanceResult.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeDiagnosisMonitorPerformanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeDiagnosisMonitorPerformanceResult::DescribeDiagnosisMonitorPerformanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDiagnosisMonitorPerformanceResult::DescribeDiagnosisMonitorPerformanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDiagnosisMonitorPerformanceResult::~DescribeDiagnosisMonitorPerformanceResult()
|
||||
{}
|
||||
|
||||
void DescribeDiagnosisMonitorPerformanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPerformancesNode = value["Performances"]["Items"];
|
||||
for (auto valuePerformancesItems : allPerformancesNode)
|
||||
{
|
||||
Items performancesObject;
|
||||
if(!valuePerformancesItems["Status"].isNull())
|
||||
performancesObject.status = valuePerformancesItems["Status"].asString();
|
||||
if(!valuePerformancesItems["ProcessId"].isNull())
|
||||
performancesObject.processId = valuePerformancesItems["ProcessId"].asString();
|
||||
if(!valuePerformancesItems["StartTime"].isNull())
|
||||
performancesObject.startTime = std::stol(valuePerformancesItems["StartTime"].asString());
|
||||
if(!valuePerformancesItems["Cost"].isNull())
|
||||
performancesObject.cost = std::stol(valuePerformancesItems["Cost"].asString());
|
||||
if(!valuePerformancesItems["ScanRows"].isNull())
|
||||
performancesObject.scanRows = std::stol(valuePerformancesItems["ScanRows"].asString());
|
||||
if(!valuePerformancesItems["PeakMemory"].isNull())
|
||||
performancesObject.peakMemory = std::stol(valuePerformancesItems["PeakMemory"].asString());
|
||||
if(!valuePerformancesItems["RcHost"].isNull())
|
||||
performancesObject.rcHost = valuePerformancesItems["RcHost"].asString();
|
||||
if(!valuePerformancesItems["ScanSize"].isNull())
|
||||
performancesObject.scanSize = std::stol(valuePerformancesItems["ScanSize"].asString());
|
||||
if(!valuePerformancesItems["UserName"].isNull())
|
||||
performancesObject.userName = valuePerformancesItems["UserName"].asString();
|
||||
performances_.push_back(performancesObject);
|
||||
}
|
||||
if(!value["PerformancesThreshold"].isNull())
|
||||
performancesThreshold_ = std::stoi(value["PerformancesThreshold"].asString());
|
||||
if(!value["PerformancesTruncated"].isNull())
|
||||
performancesTruncated_ = value["PerformancesTruncated"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool DescribeDiagnosisMonitorPerformanceResult::getPerformancesTruncated()const
|
||||
{
|
||||
return performancesTruncated_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDiagnosisMonitorPerformanceResult::Items> DescribeDiagnosisMonitorPerformanceResult::getPerformances()const
|
||||
{
|
||||
return performances_;
|
||||
}
|
||||
|
||||
int DescribeDiagnosisMonitorPerformanceResult::getPerformancesThreshold()const
|
||||
{
|
||||
return performancesThreshold_;
|
||||
}
|
||||
|
||||
@@ -160,13 +160,13 @@ void DescribeDiagnosisRecordsRequest::setDBClusterId(const std::string &dBCluste
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
long DescribeDiagnosisRecordsRequest::getPatternId() const {
|
||||
std::string DescribeDiagnosisRecordsRequest::getPatternId() const {
|
||||
return patternId_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisRecordsRequest::setPatternId(long patternId) {
|
||||
void DescribeDiagnosisRecordsRequest::setPatternId(const std::string &patternId) {
|
||||
patternId_ = patternId;
|
||||
setParameter(std::string("PatternId"), std::to_string(patternId));
|
||||
setParameter(std::string("PatternId"), patternId);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisRecordsRequest::getEndTime() const {
|
||||
|
||||
90
adb/src/model/DescribeDiagnosisSQLInfoRequest.cc
Normal file
90
adb/src/model/DescribeDiagnosisSQLInfoRequest.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeDiagnosisSQLInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeDiagnosisSQLInfoRequest;
|
||||
|
||||
DescribeDiagnosisSQLInfoRequest::DescribeDiagnosisSQLInfoRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "DescribeDiagnosisSQLInfo") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeDiagnosisSQLInfoRequest::~DescribeDiagnosisSQLInfoRequest() {}
|
||||
|
||||
std::string DescribeDiagnosisSQLInfoRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisSQLInfoRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisSQLInfoRequest::getProcessState() const {
|
||||
return processState_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisSQLInfoRequest::setProcessState(const std::string &processState) {
|
||||
processState_ = processState;
|
||||
setParameter(std::string("ProcessState"), processState);
|
||||
}
|
||||
|
||||
long DescribeDiagnosisSQLInfoRequest::getProcessStartTime() const {
|
||||
return processStartTime_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisSQLInfoRequest::setProcessStartTime(long processStartTime) {
|
||||
processStartTime_ = processStartTime;
|
||||
setParameter(std::string("ProcessStartTime"), std::to_string(processStartTime));
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisSQLInfoRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisSQLInfoRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisSQLInfoRequest::getProcessId() const {
|
||||
return processId_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisSQLInfoRequest::setProcessId(const std::string &processId) {
|
||||
processId_ = processId;
|
||||
setParameter(std::string("ProcessId"), processId);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisSQLInfoRequest::getProcessRcHost() const {
|
||||
return processRcHost_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisSQLInfoRequest::setProcessRcHost(const std::string &processRcHost) {
|
||||
processRcHost_ = processRcHost;
|
||||
setParameter(std::string("ProcessRcHost"), processRcHost);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisSQLInfoRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisSQLInfoRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
80
adb/src/model/DescribeDiagnosisSQLInfoResult.cc
Normal file
80
adb/src/model/DescribeDiagnosisSQLInfoResult.cc
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeDiagnosisSQLInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeDiagnosisSQLInfoResult::DescribeDiagnosisSQLInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDiagnosisSQLInfoResult::DescribeDiagnosisSQLInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDiagnosisSQLInfoResult::~DescribeDiagnosisSQLInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeDiagnosisSQLInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStageInfosNode = value["StageInfos"]["StageInfosItem"];
|
||||
for (auto valueStageInfosStageInfosItem : allStageInfosNode)
|
||||
{
|
||||
StageInfosItem stageInfosObject;
|
||||
if(!valueStageInfosStageInfosItem["InputRows"].isNull())
|
||||
stageInfosObject.inputRows = std::stol(valueStageInfosStageInfosItem["InputRows"].asString());
|
||||
if(!valueStageInfosStageInfosItem["InputDataSize"].isNull())
|
||||
stageInfosObject.inputDataSize = std::stol(valueStageInfosStageInfosItem["InputDataSize"].asString());
|
||||
if(!valueStageInfosStageInfosItem["OutputRows"].isNull())
|
||||
stageInfosObject.outputRows = std::stol(valueStageInfosStageInfosItem["OutputRows"].asString());
|
||||
if(!valueStageInfosStageInfosItem["OutputDataSize"].isNull())
|
||||
stageInfosObject.outputDataSize = std::stol(valueStageInfosStageInfosItem["OutputDataSize"].asString());
|
||||
if(!valueStageInfosStageInfosItem["PeakMemory"].isNull())
|
||||
stageInfosObject.peakMemory = std::stol(valueStageInfosStageInfosItem["PeakMemory"].asString());
|
||||
if(!valueStageInfosStageInfosItem["OperatorCost"].isNull())
|
||||
stageInfosObject.operatorCost = std::stol(valueStageInfosStageInfosItem["OperatorCost"].asString());
|
||||
if(!valueStageInfosStageInfosItem["StageId"].isNull())
|
||||
stageInfosObject.stageId = valueStageInfosStageInfosItem["StageId"].asString();
|
||||
if(!valueStageInfosStageInfosItem["State"].isNull())
|
||||
stageInfosObject.state = valueStageInfosStageInfosItem["State"].asString();
|
||||
if(!valueStageInfosStageInfosItem["Progress"].isNull())
|
||||
stageInfosObject.progress = valueStageInfosStageInfosItem["Progress"].asString();
|
||||
stageInfos_.push_back(stageInfosObject);
|
||||
}
|
||||
if(!value["DiagnosisSQLInfo"].isNull())
|
||||
diagnosisSQLInfo_ = value["DiagnosisSQLInfo"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDiagnosisSQLInfoResult::StageInfosItem> DescribeDiagnosisSQLInfoResult::getStageInfos()const
|
||||
{
|
||||
return stageInfos_;
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisSQLInfoResult::getDiagnosisSQLInfo()const
|
||||
{
|
||||
return diagnosisSQLInfo_;
|
||||
}
|
||||
|
||||
108
adb/src/model/DescribeDiagnosisTasksRequest.cc
Normal file
108
adb/src/model/DescribeDiagnosisTasksRequest.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDiagnosisTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeDiagnosisTasksRequest;
|
||||
|
||||
DescribeDiagnosisTasksRequest::DescribeDiagnosisTasksRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "DescribeDiagnosisTasks") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeDiagnosisTasksRequest::~DescribeDiagnosisTasksRequest() {}
|
||||
|
||||
std::string DescribeDiagnosisTasksRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisTasksRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
int DescribeDiagnosisTasksRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisTasksRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisTasksRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisTasksRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisTasksRequest::getProcessId() const {
|
||||
return processId_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisTasksRequest::setProcessId(const std::string &processId) {
|
||||
processId_ = processId;
|
||||
setParameter(std::string("ProcessId"), processId);
|
||||
}
|
||||
|
||||
int DescribeDiagnosisTasksRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisTasksRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisTasksRequest::getHost() const {
|
||||
return host_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisTasksRequest::setHost(const std::string &host) {
|
||||
host_ = host;
|
||||
setParameter(std::string("Host"), host);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisTasksRequest::getState() const {
|
||||
return state_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisTasksRequest::setState(const std::string &state) {
|
||||
state_ = state;
|
||||
setParameter(std::string("State"), state);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisTasksRequest::getStageId() const {
|
||||
return stageId_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisTasksRequest::setStageId(const std::string &stageId) {
|
||||
stageId_ = stageId;
|
||||
setParameter(std::string("StageId"), stageId);
|
||||
}
|
||||
|
||||
std::string DescribeDiagnosisTasksRequest::getOrder() const {
|
||||
return order_;
|
||||
}
|
||||
|
||||
void DescribeDiagnosisTasksRequest::setOrder(const std::string &order) {
|
||||
order_ = order;
|
||||
setParameter(std::string("Order"), order);
|
||||
}
|
||||
|
||||
98
adb/src/model/DescribeDiagnosisTasksResult.cc
Normal file
98
adb/src/model/DescribeDiagnosisTasksResult.cc
Normal file
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeDiagnosisTasksResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeDiagnosisTasksResult::DescribeDiagnosisTasksResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDiagnosisTasksResult::DescribeDiagnosisTasksResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDiagnosisTasksResult::~DescribeDiagnosisTasksResult()
|
||||
{}
|
||||
|
||||
void DescribeDiagnosisTasksResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTaskListNode = value["TaskList"]["SqlTasks"];
|
||||
for (auto valueTaskListSqlTasks : allTaskListNode)
|
||||
{
|
||||
SqlTasks taskListObject;
|
||||
if(!valueTaskListSqlTasks["ScanCost"].isNull())
|
||||
taskListObject.scanCost = std::stol(valueTaskListSqlTasks["ScanCost"].asString());
|
||||
if(!valueTaskListSqlTasks["OutputDataSize"].isNull())
|
||||
taskListObject.outputDataSize = std::stol(valueTaskListSqlTasks["OutputDataSize"].asString());
|
||||
if(!valueTaskListSqlTasks["InputDataSize"].isNull())
|
||||
taskListObject.inputDataSize = std::stol(valueTaskListSqlTasks["InputDataSize"].asString());
|
||||
if(!valueTaskListSqlTasks["State"].isNull())
|
||||
taskListObject.state = valueTaskListSqlTasks["State"].asString();
|
||||
if(!valueTaskListSqlTasks["OperatorCost"].isNull())
|
||||
taskListObject.operatorCost = std::stol(valueTaskListSqlTasks["OperatorCost"].asString());
|
||||
if(!valueTaskListSqlTasks["OutputRows"].isNull())
|
||||
taskListObject.outputRows = std::stol(valueTaskListSqlTasks["OutputRows"].asString());
|
||||
if(!valueTaskListSqlTasks["ScanDataSize"].isNull())
|
||||
taskListObject.scanDataSize = std::stol(valueTaskListSqlTasks["ScanDataSize"].asString());
|
||||
if(!valueTaskListSqlTasks["ElapsedTime"].isNull())
|
||||
taskListObject.elapsedTime = std::stol(valueTaskListSqlTasks["ElapsedTime"].asString());
|
||||
if(!valueTaskListSqlTasks["ScanRows"].isNull())
|
||||
taskListObject.scanRows = std::stol(valueTaskListSqlTasks["ScanRows"].asString());
|
||||
if(!valueTaskListSqlTasks["PeakMemory"].isNull())
|
||||
taskListObject.peakMemory = std::stol(valueTaskListSqlTasks["PeakMemory"].asString());
|
||||
if(!valueTaskListSqlTasks["TaskId"].isNull())
|
||||
taskListObject.taskId = valueTaskListSqlTasks["TaskId"].asString();
|
||||
if(!valueTaskListSqlTasks["InputRows"].isNull())
|
||||
taskListObject.inputRows = std::stol(valueTaskListSqlTasks["InputRows"].asString());
|
||||
if(!valueTaskListSqlTasks["TaskCreateTime"].isNull())
|
||||
taskListObject.taskCreateTime = std::stol(valueTaskListSqlTasks["TaskCreateTime"].asString());
|
||||
if(!valueTaskListSqlTasks["TaskEndTime"].isNull())
|
||||
taskListObject.taskEndTime = std::stol(valueTaskListSqlTasks["TaskEndTime"].asString());
|
||||
if(!valueTaskListSqlTasks["TaskHost"].isNull())
|
||||
taskListObject.taskHost = valueTaskListSqlTasks["TaskHost"].asString();
|
||||
if(!valueTaskListSqlTasks["Drivers"].isNull())
|
||||
taskListObject.drivers = valueTaskListSqlTasks["Drivers"].asString();
|
||||
if(!valueTaskListSqlTasks["QueuedTime"].isNull())
|
||||
taskListObject.queuedTime = valueTaskListSqlTasks["QueuedTime"].asString();
|
||||
if(!valueTaskListSqlTasks["ComputeTimeRatio"].isNull())
|
||||
taskListObject.computeTimeRatio = valueTaskListSqlTasks["ComputeTimeRatio"].asString();
|
||||
taskList_.push_back(taskListObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeDiagnosisTasksResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDiagnosisTasksResult::SqlTasks> DescribeDiagnosisTasksResult::getTaskList()const
|
||||
{
|
||||
return taskList_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ DescribeDownloadRecordsRequest::DescribeDownloadRecordsRequest()
|
||||
|
||||
DescribeDownloadRecordsRequest::~DescribeDownloadRecordsRequest() {}
|
||||
|
||||
std::string DescribeDownloadRecordsRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDownloadRecordsRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDownloadRecordsRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
@@ -43,6 +34,15 @@ void DescribeDownloadRecordsRequest::setDBClusterId(const std::string &dBCluster
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDownloadRecordsRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDownloadRecordsRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDownloadRecordsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
126
adb/src/model/DescribeEIURangeRequest.cc
Normal file
126
adb/src/model/DescribeEIURangeRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeEIURangeRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeEIURangeRequest;
|
||||
|
||||
DescribeEIURangeRequest::DescribeEIURangeRequest()
|
||||
: RpcServiceRequest("adb", "2019-03-15", "DescribeEIURange") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeEIURangeRequest::~DescribeEIURangeRequest() {}
|
||||
|
||||
long DescribeEIURangeRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeEIURangeRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeEIURangeRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeEIURangeRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeEIURangeRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeEIURangeRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeEIURangeRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeEIURangeRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeEIURangeRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeEIURangeRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeEIURangeRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeEIURangeRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeEIURangeRequest::getDBClusterVersion() const {
|
||||
return dBClusterVersion_;
|
||||
}
|
||||
|
||||
void DescribeEIURangeRequest::setDBClusterVersion(const std::string &dBClusterVersion) {
|
||||
dBClusterVersion_ = dBClusterVersion;
|
||||
setParameter(std::string("DBClusterVersion"), dBClusterVersion);
|
||||
}
|
||||
|
||||
long DescribeEIURangeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeEIURangeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeEIURangeRequest::getZoneId() const {
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void DescribeEIURangeRequest::setZoneId(const std::string &zoneId) {
|
||||
zoneId_ = zoneId;
|
||||
setParameter(std::string("ZoneId"), zoneId);
|
||||
}
|
||||
|
||||
std::string DescribeEIURangeRequest::getComputeResource() const {
|
||||
return computeResource_;
|
||||
}
|
||||
|
||||
void DescribeEIURangeRequest::setComputeResource(const std::string &computeResource) {
|
||||
computeResource_ = computeResource;
|
||||
setParameter(std::string("ComputeResource"), computeResource);
|
||||
}
|
||||
|
||||
std::string DescribeEIURangeRequest::getOperation() const {
|
||||
return operation_;
|
||||
}
|
||||
|
||||
void DescribeEIURangeRequest::setOperation(const std::string &operation) {
|
||||
operation_ = operation;
|
||||
setParameter(std::string("Operation"), operation);
|
||||
}
|
||||
|
||||
58
adb/src/model/DescribeEIURangeResult.cc
Normal file
58
adb/src/model/DescribeEIURangeResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeEIURangeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeEIURangeResult::DescribeEIURangeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeEIURangeResult::DescribeEIURangeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeEIURangeResult::~DescribeEIURangeResult()
|
||||
{}
|
||||
|
||||
void DescribeEIURangeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto eIUInfoNode = value["EIUInfo"];
|
||||
if(!eIUInfoNode["DefaultValue"].isNull())
|
||||
eIUInfo_.defaultValue = eIUInfoNode["DefaultValue"].asString();
|
||||
auto allEIURange = eIUInfoNode["EIURange"]["eIURange"];
|
||||
for (auto value : allEIURange)
|
||||
eIUInfo_.eIURange.push_back(value.asString());
|
||||
auto allStorageResourceRange = eIUInfoNode["StorageResourceRange"]["storageResourceRange"];
|
||||
for (auto value : allStorageResourceRange)
|
||||
eIUInfo_.storageResourceRange.push_back(value.asString());
|
||||
|
||||
}
|
||||
|
||||
DescribeEIURangeResult::EIUInfo DescribeEIURangeResult::getEIUInfo()const
|
||||
{
|
||||
return eIUInfo_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user