Compare commits
424 Commits
1.36.601
...
Cassandra-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9bdc7d4fa5 | ||
|
|
80f230d35a | ||
|
|
0faf3e6ffa | ||
|
|
3dcd83a4f3 | ||
|
|
052017ee0a | ||
|
|
cbf2412b29 | ||
|
|
9fd09665ff | ||
|
|
7964674af1 | ||
|
|
38db21928a | ||
|
|
4899593377 | ||
|
|
ecf3cb4bb0 | ||
|
|
7b2178ef7c | ||
|
|
de338b6bec | ||
|
|
272a1c1466 | ||
|
|
ee902a7f28 | ||
|
|
fb12252d2d | ||
|
|
6e4fea5ea2 | ||
|
|
1b54ddd725 | ||
|
|
6e5ba8761d | ||
|
|
e71ef9a243 | ||
|
|
17af8569c4 | ||
|
|
4c3be7ed7c | ||
|
|
3303c6120d | ||
|
|
d0e1cd8792 | ||
|
|
7859e7446f | ||
|
|
8296e36314 | ||
|
|
0af9554cab | ||
|
|
5590f7808b | ||
|
|
df825120f3 | ||
|
|
e0575e4c67 | ||
|
|
4b58532ad0 | ||
|
|
4e4d3730de | ||
|
|
90d44564e0 | ||
|
|
0553d7374d | ||
|
|
e84530679a | ||
|
|
b3ae2c61f0 | ||
|
|
38eb8f243a | ||
|
|
caf80426a4 | ||
|
|
9b90cedcbb | ||
|
|
99cbb7279f | ||
|
|
9c94805a97 | ||
|
|
198969d4d9 | ||
|
|
eaa6b3cb18 | ||
|
|
32dccef2ae | ||
|
|
baae93b317 | ||
|
|
6ff5b2e255 | ||
|
|
65a6e6b64f | ||
|
|
0802c5d8b0 | ||
|
|
31aec3f28f | ||
|
|
f3fbed5766 | ||
|
|
a81d0c4daa | ||
|
|
76821f71df | ||
|
|
4d618db251 | ||
|
|
5def51b35c | ||
|
|
740062e96f | ||
|
|
2d49d2072f | ||
|
|
1794d57757 | ||
|
|
2f7735992b | ||
|
|
c97337aa82 | ||
|
|
406b8fba46 | ||
|
|
2f2b3aa219 | ||
|
|
64d4eb1931 | ||
|
|
bbbd1121ca | ||
|
|
8b8f380da8 | ||
|
|
f801094376 | ||
|
|
9d21a76b23 | ||
|
|
e8a74f4418 | ||
|
|
f4ed9edc5e | ||
|
|
e699b34aee | ||
|
|
4f16d1bd02 | ||
|
|
5bf58dc5b5 | ||
|
|
405237dd06 | ||
|
|
681409a561 | ||
|
|
2cd64902ff | ||
|
|
9c8cdd32a3 | ||
|
|
8af7b49fe1 | ||
|
|
0fd5a21a0b | ||
|
|
8ba9bacd33 | ||
|
|
193b07c609 | ||
|
|
f75ad9a460 | ||
|
|
e941e2f1df | ||
|
|
17908bcee3 | ||
|
|
1ac255eae8 | ||
|
|
7443b8a1e7 | ||
|
|
940ffd3643 | ||
|
|
7da7f672b5 | ||
|
|
fd8db44215 | ||
|
|
d6b85e68de | ||
|
|
4e8da023b8 | ||
|
|
34b35e8f02 | ||
|
|
3387ef3a68 | ||
|
|
b1f19958a7 | ||
|
|
c5062df7f5 | ||
|
|
f9b117f5a6 | ||
|
|
2a6631ce12 | ||
|
|
639137bd27 | ||
|
|
8a601bc5ae | ||
|
|
0a08e77127 | ||
|
|
46971a81db | ||
|
|
5bde791941 | ||
|
|
0793ffd5d4 | ||
|
|
92791badbf | ||
|
|
fbd8bebfed | ||
|
|
15efd0abf3 | ||
|
|
ec2fdb4ecb | ||
|
|
505b8e2062 | ||
|
|
55c2e91e9f | ||
|
|
e70f8f2d10 | ||
|
|
196b891ec3 | ||
|
|
58b398b978 | ||
|
|
13693fecae | ||
|
|
a4f63bc75f | ||
|
|
6dd27ba3df | ||
|
|
cf63bd74d6 | ||
|
|
4b1cbc0461 | ||
|
|
49feb2bedd | ||
|
|
45daf26fac | ||
|
|
a9e22f8d11 | ||
|
|
38d18cec8b | ||
|
|
041b9c9999 | ||
|
|
279ad33425 | ||
|
|
e990580a3e | ||
|
|
6da72af809 | ||
|
|
f0147b77e3 | ||
|
|
85cb326723 | ||
|
|
ade846346f | ||
|
|
5b311d2af3 | ||
|
|
e94b2e56f0 | ||
|
|
bc50286074 | ||
|
|
3903999f4e | ||
|
|
74be983766 | ||
|
|
1b7a4d81d6 | ||
|
|
ee87d18d06 | ||
|
|
479766d633 | ||
|
|
add2bce016 | ||
|
|
f5705434a9 | ||
|
|
3c00b7ee89 | ||
|
|
8708226a83 | ||
|
|
295143d70a | ||
|
|
990c6f8efd | ||
|
|
b409d3d613 | ||
|
|
74112c6fe7 | ||
|
|
b105496b11 | ||
|
|
f946b7f9f6 | ||
|
|
f726b03be7 | ||
|
|
e2c900c27d | ||
|
|
0abdb3fc36 | ||
|
|
1616774ea6 | ||
|
|
1260ae6f47 | ||
|
|
2acf4250c6 | ||
|
|
423e3b65e3 | ||
|
|
8f21fa7c59 | ||
|
|
cf4cda767c | ||
|
|
818bfd3cf1 | ||
|
|
969a4a2631 | ||
|
|
931a98684d | ||
|
|
357519c7f6 | ||
|
|
d28ae22685 | ||
|
|
d5ce9f9cf5 | ||
|
|
a5a458ce5d | ||
|
|
8fa8ae49c7 | ||
|
|
2e5d882484 | ||
|
|
c867781e78 | ||
|
|
ea23aa89b7 | ||
|
|
423fdd2fe5 | ||
|
|
6e6f773341 | ||
|
|
23c225f501 | ||
|
|
3cba22152a | ||
|
|
f1590ff81a | ||
|
|
032ffdc520 | ||
|
|
61acf6ad90 | ||
|
|
9052652131 | ||
|
|
934e283efb | ||
|
|
c9bc61a9df | ||
|
|
e12cedf04a | ||
|
|
843a2c0be7 | ||
|
|
060788e017 | ||
|
|
49a237e426 | ||
|
|
9663b548cf | ||
|
|
c68f639be4 | ||
|
|
3c991c9ca9 | ||
|
|
8fdebda354 | ||
|
|
b176afa994 | ||
|
|
2f2b5d5ffe | ||
|
|
ddc7e6e035 | ||
|
|
f937d7b2e5 | ||
|
|
5ae199177a | ||
|
|
17a893fab4 | ||
|
|
59fadb7eb2 | ||
|
|
efdcf35422 | ||
|
|
4a101f7934 | ||
|
|
0e8ddb7c12 | ||
|
|
830db8c54b | ||
|
|
497a6c2290 | ||
|
|
133087387b | ||
|
|
df2d0d89e1 | ||
|
|
42b2b25562 | ||
|
|
c2e912302d | ||
|
|
70ddae4685 | ||
|
|
b1e826e6d7 | ||
|
|
aca0a3efa8 | ||
|
|
98c36e9bab | ||
|
|
b84d1c59fa | ||
|
|
c2dc12f92b | ||
|
|
efb0804bf2 | ||
|
|
0e778cd17c | ||
|
|
78d79a3d5b | ||
|
|
5a1415f6e3 | ||
|
|
7f24d410fd | ||
|
|
de9c7e0bd2 | ||
|
|
9d2395215f | ||
|
|
757d3d8922 | ||
|
|
a0af363375 | ||
|
|
a76d21c518 | ||
|
|
b04b7f6033 | ||
|
|
a3f2125666 | ||
|
|
2a0fc860e2 | ||
|
|
4dea5b58b8 | ||
|
|
d6ea0cf35d | ||
|
|
f66ec181b6 | ||
|
|
db4cdcbeb0 | ||
|
|
80fbf35ea7 | ||
|
|
5c14e9a77f | ||
|
|
528d90a5e0 | ||
|
|
fb8137a8d3 | ||
|
|
e54c1961cb | ||
|
|
e7b81546c4 | ||
|
|
7f711be94a | ||
|
|
b5e667c1d7 | ||
|
|
2d9dc66719 | ||
|
|
97fa00faef | ||
|
|
630656ce24 | ||
|
|
f3b00eade0 | ||
|
|
02122aa7ea | ||
|
|
67d6a5f9d4 | ||
|
|
a15a171b2d | ||
|
|
9d980b6731 | ||
|
|
d6aeb545bc | ||
|
|
6217773578 | ||
|
|
cb2d0e9b5d | ||
|
|
2ee11b248a | ||
|
|
28e491ccfd | ||
|
|
5fa60dfc8c | ||
|
|
653f3e596c | ||
|
|
9e171f2b3a | ||
|
|
9dfe90ab37 | ||
|
|
5f619b53a5 | ||
|
|
32c8bd10fc | ||
|
|
7855593ebb | ||
|
|
87515e7ea9 | ||
|
|
a3d771af9b | ||
|
|
445d5ca242 | ||
|
|
bb42c9c351 | ||
|
|
5f2a993b52 | ||
|
|
7fd0c7bf01 | ||
|
|
f76139580d | ||
|
|
444bea3a37 | ||
|
|
6a7977923c | ||
|
|
b4903d0fd0 | ||
|
|
838459913d | ||
|
|
d689d06eb7 | ||
|
|
dcb1633973 | ||
|
|
a180b00ed8 | ||
|
|
0ccab36f2f | ||
|
|
cc8cf316cd | ||
|
|
1908e64fa6 | ||
|
|
8f6d6d4d1d | ||
|
|
e5ea19cdfb | ||
|
|
55c7cdde91 | ||
|
|
836913a2a9 | ||
|
|
b34cb31a9a | ||
|
|
8ef1e983c1 | ||
|
|
3845e06de3 | ||
|
|
a349057ec2 | ||
|
|
0cf373bc60 | ||
|
|
1309d87fdb | ||
|
|
a46f82a069 | ||
|
|
b7d2e0b4a6 | ||
|
|
6eacc742a1 | ||
|
|
3c4d33ab51 | ||
|
|
cf6cbae712 | ||
|
|
6dc38f165b | ||
|
|
6393d2204b | ||
|
|
f4138c76d6 | ||
|
|
d7a89ac3dc | ||
|
|
b98f01cab4 | ||
|
|
675ab8f60f | ||
|
|
9fd70bc2bf | ||
|
|
ee91c28732 | ||
|
|
ec9ecb41d2 | ||
|
|
272e447860 | ||
|
|
3af83f0124 | ||
|
|
2f31a44faf | ||
|
|
512b1bb5c5 | ||
|
|
564c05144a | ||
|
|
8aa1d22f90 | ||
|
|
14ebba9911 | ||
|
|
38438abdfb | ||
|
|
e72934f959 | ||
|
|
076ff65f85 | ||
|
|
1fb31c98d9 | ||
|
|
d704ed0f33 | ||
|
|
b0fe238f34 | ||
|
|
17022a6777 | ||
|
|
62a9619911 | ||
|
|
4da74afbab | ||
|
|
5c2b2e4afc | ||
|
|
72d59ded68 | ||
|
|
b5c0b83b02 | ||
|
|
1abc39e9d1 | ||
|
|
65262923e4 | ||
|
|
4830e8821e | ||
|
|
1a9c4d4d9c | ||
|
|
c707baa95b | ||
|
|
5d7d320deb | ||
|
|
96b3defcc9 | ||
|
|
134828d83c | ||
|
|
2f33b44e80 | ||
|
|
90802f9197 | ||
|
|
f5fe7fb428 | ||
|
|
f5057db511 | ||
|
|
897ff18471 | ||
|
|
a15ee90c20 | ||
|
|
11024b7871 | ||
|
|
37fea59cb0 | ||
|
|
05785cf5fd | ||
|
|
15b4e73175 | ||
|
|
e1f296f89d | ||
|
|
8615dbe002 | ||
|
|
8fd81bf1dd | ||
|
|
88f0753937 | ||
|
|
c93100c1b5 | ||
|
|
c5dd7f096e | ||
|
|
e3b1009a94 | ||
|
|
37c044aa31 | ||
|
|
5aead39d0e | ||
|
|
b9a7e15af4 | ||
|
|
60799e2b22 | ||
|
|
d4c20caaed | ||
|
|
f2caf37a92 | ||
|
|
b31d71fa81 | ||
|
|
7ee07b8331 | ||
|
|
cfb09d135f | ||
|
|
c1b1b41108 | ||
|
|
08b2ac884b | ||
|
|
84a2c24970 | ||
|
|
d088239972 | ||
|
|
f014392806 | ||
|
|
9290117d12 | ||
|
|
99236bb124 | ||
|
|
4595bf16e1 | ||
|
|
152b44dbed | ||
|
|
9535455a22 | ||
|
|
2de19aea44 | ||
|
|
23cb861a2f | ||
|
|
2123976cc2 | ||
|
|
7097cf0d88 | ||
|
|
dd1d0e5359 | ||
|
|
3823d5045a | ||
|
|
80e095a3fc | ||
|
|
c12d0267d7 | ||
|
|
d69766bdfd | ||
|
|
7ac1c23a9f | ||
|
|
088c3010cd | ||
|
|
5c7994cbcb | ||
|
|
3fc73ce0c4 | ||
|
|
aa99d784f0 | ||
|
|
f82391b140 | ||
|
|
c920c94335 | ||
|
|
d7f985a33b | ||
|
|
7db054750e | ||
|
|
73412a8d8d | ||
|
|
51f047d6f3 | ||
|
|
2d5bf1dbd8 | ||
|
|
a60cd6a5ae | ||
|
|
59dbc66bfe | ||
|
|
d6292fe40b | ||
|
|
061f62c362 | ||
|
|
a3ccdb3f65 | ||
|
|
565bfada36 | ||
|
|
716769a300 | ||
|
|
c4348c87cb | ||
|
|
d3ce4be157 | ||
|
|
05e5980ef3 | ||
|
|
7cf2b932e7 | ||
|
|
c056e54eae | ||
|
|
04cce0ba30 | ||
|
|
c5b68d7ead | ||
|
|
52e7b30f54 | ||
|
|
98ef8c88e8 | ||
|
|
8f2290c159 | ||
|
|
a264cee31b | ||
|
|
ebdf18def1 | ||
|
|
5a6bd32d63 | ||
|
|
86f01c44a8 | ||
|
|
a69c540c10 | ||
|
|
60ea8efd1a | ||
|
|
20e471c41f | ||
|
|
dbb5d5f56d | ||
|
|
68f2493757 | ||
|
|
ff645a988c | ||
|
|
151822de9a | ||
|
|
793abf30f9 | ||
|
|
c0045d1c32 | ||
|
|
43f0c30248 | ||
|
|
dff2b43722 | ||
|
|
090d6da253 | ||
|
|
bd85a14b02 | ||
|
|
30c9817822 | ||
|
|
8f847b0f5d | ||
|
|
1dcf6cb7f3 | ||
|
|
b5790be0db | ||
|
|
371081045a | ||
|
|
480c9b3700 | ||
|
|
72ca50ab65 | ||
|
|
34747e61fe | ||
|
|
b6697980bc | ||
|
|
e3e5a0ff42 | ||
|
|
3c1c245147 | ||
|
|
8c27cbdc14 | ||
|
|
8ac065c14f | ||
|
|
e68269b045 | ||
|
|
53ac431b11 | ||
|
|
5255330d62 |
@@ -15,6 +15,9 @@ Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负
|
||||
|
||||
如果您在使用的过程中遇到任何问题,欢迎前往[阿里云SDK问答社区](https://yq.aliyun.com/tags/type_ask-tagid_23350)提问,提问前请阅读[提问引导](https://help.aliyun.com/document_detail/93957.html)。亦可在当前 GitHub [提交 Issues](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new)。
|
||||
|
||||
## 使用诊断
|
||||
[Troubleshoot](https://troubleshoot.api.aliyun.com/?source=github_sdk) 提供 OpenAPI 使用诊断服务,通过 `RequestID` 或 `报错信息` ,帮助开发者快速定位,为开发者提供解决方案。
|
||||
|
||||
## 环境要求
|
||||
|
||||
在使用 Alibaba Cloud SDK for C++ 前,确保您已经:
|
||||
|
||||
@@ -17,6 +17,9 @@ This document introduces how to obtain and call this SDK.
|
||||
|
||||
If you have any problem while using Alibaba Cloud SDK for C++, please submit an [issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new).
|
||||
|
||||
## Troubleshoot
|
||||
[Troubleshoot](https://troubleshoot.api.aliyun.com/?source=github_sdk) Provide OpenAPI diagnosis service to help developers locate quickly and provide solutions for developers through `RequestID` or `error message`.
|
||||
|
||||
## Requirements
|
||||
|
||||
- To use this SDK, you must have an Alibaba Cloud account and an AccessKey.
|
||||
|
||||
130
actiontrail/CMakeLists.txt
Normal file
130
actiontrail/CMakeLists.txt
Normal file
@@ -0,0 +1,130 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(actiontrail_public_header
|
||||
include/alibabacloud/actiontrail/ActiontrailClient.h
|
||||
include/alibabacloud/actiontrail/ActiontrailExport.h )
|
||||
|
||||
set(actiontrail_public_header_model
|
||||
include/alibabacloud/actiontrail/model/CreateDeliveryHistoryJobRequest.h
|
||||
include/alibabacloud/actiontrail/model/CreateDeliveryHistoryJobResult.h
|
||||
include/alibabacloud/actiontrail/model/CreateTrailRequest.h
|
||||
include/alibabacloud/actiontrail/model/CreateTrailResult.h
|
||||
include/alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobRequest.h
|
||||
include/alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobResult.h
|
||||
include/alibabacloud/actiontrail/model/DeleteTrailRequest.h
|
||||
include/alibabacloud/actiontrail/model/DeleteTrailResult.h
|
||||
include/alibabacloud/actiontrail/model/DescribeRegionsRequest.h
|
||||
include/alibabacloud/actiontrail/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/actiontrail/model/DescribeTrailsRequest.h
|
||||
include/alibabacloud/actiontrail/model/DescribeTrailsResult.h
|
||||
include/alibabacloud/actiontrail/model/GetTrailStatusRequest.h
|
||||
include/alibabacloud/actiontrail/model/GetTrailStatusResult.h
|
||||
include/alibabacloud/actiontrail/model/ListDeliveryHistoryJobsRequest.h
|
||||
include/alibabacloud/actiontrail/model/ListDeliveryHistoryJobsResult.h
|
||||
include/alibabacloud/actiontrail/model/LookupEventsRequest.h
|
||||
include/alibabacloud/actiontrail/model/LookupEventsResult.h
|
||||
include/alibabacloud/actiontrail/model/StartLoggingRequest.h
|
||||
include/alibabacloud/actiontrail/model/StartLoggingResult.h
|
||||
include/alibabacloud/actiontrail/model/StopLoggingRequest.h
|
||||
include/alibabacloud/actiontrail/model/StopLoggingResult.h
|
||||
include/alibabacloud/actiontrail/model/UpdateTrailRequest.h
|
||||
include/alibabacloud/actiontrail/model/UpdateTrailResult.h )
|
||||
|
||||
set(actiontrail_src
|
||||
src/ActiontrailClient.cc
|
||||
src/model/CreateDeliveryHistoryJobRequest.cc
|
||||
src/model/CreateDeliveryHistoryJobResult.cc
|
||||
src/model/CreateTrailRequest.cc
|
||||
src/model/CreateTrailResult.cc
|
||||
src/model/DeleteDeliveryHistoryJobRequest.cc
|
||||
src/model/DeleteDeliveryHistoryJobResult.cc
|
||||
src/model/DeleteTrailRequest.cc
|
||||
src/model/DeleteTrailResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DescribeTrailsRequest.cc
|
||||
src/model/DescribeTrailsResult.cc
|
||||
src/model/GetTrailStatusRequest.cc
|
||||
src/model/GetTrailStatusResult.cc
|
||||
src/model/ListDeliveryHistoryJobsRequest.cc
|
||||
src/model/ListDeliveryHistoryJobsResult.cc
|
||||
src/model/LookupEventsRequest.cc
|
||||
src/model/LookupEventsResult.cc
|
||||
src/model/StartLoggingRequest.cc
|
||||
src/model/StartLoggingResult.cc
|
||||
src/model/StopLoggingRequest.cc
|
||||
src/model/StopLoggingResult.cc
|
||||
src/model/UpdateTrailRequest.cc
|
||||
src/model/UpdateTrailResult.cc )
|
||||
|
||||
add_library(actiontrail ${LIB_TYPE}
|
||||
${actiontrail_public_header}
|
||||
${actiontrail_public_header_model}
|
||||
${actiontrail_src})
|
||||
|
||||
set_target_properties(actiontrail
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}actiontrail
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(actiontrail
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_ACTIONTRAIL_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(actiontrail
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(actiontrail
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(actiontrail
|
||||
jsoncpp)
|
||||
target_include_directories(actiontrail
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(actiontrail
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(actiontrail
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(actiontrail
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(actiontrail
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${actiontrail_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/actiontrail)
|
||||
install(FILES ${actiontrail_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/actiontrail/model)
|
||||
install(TARGETS actiontrail
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
142
actiontrail/include/alibabacloud/actiontrail/ActiontrailClient.h
Normal file
142
actiontrail/include/alibabacloud/actiontrail/ActiontrailClient.h
Normal file
@@ -0,0 +1,142 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_ACTIONTRAILCLIENT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_ACTIONTRAILCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "ActiontrailExport.h"
|
||||
#include "model/CreateDeliveryHistoryJobRequest.h"
|
||||
#include "model/CreateDeliveryHistoryJobResult.h"
|
||||
#include "model/CreateTrailRequest.h"
|
||||
#include "model/CreateTrailResult.h"
|
||||
#include "model/DeleteDeliveryHistoryJobRequest.h"
|
||||
#include "model/DeleteDeliveryHistoryJobResult.h"
|
||||
#include "model/DeleteTrailRequest.h"
|
||||
#include "model/DeleteTrailResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeTrailsRequest.h"
|
||||
#include "model/DescribeTrailsResult.h"
|
||||
#include "model/GetTrailStatusRequest.h"
|
||||
#include "model/GetTrailStatusResult.h"
|
||||
#include "model/ListDeliveryHistoryJobsRequest.h"
|
||||
#include "model/ListDeliveryHistoryJobsResult.h"
|
||||
#include "model/LookupEventsRequest.h"
|
||||
#include "model/LookupEventsResult.h"
|
||||
#include "model/StartLoggingRequest.h"
|
||||
#include "model/StartLoggingResult.h"
|
||||
#include "model/StopLoggingRequest.h"
|
||||
#include "model/StopLoggingResult.h"
|
||||
#include "model/UpdateTrailRequest.h"
|
||||
#include "model/UpdateTrailResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ActiontrailClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreateDeliveryHistoryJobResult> CreateDeliveryHistoryJobOutcome;
|
||||
typedef std::future<CreateDeliveryHistoryJobOutcome> CreateDeliveryHistoryJobOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::CreateDeliveryHistoryJobRequest&, const CreateDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeliveryHistoryJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTrailResult> CreateTrailOutcome;
|
||||
typedef std::future<CreateTrailOutcome> CreateTrailOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::CreateTrailRequest&, const CreateTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDeliveryHistoryJobResult> DeleteDeliveryHistoryJobOutcome;
|
||||
typedef std::future<DeleteDeliveryHistoryJobOutcome> DeleteDeliveryHistoryJobOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::DeleteDeliveryHistoryJobRequest&, const DeleteDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeliveryHistoryJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTrailResult> DeleteTrailOutcome;
|
||||
typedef std::future<DeleteTrailOutcome> DeleteTrailOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::DeleteTrailRequest&, const DeleteTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTrailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTrailsResult> DescribeTrailsOutcome;
|
||||
typedef std::future<DescribeTrailsOutcome> DescribeTrailsOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::DescribeTrailsRequest&, const DescribeTrailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTrailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTrailStatusResult> GetTrailStatusOutcome;
|
||||
typedef std::future<GetTrailStatusOutcome> GetTrailStatusOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::GetTrailStatusRequest&, const GetTrailStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTrailStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDeliveryHistoryJobsResult> ListDeliveryHistoryJobsOutcome;
|
||||
typedef std::future<ListDeliveryHistoryJobsOutcome> ListDeliveryHistoryJobsOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::ListDeliveryHistoryJobsRequest&, const ListDeliveryHistoryJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeliveryHistoryJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::LookupEventsResult> LookupEventsOutcome;
|
||||
typedef std::future<LookupEventsOutcome> LookupEventsOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::LookupEventsRequest&, const LookupEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LookupEventsAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartLoggingResult> StartLoggingOutcome;
|
||||
typedef std::future<StartLoggingOutcome> StartLoggingOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::StartLoggingRequest&, const StartLoggingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLoggingAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopLoggingResult> StopLoggingOutcome;
|
||||
typedef std::future<StopLoggingOutcome> StopLoggingOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::StopLoggingRequest&, const StopLoggingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopLoggingAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateTrailResult> UpdateTrailOutcome;
|
||||
typedef std::future<UpdateTrailOutcome> UpdateTrailOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::UpdateTrailRequest&, const UpdateTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTrailAsyncHandler;
|
||||
|
||||
ActiontrailClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
ActiontrailClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
ActiontrailClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~ActiontrailClient();
|
||||
CreateDeliveryHistoryJobOutcome createDeliveryHistoryJob(const Model::CreateDeliveryHistoryJobRequest &request)const;
|
||||
void createDeliveryHistoryJobAsync(const Model::CreateDeliveryHistoryJobRequest& request, const CreateDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDeliveryHistoryJobOutcomeCallable createDeliveryHistoryJobCallable(const Model::CreateDeliveryHistoryJobRequest& request) const;
|
||||
CreateTrailOutcome createTrail(const Model::CreateTrailRequest &request)const;
|
||||
void createTrailAsync(const Model::CreateTrailRequest& request, const CreateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTrailOutcomeCallable createTrailCallable(const Model::CreateTrailRequest& request) const;
|
||||
DeleteDeliveryHistoryJobOutcome deleteDeliveryHistoryJob(const Model::DeleteDeliveryHistoryJobRequest &request)const;
|
||||
void deleteDeliveryHistoryJobAsync(const Model::DeleteDeliveryHistoryJobRequest& request, const DeleteDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDeliveryHistoryJobOutcomeCallable deleteDeliveryHistoryJobCallable(const Model::DeleteDeliveryHistoryJobRequest& request) const;
|
||||
DeleteTrailOutcome deleteTrail(const Model::DeleteTrailRequest &request)const;
|
||||
void deleteTrailAsync(const Model::DeleteTrailRequest& request, const DeleteTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTrailOutcomeCallable deleteTrailCallable(const Model::DeleteTrailRequest& request) const;
|
||||
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
|
||||
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
|
||||
DescribeTrailsOutcome describeTrails(const Model::DescribeTrailsRequest &request)const;
|
||||
void describeTrailsAsync(const Model::DescribeTrailsRequest& request, const DescribeTrailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTrailsOutcomeCallable describeTrailsCallable(const Model::DescribeTrailsRequest& request) const;
|
||||
GetTrailStatusOutcome getTrailStatus(const Model::GetTrailStatusRequest &request)const;
|
||||
void getTrailStatusAsync(const Model::GetTrailStatusRequest& request, const GetTrailStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTrailStatusOutcomeCallable getTrailStatusCallable(const Model::GetTrailStatusRequest& request) const;
|
||||
ListDeliveryHistoryJobsOutcome listDeliveryHistoryJobs(const Model::ListDeliveryHistoryJobsRequest &request)const;
|
||||
void listDeliveryHistoryJobsAsync(const Model::ListDeliveryHistoryJobsRequest& request, const ListDeliveryHistoryJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDeliveryHistoryJobsOutcomeCallable listDeliveryHistoryJobsCallable(const Model::ListDeliveryHistoryJobsRequest& request) const;
|
||||
LookupEventsOutcome lookupEvents(const Model::LookupEventsRequest &request)const;
|
||||
void lookupEventsAsync(const Model::LookupEventsRequest& request, const LookupEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LookupEventsOutcomeCallable lookupEventsCallable(const Model::LookupEventsRequest& request) const;
|
||||
StartLoggingOutcome startLogging(const Model::StartLoggingRequest &request)const;
|
||||
void startLoggingAsync(const Model::StartLoggingRequest& request, const StartLoggingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartLoggingOutcomeCallable startLoggingCallable(const Model::StartLoggingRequest& request) const;
|
||||
StopLoggingOutcome stopLogging(const Model::StopLoggingRequest &request)const;
|
||||
void stopLoggingAsync(const Model::StopLoggingRequest& request, const StopLoggingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopLoggingOutcomeCallable stopLoggingCallable(const Model::StopLoggingRequest& request) const;
|
||||
UpdateTrailOutcome updateTrail(const Model::UpdateTrailRequest &request)const;
|
||||
void updateTrailAsync(const Model::UpdateTrailRequest& request, const UpdateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateTrailOutcomeCallable updateTrailCallable(const Model::UpdateTrailRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_ACTIONTRAILCLIENT_H_
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_ACTIONTRAILEXPORT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_ACTIONTRAILEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_ACTIONTRAIL_LIBRARY)
|
||||
# define ALIBABACLOUD_ACTIONTRAIL_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_ACTIONTRAIL_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_ACTIONTRAIL_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_ACTIONTRAILEXPORT_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_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateDeliveryHistoryJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDeliveryHistoryJobRequest();
|
||||
~CreateDeliveryHistoryJobRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrailName()const;
|
||||
void setTrailName(const std::string& trailName);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string trailName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateDeliveryHistoryJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDeliveryHistoryJobResult();
|
||||
explicit CreateDeliveryHistoryJobResult(const std::string &payload);
|
||||
~CreateDeliveryHistoryJobResult();
|
||||
int getJobId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int jobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBRESULT_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateTrailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTrailRequest();
|
||||
~CreateTrailRequest();
|
||||
|
||||
std::string getSlsProjectArn()const;
|
||||
void setSlsProjectArn(const std::string& slsProjectArn);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
void setSlsWriteRoleArn(const std::string& slsWriteRoleArn);
|
||||
bool getIsOrganizationTrail()const;
|
||||
void setIsOrganizationTrail(bool isOrganizationTrail);
|
||||
std::string getOssKeyPrefix()const;
|
||||
void setOssKeyPrefix(const std::string& ossKeyPrefix);
|
||||
std::string getMnsTopicArn()const;
|
||||
void setMnsTopicArn(const std::string& mnsTopicArn);
|
||||
std::string getRoleName()const;
|
||||
void setRoleName(const std::string& roleName);
|
||||
std::string getEventRW()const;
|
||||
void setEventRW(const std::string& eventRW);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getOssBucketName()const;
|
||||
void setOssBucketName(const std::string& ossBucketName);
|
||||
std::string getTrailRegion()const;
|
||||
void setTrailRegion(const std::string& trailRegion);
|
||||
|
||||
private:
|
||||
std::string slsProjectArn_;
|
||||
std::string accessKeyId_;
|
||||
std::string slsWriteRoleArn_;
|
||||
bool isOrganizationTrail_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string mnsTopicArn_;
|
||||
std::string roleName_;
|
||||
std::string eventRW_;
|
||||
std::string name_;
|
||||
std::string ossBucketName_;
|
||||
std::string trailRegion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILREQUEST_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_ACTIONTRAIL_MODEL_CREATETRAILRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateTrailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateTrailResult();
|
||||
explicit CreateTrailResult(const std::string &payload);
|
||||
~CreateTrailResult();
|
||||
std::string getSlsProjectArn()const;
|
||||
std::string getMnsTopicArn()const;
|
||||
std::string getRoleName()const;
|
||||
std::string getEventRW()const;
|
||||
std::string getHomeRegion()const;
|
||||
std::string getOssKeyPrefix()const;
|
||||
std::string getOssBucketName()const;
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
std::string getTrailRegion()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string slsProjectArn_;
|
||||
std::string mnsTopicArn_;
|
||||
std::string roleName_;
|
||||
std::string eventRW_;
|
||||
std::string homeRegion_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string ossBucketName_;
|
||||
std::string slsWriteRoleArn_;
|
||||
std::string trailRegion_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILRESULT_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_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DeleteDeliveryHistoryJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDeliveryHistoryJobRequest();
|
||||
~DeleteDeliveryHistoryJobRequest();
|
||||
|
||||
int getJobId()const;
|
||||
void setJobId(int jobId);
|
||||
|
||||
private:
|
||||
int jobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DeleteDeliveryHistoryJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDeliveryHistoryJobResult();
|
||||
explicit DeleteDeliveryHistoryJobResult(const std::string &payload);
|
||||
~DeleteDeliveryHistoryJobResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETETRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETETRAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DeleteTrailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTrailRequest();
|
||||
~DeleteTrailRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETETRAILREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETETRAILRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETETRAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DeleteTrailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTrailResult();
|
||||
explicit DeleteTrailResult(const std::string &payload);
|
||||
~DeleteTrailResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETETRAILRESULT_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_ACTIONTRAIL_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeRegionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBEREGIONSRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBEREGIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeRegionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Regions
|
||||
{
|
||||
struct RegionItem
|
||||
{
|
||||
std::string regionId;
|
||||
};
|
||||
std::vector<RegionItem> region;
|
||||
};
|
||||
|
||||
|
||||
DescribeRegionsResult();
|
||||
explicit DescribeRegionsResult(const std::string &payload);
|
||||
~DescribeRegionsResult();
|
||||
Regions getRegions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Regions regions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBEREGIONSRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeTrailsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTrailsRequest();
|
||||
~DescribeTrailsRequest();
|
||||
|
||||
bool getIncludeShadowTrails()const;
|
||||
void setIncludeShadowTrails(bool includeShadowTrails);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getNameList()const;
|
||||
void setNameList(const std::string& nameList);
|
||||
|
||||
private:
|
||||
bool includeShadowTrails_;
|
||||
std::string accessKeyId_;
|
||||
std::string nameList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeTrailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrailListItem
|
||||
{
|
||||
std::string status;
|
||||
std::string mnsTopicArn;
|
||||
std::string homeRegion;
|
||||
std::string createTime;
|
||||
std::string startLoggingTime;
|
||||
std::string stopLoggingTime;
|
||||
std::string slsWriteRoleArn;
|
||||
std::string trailRegion;
|
||||
std::string name;
|
||||
bool isOrganizationTrail;
|
||||
std::string slsProjectArn;
|
||||
std::string roleName;
|
||||
std::string eventRW;
|
||||
std::string ossKeyPrefix;
|
||||
std::string updateTime;
|
||||
std::string ossBucketName;
|
||||
};
|
||||
|
||||
|
||||
DescribeTrailsResult();
|
||||
explicit DescribeTrailsResult(const std::string &payload);
|
||||
~DescribeTrailsResult();
|
||||
std::vector<TrailListItem> getTrailList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<TrailListItem> trailList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetTrailStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTrailStatusRequest();
|
||||
~GetTrailStatusRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
bool getIsOrganizationTrail()const;
|
||||
void setIsOrganizationTrail(bool isOrganizationTrail);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string name_;
|
||||
bool isOrganizationTrail_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetTrailStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetTrailStatusResult();
|
||||
explicit GetTrailStatusResult(const std::string &payload);
|
||||
~GetTrailStatusResult();
|
||||
std::string getStartLoggingTime()const;
|
||||
std::string getLatestDeliveryError()const;
|
||||
std::string getStopLoggingTime()const;
|
||||
bool getIsLogging()const;
|
||||
std::string getLatestDeliveryTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string startLoggingTime_;
|
||||
std::string latestDeliveryError_;
|
||||
std::string stopLoggingTime_;
|
||||
bool isLogging_;
|
||||
std::string latestDeliveryTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSRESULT_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_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ListDeliveryHistoryJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDeliveryHistoryJobsRequest();
|
||||
~ListDeliveryHistoryJobsRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ListDeliveryHistoryJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DeliveryHistoryJob
|
||||
{
|
||||
int jobStatus;
|
||||
std::string createdTime;
|
||||
std::string endTime;
|
||||
std::string homeRegion;
|
||||
std::string startTime;
|
||||
std::string trailName;
|
||||
std::string updatedTime;
|
||||
long jobId;
|
||||
};
|
||||
|
||||
|
||||
ListDeliveryHistoryJobsResult();
|
||||
explicit ListDeliveryHistoryJobsResult(const std::string &payload);
|
||||
~ListDeliveryHistoryJobsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<DeliveryHistoryJob> getDeliveryHistoryJobs()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<DeliveryHistoryJob> deliveryHistoryJobs_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSRESULT_H_
|
||||
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT LookupEventsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
LookupEventsRequest();
|
||||
~LookupEventsRequest();
|
||||
|
||||
std::string getRequest()const;
|
||||
void setRequest(const std::string& request);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getEventName()const;
|
||||
void setEventName(const std::string& eventName);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
std::string getEvent()const;
|
||||
void setEvent(const std::string& event);
|
||||
std::string getEventAccessKeyId()const;
|
||||
void setEventAccessKeyId(const std::string& eventAccessKeyId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getEventRW()const;
|
||||
void setEventRW(const std::string& eventRW);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getMaxResults()const;
|
||||
void setMaxResults(const std::string& maxResults);
|
||||
std::string getEventType()const;
|
||||
void setEventType(const std::string& eventType);
|
||||
std::string getResourceName()const;
|
||||
void setResourceName(const std::string& resourceName);
|
||||
std::string getUser()const;
|
||||
void setUser(const std::string& user);
|
||||
|
||||
private:
|
||||
std::string request_;
|
||||
std::string startTime_;
|
||||
std::string eventName_;
|
||||
std::string accessKeyId_;
|
||||
std::string nextToken_;
|
||||
std::string serviceName_;
|
||||
std::string event_;
|
||||
std::string eventAccessKeyId_;
|
||||
std::string endTime_;
|
||||
std::string eventRW_;
|
||||
std::string resourceType_;
|
||||
std::string maxResults_;
|
||||
std::string eventType_;
|
||||
std::string resourceName_;
|
||||
std::string user_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSREQUEST_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_ACTIONTRAIL_MODEL_LOOKUPEVENTSRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT LookupEventsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
LookupEventsResult();
|
||||
explicit LookupEventsResult(const std::string &payload);
|
||||
~LookupEventsResult();
|
||||
std::string getNextToken()const;
|
||||
std::string getEndTime()const;
|
||||
std::vector<std::string> getEvents()const;
|
||||
std::string getStartTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::string endTime_;
|
||||
std::vector<std::string> events_;
|
||||
std::string startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSRESULT_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_ACTIONTRAIL_MODEL_STARTLOGGINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_STARTLOGGINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT StartLoggingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartLoggingRequest();
|
||||
~StartLoggingRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_STARTLOGGINGREQUEST_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_ACTIONTRAIL_MODEL_STARTLOGGINGRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_STARTLOGGINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT StartLoggingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartLoggingResult();
|
||||
explicit StartLoggingResult(const std::string &payload);
|
||||
~StartLoggingResult();
|
||||
std::string getParam()const;
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string param_;
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_STARTLOGGINGRESULT_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_ACTIONTRAIL_MODEL_STOPLOGGINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_STOPLOGGINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT StopLoggingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopLoggingRequest();
|
||||
~StopLoggingRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_STOPLOGGINGREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_STOPLOGGINGRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_STOPLOGGINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT StopLoggingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StopLoggingResult();
|
||||
explicit StopLoggingResult(const std::string &payload);
|
||||
~StopLoggingResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_STOPLOGGINGRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT UpdateTrailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateTrailRequest();
|
||||
~UpdateTrailRequest();
|
||||
|
||||
std::string getSlsProjectArn()const;
|
||||
void setSlsProjectArn(const std::string& slsProjectArn);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
void setSlsWriteRoleArn(const std::string& slsWriteRoleArn);
|
||||
std::string getOssKeyPrefix()const;
|
||||
void setOssKeyPrefix(const std::string& ossKeyPrefix);
|
||||
std::string getMnsTopicArn()const;
|
||||
void setMnsTopicArn(const std::string& mnsTopicArn);
|
||||
std::string getRoleName()const;
|
||||
void setRoleName(const std::string& roleName);
|
||||
std::string getEventRW()const;
|
||||
void setEventRW(const std::string& eventRW);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getOssBucketName()const;
|
||||
void setOssBucketName(const std::string& ossBucketName);
|
||||
std::string getTrailRegion()const;
|
||||
void setTrailRegion(const std::string& trailRegion);
|
||||
|
||||
private:
|
||||
std::string slsProjectArn_;
|
||||
std::string accessKeyId_;
|
||||
std::string slsWriteRoleArn_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string mnsTopicArn_;
|
||||
std::string roleName_;
|
||||
std::string eventRW_;
|
||||
std::string name_;
|
||||
std::string ossBucketName_;
|
||||
std::string trailRegion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILREQUEST_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_ACTIONTRAIL_MODEL_UPDATETRAILRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT UpdateTrailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateTrailResult();
|
||||
explicit UpdateTrailResult(const std::string &payload);
|
||||
~UpdateTrailResult();
|
||||
std::string getSlsProjectArn()const;
|
||||
std::string getMnsTopicArn()const;
|
||||
std::string getRoleName()const;
|
||||
std::string getEventRW()const;
|
||||
std::string getHomeRegion()const;
|
||||
std::string getOssKeyPrefix()const;
|
||||
std::string getOssBucketName()const;
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
std::string getTrailRegion()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string slsProjectArn_;
|
||||
std::string mnsTopicArn_;
|
||||
std::string roleName_;
|
||||
std::string eventRW_;
|
||||
std::string homeRegion_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string ossBucketName_;
|
||||
std::string slsWriteRoleArn_;
|
||||
std::string trailRegion_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILRESULT_H_
|
||||
485
actiontrail/src/ActiontrailClient.cc
Normal file
485
actiontrail/src/ActiontrailClient.cc
Normal file
@@ -0,0 +1,485 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "Actiontrail";
|
||||
}
|
||||
|
||||
ActiontrailClient::ActiontrailClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "actiontrail");
|
||||
}
|
||||
|
||||
ActiontrailClient::ActiontrailClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "actiontrail");
|
||||
}
|
||||
|
||||
ActiontrailClient::ActiontrailClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "actiontrail");
|
||||
}
|
||||
|
||||
ActiontrailClient::~ActiontrailClient()
|
||||
{}
|
||||
|
||||
ActiontrailClient::CreateDeliveryHistoryJobOutcome ActiontrailClient::createDeliveryHistoryJob(const CreateDeliveryHistoryJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateDeliveryHistoryJobOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateDeliveryHistoryJobOutcome(CreateDeliveryHistoryJobResult(outcome.result()));
|
||||
else
|
||||
return CreateDeliveryHistoryJobOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::createDeliveryHistoryJobAsync(const CreateDeliveryHistoryJobRequest& request, const CreateDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createDeliveryHistoryJob(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::CreateDeliveryHistoryJobOutcomeCallable ActiontrailClient::createDeliveryHistoryJobCallable(const CreateDeliveryHistoryJobRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateDeliveryHistoryJobOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createDeliveryHistoryJob(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::CreateTrailOutcome ActiontrailClient::createTrail(const CreateTrailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateTrailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateTrailOutcome(CreateTrailResult(outcome.result()));
|
||||
else
|
||||
return CreateTrailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::createTrailAsync(const CreateTrailRequest& request, const CreateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createTrail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::CreateTrailOutcomeCallable ActiontrailClient::createTrailCallable(const CreateTrailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateTrailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createTrail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::DeleteDeliveryHistoryJobOutcome ActiontrailClient::deleteDeliveryHistoryJob(const DeleteDeliveryHistoryJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteDeliveryHistoryJobOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteDeliveryHistoryJobOutcome(DeleteDeliveryHistoryJobResult(outcome.result()));
|
||||
else
|
||||
return DeleteDeliveryHistoryJobOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::deleteDeliveryHistoryJobAsync(const DeleteDeliveryHistoryJobRequest& request, const DeleteDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteDeliveryHistoryJob(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::DeleteDeliveryHistoryJobOutcomeCallable ActiontrailClient::deleteDeliveryHistoryJobCallable(const DeleteDeliveryHistoryJobRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteDeliveryHistoryJobOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteDeliveryHistoryJob(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::DeleteTrailOutcome ActiontrailClient::deleteTrail(const DeleteTrailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteTrailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteTrailOutcome(DeleteTrailResult(outcome.result()));
|
||||
else
|
||||
return DeleteTrailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::deleteTrailAsync(const DeleteTrailRequest& request, const DeleteTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteTrail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::DeleteTrailOutcomeCallable ActiontrailClient::deleteTrailCallable(const DeleteTrailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteTrailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteTrail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::DescribeRegionsOutcome ActiontrailClient::describeRegions(const DescribeRegionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRegionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRegionsOutcome(DescribeRegionsResult(outcome.result()));
|
||||
else
|
||||
return DescribeRegionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::describeRegionsAsync(const DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRegions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::DescribeRegionsOutcomeCallable ActiontrailClient::describeRegionsCallable(const DescribeRegionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRegionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRegions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::DescribeTrailsOutcome ActiontrailClient::describeTrails(const DescribeTrailsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeTrailsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeTrailsOutcome(DescribeTrailsResult(outcome.result()));
|
||||
else
|
||||
return DescribeTrailsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::describeTrailsAsync(const DescribeTrailsRequest& request, const DescribeTrailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeTrails(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::DescribeTrailsOutcomeCallable ActiontrailClient::describeTrailsCallable(const DescribeTrailsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeTrailsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeTrails(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::GetTrailStatusOutcome ActiontrailClient::getTrailStatus(const GetTrailStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTrailStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTrailStatusOutcome(GetTrailStatusResult(outcome.result()));
|
||||
else
|
||||
return GetTrailStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::getTrailStatusAsync(const GetTrailStatusRequest& request, const GetTrailStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTrailStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::GetTrailStatusOutcomeCallable ActiontrailClient::getTrailStatusCallable(const GetTrailStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTrailStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTrailStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::ListDeliveryHistoryJobsOutcome ActiontrailClient::listDeliveryHistoryJobs(const ListDeliveryHistoryJobsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListDeliveryHistoryJobsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListDeliveryHistoryJobsOutcome(ListDeliveryHistoryJobsResult(outcome.result()));
|
||||
else
|
||||
return ListDeliveryHistoryJobsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::listDeliveryHistoryJobsAsync(const ListDeliveryHistoryJobsRequest& request, const ListDeliveryHistoryJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listDeliveryHistoryJobs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::ListDeliveryHistoryJobsOutcomeCallable ActiontrailClient::listDeliveryHistoryJobsCallable(const ListDeliveryHistoryJobsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListDeliveryHistoryJobsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listDeliveryHistoryJobs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::LookupEventsOutcome ActiontrailClient::lookupEvents(const LookupEventsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return LookupEventsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return LookupEventsOutcome(LookupEventsResult(outcome.result()));
|
||||
else
|
||||
return LookupEventsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::lookupEventsAsync(const LookupEventsRequest& request, const LookupEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, lookupEvents(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::LookupEventsOutcomeCallable ActiontrailClient::lookupEventsCallable(const LookupEventsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<LookupEventsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->lookupEvents(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::StartLoggingOutcome ActiontrailClient::startLogging(const StartLoggingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StartLoggingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StartLoggingOutcome(StartLoggingResult(outcome.result()));
|
||||
else
|
||||
return StartLoggingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::startLoggingAsync(const StartLoggingRequest& request, const StartLoggingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, startLogging(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::StartLoggingOutcomeCallable ActiontrailClient::startLoggingCallable(const StartLoggingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StartLoggingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->startLogging(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::StopLoggingOutcome ActiontrailClient::stopLogging(const StopLoggingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopLoggingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopLoggingOutcome(StopLoggingResult(outcome.result()));
|
||||
else
|
||||
return StopLoggingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::stopLoggingAsync(const StopLoggingRequest& request, const StopLoggingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopLogging(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::StopLoggingOutcomeCallable ActiontrailClient::stopLoggingCallable(const StopLoggingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopLoggingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopLogging(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::UpdateTrailOutcome ActiontrailClient::updateTrail(const UpdateTrailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateTrailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateTrailOutcome(UpdateTrailResult(outcome.result()));
|
||||
else
|
||||
return UpdateTrailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::updateTrailAsync(const UpdateTrailRequest& request, const UpdateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateTrail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::UpdateTrailOutcomeCallable ActiontrailClient::updateTrailCallable(const UpdateTrailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateTrailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateTrail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
51
actiontrail/src/model/CreateDeliveryHistoryJobRequest.cc
Normal file
51
actiontrail/src/model/CreateDeliveryHistoryJobRequest.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/actiontrail/model/CreateDeliveryHistoryJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::CreateDeliveryHistoryJobRequest;
|
||||
|
||||
CreateDeliveryHistoryJobRequest::CreateDeliveryHistoryJobRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "CreateDeliveryHistoryJob")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDeliveryHistoryJobRequest::~CreateDeliveryHistoryJobRequest()
|
||||
{}
|
||||
|
||||
std::string CreateDeliveryHistoryJobRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateDeliveryHistoryJobRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateDeliveryHistoryJobRequest::getTrailName()const
|
||||
{
|
||||
return trailName_;
|
||||
}
|
||||
|
||||
void CreateDeliveryHistoryJobRequest::setTrailName(const std::string& trailName)
|
||||
{
|
||||
trailName_ = trailName;
|
||||
setParameter("TrailName", trailName);
|
||||
}
|
||||
|
||||
51
actiontrail/src/model/CreateDeliveryHistoryJobResult.cc
Normal file
51
actiontrail/src/model/CreateDeliveryHistoryJobResult.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/actiontrail/model/CreateDeliveryHistoryJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
CreateDeliveryHistoryJobResult::CreateDeliveryHistoryJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDeliveryHistoryJobResult::CreateDeliveryHistoryJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDeliveryHistoryJobResult::~CreateDeliveryHistoryJobResult()
|
||||
{}
|
||||
|
||||
void CreateDeliveryHistoryJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["JobId"].isNull())
|
||||
jobId_ = std::stoi(value["JobId"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateDeliveryHistoryJobResult::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
150
actiontrail/src/model/CreateTrailRequest.cc
Normal file
150
actiontrail/src/model/CreateTrailRequest.cc
Normal file
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/CreateTrailRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::CreateTrailRequest;
|
||||
|
||||
CreateTrailRequest::CreateTrailRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "CreateTrail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateTrailRequest::~CreateTrailRequest()
|
||||
{}
|
||||
|
||||
std::string CreateTrailRequest::getSlsProjectArn()const
|
||||
{
|
||||
return slsProjectArn_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setSlsProjectArn(const std::string& slsProjectArn)
|
||||
{
|
||||
slsProjectArn_ = slsProjectArn;
|
||||
setParameter("SlsProjectArn", slsProjectArn);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getSlsWriteRoleArn()const
|
||||
{
|
||||
return slsWriteRoleArn_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setSlsWriteRoleArn(const std::string& slsWriteRoleArn)
|
||||
{
|
||||
slsWriteRoleArn_ = slsWriteRoleArn;
|
||||
setParameter("SlsWriteRoleArn", slsWriteRoleArn);
|
||||
}
|
||||
|
||||
bool CreateTrailRequest::getIsOrganizationTrail()const
|
||||
{
|
||||
return isOrganizationTrail_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setIsOrganizationTrail(bool isOrganizationTrail)
|
||||
{
|
||||
isOrganizationTrail_ = isOrganizationTrail;
|
||||
setParameter("IsOrganizationTrail", isOrganizationTrail ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getOssKeyPrefix()const
|
||||
{
|
||||
return ossKeyPrefix_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setOssKeyPrefix(const std::string& ossKeyPrefix)
|
||||
{
|
||||
ossKeyPrefix_ = ossKeyPrefix;
|
||||
setParameter("OssKeyPrefix", ossKeyPrefix);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getMnsTopicArn()const
|
||||
{
|
||||
return mnsTopicArn_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setMnsTopicArn(const std::string& mnsTopicArn)
|
||||
{
|
||||
mnsTopicArn_ = mnsTopicArn;
|
||||
setParameter("MnsTopicArn", mnsTopicArn);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getRoleName()const
|
||||
{
|
||||
return roleName_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setRoleName(const std::string& roleName)
|
||||
{
|
||||
roleName_ = roleName;
|
||||
setParameter("RoleName", roleName);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getEventRW()const
|
||||
{
|
||||
return eventRW_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setEventRW(const std::string& eventRW)
|
||||
{
|
||||
eventRW_ = eventRW;
|
||||
setParameter("EventRW", eventRW);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getOssBucketName()const
|
||||
{
|
||||
return ossBucketName_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setOssBucketName(const std::string& ossBucketName)
|
||||
{
|
||||
ossBucketName_ = ossBucketName;
|
||||
setParameter("OssBucketName", ossBucketName);
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getTrailRegion()const
|
||||
{
|
||||
return trailRegion_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setTrailRegion(const std::string& trailRegion)
|
||||
{
|
||||
trailRegion_ = trailRegion;
|
||||
setParameter("TrailRegion", trailRegion);
|
||||
}
|
||||
|
||||
114
actiontrail/src/model/CreateTrailResult.cc
Normal file
114
actiontrail/src/model/CreateTrailResult.cc
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/CreateTrailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
CreateTrailResult::CreateTrailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTrailResult::CreateTrailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTrailResult::~CreateTrailResult()
|
||||
{}
|
||||
|
||||
void CreateTrailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["HomeRegion"].isNull())
|
||||
homeRegion_ = value["HomeRegion"].asString();
|
||||
if(!value["OssBucketName"].isNull())
|
||||
ossBucketName_ = value["OssBucketName"].asString();
|
||||
if(!value["OssKeyPrefix"].isNull())
|
||||
ossKeyPrefix_ = value["OssKeyPrefix"].asString();
|
||||
if(!value["RoleName"].isNull())
|
||||
roleName_ = value["RoleName"].asString();
|
||||
if(!value["SlsProjectArn"].isNull())
|
||||
slsProjectArn_ = value["SlsProjectArn"].asString();
|
||||
if(!value["SlsWriteRoleArn"].isNull())
|
||||
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
|
||||
if(!value["EventRW"].isNull())
|
||||
eventRW_ = value["EventRW"].asString();
|
||||
if(!value["TrailRegion"].isNull())
|
||||
trailRegion_ = value["TrailRegion"].asString();
|
||||
if(!value["MnsTopicArn"].isNull())
|
||||
mnsTopicArn_ = value["MnsTopicArn"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getSlsProjectArn()const
|
||||
{
|
||||
return slsProjectArn_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getMnsTopicArn()const
|
||||
{
|
||||
return mnsTopicArn_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getRoleName()const
|
||||
{
|
||||
return roleName_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getEventRW()const
|
||||
{
|
||||
return eventRW_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getHomeRegion()const
|
||||
{
|
||||
return homeRegion_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getOssKeyPrefix()const
|
||||
{
|
||||
return ossKeyPrefix_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getOssBucketName()const
|
||||
{
|
||||
return ossBucketName_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getSlsWriteRoleArn()const
|
||||
{
|
||||
return slsWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getTrailRegion()const
|
||||
{
|
||||
return trailRegion_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
40
actiontrail/src/model/DeleteDeliveryHistoryJobRequest.cc
Normal file
40
actiontrail/src/model/DeleteDeliveryHistoryJobRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::DeleteDeliveryHistoryJobRequest;
|
||||
|
||||
DeleteDeliveryHistoryJobRequest::DeleteDeliveryHistoryJobRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "DeleteDeliveryHistoryJob")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDeliveryHistoryJobRequest::~DeleteDeliveryHistoryJobRequest()
|
||||
{}
|
||||
|
||||
int DeleteDeliveryHistoryJobRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void DeleteDeliveryHistoryJobRequest::setJobId(int jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setParameter("JobId", std::to_string(jobId));
|
||||
}
|
||||
|
||||
44
actiontrail/src/model/DeleteDeliveryHistoryJobResult.cc
Normal file
44
actiontrail/src/model/DeleteDeliveryHistoryJobResult.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/actiontrail/model/DeleteDeliveryHistoryJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
DeleteDeliveryHistoryJobResult::DeleteDeliveryHistoryJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteDeliveryHistoryJobResult::DeleteDeliveryHistoryJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteDeliveryHistoryJobResult::~DeleteDeliveryHistoryJobResult()
|
||||
{}
|
||||
|
||||
void DeleteDeliveryHistoryJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
51
actiontrail/src/model/DeleteTrailRequest.cc
Normal file
51
actiontrail/src/model/DeleteTrailRequest.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/actiontrail/model/DeleteTrailRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::DeleteTrailRequest;
|
||||
|
||||
DeleteTrailRequest::DeleteTrailRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "DeleteTrail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteTrailRequest::~DeleteTrailRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteTrailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteTrailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteTrailRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void DeleteTrailRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
44
actiontrail/src/model/DeleteTrailResult.cc
Normal file
44
actiontrail/src/model/DeleteTrailResult.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/actiontrail/model/DeleteTrailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
DeleteTrailResult::DeleteTrailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTrailResult::DeleteTrailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTrailResult::~DeleteTrailResult()
|
||||
{}
|
||||
|
||||
void DeleteTrailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
40
actiontrail/src/model/DescribeRegionsRequest.cc
Normal file
40
actiontrail/src/model/DescribeRegionsRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/DescribeRegionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::DescribeRegionsRequest;
|
||||
|
||||
DescribeRegionsRequest::DescribeRegionsRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "DescribeRegions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRegionsRequest::~DescribeRegionsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeRegionsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
58
actiontrail/src/model/DescribeRegionsResult.cc
Normal file
58
actiontrail/src/model/DescribeRegionsResult.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/actiontrail/model/DescribeRegionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
DescribeRegionsResult::DescribeRegionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeRegionsResult::DescribeRegionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeRegionsResult::~DescribeRegionsResult()
|
||||
{}
|
||||
|
||||
void DescribeRegionsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto regionsNode = value["Regions"];
|
||||
auto allRegionNode = regionsNode["Region"]["RegionItem"];
|
||||
for (auto regionsNodeRegionRegionItem : allRegionNode)
|
||||
{
|
||||
Regions::RegionItem regionItemObject;
|
||||
if(!regionsNodeRegionRegionItem["RegionId"].isNull())
|
||||
regionItemObject.regionId = regionsNodeRegionRegionItem["RegionId"].asString();
|
||||
regions_.region.push_back(regionItemObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DescribeRegionsResult::Regions DescribeRegionsResult::getRegions()const
|
||||
{
|
||||
return regions_;
|
||||
}
|
||||
|
||||
62
actiontrail/src/model/DescribeTrailsRequest.cc
Normal file
62
actiontrail/src/model/DescribeTrailsRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/DescribeTrailsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::DescribeTrailsRequest;
|
||||
|
||||
DescribeTrailsRequest::DescribeTrailsRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "DescribeTrails")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeTrailsRequest::~DescribeTrailsRequest()
|
||||
{}
|
||||
|
||||
bool DescribeTrailsRequest::getIncludeShadowTrails()const
|
||||
{
|
||||
return includeShadowTrails_;
|
||||
}
|
||||
|
||||
void DescribeTrailsRequest::setIncludeShadowTrails(bool includeShadowTrails)
|
||||
{
|
||||
includeShadowTrails_ = includeShadowTrails;
|
||||
setParameter("IncludeShadowTrails", includeShadowTrails ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeTrailsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeTrailsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeTrailsRequest::getNameList()const
|
||||
{
|
||||
return nameList_;
|
||||
}
|
||||
|
||||
void DescribeTrailsRequest::setNameList(const std::string& nameList)
|
||||
{
|
||||
nameList_ = nameList;
|
||||
setParameter("NameList", nameList);
|
||||
}
|
||||
|
||||
87
actiontrail/src/model/DescribeTrailsResult.cc
Normal file
87
actiontrail/src/model/DescribeTrailsResult.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/actiontrail/model/DescribeTrailsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
DescribeTrailsResult::DescribeTrailsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTrailsResult::DescribeTrailsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTrailsResult::~DescribeTrailsResult()
|
||||
{}
|
||||
|
||||
void DescribeTrailsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTrailListNode = value["TrailList"]["TrailListItem"];
|
||||
for (auto valueTrailListTrailListItem : allTrailListNode)
|
||||
{
|
||||
TrailListItem trailListObject;
|
||||
if(!valueTrailListTrailListItem["Name"].isNull())
|
||||
trailListObject.name = valueTrailListTrailListItem["Name"].asString();
|
||||
if(!valueTrailListTrailListItem["HomeRegion"].isNull())
|
||||
trailListObject.homeRegion = valueTrailListTrailListItem["HomeRegion"].asString();
|
||||
if(!valueTrailListTrailListItem["RoleName"].isNull())
|
||||
trailListObject.roleName = valueTrailListTrailListItem["RoleName"].asString();
|
||||
if(!valueTrailListTrailListItem["OssBucketName"].isNull())
|
||||
trailListObject.ossBucketName = valueTrailListTrailListItem["OssBucketName"].asString();
|
||||
if(!valueTrailListTrailListItem["OssKeyPrefix"].isNull())
|
||||
trailListObject.ossKeyPrefix = valueTrailListTrailListItem["OssKeyPrefix"].asString();
|
||||
if(!valueTrailListTrailListItem["EventRW"].isNull())
|
||||
trailListObject.eventRW = valueTrailListTrailListItem["EventRW"].asString();
|
||||
if(!valueTrailListTrailListItem["SlsWriteRoleArn"].isNull())
|
||||
trailListObject.slsWriteRoleArn = valueTrailListTrailListItem["SlsWriteRoleArn"].asString();
|
||||
if(!valueTrailListTrailListItem["SlsProjectArn"].isNull())
|
||||
trailListObject.slsProjectArn = valueTrailListTrailListItem["SlsProjectArn"].asString();
|
||||
if(!valueTrailListTrailListItem["Status"].isNull())
|
||||
trailListObject.status = valueTrailListTrailListItem["Status"].asString();
|
||||
if(!valueTrailListTrailListItem["TrailRegion"].isNull())
|
||||
trailListObject.trailRegion = valueTrailListTrailListItem["TrailRegion"].asString();
|
||||
if(!valueTrailListTrailListItem["CreateTime"].isNull())
|
||||
trailListObject.createTime = valueTrailListTrailListItem["CreateTime"].asString();
|
||||
if(!valueTrailListTrailListItem["UpdateTime"].isNull())
|
||||
trailListObject.updateTime = valueTrailListTrailListItem["UpdateTime"].asString();
|
||||
if(!valueTrailListTrailListItem["StartLoggingTime"].isNull())
|
||||
trailListObject.startLoggingTime = valueTrailListTrailListItem["StartLoggingTime"].asString();
|
||||
if(!valueTrailListTrailListItem["StopLoggingTime"].isNull())
|
||||
trailListObject.stopLoggingTime = valueTrailListTrailListItem["StopLoggingTime"].asString();
|
||||
if(!valueTrailListTrailListItem["MnsTopicArn"].isNull())
|
||||
trailListObject.mnsTopicArn = valueTrailListTrailListItem["MnsTopicArn"].asString();
|
||||
if(!valueTrailListTrailListItem["IsOrganizationTrail"].isNull())
|
||||
trailListObject.isOrganizationTrail = valueTrailListTrailListItem["IsOrganizationTrail"].asString() == "true";
|
||||
trailList_.push_back(trailListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeTrailsResult::TrailListItem> DescribeTrailsResult::getTrailList()const
|
||||
{
|
||||
return trailList_;
|
||||
}
|
||||
|
||||
62
actiontrail/src/model/GetTrailStatusRequest.cc
Normal file
62
actiontrail/src/model/GetTrailStatusRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/GetTrailStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::GetTrailStatusRequest;
|
||||
|
||||
GetTrailStatusRequest::GetTrailStatusRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "GetTrailStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTrailStatusRequest::~GetTrailStatusRequest()
|
||||
{}
|
||||
|
||||
std::string GetTrailStatusRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetTrailStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetTrailStatusRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void GetTrailStatusRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
bool GetTrailStatusRequest::getIsOrganizationTrail()const
|
||||
{
|
||||
return isOrganizationTrail_;
|
||||
}
|
||||
|
||||
void GetTrailStatusRequest::setIsOrganizationTrail(bool isOrganizationTrail)
|
||||
{
|
||||
isOrganizationTrail_ = isOrganizationTrail;
|
||||
setParameter("IsOrganizationTrail", isOrganizationTrail ? "true" : "false");
|
||||
}
|
||||
|
||||
79
actiontrail/src/model/GetTrailStatusResult.cc
Normal file
79
actiontrail/src/model/GetTrailStatusResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/GetTrailStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
GetTrailStatusResult::GetTrailStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTrailStatusResult::GetTrailStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTrailStatusResult::~GetTrailStatusResult()
|
||||
{}
|
||||
|
||||
void GetTrailStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["IsLogging"].isNull())
|
||||
isLogging_ = value["IsLogging"].asString() == "true";
|
||||
if(!value["LatestDeliveryError"].isNull())
|
||||
latestDeliveryError_ = value["LatestDeliveryError"].asString();
|
||||
if(!value["LatestDeliveryTime"].isNull())
|
||||
latestDeliveryTime_ = value["LatestDeliveryTime"].asString();
|
||||
if(!value["StartLoggingTime"].isNull())
|
||||
startLoggingTime_ = value["StartLoggingTime"].asString();
|
||||
if(!value["StopLoggingTime"].isNull())
|
||||
stopLoggingTime_ = value["StopLoggingTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetTrailStatusResult::getStartLoggingTime()const
|
||||
{
|
||||
return startLoggingTime_;
|
||||
}
|
||||
|
||||
std::string GetTrailStatusResult::getLatestDeliveryError()const
|
||||
{
|
||||
return latestDeliveryError_;
|
||||
}
|
||||
|
||||
std::string GetTrailStatusResult::getStopLoggingTime()const
|
||||
{
|
||||
return stopLoggingTime_;
|
||||
}
|
||||
|
||||
bool GetTrailStatusResult::getIsLogging()const
|
||||
{
|
||||
return isLogging_;
|
||||
}
|
||||
|
||||
std::string GetTrailStatusResult::getLatestDeliveryTime()const
|
||||
{
|
||||
return latestDeliveryTime_;
|
||||
}
|
||||
|
||||
51
actiontrail/src/model/ListDeliveryHistoryJobsRequest.cc
Normal file
51
actiontrail/src/model/ListDeliveryHistoryJobsRequest.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/actiontrail/model/ListDeliveryHistoryJobsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::ListDeliveryHistoryJobsRequest;
|
||||
|
||||
ListDeliveryHistoryJobsRequest::ListDeliveryHistoryJobsRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "ListDeliveryHistoryJobs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListDeliveryHistoryJobsRequest::~ListDeliveryHistoryJobsRequest()
|
||||
{}
|
||||
|
||||
int ListDeliveryHistoryJobsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListDeliveryHistoryJobsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int ListDeliveryHistoryJobsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListDeliveryHistoryJobsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
92
actiontrail/src/model/ListDeliveryHistoryJobsResult.cc
Normal file
92
actiontrail/src/model/ListDeliveryHistoryJobsResult.cc
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/ListDeliveryHistoryJobsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
ListDeliveryHistoryJobsResult::ListDeliveryHistoryJobsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListDeliveryHistoryJobsResult::ListDeliveryHistoryJobsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListDeliveryHistoryJobsResult::~ListDeliveryHistoryJobsResult()
|
||||
{}
|
||||
|
||||
void ListDeliveryHistoryJobsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDeliveryHistoryJobsNode = value["DeliveryHistoryJobs"]["DeliveryHistoryJob"];
|
||||
for (auto valueDeliveryHistoryJobsDeliveryHistoryJob : allDeliveryHistoryJobsNode)
|
||||
{
|
||||
DeliveryHistoryJob deliveryHistoryJobsObject;
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["TrailName"].isNull())
|
||||
deliveryHistoryJobsObject.trailName = valueDeliveryHistoryJobsDeliveryHistoryJob["TrailName"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["CreatedTime"].isNull())
|
||||
deliveryHistoryJobsObject.createdTime = valueDeliveryHistoryJobsDeliveryHistoryJob["CreatedTime"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["UpdatedTime"].isNull())
|
||||
deliveryHistoryJobsObject.updatedTime = valueDeliveryHistoryJobsDeliveryHistoryJob["UpdatedTime"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["HomeRegion"].isNull())
|
||||
deliveryHistoryJobsObject.homeRegion = valueDeliveryHistoryJobsDeliveryHistoryJob["HomeRegion"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["StartTime"].isNull())
|
||||
deliveryHistoryJobsObject.startTime = valueDeliveryHistoryJobsDeliveryHistoryJob["StartTime"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["EndTime"].isNull())
|
||||
deliveryHistoryJobsObject.endTime = valueDeliveryHistoryJobsDeliveryHistoryJob["EndTime"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["JobId"].isNull())
|
||||
deliveryHistoryJobsObject.jobId = std::stol(valueDeliveryHistoryJobsDeliveryHistoryJob["JobId"].asString());
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["JobStatus"].isNull())
|
||||
deliveryHistoryJobsObject.jobStatus = std::stoi(valueDeliveryHistoryJobsDeliveryHistoryJob["JobStatus"].asString());
|
||||
deliveryHistoryJobs_.push_back(deliveryHistoryJobsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
int ListDeliveryHistoryJobsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int ListDeliveryHistoryJobsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int ListDeliveryHistoryJobsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListDeliveryHistoryJobsResult::DeliveryHistoryJob> ListDeliveryHistoryJobsResult::getDeliveryHistoryJobs()const
|
||||
{
|
||||
return deliveryHistoryJobs_;
|
||||
}
|
||||
|
||||
194
actiontrail/src/model/LookupEventsRequest.cc
Normal file
194
actiontrail/src/model/LookupEventsRequest.cc
Normal file
@@ -0,0 +1,194 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/LookupEventsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::LookupEventsRequest;
|
||||
|
||||
LookupEventsRequest::LookupEventsRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "LookupEvents")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
LookupEventsRequest::~LookupEventsRequest()
|
||||
{}
|
||||
|
||||
std::string LookupEventsRequest::getRequest()const
|
||||
{
|
||||
return request_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setRequest(const std::string& request)
|
||||
{
|
||||
request_ = request;
|
||||
setParameter("Request", request);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getEventName()const
|
||||
{
|
||||
return eventName_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEventName(const std::string& eventName)
|
||||
{
|
||||
eventName_ = eventName;
|
||||
setParameter("EventName", eventName);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getServiceName()const
|
||||
{
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setServiceName(const std::string& serviceName)
|
||||
{
|
||||
serviceName_ = serviceName;
|
||||
setParameter("ServiceName", serviceName);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getEvent()const
|
||||
{
|
||||
return event_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEvent(const std::string& event)
|
||||
{
|
||||
event_ = event;
|
||||
setParameter("Event", event);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getEventAccessKeyId()const
|
||||
{
|
||||
return eventAccessKeyId_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEventAccessKeyId(const std::string& eventAccessKeyId)
|
||||
{
|
||||
eventAccessKeyId_ = eventAccessKeyId;
|
||||
setParameter("EventAccessKeyId", eventAccessKeyId);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getEventRW()const
|
||||
{
|
||||
return eventRW_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEventRW(const std::string& eventRW)
|
||||
{
|
||||
eventRW_ = eventRW;
|
||||
setParameter("EventRW", eventRW);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setMaxResults(const std::string& maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", maxResults);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getEventType()const
|
||||
{
|
||||
return eventType_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEventType(const std::string& eventType)
|
||||
{
|
||||
eventType_ = eventType;
|
||||
setParameter("EventType", eventType);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getResourceName()const
|
||||
{
|
||||
return resourceName_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setResourceName(const std::string& resourceName)
|
||||
{
|
||||
resourceName_ = resourceName;
|
||||
setParameter("ResourceName", resourceName);
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getUser()const
|
||||
{
|
||||
return user_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setUser(const std::string& user)
|
||||
{
|
||||
user_ = user;
|
||||
setParameter("User", user);
|
||||
}
|
||||
|
||||
73
actiontrail/src/model/LookupEventsResult.cc
Normal file
73
actiontrail/src/model/LookupEventsResult.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/LookupEventsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
LookupEventsResult::LookupEventsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
LookupEventsResult::LookupEventsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
LookupEventsResult::~LookupEventsResult()
|
||||
{}
|
||||
|
||||
void LookupEventsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEvents = value["Events"]["Events"];
|
||||
for (const auto &item : allEvents)
|
||||
events_.push_back(item.asString());
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string LookupEventsResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::string LookupEventsResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::vector<std::string> LookupEventsResult::getEvents()const
|
||||
{
|
||||
return events_;
|
||||
}
|
||||
|
||||
std::string LookupEventsResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
51
actiontrail/src/model/StartLoggingRequest.cc
Normal file
51
actiontrail/src/model/StartLoggingRequest.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/actiontrail/model/StartLoggingRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::StartLoggingRequest;
|
||||
|
||||
StartLoggingRequest::StartLoggingRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "StartLogging")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
StartLoggingRequest::~StartLoggingRequest()
|
||||
{}
|
||||
|
||||
std::string StartLoggingRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void StartLoggingRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string StartLoggingRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void StartLoggingRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
58
actiontrail/src/model/StartLoggingResult.cc
Normal file
58
actiontrail/src/model/StartLoggingResult.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/actiontrail/model/StartLoggingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
StartLoggingResult::StartLoggingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StartLoggingResult::StartLoggingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StartLoggingResult::~StartLoggingResult()
|
||||
{}
|
||||
|
||||
void StartLoggingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Param"].isNull())
|
||||
param_ = value["Param"].asString();
|
||||
if(!value["Result"].isNull())
|
||||
result_ = value["Result"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string StartLoggingResult::getParam()const
|
||||
{
|
||||
return param_;
|
||||
}
|
||||
|
||||
std::string StartLoggingResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
51
actiontrail/src/model/StopLoggingRequest.cc
Normal file
51
actiontrail/src/model/StopLoggingRequest.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/actiontrail/model/StopLoggingRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::StopLoggingRequest;
|
||||
|
||||
StopLoggingRequest::StopLoggingRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "StopLogging")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
StopLoggingRequest::~StopLoggingRequest()
|
||||
{}
|
||||
|
||||
std::string StopLoggingRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void StopLoggingRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string StopLoggingRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void StopLoggingRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
44
actiontrail/src/model/StopLoggingResult.cc
Normal file
44
actiontrail/src/model/StopLoggingResult.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/actiontrail/model/StopLoggingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
StopLoggingResult::StopLoggingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StopLoggingResult::StopLoggingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StopLoggingResult::~StopLoggingResult()
|
||||
{}
|
||||
|
||||
void StopLoggingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
139
actiontrail/src/model/UpdateTrailRequest.cc
Normal file
139
actiontrail/src/model/UpdateTrailRequest.cc
Normal file
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/UpdateTrailRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::UpdateTrailRequest;
|
||||
|
||||
UpdateTrailRequest::UpdateTrailRequest() :
|
||||
RpcServiceRequest("actiontrail", "2017-12-04", "UpdateTrail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateTrailRequest::~UpdateTrailRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateTrailRequest::getSlsProjectArn()const
|
||||
{
|
||||
return slsProjectArn_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setSlsProjectArn(const std::string& slsProjectArn)
|
||||
{
|
||||
slsProjectArn_ = slsProjectArn;
|
||||
setParameter("SlsProjectArn", slsProjectArn);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getSlsWriteRoleArn()const
|
||||
{
|
||||
return slsWriteRoleArn_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setSlsWriteRoleArn(const std::string& slsWriteRoleArn)
|
||||
{
|
||||
slsWriteRoleArn_ = slsWriteRoleArn;
|
||||
setParameter("SlsWriteRoleArn", slsWriteRoleArn);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getOssKeyPrefix()const
|
||||
{
|
||||
return ossKeyPrefix_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setOssKeyPrefix(const std::string& ossKeyPrefix)
|
||||
{
|
||||
ossKeyPrefix_ = ossKeyPrefix;
|
||||
setParameter("OssKeyPrefix", ossKeyPrefix);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getMnsTopicArn()const
|
||||
{
|
||||
return mnsTopicArn_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setMnsTopicArn(const std::string& mnsTopicArn)
|
||||
{
|
||||
mnsTopicArn_ = mnsTopicArn;
|
||||
setParameter("MnsTopicArn", mnsTopicArn);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getRoleName()const
|
||||
{
|
||||
return roleName_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setRoleName(const std::string& roleName)
|
||||
{
|
||||
roleName_ = roleName;
|
||||
setParameter("RoleName", roleName);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getEventRW()const
|
||||
{
|
||||
return eventRW_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setEventRW(const std::string& eventRW)
|
||||
{
|
||||
eventRW_ = eventRW;
|
||||
setParameter("EventRW", eventRW);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getOssBucketName()const
|
||||
{
|
||||
return ossBucketName_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setOssBucketName(const std::string& ossBucketName)
|
||||
{
|
||||
ossBucketName_ = ossBucketName;
|
||||
setParameter("OssBucketName", ossBucketName);
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getTrailRegion()const
|
||||
{
|
||||
return trailRegion_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setTrailRegion(const std::string& trailRegion)
|
||||
{
|
||||
trailRegion_ = trailRegion;
|
||||
setParameter("TrailRegion", trailRegion);
|
||||
}
|
||||
|
||||
114
actiontrail/src/model/UpdateTrailResult.cc
Normal file
114
actiontrail/src/model/UpdateTrailResult.cc
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/UpdateTrailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
UpdateTrailResult::UpdateTrailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateTrailResult::UpdateTrailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateTrailResult::~UpdateTrailResult()
|
||||
{}
|
||||
|
||||
void UpdateTrailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["HomeRegion"].isNull())
|
||||
homeRegion_ = value["HomeRegion"].asString();
|
||||
if(!value["OssBucketName"].isNull())
|
||||
ossBucketName_ = value["OssBucketName"].asString();
|
||||
if(!value["OssKeyPrefix"].isNull())
|
||||
ossKeyPrefix_ = value["OssKeyPrefix"].asString();
|
||||
if(!value["RoleName"].isNull())
|
||||
roleName_ = value["RoleName"].asString();
|
||||
if(!value["SlsProjectArn"].isNull())
|
||||
slsProjectArn_ = value["SlsProjectArn"].asString();
|
||||
if(!value["SlsWriteRoleArn"].isNull())
|
||||
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
|
||||
if(!value["EventRW"].isNull())
|
||||
eventRW_ = value["EventRW"].asString();
|
||||
if(!value["TrailRegion"].isNull())
|
||||
trailRegion_ = value["TrailRegion"].asString();
|
||||
if(!value["MnsTopicArn"].isNull())
|
||||
mnsTopicArn_ = value["MnsTopicArn"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getSlsProjectArn()const
|
||||
{
|
||||
return slsProjectArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getMnsTopicArn()const
|
||||
{
|
||||
return mnsTopicArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getRoleName()const
|
||||
{
|
||||
return roleName_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getEventRW()const
|
||||
{
|
||||
return eventRW_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getHomeRegion()const
|
||||
{
|
||||
return homeRegion_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getOssKeyPrefix()const
|
||||
{
|
||||
return ossKeyPrefix_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getOssBucketName()const
|
||||
{
|
||||
return ossBucketName_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getSlsWriteRoleArn()const
|
||||
{
|
||||
return slsWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getTrailRegion()const
|
||||
{
|
||||
return trailRegion_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
@@ -23,6 +23,12 @@ set(alidns_public_header
|
||||
set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/AddCustomLineRequest.h
|
||||
include/alibabacloud/alidns/model/AddCustomLineResult.h
|
||||
include/alibabacloud/alidns/model/AddDnsGtmAccessStrategyRequest.h
|
||||
include/alibabacloud/alidns/model/AddDnsGtmAccessStrategyResult.h
|
||||
include/alibabacloud/alidns/model/AddDnsGtmAddressPoolRequest.h
|
||||
include/alibabacloud/alidns/model/AddDnsGtmAddressPoolResult.h
|
||||
include/alibabacloud/alidns/model/AddDnsGtmMonitorRequest.h
|
||||
include/alibabacloud/alidns/model/AddDnsGtmMonitorResult.h
|
||||
include/alibabacloud/alidns/model/AddDomainRequest.h
|
||||
include/alibabacloud/alidns/model/AddDomainResult.h
|
||||
include/alibabacloud/alidns/model/AddDomainBackupRequest.h
|
||||
@@ -49,6 +55,10 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/CopyGtmConfigResult.h
|
||||
include/alibabacloud/alidns/model/DeleteCustomLinesRequest.h
|
||||
include/alibabacloud/alidns/model/DeleteCustomLinesResult.h
|
||||
include/alibabacloud/alidns/model/DeleteDnsGtmAccessStrategyRequest.h
|
||||
include/alibabacloud/alidns/model/DeleteDnsGtmAccessStrategyResult.h
|
||||
include/alibabacloud/alidns/model/DeleteDnsGtmAddressPoolRequest.h
|
||||
include/alibabacloud/alidns/model/DeleteDnsGtmAddressPoolResult.h
|
||||
include/alibabacloud/alidns/model/DeleteDomainRequest.h
|
||||
include/alibabacloud/alidns/model/DeleteDomainResult.h
|
||||
include/alibabacloud/alidns/model/DeleteDomainGroupRequest.h
|
||||
@@ -73,10 +83,52 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/DescribeCustomLinesResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategiesRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategiesResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyAvailableConfigRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyAvailableConfigResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmAddrAttributeInfoRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmAddrAttributeInfoResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmAddressPoolAvailableConfigRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmAddressPoolAvailableConfigResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmAvailableAlertGroupRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmAvailableAlertGroupResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceAddressPoolRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceAddressPoolResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceAddressPoolsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceAddressPoolsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceStatusRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceStatusResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceSystemCnameRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceSystemCnameResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmInstancesRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmInstancesResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmLogsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmLogsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmMonitorAvailableConfigRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmMonitorAvailableConfigResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmMonitorConfigRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsGtmMonitorConfigResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsProductInstanceRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDohAccountStatisticsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDohAccountStatisticsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDohUserInfoRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDohUserInfoResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h
|
||||
@@ -155,6 +207,10 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/alidns/model/ModifyHichinaDomainDNSRequest.h
|
||||
include/alibabacloud/alidns/model/ModifyHichinaDomainDNSResult.h
|
||||
include/alibabacloud/alidns/model/MoveDomainResourceGroupRequest.h
|
||||
include/alibabacloud/alidns/model/MoveDomainResourceGroupResult.h
|
||||
include/alibabacloud/alidns/model/MoveGtmResourceGroupRequest.h
|
||||
include/alibabacloud/alidns/model/MoveGtmResourceGroupResult.h
|
||||
include/alibabacloud/alidns/model/OperateBatchDomainRequest.h
|
||||
include/alibabacloud/alidns/model/OperateBatchDomainResult.h
|
||||
include/alibabacloud/alidns/model/PreviewGtmRecoveryPlanRequest.h
|
||||
@@ -165,6 +221,10 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/RollbackGtmRecoveryPlanResult.h
|
||||
include/alibabacloud/alidns/model/SetDNSSLBStatusRequest.h
|
||||
include/alibabacloud/alidns/model/SetDNSSLBStatusResult.h
|
||||
include/alibabacloud/alidns/model/SetDnsGtmAccessModeRequest.h
|
||||
include/alibabacloud/alidns/model/SetDnsGtmAccessModeResult.h
|
||||
include/alibabacloud/alidns/model/SetDnsGtmMonitorStatusRequest.h
|
||||
include/alibabacloud/alidns/model/SetDnsGtmMonitorStatusResult.h
|
||||
include/alibabacloud/alidns/model/SetDomainDnssecStatusRequest.h
|
||||
include/alibabacloud/alidns/model/SetDomainDnssecStatusResult.h
|
||||
include/alibabacloud/alidns/model/SetDomainRecordStatusRequest.h
|
||||
@@ -173,6 +233,8 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/SetGtmAccessModeResult.h
|
||||
include/alibabacloud/alidns/model/SetGtmMonitorStatusRequest.h
|
||||
include/alibabacloud/alidns/model/SetGtmMonitorStatusResult.h
|
||||
include/alibabacloud/alidns/model/SwitchDnsGtmInstanceStrategyModeRequest.h
|
||||
include/alibabacloud/alidns/model/SwitchDnsGtmInstanceStrategyModeResult.h
|
||||
include/alibabacloud/alidns/model/TagResourcesRequest.h
|
||||
include/alibabacloud/alidns/model/TagResourcesResult.h
|
||||
include/alibabacloud/alidns/model/TransferDomainRequest.h
|
||||
@@ -185,6 +247,14 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/UpdateCustomLineResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateDNSSLBWeightResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDnsGtmAccessStrategyRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateDnsGtmAccessStrategyResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDnsGtmAddressPoolRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateDnsGtmAddressPoolResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDnsGtmInstanceGlobalConfigRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateDnsGtmInstanceGlobalConfigResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDnsGtmMonitorRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateDnsGtmMonitorResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDomainGroupRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateDomainGroupResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDomainRecordRequest.h
|
||||
@@ -208,6 +278,12 @@ set(alidns_src
|
||||
src/AlidnsClient.cc
|
||||
src/model/AddCustomLineRequest.cc
|
||||
src/model/AddCustomLineResult.cc
|
||||
src/model/AddDnsGtmAccessStrategyRequest.cc
|
||||
src/model/AddDnsGtmAccessStrategyResult.cc
|
||||
src/model/AddDnsGtmAddressPoolRequest.cc
|
||||
src/model/AddDnsGtmAddressPoolResult.cc
|
||||
src/model/AddDnsGtmMonitorRequest.cc
|
||||
src/model/AddDnsGtmMonitorResult.cc
|
||||
src/model/AddDomainRequest.cc
|
||||
src/model/AddDomainResult.cc
|
||||
src/model/AddDomainBackupRequest.cc
|
||||
@@ -234,6 +310,10 @@ set(alidns_src
|
||||
src/model/CopyGtmConfigResult.cc
|
||||
src/model/DeleteCustomLinesRequest.cc
|
||||
src/model/DeleteCustomLinesResult.cc
|
||||
src/model/DeleteDnsGtmAccessStrategyRequest.cc
|
||||
src/model/DeleteDnsGtmAccessStrategyResult.cc
|
||||
src/model/DeleteDnsGtmAddressPoolRequest.cc
|
||||
src/model/DeleteDnsGtmAddressPoolResult.cc
|
||||
src/model/DeleteDomainRequest.cc
|
||||
src/model/DeleteDomainResult.cc
|
||||
src/model/DeleteDomainGroupRequest.cc
|
||||
@@ -258,10 +338,52 @@ set(alidns_src
|
||||
src/model/DescribeCustomLinesResult.cc
|
||||
src/model/DescribeDNSSLBSubDomainsRequest.cc
|
||||
src/model/DescribeDNSSLBSubDomainsResult.cc
|
||||
src/model/DescribeDnsGtmAccessStrategiesRequest.cc
|
||||
src/model/DescribeDnsGtmAccessStrategiesResult.cc
|
||||
src/model/DescribeDnsGtmAccessStrategyRequest.cc
|
||||
src/model/DescribeDnsGtmAccessStrategyResult.cc
|
||||
src/model/DescribeDnsGtmAccessStrategyAvailableConfigRequest.cc
|
||||
src/model/DescribeDnsGtmAccessStrategyAvailableConfigResult.cc
|
||||
src/model/DescribeDnsGtmAddrAttributeInfoRequest.cc
|
||||
src/model/DescribeDnsGtmAddrAttributeInfoResult.cc
|
||||
src/model/DescribeDnsGtmAddressPoolAvailableConfigRequest.cc
|
||||
src/model/DescribeDnsGtmAddressPoolAvailableConfigResult.cc
|
||||
src/model/DescribeDnsGtmAvailableAlertGroupRequest.cc
|
||||
src/model/DescribeDnsGtmAvailableAlertGroupResult.cc
|
||||
src/model/DescribeDnsGtmInstanceRequest.cc
|
||||
src/model/DescribeDnsGtmInstanceResult.cc
|
||||
src/model/DescribeDnsGtmInstanceAddressPoolRequest.cc
|
||||
src/model/DescribeDnsGtmInstanceAddressPoolResult.cc
|
||||
src/model/DescribeDnsGtmInstanceAddressPoolsRequest.cc
|
||||
src/model/DescribeDnsGtmInstanceAddressPoolsResult.cc
|
||||
src/model/DescribeDnsGtmInstanceStatusRequest.cc
|
||||
src/model/DescribeDnsGtmInstanceStatusResult.cc
|
||||
src/model/DescribeDnsGtmInstanceSystemCnameRequest.cc
|
||||
src/model/DescribeDnsGtmInstanceSystemCnameResult.cc
|
||||
src/model/DescribeDnsGtmInstancesRequest.cc
|
||||
src/model/DescribeDnsGtmInstancesResult.cc
|
||||
src/model/DescribeDnsGtmLogsRequest.cc
|
||||
src/model/DescribeDnsGtmLogsResult.cc
|
||||
src/model/DescribeDnsGtmMonitorAvailableConfigRequest.cc
|
||||
src/model/DescribeDnsGtmMonitorAvailableConfigResult.cc
|
||||
src/model/DescribeDnsGtmMonitorConfigRequest.cc
|
||||
src/model/DescribeDnsGtmMonitorConfigResult.cc
|
||||
src/model/DescribeDnsProductInstanceRequest.cc
|
||||
src/model/DescribeDnsProductInstanceResult.cc
|
||||
src/model/DescribeDnsProductInstancesRequest.cc
|
||||
src/model/DescribeDnsProductInstancesResult.cc
|
||||
src/model/DescribeDohAccountStatisticsRequest.cc
|
||||
src/model/DescribeDohAccountStatisticsResult.cc
|
||||
src/model/DescribeDohDomainStatisticsRequest.cc
|
||||
src/model/DescribeDohDomainStatisticsResult.cc
|
||||
src/model/DescribeDohDomainStatisticsSummaryRequest.cc
|
||||
src/model/DescribeDohDomainStatisticsSummaryResult.cc
|
||||
src/model/DescribeDohSubDomainStatisticsRequest.cc
|
||||
src/model/DescribeDohSubDomainStatisticsResult.cc
|
||||
src/model/DescribeDohSubDomainStatisticsSummaryRequest.cc
|
||||
src/model/DescribeDohSubDomainStatisticsSummaryResult.cc
|
||||
src/model/DescribeDohUserInfoRequest.cc
|
||||
src/model/DescribeDohUserInfoResult.cc
|
||||
src/model/DescribeDomainDnssecInfoRequest.cc
|
||||
src/model/DescribeDomainDnssecInfoResult.cc
|
||||
src/model/DescribeDomainGroupsRequest.cc
|
||||
@@ -340,6 +462,10 @@ set(alidns_src
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ModifyHichinaDomainDNSRequest.cc
|
||||
src/model/ModifyHichinaDomainDNSResult.cc
|
||||
src/model/MoveDomainResourceGroupRequest.cc
|
||||
src/model/MoveDomainResourceGroupResult.cc
|
||||
src/model/MoveGtmResourceGroupRequest.cc
|
||||
src/model/MoveGtmResourceGroupResult.cc
|
||||
src/model/OperateBatchDomainRequest.cc
|
||||
src/model/OperateBatchDomainResult.cc
|
||||
src/model/PreviewGtmRecoveryPlanRequest.cc
|
||||
@@ -350,6 +476,10 @@ set(alidns_src
|
||||
src/model/RollbackGtmRecoveryPlanResult.cc
|
||||
src/model/SetDNSSLBStatusRequest.cc
|
||||
src/model/SetDNSSLBStatusResult.cc
|
||||
src/model/SetDnsGtmAccessModeRequest.cc
|
||||
src/model/SetDnsGtmAccessModeResult.cc
|
||||
src/model/SetDnsGtmMonitorStatusRequest.cc
|
||||
src/model/SetDnsGtmMonitorStatusResult.cc
|
||||
src/model/SetDomainDnssecStatusRequest.cc
|
||||
src/model/SetDomainDnssecStatusResult.cc
|
||||
src/model/SetDomainRecordStatusRequest.cc
|
||||
@@ -358,6 +488,8 @@ set(alidns_src
|
||||
src/model/SetGtmAccessModeResult.cc
|
||||
src/model/SetGtmMonitorStatusRequest.cc
|
||||
src/model/SetGtmMonitorStatusResult.cc
|
||||
src/model/SwitchDnsGtmInstanceStrategyModeRequest.cc
|
||||
src/model/SwitchDnsGtmInstanceStrategyModeResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/TransferDomainRequest.cc
|
||||
@@ -370,6 +502,14 @@ set(alidns_src
|
||||
src/model/UpdateCustomLineResult.cc
|
||||
src/model/UpdateDNSSLBWeightRequest.cc
|
||||
src/model/UpdateDNSSLBWeightResult.cc
|
||||
src/model/UpdateDnsGtmAccessStrategyRequest.cc
|
||||
src/model/UpdateDnsGtmAccessStrategyResult.cc
|
||||
src/model/UpdateDnsGtmAddressPoolRequest.cc
|
||||
src/model/UpdateDnsGtmAddressPoolResult.cc
|
||||
src/model/UpdateDnsGtmInstanceGlobalConfigRequest.cc
|
||||
src/model/UpdateDnsGtmInstanceGlobalConfigResult.cc
|
||||
src/model/UpdateDnsGtmMonitorRequest.cc
|
||||
src/model/UpdateDnsGtmMonitorResult.cc
|
||||
src/model/UpdateDomainGroupRequest.cc
|
||||
src/model/UpdateDomainGroupResult.cc
|
||||
src/model/UpdateDomainRecordRequest.cc
|
||||
|
||||
@@ -24,6 +24,12 @@
|
||||
#include "AlidnsExport.h"
|
||||
#include "model/AddCustomLineRequest.h"
|
||||
#include "model/AddCustomLineResult.h"
|
||||
#include "model/AddDnsGtmAccessStrategyRequest.h"
|
||||
#include "model/AddDnsGtmAccessStrategyResult.h"
|
||||
#include "model/AddDnsGtmAddressPoolRequest.h"
|
||||
#include "model/AddDnsGtmAddressPoolResult.h"
|
||||
#include "model/AddDnsGtmMonitorRequest.h"
|
||||
#include "model/AddDnsGtmMonitorResult.h"
|
||||
#include "model/AddDomainRequest.h"
|
||||
#include "model/AddDomainResult.h"
|
||||
#include "model/AddDomainBackupRequest.h"
|
||||
@@ -50,6 +56,10 @@
|
||||
#include "model/CopyGtmConfigResult.h"
|
||||
#include "model/DeleteCustomLinesRequest.h"
|
||||
#include "model/DeleteCustomLinesResult.h"
|
||||
#include "model/DeleteDnsGtmAccessStrategyRequest.h"
|
||||
#include "model/DeleteDnsGtmAccessStrategyResult.h"
|
||||
#include "model/DeleteDnsGtmAddressPoolRequest.h"
|
||||
#include "model/DeleteDnsGtmAddressPoolResult.h"
|
||||
#include "model/DeleteDomainRequest.h"
|
||||
#include "model/DeleteDomainResult.h"
|
||||
#include "model/DeleteDomainGroupRequest.h"
|
||||
@@ -74,10 +84,52 @@
|
||||
#include "model/DescribeCustomLinesResult.h"
|
||||
#include "model/DescribeDNSSLBSubDomainsRequest.h"
|
||||
#include "model/DescribeDNSSLBSubDomainsResult.h"
|
||||
#include "model/DescribeDnsGtmAccessStrategiesRequest.h"
|
||||
#include "model/DescribeDnsGtmAccessStrategiesResult.h"
|
||||
#include "model/DescribeDnsGtmAccessStrategyRequest.h"
|
||||
#include "model/DescribeDnsGtmAccessStrategyResult.h"
|
||||
#include "model/DescribeDnsGtmAccessStrategyAvailableConfigRequest.h"
|
||||
#include "model/DescribeDnsGtmAccessStrategyAvailableConfigResult.h"
|
||||
#include "model/DescribeDnsGtmAddrAttributeInfoRequest.h"
|
||||
#include "model/DescribeDnsGtmAddrAttributeInfoResult.h"
|
||||
#include "model/DescribeDnsGtmAddressPoolAvailableConfigRequest.h"
|
||||
#include "model/DescribeDnsGtmAddressPoolAvailableConfigResult.h"
|
||||
#include "model/DescribeDnsGtmAvailableAlertGroupRequest.h"
|
||||
#include "model/DescribeDnsGtmAvailableAlertGroupResult.h"
|
||||
#include "model/DescribeDnsGtmInstanceRequest.h"
|
||||
#include "model/DescribeDnsGtmInstanceResult.h"
|
||||
#include "model/DescribeDnsGtmInstanceAddressPoolRequest.h"
|
||||
#include "model/DescribeDnsGtmInstanceAddressPoolResult.h"
|
||||
#include "model/DescribeDnsGtmInstanceAddressPoolsRequest.h"
|
||||
#include "model/DescribeDnsGtmInstanceAddressPoolsResult.h"
|
||||
#include "model/DescribeDnsGtmInstanceStatusRequest.h"
|
||||
#include "model/DescribeDnsGtmInstanceStatusResult.h"
|
||||
#include "model/DescribeDnsGtmInstanceSystemCnameRequest.h"
|
||||
#include "model/DescribeDnsGtmInstanceSystemCnameResult.h"
|
||||
#include "model/DescribeDnsGtmInstancesRequest.h"
|
||||
#include "model/DescribeDnsGtmInstancesResult.h"
|
||||
#include "model/DescribeDnsGtmLogsRequest.h"
|
||||
#include "model/DescribeDnsGtmLogsResult.h"
|
||||
#include "model/DescribeDnsGtmMonitorAvailableConfigRequest.h"
|
||||
#include "model/DescribeDnsGtmMonitorAvailableConfigResult.h"
|
||||
#include "model/DescribeDnsGtmMonitorConfigRequest.h"
|
||||
#include "model/DescribeDnsGtmMonitorConfigResult.h"
|
||||
#include "model/DescribeDnsProductInstanceRequest.h"
|
||||
#include "model/DescribeDnsProductInstanceResult.h"
|
||||
#include "model/DescribeDnsProductInstancesRequest.h"
|
||||
#include "model/DescribeDnsProductInstancesResult.h"
|
||||
#include "model/DescribeDohAccountStatisticsRequest.h"
|
||||
#include "model/DescribeDohAccountStatisticsResult.h"
|
||||
#include "model/DescribeDohDomainStatisticsRequest.h"
|
||||
#include "model/DescribeDohDomainStatisticsResult.h"
|
||||
#include "model/DescribeDohDomainStatisticsSummaryRequest.h"
|
||||
#include "model/DescribeDohDomainStatisticsSummaryResult.h"
|
||||
#include "model/DescribeDohSubDomainStatisticsRequest.h"
|
||||
#include "model/DescribeDohSubDomainStatisticsResult.h"
|
||||
#include "model/DescribeDohSubDomainStatisticsSummaryRequest.h"
|
||||
#include "model/DescribeDohSubDomainStatisticsSummaryResult.h"
|
||||
#include "model/DescribeDohUserInfoRequest.h"
|
||||
#include "model/DescribeDohUserInfoResult.h"
|
||||
#include "model/DescribeDomainDnssecInfoRequest.h"
|
||||
#include "model/DescribeDomainDnssecInfoResult.h"
|
||||
#include "model/DescribeDomainGroupsRequest.h"
|
||||
@@ -156,6 +208,10 @@
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyHichinaDomainDNSRequest.h"
|
||||
#include "model/ModifyHichinaDomainDNSResult.h"
|
||||
#include "model/MoveDomainResourceGroupRequest.h"
|
||||
#include "model/MoveDomainResourceGroupResult.h"
|
||||
#include "model/MoveGtmResourceGroupRequest.h"
|
||||
#include "model/MoveGtmResourceGroupResult.h"
|
||||
#include "model/OperateBatchDomainRequest.h"
|
||||
#include "model/OperateBatchDomainResult.h"
|
||||
#include "model/PreviewGtmRecoveryPlanRequest.h"
|
||||
@@ -166,6 +222,10 @@
|
||||
#include "model/RollbackGtmRecoveryPlanResult.h"
|
||||
#include "model/SetDNSSLBStatusRequest.h"
|
||||
#include "model/SetDNSSLBStatusResult.h"
|
||||
#include "model/SetDnsGtmAccessModeRequest.h"
|
||||
#include "model/SetDnsGtmAccessModeResult.h"
|
||||
#include "model/SetDnsGtmMonitorStatusRequest.h"
|
||||
#include "model/SetDnsGtmMonitorStatusResult.h"
|
||||
#include "model/SetDomainDnssecStatusRequest.h"
|
||||
#include "model/SetDomainDnssecStatusResult.h"
|
||||
#include "model/SetDomainRecordStatusRequest.h"
|
||||
@@ -174,6 +234,8 @@
|
||||
#include "model/SetGtmAccessModeResult.h"
|
||||
#include "model/SetGtmMonitorStatusRequest.h"
|
||||
#include "model/SetGtmMonitorStatusResult.h"
|
||||
#include "model/SwitchDnsGtmInstanceStrategyModeRequest.h"
|
||||
#include "model/SwitchDnsGtmInstanceStrategyModeResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/TransferDomainRequest.h"
|
||||
@@ -186,6 +248,14 @@
|
||||
#include "model/UpdateCustomLineResult.h"
|
||||
#include "model/UpdateDNSSLBWeightRequest.h"
|
||||
#include "model/UpdateDNSSLBWeightResult.h"
|
||||
#include "model/UpdateDnsGtmAccessStrategyRequest.h"
|
||||
#include "model/UpdateDnsGtmAccessStrategyResult.h"
|
||||
#include "model/UpdateDnsGtmAddressPoolRequest.h"
|
||||
#include "model/UpdateDnsGtmAddressPoolResult.h"
|
||||
#include "model/UpdateDnsGtmInstanceGlobalConfigRequest.h"
|
||||
#include "model/UpdateDnsGtmInstanceGlobalConfigResult.h"
|
||||
#include "model/UpdateDnsGtmMonitorRequest.h"
|
||||
#include "model/UpdateDnsGtmMonitorResult.h"
|
||||
#include "model/UpdateDomainGroupRequest.h"
|
||||
#include "model/UpdateDomainGroupResult.h"
|
||||
#include "model/UpdateDomainRecordRequest.h"
|
||||
@@ -216,6 +286,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddCustomLineResult> AddCustomLineOutcome;
|
||||
typedef std::future<AddCustomLineOutcome> AddCustomLineOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddCustomLineRequest&, const AddCustomLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCustomLineAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddDnsGtmAccessStrategyResult> AddDnsGtmAccessStrategyOutcome;
|
||||
typedef std::future<AddDnsGtmAccessStrategyOutcome> AddDnsGtmAccessStrategyOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddDnsGtmAccessStrategyRequest&, const AddDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDnsGtmAccessStrategyAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddDnsGtmAddressPoolResult> AddDnsGtmAddressPoolOutcome;
|
||||
typedef std::future<AddDnsGtmAddressPoolOutcome> AddDnsGtmAddressPoolOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddDnsGtmAddressPoolRequest&, const AddDnsGtmAddressPoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDnsGtmAddressPoolAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddDnsGtmMonitorResult> AddDnsGtmMonitorOutcome;
|
||||
typedef std::future<AddDnsGtmMonitorOutcome> AddDnsGtmMonitorOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddDnsGtmMonitorRequest&, const AddDnsGtmMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDnsGtmMonitorAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddDomainResult> AddDomainOutcome;
|
||||
typedef std::future<AddDomainOutcome> AddDomainOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddDomainRequest&, const AddDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDomainAsyncHandler;
|
||||
@@ -255,6 +334,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteCustomLinesResult> DeleteCustomLinesOutcome;
|
||||
typedef std::future<DeleteCustomLinesOutcome> DeleteCustomLinesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DeleteCustomLinesRequest&, const DeleteCustomLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomLinesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDnsGtmAccessStrategyResult> DeleteDnsGtmAccessStrategyOutcome;
|
||||
typedef std::future<DeleteDnsGtmAccessStrategyOutcome> DeleteDnsGtmAccessStrategyOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DeleteDnsGtmAccessStrategyRequest&, const DeleteDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDnsGtmAccessStrategyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDnsGtmAddressPoolResult> DeleteDnsGtmAddressPoolOutcome;
|
||||
typedef std::future<DeleteDnsGtmAddressPoolOutcome> DeleteDnsGtmAddressPoolOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DeleteDnsGtmAddressPoolRequest&, const DeleteDnsGtmAddressPoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDnsGtmAddressPoolAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDomainResult> DeleteDomainOutcome;
|
||||
typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DeleteDomainRequest&, const DeleteDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainAsyncHandler;
|
||||
@@ -291,12 +376,75 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDNSSLBSubDomainsResult> DescribeDNSSLBSubDomainsOutcome;
|
||||
typedef std::future<DescribeDNSSLBSubDomainsOutcome> DescribeDNSSLBSubDomainsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDNSSLBSubDomainsRequest&, const DescribeDNSSLBSubDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDNSSLBSubDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmAccessStrategiesResult> DescribeDnsGtmAccessStrategiesOutcome;
|
||||
typedef std::future<DescribeDnsGtmAccessStrategiesOutcome> DescribeDnsGtmAccessStrategiesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAccessStrategiesRequest&, const DescribeDnsGtmAccessStrategiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAccessStrategiesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmAccessStrategyResult> DescribeDnsGtmAccessStrategyOutcome;
|
||||
typedef std::future<DescribeDnsGtmAccessStrategyOutcome> DescribeDnsGtmAccessStrategyOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAccessStrategyRequest&, const DescribeDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAccessStrategyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmAccessStrategyAvailableConfigResult> DescribeDnsGtmAccessStrategyAvailableConfigOutcome;
|
||||
typedef std::future<DescribeDnsGtmAccessStrategyAvailableConfigOutcome> DescribeDnsGtmAccessStrategyAvailableConfigOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAccessStrategyAvailableConfigRequest&, const DescribeDnsGtmAccessStrategyAvailableConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAccessStrategyAvailableConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmAddrAttributeInfoResult> DescribeDnsGtmAddrAttributeInfoOutcome;
|
||||
typedef std::future<DescribeDnsGtmAddrAttributeInfoOutcome> DescribeDnsGtmAddrAttributeInfoOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAddrAttributeInfoRequest&, const DescribeDnsGtmAddrAttributeInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAddrAttributeInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmAddressPoolAvailableConfigResult> DescribeDnsGtmAddressPoolAvailableConfigOutcome;
|
||||
typedef std::future<DescribeDnsGtmAddressPoolAvailableConfigOutcome> DescribeDnsGtmAddressPoolAvailableConfigOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAddressPoolAvailableConfigRequest&, const DescribeDnsGtmAddressPoolAvailableConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAddressPoolAvailableConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmAvailableAlertGroupResult> DescribeDnsGtmAvailableAlertGroupOutcome;
|
||||
typedef std::future<DescribeDnsGtmAvailableAlertGroupOutcome> DescribeDnsGtmAvailableAlertGroupOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAvailableAlertGroupRequest&, const DescribeDnsGtmAvailableAlertGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAvailableAlertGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmInstanceResult> DescribeDnsGtmInstanceOutcome;
|
||||
typedef std::future<DescribeDnsGtmInstanceOutcome> DescribeDnsGtmInstanceOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmInstanceRequest&, const DescribeDnsGtmInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmInstanceAddressPoolResult> DescribeDnsGtmInstanceAddressPoolOutcome;
|
||||
typedef std::future<DescribeDnsGtmInstanceAddressPoolOutcome> DescribeDnsGtmInstanceAddressPoolOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmInstanceAddressPoolRequest&, const DescribeDnsGtmInstanceAddressPoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmInstanceAddressPoolAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmInstanceAddressPoolsResult> DescribeDnsGtmInstanceAddressPoolsOutcome;
|
||||
typedef std::future<DescribeDnsGtmInstanceAddressPoolsOutcome> DescribeDnsGtmInstanceAddressPoolsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmInstanceAddressPoolsRequest&, const DescribeDnsGtmInstanceAddressPoolsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmInstanceAddressPoolsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmInstanceStatusResult> DescribeDnsGtmInstanceStatusOutcome;
|
||||
typedef std::future<DescribeDnsGtmInstanceStatusOutcome> DescribeDnsGtmInstanceStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmInstanceStatusRequest&, const DescribeDnsGtmInstanceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmInstanceStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmInstanceSystemCnameResult> DescribeDnsGtmInstanceSystemCnameOutcome;
|
||||
typedef std::future<DescribeDnsGtmInstanceSystemCnameOutcome> DescribeDnsGtmInstanceSystemCnameOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmInstanceSystemCnameRequest&, const DescribeDnsGtmInstanceSystemCnameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmInstanceSystemCnameAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmInstancesResult> DescribeDnsGtmInstancesOutcome;
|
||||
typedef std::future<DescribeDnsGtmInstancesOutcome> DescribeDnsGtmInstancesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmInstancesRequest&, const DescribeDnsGtmInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmLogsResult> DescribeDnsGtmLogsOutcome;
|
||||
typedef std::future<DescribeDnsGtmLogsOutcome> DescribeDnsGtmLogsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmLogsRequest&, const DescribeDnsGtmLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmLogsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmMonitorAvailableConfigResult> DescribeDnsGtmMonitorAvailableConfigOutcome;
|
||||
typedef std::future<DescribeDnsGtmMonitorAvailableConfigOutcome> DescribeDnsGtmMonitorAvailableConfigOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmMonitorAvailableConfigRequest&, const DescribeDnsGtmMonitorAvailableConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmMonitorAvailableConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsGtmMonitorConfigResult> DescribeDnsGtmMonitorConfigOutcome;
|
||||
typedef std::future<DescribeDnsGtmMonitorConfigOutcome> DescribeDnsGtmMonitorConfigOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmMonitorConfigRequest&, const DescribeDnsGtmMonitorConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmMonitorConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsProductInstanceResult> DescribeDnsProductInstanceOutcome;
|
||||
typedef std::future<DescribeDnsProductInstanceOutcome> DescribeDnsProductInstanceOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsProductInstanceRequest&, const DescribeDnsProductInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsProductInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDnsProductInstancesResult> DescribeDnsProductInstancesOutcome;
|
||||
typedef std::future<DescribeDnsProductInstancesOutcome> DescribeDnsProductInstancesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsProductInstancesRequest&, const DescribeDnsProductInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsProductInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDohAccountStatisticsResult> DescribeDohAccountStatisticsOutcome;
|
||||
typedef std::future<DescribeDohAccountStatisticsOutcome> DescribeDohAccountStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohAccountStatisticsRequest&, const DescribeDohAccountStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohAccountStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDohDomainStatisticsResult> DescribeDohDomainStatisticsOutcome;
|
||||
typedef std::future<DescribeDohDomainStatisticsOutcome> DescribeDohDomainStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohDomainStatisticsRequest&, const DescribeDohDomainStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohDomainStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDohDomainStatisticsSummaryResult> DescribeDohDomainStatisticsSummaryOutcome;
|
||||
typedef std::future<DescribeDohDomainStatisticsSummaryOutcome> DescribeDohDomainStatisticsSummaryOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohDomainStatisticsSummaryRequest&, const DescribeDohDomainStatisticsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohDomainStatisticsSummaryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDohSubDomainStatisticsResult> DescribeDohSubDomainStatisticsOutcome;
|
||||
typedef std::future<DescribeDohSubDomainStatisticsOutcome> DescribeDohSubDomainStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohSubDomainStatisticsRequest&, const DescribeDohSubDomainStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohSubDomainStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDohSubDomainStatisticsSummaryResult> DescribeDohSubDomainStatisticsSummaryOutcome;
|
||||
typedef std::future<DescribeDohSubDomainStatisticsSummaryOutcome> DescribeDohSubDomainStatisticsSummaryOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohSubDomainStatisticsSummaryRequest&, const DescribeDohSubDomainStatisticsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohSubDomainStatisticsSummaryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDohUserInfoResult> DescribeDohUserInfoOutcome;
|
||||
typedef std::future<DescribeDohUserInfoOutcome> DescribeDohUserInfoOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohUserInfoRequest&, const DescribeDohUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohUserInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainDnssecInfoResult> DescribeDomainDnssecInfoOutcome;
|
||||
typedef std::future<DescribeDomainDnssecInfoOutcome> DescribeDomainDnssecInfoOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainDnssecInfoRequest&, const DescribeDomainDnssecInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDnssecInfoAsyncHandler;
|
||||
@@ -414,6 +562,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyHichinaDomainDNSResult> ModifyHichinaDomainDNSOutcome;
|
||||
typedef std::future<ModifyHichinaDomainDNSOutcome> ModifyHichinaDomainDNSOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::ModifyHichinaDomainDNSRequest&, const ModifyHichinaDomainDNSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHichinaDomainDNSAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoveDomainResourceGroupResult> MoveDomainResourceGroupOutcome;
|
||||
typedef std::future<MoveDomainResourceGroupOutcome> MoveDomainResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::MoveDomainResourceGroupRequest&, const MoveDomainResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveDomainResourceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoveGtmResourceGroupResult> MoveGtmResourceGroupOutcome;
|
||||
typedef std::future<MoveGtmResourceGroupOutcome> MoveGtmResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::MoveGtmResourceGroupRequest&, const MoveGtmResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveGtmResourceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::OperateBatchDomainResult> OperateBatchDomainOutcome;
|
||||
typedef std::future<OperateBatchDomainOutcome> OperateBatchDomainOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::OperateBatchDomainRequest&, const OperateBatchDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OperateBatchDomainAsyncHandler;
|
||||
@@ -429,6 +583,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetDNSSLBStatusResult> SetDNSSLBStatusOutcome;
|
||||
typedef std::future<SetDNSSLBStatusOutcome> SetDNSSLBStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::SetDNSSLBStatusRequest&, const SetDNSSLBStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDNSSLBStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetDnsGtmAccessModeResult> SetDnsGtmAccessModeOutcome;
|
||||
typedef std::future<SetDnsGtmAccessModeOutcome> SetDnsGtmAccessModeOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::SetDnsGtmAccessModeRequest&, const SetDnsGtmAccessModeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDnsGtmAccessModeAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetDnsGtmMonitorStatusResult> SetDnsGtmMonitorStatusOutcome;
|
||||
typedef std::future<SetDnsGtmMonitorStatusOutcome> SetDnsGtmMonitorStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::SetDnsGtmMonitorStatusRequest&, const SetDnsGtmMonitorStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDnsGtmMonitorStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetDomainDnssecStatusResult> SetDomainDnssecStatusOutcome;
|
||||
typedef std::future<SetDomainDnssecStatusOutcome> SetDomainDnssecStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::SetDomainDnssecStatusRequest&, const SetDomainDnssecStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDomainDnssecStatusAsyncHandler;
|
||||
@@ -441,6 +601,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetGtmMonitorStatusResult> SetGtmMonitorStatusOutcome;
|
||||
typedef std::future<SetGtmMonitorStatusOutcome> SetGtmMonitorStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::SetGtmMonitorStatusRequest&, const SetGtmMonitorStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetGtmMonitorStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::SwitchDnsGtmInstanceStrategyModeResult> SwitchDnsGtmInstanceStrategyModeOutcome;
|
||||
typedef std::future<SwitchDnsGtmInstanceStrategyModeOutcome> SwitchDnsGtmInstanceStrategyModeOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::SwitchDnsGtmInstanceStrategyModeRequest&, const SwitchDnsGtmInstanceStrategyModeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SwitchDnsGtmInstanceStrategyModeAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
@@ -459,6 +622,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateDNSSLBWeightResult> UpdateDNSSLBWeightOutcome;
|
||||
typedef std::future<UpdateDNSSLBWeightOutcome> UpdateDNSSLBWeightOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDNSSLBWeightRequest&, const UpdateDNSSLBWeightOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDNSSLBWeightAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDnsGtmAccessStrategyResult> UpdateDnsGtmAccessStrategyOutcome;
|
||||
typedef std::future<UpdateDnsGtmAccessStrategyOutcome> UpdateDnsGtmAccessStrategyOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDnsGtmAccessStrategyRequest&, const UpdateDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDnsGtmAccessStrategyAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDnsGtmAddressPoolResult> UpdateDnsGtmAddressPoolOutcome;
|
||||
typedef std::future<UpdateDnsGtmAddressPoolOutcome> UpdateDnsGtmAddressPoolOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDnsGtmAddressPoolRequest&, const UpdateDnsGtmAddressPoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDnsGtmAddressPoolAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDnsGtmInstanceGlobalConfigResult> UpdateDnsGtmInstanceGlobalConfigOutcome;
|
||||
typedef std::future<UpdateDnsGtmInstanceGlobalConfigOutcome> UpdateDnsGtmInstanceGlobalConfigOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDnsGtmInstanceGlobalConfigRequest&, const UpdateDnsGtmInstanceGlobalConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDnsGtmInstanceGlobalConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDnsGtmMonitorResult> UpdateDnsGtmMonitorOutcome;
|
||||
typedef std::future<UpdateDnsGtmMonitorOutcome> UpdateDnsGtmMonitorOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDnsGtmMonitorRequest&, const UpdateDnsGtmMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDnsGtmMonitorAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDomainGroupResult> UpdateDomainGroupOutcome;
|
||||
typedef std::future<UpdateDomainGroupOutcome> UpdateDomainGroupOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDomainGroupRequest&, const UpdateDomainGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDomainGroupAsyncHandler;
|
||||
@@ -494,6 +669,15 @@ namespace AlibabaCloud
|
||||
AddCustomLineOutcome addCustomLine(const Model::AddCustomLineRequest &request)const;
|
||||
void addCustomLineAsync(const Model::AddCustomLineRequest& request, const AddCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddCustomLineOutcomeCallable addCustomLineCallable(const Model::AddCustomLineRequest& request) const;
|
||||
AddDnsGtmAccessStrategyOutcome addDnsGtmAccessStrategy(const Model::AddDnsGtmAccessStrategyRequest &request)const;
|
||||
void addDnsGtmAccessStrategyAsync(const Model::AddDnsGtmAccessStrategyRequest& request, const AddDnsGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddDnsGtmAccessStrategyOutcomeCallable addDnsGtmAccessStrategyCallable(const Model::AddDnsGtmAccessStrategyRequest& request) const;
|
||||
AddDnsGtmAddressPoolOutcome addDnsGtmAddressPool(const Model::AddDnsGtmAddressPoolRequest &request)const;
|
||||
void addDnsGtmAddressPoolAsync(const Model::AddDnsGtmAddressPoolRequest& request, const AddDnsGtmAddressPoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddDnsGtmAddressPoolOutcomeCallable addDnsGtmAddressPoolCallable(const Model::AddDnsGtmAddressPoolRequest& request) const;
|
||||
AddDnsGtmMonitorOutcome addDnsGtmMonitor(const Model::AddDnsGtmMonitorRequest &request)const;
|
||||
void addDnsGtmMonitorAsync(const Model::AddDnsGtmMonitorRequest& request, const AddDnsGtmMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddDnsGtmMonitorOutcomeCallable addDnsGtmMonitorCallable(const Model::AddDnsGtmMonitorRequest& request) const;
|
||||
AddDomainOutcome addDomain(const Model::AddDomainRequest &request)const;
|
||||
void addDomainAsync(const Model::AddDomainRequest& request, const AddDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddDomainOutcomeCallable addDomainCallable(const Model::AddDomainRequest& request) const;
|
||||
@@ -533,6 +717,12 @@ namespace AlibabaCloud
|
||||
DeleteCustomLinesOutcome deleteCustomLines(const Model::DeleteCustomLinesRequest &request)const;
|
||||
void deleteCustomLinesAsync(const Model::DeleteCustomLinesRequest& request, const DeleteCustomLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCustomLinesOutcomeCallable deleteCustomLinesCallable(const Model::DeleteCustomLinesRequest& request) const;
|
||||
DeleteDnsGtmAccessStrategyOutcome deleteDnsGtmAccessStrategy(const Model::DeleteDnsGtmAccessStrategyRequest &request)const;
|
||||
void deleteDnsGtmAccessStrategyAsync(const Model::DeleteDnsGtmAccessStrategyRequest& request, const DeleteDnsGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDnsGtmAccessStrategyOutcomeCallable deleteDnsGtmAccessStrategyCallable(const Model::DeleteDnsGtmAccessStrategyRequest& request) const;
|
||||
DeleteDnsGtmAddressPoolOutcome deleteDnsGtmAddressPool(const Model::DeleteDnsGtmAddressPoolRequest &request)const;
|
||||
void deleteDnsGtmAddressPoolAsync(const Model::DeleteDnsGtmAddressPoolRequest& request, const DeleteDnsGtmAddressPoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDnsGtmAddressPoolOutcomeCallable deleteDnsGtmAddressPoolCallable(const Model::DeleteDnsGtmAddressPoolRequest& request) const;
|
||||
DeleteDomainOutcome deleteDomain(const Model::DeleteDomainRequest &request)const;
|
||||
void deleteDomainAsync(const Model::DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDomainOutcomeCallable deleteDomainCallable(const Model::DeleteDomainRequest& request) const;
|
||||
@@ -569,12 +759,75 @@ namespace AlibabaCloud
|
||||
DescribeDNSSLBSubDomainsOutcome describeDNSSLBSubDomains(const Model::DescribeDNSSLBSubDomainsRequest &request)const;
|
||||
void describeDNSSLBSubDomainsAsync(const Model::DescribeDNSSLBSubDomainsRequest& request, const DescribeDNSSLBSubDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDNSSLBSubDomainsOutcomeCallable describeDNSSLBSubDomainsCallable(const Model::DescribeDNSSLBSubDomainsRequest& request) const;
|
||||
DescribeDnsGtmAccessStrategiesOutcome describeDnsGtmAccessStrategies(const Model::DescribeDnsGtmAccessStrategiesRequest &request)const;
|
||||
void describeDnsGtmAccessStrategiesAsync(const Model::DescribeDnsGtmAccessStrategiesRequest& request, const DescribeDnsGtmAccessStrategiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmAccessStrategiesOutcomeCallable describeDnsGtmAccessStrategiesCallable(const Model::DescribeDnsGtmAccessStrategiesRequest& request) const;
|
||||
DescribeDnsGtmAccessStrategyOutcome describeDnsGtmAccessStrategy(const Model::DescribeDnsGtmAccessStrategyRequest &request)const;
|
||||
void describeDnsGtmAccessStrategyAsync(const Model::DescribeDnsGtmAccessStrategyRequest& request, const DescribeDnsGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmAccessStrategyOutcomeCallable describeDnsGtmAccessStrategyCallable(const Model::DescribeDnsGtmAccessStrategyRequest& request) const;
|
||||
DescribeDnsGtmAccessStrategyAvailableConfigOutcome describeDnsGtmAccessStrategyAvailableConfig(const Model::DescribeDnsGtmAccessStrategyAvailableConfigRequest &request)const;
|
||||
void describeDnsGtmAccessStrategyAvailableConfigAsync(const Model::DescribeDnsGtmAccessStrategyAvailableConfigRequest& request, const DescribeDnsGtmAccessStrategyAvailableConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmAccessStrategyAvailableConfigOutcomeCallable describeDnsGtmAccessStrategyAvailableConfigCallable(const Model::DescribeDnsGtmAccessStrategyAvailableConfigRequest& request) const;
|
||||
DescribeDnsGtmAddrAttributeInfoOutcome describeDnsGtmAddrAttributeInfo(const Model::DescribeDnsGtmAddrAttributeInfoRequest &request)const;
|
||||
void describeDnsGtmAddrAttributeInfoAsync(const Model::DescribeDnsGtmAddrAttributeInfoRequest& request, const DescribeDnsGtmAddrAttributeInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmAddrAttributeInfoOutcomeCallable describeDnsGtmAddrAttributeInfoCallable(const Model::DescribeDnsGtmAddrAttributeInfoRequest& request) const;
|
||||
DescribeDnsGtmAddressPoolAvailableConfigOutcome describeDnsGtmAddressPoolAvailableConfig(const Model::DescribeDnsGtmAddressPoolAvailableConfigRequest &request)const;
|
||||
void describeDnsGtmAddressPoolAvailableConfigAsync(const Model::DescribeDnsGtmAddressPoolAvailableConfigRequest& request, const DescribeDnsGtmAddressPoolAvailableConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmAddressPoolAvailableConfigOutcomeCallable describeDnsGtmAddressPoolAvailableConfigCallable(const Model::DescribeDnsGtmAddressPoolAvailableConfigRequest& request) const;
|
||||
DescribeDnsGtmAvailableAlertGroupOutcome describeDnsGtmAvailableAlertGroup(const Model::DescribeDnsGtmAvailableAlertGroupRequest &request)const;
|
||||
void describeDnsGtmAvailableAlertGroupAsync(const Model::DescribeDnsGtmAvailableAlertGroupRequest& request, const DescribeDnsGtmAvailableAlertGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmAvailableAlertGroupOutcomeCallable describeDnsGtmAvailableAlertGroupCallable(const Model::DescribeDnsGtmAvailableAlertGroupRequest& request) const;
|
||||
DescribeDnsGtmInstanceOutcome describeDnsGtmInstance(const Model::DescribeDnsGtmInstanceRequest &request)const;
|
||||
void describeDnsGtmInstanceAsync(const Model::DescribeDnsGtmInstanceRequest& request, const DescribeDnsGtmInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmInstanceOutcomeCallable describeDnsGtmInstanceCallable(const Model::DescribeDnsGtmInstanceRequest& request) const;
|
||||
DescribeDnsGtmInstanceAddressPoolOutcome describeDnsGtmInstanceAddressPool(const Model::DescribeDnsGtmInstanceAddressPoolRequest &request)const;
|
||||
void describeDnsGtmInstanceAddressPoolAsync(const Model::DescribeDnsGtmInstanceAddressPoolRequest& request, const DescribeDnsGtmInstanceAddressPoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmInstanceAddressPoolOutcomeCallable describeDnsGtmInstanceAddressPoolCallable(const Model::DescribeDnsGtmInstanceAddressPoolRequest& request) const;
|
||||
DescribeDnsGtmInstanceAddressPoolsOutcome describeDnsGtmInstanceAddressPools(const Model::DescribeDnsGtmInstanceAddressPoolsRequest &request)const;
|
||||
void describeDnsGtmInstanceAddressPoolsAsync(const Model::DescribeDnsGtmInstanceAddressPoolsRequest& request, const DescribeDnsGtmInstanceAddressPoolsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmInstanceAddressPoolsOutcomeCallable describeDnsGtmInstanceAddressPoolsCallable(const Model::DescribeDnsGtmInstanceAddressPoolsRequest& request) const;
|
||||
DescribeDnsGtmInstanceStatusOutcome describeDnsGtmInstanceStatus(const Model::DescribeDnsGtmInstanceStatusRequest &request)const;
|
||||
void describeDnsGtmInstanceStatusAsync(const Model::DescribeDnsGtmInstanceStatusRequest& request, const DescribeDnsGtmInstanceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmInstanceStatusOutcomeCallable describeDnsGtmInstanceStatusCallable(const Model::DescribeDnsGtmInstanceStatusRequest& request) const;
|
||||
DescribeDnsGtmInstanceSystemCnameOutcome describeDnsGtmInstanceSystemCname(const Model::DescribeDnsGtmInstanceSystemCnameRequest &request)const;
|
||||
void describeDnsGtmInstanceSystemCnameAsync(const Model::DescribeDnsGtmInstanceSystemCnameRequest& request, const DescribeDnsGtmInstanceSystemCnameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmInstanceSystemCnameOutcomeCallable describeDnsGtmInstanceSystemCnameCallable(const Model::DescribeDnsGtmInstanceSystemCnameRequest& request) const;
|
||||
DescribeDnsGtmInstancesOutcome describeDnsGtmInstances(const Model::DescribeDnsGtmInstancesRequest &request)const;
|
||||
void describeDnsGtmInstancesAsync(const Model::DescribeDnsGtmInstancesRequest& request, const DescribeDnsGtmInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmInstancesOutcomeCallable describeDnsGtmInstancesCallable(const Model::DescribeDnsGtmInstancesRequest& request) const;
|
||||
DescribeDnsGtmLogsOutcome describeDnsGtmLogs(const Model::DescribeDnsGtmLogsRequest &request)const;
|
||||
void describeDnsGtmLogsAsync(const Model::DescribeDnsGtmLogsRequest& request, const DescribeDnsGtmLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmLogsOutcomeCallable describeDnsGtmLogsCallable(const Model::DescribeDnsGtmLogsRequest& request) const;
|
||||
DescribeDnsGtmMonitorAvailableConfigOutcome describeDnsGtmMonitorAvailableConfig(const Model::DescribeDnsGtmMonitorAvailableConfigRequest &request)const;
|
||||
void describeDnsGtmMonitorAvailableConfigAsync(const Model::DescribeDnsGtmMonitorAvailableConfigRequest& request, const DescribeDnsGtmMonitorAvailableConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmMonitorAvailableConfigOutcomeCallable describeDnsGtmMonitorAvailableConfigCallable(const Model::DescribeDnsGtmMonitorAvailableConfigRequest& request) const;
|
||||
DescribeDnsGtmMonitorConfigOutcome describeDnsGtmMonitorConfig(const Model::DescribeDnsGtmMonitorConfigRequest &request)const;
|
||||
void describeDnsGtmMonitorConfigAsync(const Model::DescribeDnsGtmMonitorConfigRequest& request, const DescribeDnsGtmMonitorConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsGtmMonitorConfigOutcomeCallable describeDnsGtmMonitorConfigCallable(const Model::DescribeDnsGtmMonitorConfigRequest& request) const;
|
||||
DescribeDnsProductInstanceOutcome describeDnsProductInstance(const Model::DescribeDnsProductInstanceRequest &request)const;
|
||||
void describeDnsProductInstanceAsync(const Model::DescribeDnsProductInstanceRequest& request, const DescribeDnsProductInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsProductInstanceOutcomeCallable describeDnsProductInstanceCallable(const Model::DescribeDnsProductInstanceRequest& request) const;
|
||||
DescribeDnsProductInstancesOutcome describeDnsProductInstances(const Model::DescribeDnsProductInstancesRequest &request)const;
|
||||
void describeDnsProductInstancesAsync(const Model::DescribeDnsProductInstancesRequest& request, const DescribeDnsProductInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsProductInstancesOutcomeCallable describeDnsProductInstancesCallable(const Model::DescribeDnsProductInstancesRequest& request) const;
|
||||
DescribeDohAccountStatisticsOutcome describeDohAccountStatistics(const Model::DescribeDohAccountStatisticsRequest &request)const;
|
||||
void describeDohAccountStatisticsAsync(const Model::DescribeDohAccountStatisticsRequest& request, const DescribeDohAccountStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDohAccountStatisticsOutcomeCallable describeDohAccountStatisticsCallable(const Model::DescribeDohAccountStatisticsRequest& request) const;
|
||||
DescribeDohDomainStatisticsOutcome describeDohDomainStatistics(const Model::DescribeDohDomainStatisticsRequest &request)const;
|
||||
void describeDohDomainStatisticsAsync(const Model::DescribeDohDomainStatisticsRequest& request, const DescribeDohDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDohDomainStatisticsOutcomeCallable describeDohDomainStatisticsCallable(const Model::DescribeDohDomainStatisticsRequest& request) const;
|
||||
DescribeDohDomainStatisticsSummaryOutcome describeDohDomainStatisticsSummary(const Model::DescribeDohDomainStatisticsSummaryRequest &request)const;
|
||||
void describeDohDomainStatisticsSummaryAsync(const Model::DescribeDohDomainStatisticsSummaryRequest& request, const DescribeDohDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDohDomainStatisticsSummaryOutcomeCallable describeDohDomainStatisticsSummaryCallable(const Model::DescribeDohDomainStatisticsSummaryRequest& request) const;
|
||||
DescribeDohSubDomainStatisticsOutcome describeDohSubDomainStatistics(const Model::DescribeDohSubDomainStatisticsRequest &request)const;
|
||||
void describeDohSubDomainStatisticsAsync(const Model::DescribeDohSubDomainStatisticsRequest& request, const DescribeDohSubDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDohSubDomainStatisticsOutcomeCallable describeDohSubDomainStatisticsCallable(const Model::DescribeDohSubDomainStatisticsRequest& request) const;
|
||||
DescribeDohSubDomainStatisticsSummaryOutcome describeDohSubDomainStatisticsSummary(const Model::DescribeDohSubDomainStatisticsSummaryRequest &request)const;
|
||||
void describeDohSubDomainStatisticsSummaryAsync(const Model::DescribeDohSubDomainStatisticsSummaryRequest& request, const DescribeDohSubDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDohSubDomainStatisticsSummaryOutcomeCallable describeDohSubDomainStatisticsSummaryCallable(const Model::DescribeDohSubDomainStatisticsSummaryRequest& request) const;
|
||||
DescribeDohUserInfoOutcome describeDohUserInfo(const Model::DescribeDohUserInfoRequest &request)const;
|
||||
void describeDohUserInfoAsync(const Model::DescribeDohUserInfoRequest& request, const DescribeDohUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDohUserInfoOutcomeCallable describeDohUserInfoCallable(const Model::DescribeDohUserInfoRequest& request) const;
|
||||
DescribeDomainDnssecInfoOutcome describeDomainDnssecInfo(const Model::DescribeDomainDnssecInfoRequest &request)const;
|
||||
void describeDomainDnssecInfoAsync(const Model::DescribeDomainDnssecInfoRequest& request, const DescribeDomainDnssecInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainDnssecInfoOutcomeCallable describeDomainDnssecInfoCallable(const Model::DescribeDomainDnssecInfoRequest& request) const;
|
||||
@@ -692,6 +945,12 @@ namespace AlibabaCloud
|
||||
ModifyHichinaDomainDNSOutcome modifyHichinaDomainDNS(const Model::ModifyHichinaDomainDNSRequest &request)const;
|
||||
void modifyHichinaDomainDNSAsync(const Model::ModifyHichinaDomainDNSRequest& request, const ModifyHichinaDomainDNSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyHichinaDomainDNSOutcomeCallable modifyHichinaDomainDNSCallable(const Model::ModifyHichinaDomainDNSRequest& request) const;
|
||||
MoveDomainResourceGroupOutcome moveDomainResourceGroup(const Model::MoveDomainResourceGroupRequest &request)const;
|
||||
void moveDomainResourceGroupAsync(const Model::MoveDomainResourceGroupRequest& request, const MoveDomainResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoveDomainResourceGroupOutcomeCallable moveDomainResourceGroupCallable(const Model::MoveDomainResourceGroupRequest& request) const;
|
||||
MoveGtmResourceGroupOutcome moveGtmResourceGroup(const Model::MoveGtmResourceGroupRequest &request)const;
|
||||
void moveGtmResourceGroupAsync(const Model::MoveGtmResourceGroupRequest& request, const MoveGtmResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoveGtmResourceGroupOutcomeCallable moveGtmResourceGroupCallable(const Model::MoveGtmResourceGroupRequest& request) const;
|
||||
OperateBatchDomainOutcome operateBatchDomain(const Model::OperateBatchDomainRequest &request)const;
|
||||
void operateBatchDomainAsync(const Model::OperateBatchDomainRequest& request, const OperateBatchDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OperateBatchDomainOutcomeCallable operateBatchDomainCallable(const Model::OperateBatchDomainRequest& request) const;
|
||||
@@ -707,6 +966,12 @@ namespace AlibabaCloud
|
||||
SetDNSSLBStatusOutcome setDNSSLBStatus(const Model::SetDNSSLBStatusRequest &request)const;
|
||||
void setDNSSLBStatusAsync(const Model::SetDNSSLBStatusRequest& request, const SetDNSSLBStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetDNSSLBStatusOutcomeCallable setDNSSLBStatusCallable(const Model::SetDNSSLBStatusRequest& request) const;
|
||||
SetDnsGtmAccessModeOutcome setDnsGtmAccessMode(const Model::SetDnsGtmAccessModeRequest &request)const;
|
||||
void setDnsGtmAccessModeAsync(const Model::SetDnsGtmAccessModeRequest& request, const SetDnsGtmAccessModeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetDnsGtmAccessModeOutcomeCallable setDnsGtmAccessModeCallable(const Model::SetDnsGtmAccessModeRequest& request) const;
|
||||
SetDnsGtmMonitorStatusOutcome setDnsGtmMonitorStatus(const Model::SetDnsGtmMonitorStatusRequest &request)const;
|
||||
void setDnsGtmMonitorStatusAsync(const Model::SetDnsGtmMonitorStatusRequest& request, const SetDnsGtmMonitorStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetDnsGtmMonitorStatusOutcomeCallable setDnsGtmMonitorStatusCallable(const Model::SetDnsGtmMonitorStatusRequest& request) const;
|
||||
SetDomainDnssecStatusOutcome setDomainDnssecStatus(const Model::SetDomainDnssecStatusRequest &request)const;
|
||||
void setDomainDnssecStatusAsync(const Model::SetDomainDnssecStatusRequest& request, const SetDomainDnssecStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetDomainDnssecStatusOutcomeCallable setDomainDnssecStatusCallable(const Model::SetDomainDnssecStatusRequest& request) const;
|
||||
@@ -719,6 +984,9 @@ namespace AlibabaCloud
|
||||
SetGtmMonitorStatusOutcome setGtmMonitorStatus(const Model::SetGtmMonitorStatusRequest &request)const;
|
||||
void setGtmMonitorStatusAsync(const Model::SetGtmMonitorStatusRequest& request, const SetGtmMonitorStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetGtmMonitorStatusOutcomeCallable setGtmMonitorStatusCallable(const Model::SetGtmMonitorStatusRequest& request) const;
|
||||
SwitchDnsGtmInstanceStrategyModeOutcome switchDnsGtmInstanceStrategyMode(const Model::SwitchDnsGtmInstanceStrategyModeRequest &request)const;
|
||||
void switchDnsGtmInstanceStrategyModeAsync(const Model::SwitchDnsGtmInstanceStrategyModeRequest& request, const SwitchDnsGtmInstanceStrategyModeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SwitchDnsGtmInstanceStrategyModeOutcomeCallable switchDnsGtmInstanceStrategyModeCallable(const Model::SwitchDnsGtmInstanceStrategyModeRequest& request) const;
|
||||
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
@@ -737,6 +1005,18 @@ namespace AlibabaCloud
|
||||
UpdateDNSSLBWeightOutcome updateDNSSLBWeight(const Model::UpdateDNSSLBWeightRequest &request)const;
|
||||
void updateDNSSLBWeightAsync(const Model::UpdateDNSSLBWeightRequest& request, const UpdateDNSSLBWeightAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDNSSLBWeightOutcomeCallable updateDNSSLBWeightCallable(const Model::UpdateDNSSLBWeightRequest& request) const;
|
||||
UpdateDnsGtmAccessStrategyOutcome updateDnsGtmAccessStrategy(const Model::UpdateDnsGtmAccessStrategyRequest &request)const;
|
||||
void updateDnsGtmAccessStrategyAsync(const Model::UpdateDnsGtmAccessStrategyRequest& request, const UpdateDnsGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDnsGtmAccessStrategyOutcomeCallable updateDnsGtmAccessStrategyCallable(const Model::UpdateDnsGtmAccessStrategyRequest& request) const;
|
||||
UpdateDnsGtmAddressPoolOutcome updateDnsGtmAddressPool(const Model::UpdateDnsGtmAddressPoolRequest &request)const;
|
||||
void updateDnsGtmAddressPoolAsync(const Model::UpdateDnsGtmAddressPoolRequest& request, const UpdateDnsGtmAddressPoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDnsGtmAddressPoolOutcomeCallable updateDnsGtmAddressPoolCallable(const Model::UpdateDnsGtmAddressPoolRequest& request) const;
|
||||
UpdateDnsGtmInstanceGlobalConfigOutcome updateDnsGtmInstanceGlobalConfig(const Model::UpdateDnsGtmInstanceGlobalConfigRequest &request)const;
|
||||
void updateDnsGtmInstanceGlobalConfigAsync(const Model::UpdateDnsGtmInstanceGlobalConfigRequest& request, const UpdateDnsGtmInstanceGlobalConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDnsGtmInstanceGlobalConfigOutcomeCallable updateDnsGtmInstanceGlobalConfigCallable(const Model::UpdateDnsGtmInstanceGlobalConfigRequest& request) const;
|
||||
UpdateDnsGtmMonitorOutcome updateDnsGtmMonitor(const Model::UpdateDnsGtmMonitorRequest &request)const;
|
||||
void updateDnsGtmMonitorAsync(const Model::UpdateDnsGtmMonitorRequest& request, const UpdateDnsGtmMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDnsGtmMonitorOutcomeCallable updateDnsGtmMonitorCallable(const Model::UpdateDnsGtmMonitorRequest& request) const;
|
||||
UpdateDomainGroupOutcome updateDomainGroup(const Model::UpdateDomainGroupRequest &request)const;
|
||||
void updateDomainGroupAsync(const Model::UpdateDomainGroupRequest& request, const UpdateDomainGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDomainGroupOutcomeCallable updateDomainGroupCallable(const Model::UpdateDomainGroupRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ALIDNS_MODEL_ADDDNSGTMACCESSSTRATEGYREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMACCESSSTRATEGYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddDnsGtmAccessStrategyRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct DefaultAddrPool
|
||||
{
|
||||
std::string id;
|
||||
int lbaWeight;
|
||||
};
|
||||
struct FailoverAddrPool
|
||||
{
|
||||
std::string id;
|
||||
int lbaWeight;
|
||||
};
|
||||
|
||||
public:
|
||||
AddDnsGtmAccessStrategyRequest();
|
||||
~AddDnsGtmAccessStrategyRequest();
|
||||
|
||||
std::string getDefaultLbaStrategy()const;
|
||||
void setDefaultLbaStrategy(const std::string& defaultLbaStrategy);
|
||||
std::string getFailoverAddrPoolType()const;
|
||||
void setFailoverAddrPoolType(const std::string& failoverAddrPoolType);
|
||||
std::string getDefaultAddrPoolType()const;
|
||||
void setDefaultAddrPoolType(const std::string& defaultAddrPoolType);
|
||||
int getFailoverMaxReturnAddrNum()const;
|
||||
void setFailoverMaxReturnAddrNum(int failoverMaxReturnAddrNum);
|
||||
std::string getFailoverLbaStrategy()const;
|
||||
void setFailoverLbaStrategy(const std::string& failoverLbaStrategy);
|
||||
std::vector<DefaultAddrPool> getDefaultAddrPool()const;
|
||||
void setDefaultAddrPool(const std::vector<DefaultAddrPool>& defaultAddrPool);
|
||||
int getFailoverMinAvailableAddrNum()const;
|
||||
void setFailoverMinAvailableAddrNum(int failoverMinAvailableAddrNum);
|
||||
int getDefaultMaxReturnAddrNum()const;
|
||||
void setDefaultMaxReturnAddrNum(int defaultMaxReturnAddrNum);
|
||||
int getDefaultMinAvailableAddrNum()const;
|
||||
void setDefaultMinAvailableAddrNum(int defaultMinAvailableAddrNum);
|
||||
std::string getStrategyMode()const;
|
||||
void setStrategyMode(const std::string& strategyMode);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getLines()const;
|
||||
void setLines(const std::string& lines);
|
||||
std::string getStrategyName()const;
|
||||
void setStrategyName(const std::string& strategyName);
|
||||
std::string getDefaultLatencyOptimization()const;
|
||||
void setDefaultLatencyOptimization(const std::string& defaultLatencyOptimization);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getFailoverLatencyOptimization()const;
|
||||
void setFailoverLatencyOptimization(const std::string& failoverLatencyOptimization);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::vector<FailoverAddrPool> getFailoverAddrPool()const;
|
||||
void setFailoverAddrPool(const std::vector<FailoverAddrPool>& failoverAddrPool);
|
||||
|
||||
private:
|
||||
std::string defaultLbaStrategy_;
|
||||
std::string failoverAddrPoolType_;
|
||||
std::string defaultAddrPoolType_;
|
||||
int failoverMaxReturnAddrNum_;
|
||||
std::string failoverLbaStrategy_;
|
||||
std::vector<DefaultAddrPool> defaultAddrPool_;
|
||||
int failoverMinAvailableAddrNum_;
|
||||
int defaultMaxReturnAddrNum_;
|
||||
int defaultMinAvailableAddrNum_;
|
||||
std::string strategyMode_;
|
||||
std::string lang_;
|
||||
std::string lines_;
|
||||
std::string strategyName_;
|
||||
std::string defaultLatencyOptimization_;
|
||||
std::string instanceId_;
|
||||
std::string failoverLatencyOptimization_;
|
||||
std::string userClientIp_;
|
||||
std::vector<FailoverAddrPool> failoverAddrPool_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMACCESSSTRATEGYREQUEST_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_ALIDNS_MODEL_ADDDNSGTMACCESSSTRATEGYRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMACCESSSTRATEGYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddDnsGtmAccessStrategyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddDnsGtmAccessStrategyResult();
|
||||
explicit AddDnsGtmAccessStrategyResult(const std::string &payload);
|
||||
~AddDnsGtmAccessStrategyResult();
|
||||
std::string getStrategyId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string strategyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMACCESSSTRATEGYRESULT_H_
|
||||
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMADDRESSPOOLREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMADDRESSPOOLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddDnsGtmAddressPoolRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Addr
|
||||
{
|
||||
std::string mode;
|
||||
std::string attributeInfo;
|
||||
std::string remark;
|
||||
std::string addr;
|
||||
int lbaWeight;
|
||||
};
|
||||
struct IspCityNode
|
||||
{
|
||||
std::string cityCode;
|
||||
std::string ispCode;
|
||||
};
|
||||
|
||||
public:
|
||||
AddDnsGtmAddressPoolRequest();
|
||||
~AddDnsGtmAddressPoolRequest();
|
||||
|
||||
std::string getMonitorExtendInfo()const;
|
||||
void setMonitorExtendInfo(const std::string& monitorExtendInfo);
|
||||
std::string getLbaStrategy()const;
|
||||
void setLbaStrategy(const std::string& lbaStrategy);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
int getTimeout()const;
|
||||
void setTimeout(int timeout);
|
||||
int getEvaluationCount()const;
|
||||
void setEvaluationCount(int evaluationCount);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::vector<Addr> getAddr()const;
|
||||
void setAddr(const std::vector<Addr>& addr);
|
||||
std::string getMonitorStatus()const;
|
||||
void setMonitorStatus(const std::string& monitorStatus);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getProtocolType()const;
|
||||
void setProtocolType(const std::string& protocolType);
|
||||
int getInterval()const;
|
||||
void setInterval(int interval);
|
||||
std::vector<IspCityNode> getIspCityNode()const;
|
||||
void setIspCityNode(const std::vector<IspCityNode>& ispCityNode);
|
||||
|
||||
private:
|
||||
std::string monitorExtendInfo_;
|
||||
std::string lbaStrategy_;
|
||||
std::string type_;
|
||||
int timeout_;
|
||||
int evaluationCount_;
|
||||
std::string lang_;
|
||||
std::vector<Addr> addr_;
|
||||
std::string monitorStatus_;
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
std::string name_;
|
||||
std::string protocolType_;
|
||||
int interval_;
|
||||
std::vector<IspCityNode> ispCityNode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMADDRESSPOOLREQUEST_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_ALIDNS_MODEL_ADDDNSGTMADDRESSPOOLRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMADDRESSPOOLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddDnsGtmAddressPoolResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddDnsGtmAddressPoolResult();
|
||||
explicit AddDnsGtmAddressPoolResult(const std::string &payload);
|
||||
~AddDnsGtmAddressPoolResult();
|
||||
std::string getAddrPoolId()const;
|
||||
std::string getMonitorConfigId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string addrPoolId_;
|
||||
std::string monitorConfigId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMADDRESSPOOLRESULT_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMMONITORREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMMONITORREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddDnsGtmMonitorRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct IspCityNode
|
||||
{
|
||||
std::string cityCode;
|
||||
std::string ispCode;
|
||||
};
|
||||
|
||||
public:
|
||||
AddDnsGtmMonitorRequest();
|
||||
~AddDnsGtmMonitorRequest();
|
||||
|
||||
std::string getMonitorExtendInfo()const;
|
||||
void setMonitorExtendInfo(const std::string& monitorExtendInfo);
|
||||
int getTimeout()const;
|
||||
void setTimeout(int timeout);
|
||||
std::string getAddrPoolId()const;
|
||||
void setAddrPoolId(const std::string& addrPoolId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
int getEvaluationCount()const;
|
||||
void setEvaluationCount(int evaluationCount);
|
||||
std::string getProtocolType()const;
|
||||
void setProtocolType(const std::string& protocolType);
|
||||
int getInterval()const;
|
||||
void setInterval(int interval);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::vector<IspCityNode> getIspCityNode()const;
|
||||
void setIspCityNode(const std::vector<IspCityNode>& ispCityNode);
|
||||
|
||||
private:
|
||||
std::string monitorExtendInfo_;
|
||||
int timeout_;
|
||||
std::string addrPoolId_;
|
||||
std::string userClientIp_;
|
||||
int evaluationCount_;
|
||||
std::string protocolType_;
|
||||
int interval_;
|
||||
std::string lang_;
|
||||
std::vector<IspCityNode> ispCityNode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMMONITORREQUEST_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_ALIDNS_MODEL_ADDDNSGTMMONITORRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMMONITORRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddDnsGtmMonitorResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddDnsGtmMonitorResult();
|
||||
explicit AddDnsGtmMonitorResult(const std::string &payload);
|
||||
~AddDnsGtmMonitorResult();
|
||||
std::string getMonitorConfigId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string monitorConfigId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMMONITORRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMACCESSSTRATEGYREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMACCESSSTRATEGYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DeleteDnsGtmAccessStrategyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDnsGtmAccessStrategyRequest();
|
||||
~DeleteDnsGtmAccessStrategyRequest();
|
||||
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getStrategyId()const;
|
||||
void setStrategyId(const std::string& strategyId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string userClientIp_;
|
||||
std::string strategyId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMACCESSSTRATEGYREQUEST_H_
|
||||
@@ -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_ALIDNS_MODEL_DELETEDNSGTMACCESSSTRATEGYRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMACCESSSTRATEGYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DeleteDnsGtmAccessStrategyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDnsGtmAccessStrategyResult();
|
||||
explicit DeleteDnsGtmAccessStrategyResult(const std::string &payload);
|
||||
~DeleteDnsGtmAccessStrategyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMACCESSSTRATEGYRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMADDRESSPOOLREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMADDRESSPOOLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DeleteDnsGtmAddressPoolRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDnsGtmAddressPoolRequest();
|
||||
~DeleteDnsGtmAddressPoolRequest();
|
||||
|
||||
std::string getAddrPoolId()const;
|
||||
void setAddrPoolId(const std::string& addrPoolId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string addrPoolId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMADDRESSPOOLREQUEST_H_
|
||||
@@ -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_ALIDNS_MODEL_DELETEDNSGTMADDRESSPOOLRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMADDRESSPOOLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DeleteDnsGtmAddressPoolResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDnsGtmAddressPoolResult();
|
||||
explicit DeleteDnsGtmAddressPoolResult(const std::string &payload);
|
||||
~DeleteDnsGtmAddressPoolResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMADDRESSPOOLRESULT_H_
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DescribeDNSSLBSubDomainsRequest();
|
||||
~DescribeDNSSLBSubDomainsRequest();
|
||||
|
||||
std::string getRr()const;
|
||||
void setRr(const std::string& rr);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getPageNumber()const;
|
||||
@@ -49,6 +51,7 @@ namespace AlibabaCloud
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string rr_;
|
||||
std::string domainName_;
|
||||
long pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
@@ -34,8 +34,14 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct SlbSubDomain
|
||||
{
|
||||
struct LineAlgorithm
|
||||
{
|
||||
std::string line;
|
||||
bool open;
|
||||
};
|
||||
std::string subDomain;
|
||||
std::string type;
|
||||
std::vector<SlbSubDomain::LineAlgorithm> lineAlgorithms;
|
||||
long recordCount;
|
||||
bool open;
|
||||
};
|
||||
|
||||
@@ -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_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGIESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAccessStrategiesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmAccessStrategiesRequest();
|
||||
~DescribeDnsGtmAccessStrategiesRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getStrategyMode()const;
|
||||
void setStrategyMode(const std::string& strategyMode);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
int pageSize_;
|
||||
std::string strategyMode_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGIESREQUEST_H_
|
||||
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGIESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAccessStrategiesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Strategy
|
||||
{
|
||||
struct Line
|
||||
{
|
||||
std::string groupName;
|
||||
std::string groupCode;
|
||||
std::string lineCode;
|
||||
std::string lineName;
|
||||
};
|
||||
struct EffectiveAddrPool
|
||||
{
|
||||
int lbaWeight;
|
||||
std::string id;
|
||||
std::string name;
|
||||
int addrCount;
|
||||
};
|
||||
std::vector<Strategy::EffectiveAddrPool> effectiveAddrPools;
|
||||
std::string strategyName;
|
||||
std::string effectiveAddrPoolType;
|
||||
std::string createTime;
|
||||
std::string effectiveAddrPoolGroupType;
|
||||
std::string strategyId;
|
||||
long createTimestamp;
|
||||
std::vector<Strategy::Line> lines;
|
||||
std::string effectiveLbaStrategy;
|
||||
};
|
||||
|
||||
|
||||
DescribeDnsGtmAccessStrategiesResult();
|
||||
explicit DescribeDnsGtmAccessStrategiesResult(const std::string &payload);
|
||||
~DescribeDnsGtmAccessStrategiesResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Strategy> getStrategies()const;
|
||||
int getTotalPages()const;
|
||||
int getTotalItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Strategy> strategies_;
|
||||
int totalPages_;
|
||||
int totalItems_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGIESRESULT_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_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYAVAILABLECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYAVAILABLECONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAccessStrategyAvailableConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmAccessStrategyAvailableConfigRequest();
|
||||
~DescribeDnsGtmAccessStrategyAvailableConfigRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getStrategyMode()const;
|
||||
void setStrategyMode(const std::string& strategyMode);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
std::string strategyMode_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYAVAILABLECONFIGREQUEST_H_
|
||||
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYAVAILABLECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYAVAILABLECONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAccessStrategyAvailableConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Ipv4AddrPool
|
||||
{
|
||||
std::string id;
|
||||
std::string name;
|
||||
int addrCount;
|
||||
};
|
||||
struct Line
|
||||
{
|
||||
std::string groupName;
|
||||
std::string groupCode;
|
||||
std::string fatherCode;
|
||||
std::string lineCode;
|
||||
std::string lineName;
|
||||
};
|
||||
struct Ipv6AddrPool
|
||||
{
|
||||
std::string id;
|
||||
std::string name;
|
||||
int addrCount;
|
||||
};
|
||||
struct DomainAddrPool
|
||||
{
|
||||
std::string id;
|
||||
std::string name;
|
||||
int addrCount;
|
||||
};
|
||||
|
||||
|
||||
DescribeDnsGtmAccessStrategyAvailableConfigResult();
|
||||
explicit DescribeDnsGtmAccessStrategyAvailableConfigResult(const std::string &payload);
|
||||
~DescribeDnsGtmAccessStrategyAvailableConfigResult();
|
||||
std::vector<Ipv4AddrPool> getIpv4AddrPools()const;
|
||||
std::vector<DomainAddrPool> getDomainAddrPools()const;
|
||||
std::vector<std::string> getSelectedDomainLines()const;
|
||||
std::vector<std::string> getSelectedIpv4Lines()const;
|
||||
std::vector<Ipv6AddrPool> getIpv6AddrPools()const;
|
||||
std::vector<Line> getLines()const;
|
||||
std::vector<std::string> getSelectedIpv6Lines()const;
|
||||
bool getSuggestSetDefaultLine()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Ipv4AddrPool> ipv4AddrPools_;
|
||||
std::vector<DomainAddrPool> domainAddrPools_;
|
||||
std::vector<std::string> selectedDomainLines_;
|
||||
std::vector<std::string> selectedIpv4Lines_;
|
||||
std::vector<Ipv6AddrPool> ipv6AddrPools_;
|
||||
std::vector<Line> lines_;
|
||||
std::vector<std::string> selectedIpv6Lines_;
|
||||
bool suggestSetDefaultLine_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYAVAILABLECONFIGRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAccessStrategyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmAccessStrategyRequest();
|
||||
~DescribeDnsGtmAccessStrategyRequest();
|
||||
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getStrategyId()const;
|
||||
void setStrategyId(const std::string& strategyId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string userClientIp_;
|
||||
std::string strategyId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYREQUEST_H_
|
||||
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAccessStrategyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Line
|
||||
{
|
||||
std::string groupName;
|
||||
std::string groupCode;
|
||||
std::string lineCode;
|
||||
std::string lineName;
|
||||
};
|
||||
struct DefaultAddrPool
|
||||
{
|
||||
int lbaWeight;
|
||||
std::string id;
|
||||
std::string name;
|
||||
int addrCount;
|
||||
};
|
||||
struct FailoverAddrPool
|
||||
{
|
||||
int lbaWeight;
|
||||
std::string id;
|
||||
std::string name;
|
||||
int addrCount;
|
||||
};
|
||||
|
||||
|
||||
DescribeDnsGtmAccessStrategyResult();
|
||||
explicit DescribeDnsGtmAccessStrategyResult(const std::string &payload);
|
||||
~DescribeDnsGtmAccessStrategyResult();
|
||||
int getFailoverMinAvailableAddrNum()const;
|
||||
std::string getDefaultAddrPoolType()const;
|
||||
std::string getStrategyId()const;
|
||||
std::string getFailoverAddrPoolGroupStatus()const;
|
||||
int getDefaultAvailableAddrNum()const;
|
||||
int getFailoverAvailableAddrNum()const;
|
||||
std::string getFailoverLbaStrategy()const;
|
||||
int getDefaultMaxReturnAddrNum()const;
|
||||
std::string getStrategyMode()const;
|
||||
long getCreateTimestamp()const;
|
||||
std::string getDefaultLbaStrategy()const;
|
||||
std::string getDefaultAddrPoolGroupStatus()const;
|
||||
std::string getFailoverAddrPoolType()const;
|
||||
std::vector<FailoverAddrPool> getFailoverAddrPools()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getDefaultLatencyOptimization()const;
|
||||
std::string getEffectiveAddrPoolGroupType()const;
|
||||
std::string getCreateTime()const;
|
||||
std::vector<DefaultAddrPool> getDefaultAddrPools()const;
|
||||
int getDefaultMinAvailableAddrNum()const;
|
||||
std::string getFailoverLatencyOptimization()const;
|
||||
std::string getStrategyName()const;
|
||||
int getFailoverMaxReturnAddrNum()const;
|
||||
std::string getAccessMode()const;
|
||||
std::vector<Line> getLines()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int failoverMinAvailableAddrNum_;
|
||||
std::string defaultAddrPoolType_;
|
||||
std::string strategyId_;
|
||||
std::string failoverAddrPoolGroupStatus_;
|
||||
int defaultAvailableAddrNum_;
|
||||
int failoverAvailableAddrNum_;
|
||||
std::string failoverLbaStrategy_;
|
||||
int defaultMaxReturnAddrNum_;
|
||||
std::string strategyMode_;
|
||||
long createTimestamp_;
|
||||
std::string defaultLbaStrategy_;
|
||||
std::string defaultAddrPoolGroupStatus_;
|
||||
std::string failoverAddrPoolType_;
|
||||
std::vector<FailoverAddrPool> failoverAddrPools_;
|
||||
std::string instanceId_;
|
||||
std::string defaultLatencyOptimization_;
|
||||
std::string effectiveAddrPoolGroupType_;
|
||||
std::string createTime_;
|
||||
std::vector<DefaultAddrPool> defaultAddrPools_;
|
||||
int defaultMinAvailableAddrNum_;
|
||||
std::string failoverLatencyOptimization_;
|
||||
std::string strategyName_;
|
||||
int failoverMaxReturnAddrNum_;
|
||||
std::string accessMode_;
|
||||
std::vector<Line> lines_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYRESULT_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_ALIDNS_MODEL_DESCRIBEDNSGTMADDRATTRIBUTEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRATTRIBUTEINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAddrAttributeInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmAddrAttributeInfoRequest();
|
||||
~DescribeDnsGtmAddrAttributeInfoRequest();
|
||||
|
||||
std::string getAddrs()const;
|
||||
void setAddrs(const std::string& addrs);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string addrs_;
|
||||
std::string type_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRATTRIBUTEINFOREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ALIDNS_MODEL_DESCRIBEDNSGTMADDRATTRIBUTEINFORESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRATTRIBUTEINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAddrAttributeInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AddrItem
|
||||
{
|
||||
struct AttributeInfo
|
||||
{
|
||||
std::string groupName;
|
||||
std::string groupCode;
|
||||
std::string fatherCode;
|
||||
std::string lineCode;
|
||||
std::string lineName;
|
||||
};
|
||||
AttributeInfo attributeInfo;
|
||||
std::string addr;
|
||||
};
|
||||
|
||||
|
||||
DescribeDnsGtmAddrAttributeInfoResult();
|
||||
explicit DescribeDnsGtmAddrAttributeInfoResult(const std::string &payload);
|
||||
~DescribeDnsGtmAddrAttributeInfoResult();
|
||||
std::vector<AddrItem> getAddr()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AddrItem> addr_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRATTRIBUTEINFORESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRESSPOOLAVAILABLECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRESSPOOLAVAILABLECONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAddressPoolAvailableConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmAddressPoolAvailableConfigRequest();
|
||||
~DescribeDnsGtmAddressPoolAvailableConfigRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRESSPOOLAVAILABLECONFIGREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRESSPOOLAVAILABLECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRESSPOOLAVAILABLECONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAddressPoolAvailableConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AttributeInfo
|
||||
{
|
||||
std::string groupName;
|
||||
std::string groupCode;
|
||||
std::string fatherCode;
|
||||
std::string lineCode;
|
||||
std::string lineName;
|
||||
};
|
||||
|
||||
|
||||
DescribeDnsGtmAddressPoolAvailableConfigResult();
|
||||
explicit DescribeDnsGtmAddressPoolAvailableConfigResult(const std::string &payload);
|
||||
~DescribeDnsGtmAddressPoolAvailableConfigResult();
|
||||
std::vector<AttributeInfo> getAttributeInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AttributeInfo> attributeInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRESSPOOLAVAILABLECONFIGRESULT_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_ALIDNS_MODEL_DESCRIBEDNSGTMAVAILABLEALERTGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMAVAILABLEALERTGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAvailableAlertGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmAvailableAlertGroupRequest();
|
||||
~DescribeDnsGtmAvailableAlertGroupRequest();
|
||||
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMAVAILABLEALERTGROUPREQUEST_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_ALIDNS_MODEL_DESCRIBEDNSGTMAVAILABLEALERTGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMAVAILABLEALERTGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAvailableAlertGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeDnsGtmAvailableAlertGroupResult();
|
||||
explicit DescribeDnsGtmAvailableAlertGroupResult(const std::string &payload);
|
||||
~DescribeDnsGtmAvailableAlertGroupResult();
|
||||
std::string getAvailableAlertGroup()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string availableAlertGroup_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMAVAILABLEALERTGROUPRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceAddressPoolRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmInstanceAddressPoolRequest();
|
||||
~DescribeDnsGtmInstanceAddressPoolRequest();
|
||||
|
||||
std::string getAddrPoolId()const;
|
||||
void setAddrPoolId(const std::string& addrPoolId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string addrPoolId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLREQUEST_H_
|
||||
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceAddressPoolResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Addr
|
||||
{
|
||||
std::string attributeInfo;
|
||||
int lbaWeight;
|
||||
std::string alertStatus;
|
||||
std::string createTime;
|
||||
std::string mode;
|
||||
std::string updateTime;
|
||||
long updateTimestamp;
|
||||
long createTimestamp;
|
||||
std::string addr;
|
||||
std::string remark;
|
||||
};
|
||||
|
||||
|
||||
DescribeDnsGtmInstanceAddressPoolResult();
|
||||
explicit DescribeDnsGtmInstanceAddressPoolResult(const std::string &payload);
|
||||
~DescribeDnsGtmInstanceAddressPoolResult();
|
||||
std::vector<Addr> getAddrs()const;
|
||||
std::string getType()const;
|
||||
std::string getLbaStrategy()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getAddrPoolId()const;
|
||||
std::string getUpdateTime()const;
|
||||
long getUpdateTimestamp()const;
|
||||
std::string getMonitorConfigId()const;
|
||||
long getCreateTimestamp()const;
|
||||
std::string getMonitorStatus()const;
|
||||
int getAddrCount()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Addr> addrs_;
|
||||
std::string type_;
|
||||
std::string lbaStrategy_;
|
||||
std::string createTime_;
|
||||
std::string addrPoolId_;
|
||||
std::string updateTime_;
|
||||
long updateTimestamp_;
|
||||
std::string monitorConfigId_;
|
||||
long createTimestamp_;
|
||||
std::string monitorStatus_;
|
||||
int addrCount_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLRESULT_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_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceAddressPoolsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmInstanceAddressPoolsRequest();
|
||||
~DescribeDnsGtmInstanceAddressPoolsRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLSREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceAddressPoolsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AddrPool
|
||||
{
|
||||
std::string type;
|
||||
std::string lbaStrategy;
|
||||
std::string createTime;
|
||||
std::string addrPoolId;
|
||||
std::string updateTime;
|
||||
long updateTimestamp;
|
||||
std::string monitorConfigId;
|
||||
long createTimestamp;
|
||||
std::string monitorStatus;
|
||||
int addrCount;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeDnsGtmInstanceAddressPoolsResult();
|
||||
explicit DescribeDnsGtmInstanceAddressPoolsResult(const std::string &payload);
|
||||
~DescribeDnsGtmInstanceAddressPoolsResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotalPages()const;
|
||||
int getTotalItems()const;
|
||||
std::vector<AddrPool> getAddrPools()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int totalPages_;
|
||||
int totalItems_;
|
||||
std::vector<AddrPool> addrPools_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLSRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmInstanceRequest();
|
||||
~DescribeDnsGtmInstanceRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Config
|
||||
{
|
||||
struct AlertConfigItem
|
||||
{
|
||||
bool emailNotice;
|
||||
std::string noticeType;
|
||||
bool smsNotice;
|
||||
};
|
||||
std::string instanceName;
|
||||
std::string pubicZoneName;
|
||||
std::string alertGroup;
|
||||
std::vector<AlertConfigItem> alertConfig;
|
||||
std::string cnameType;
|
||||
std::string publicUserDomainName;
|
||||
std::string strategyMode;
|
||||
int ttl;
|
||||
std::string publicCnameMode;
|
||||
};
|
||||
struct UsedQuota
|
||||
{
|
||||
int taskUsedCount;
|
||||
int smsUsedCount;
|
||||
int emailUsedCount;
|
||||
};
|
||||
|
||||
|
||||
DescribeDnsGtmInstanceResult();
|
||||
explicit DescribeDnsGtmInstanceResult(const std::string &payload);
|
||||
~DescribeDnsGtmInstanceResult();
|
||||
std::string getVersionCode()const;
|
||||
long getExpireTimestamp()const;
|
||||
std::string getResourceGroupId()const;
|
||||
std::string getInstanceId()const;
|
||||
Config getConfig()const;
|
||||
int getTaskQuota()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getPaymentType()const;
|
||||
std::string getExpireTime()const;
|
||||
UsedQuota getUsedQuota()const;
|
||||
int getSmsQuota()const;
|
||||
long getCreateTimestamp()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string versionCode_;
|
||||
long expireTimestamp_;
|
||||
std::string resourceGroupId_;
|
||||
std::string instanceId_;
|
||||
Config config_;
|
||||
int taskQuota_;
|
||||
std::string createTime_;
|
||||
std::string paymentType_;
|
||||
std::string expireTime_;
|
||||
UsedQuota usedQuota_;
|
||||
int smsQuota_;
|
||||
long createTimestamp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCERESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmInstanceStatusRequest();
|
||||
~DescribeDnsGtmInstanceStatusRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESTATUSREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeDnsGtmInstanceStatusResult();
|
||||
explicit DescribeDnsGtmInstanceStatusResult(const std::string &payload);
|
||||
~DescribeDnsGtmInstanceStatusResult();
|
||||
int getStrategyNotAvailableNum()const;
|
||||
int getAddrAvailableNum()const;
|
||||
int getSwitchToFailoverStrategyNum()const;
|
||||
int getAddrNotAvailableNum()const;
|
||||
int getAddrPoolGroupNotAvailableNum()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int strategyNotAvailableNum_;
|
||||
int addrAvailableNum_;
|
||||
int switchToFailoverStrategyNum_;
|
||||
int addrNotAvailableNum_;
|
||||
int addrPoolGroupNotAvailableNum_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESTATUSRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESYSTEMCNAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESYSTEMCNAMEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceSystemCnameRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmInstanceSystemCnameRequest();
|
||||
~DescribeDnsGtmInstanceSystemCnameRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESYSTEMCNAMEREQUEST_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_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESYSTEMCNAMERESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESYSTEMCNAMERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceSystemCnameResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeDnsGtmInstanceSystemCnameResult();
|
||||
explicit DescribeDnsGtmInstanceSystemCnameResult(const std::string &payload);
|
||||
~DescribeDnsGtmInstanceSystemCnameResult();
|
||||
std::string getSystemCname()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string systemCname_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESYSTEMCNAMERESULT_H_
|
||||
@@ -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_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmInstancesRequest();
|
||||
~DescribeDnsGtmInstancesRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string userClientIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
std::string keyword_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstancesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct GtmInstance
|
||||
{
|
||||
struct Config
|
||||
{
|
||||
struct AlertConfigItem
|
||||
{
|
||||
std::string emailNotice;
|
||||
std::string noticeType;
|
||||
std::string smsNotice;
|
||||
};
|
||||
std::string instanceName;
|
||||
std::string alertGroup;
|
||||
std::vector<AlertConfigItem> alertConfig;
|
||||
std::string cnameType;
|
||||
std::string publicUserDomainName;
|
||||
std::string publicZoneName;
|
||||
std::string strategyMode;
|
||||
int ttl;
|
||||
std::string publicCnameMode;
|
||||
};
|
||||
struct UsedQuota
|
||||
{
|
||||
int taskUsedCount;
|
||||
int smsUsedCount;
|
||||
int emailUsedCount;
|
||||
};
|
||||
std::string versionCode;
|
||||
long expireTimestamp;
|
||||
std::string resourceGroupId;
|
||||
std::string instanceId;
|
||||
Config config;
|
||||
int taskQuota;
|
||||
std::string createTime;
|
||||
std::string paymentType;
|
||||
std::string expireTime;
|
||||
UsedQuota usedQuota;
|
||||
int smsQuota;
|
||||
long createTimestamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeDnsGtmInstancesResult();
|
||||
explicit DescribeDnsGtmInstancesResult(const std::string &payload);
|
||||
~DescribeDnsGtmInstancesResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<GtmInstance> getGtmInstances()const;
|
||||
int getTotalPages()const;
|
||||
int getTotalItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<GtmInstance> gtmInstances_;
|
||||
int totalPages_;
|
||||
int totalItems_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESRESULT_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_ALIDNS_MODEL_DESCRIBEDNSGTMLOGSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMLOGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmLogsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmLogsRequest();
|
||||
~DescribeDnsGtmLogsRequest();
|
||||
|
||||
long getStartTimestamp()const;
|
||||
void setStartTimestamp(long startTimestamp);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
long getEndTimestamp()const;
|
||||
void setEndTimestamp(long endTimestamp);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
|
||||
private:
|
||||
long startTimestamp_;
|
||||
int pageNumber_;
|
||||
long endTimestamp_;
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
std::string keyword_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMLOGSREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMLOGSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMLOGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmLogsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Log
|
||||
{
|
||||
std::string entityType;
|
||||
std::string entityId;
|
||||
std::string entityName;
|
||||
std::string operTime;
|
||||
std::string content;
|
||||
long operTimestamp;
|
||||
long id;
|
||||
std::string operAction;
|
||||
};
|
||||
|
||||
|
||||
DescribeDnsGtmLogsResult();
|
||||
explicit DescribeDnsGtmLogsResult(const std::string &payload);
|
||||
~DescribeDnsGtmLogsResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotalPages()const;
|
||||
std::vector<Log> getLogs()const;
|
||||
int getTotalItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int totalPages_;
|
||||
std::vector<Log> logs_;
|
||||
int totalItems_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMLOGSRESULT_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_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORAVAILABLECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORAVAILABLECONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmMonitorAvailableConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmMonitorAvailableConfigRequest();
|
||||
~DescribeDnsGtmMonitorAvailableConfigRequest();
|
||||
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORAVAILABLECONFIGREQUEST_H_
|
||||
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORAVAILABLECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORAVAILABLECONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmMonitorAvailableConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Ipv4IspCityNode
|
||||
{
|
||||
std::string cityCode;
|
||||
std::string groupName;
|
||||
std::string ispName;
|
||||
std::string groupType;
|
||||
std::string cityName;
|
||||
std::string ispCode;
|
||||
bool defaultSelected;
|
||||
};
|
||||
struct Ipv6IspCityNode
|
||||
{
|
||||
std::string cityCode;
|
||||
std::string groupName;
|
||||
std::string ispName;
|
||||
std::string groupType;
|
||||
std::string cityName;
|
||||
std::string ispCode;
|
||||
bool defaultSelected;
|
||||
};
|
||||
struct DomainIpv4IspCityNode
|
||||
{
|
||||
std::string cityCode;
|
||||
std::string groupName;
|
||||
std::string ispName;
|
||||
std::string groupType;
|
||||
std::string cityName;
|
||||
std::string ispCode;
|
||||
bool defaultSelected;
|
||||
};
|
||||
struct DomainIpv6IspCityNode
|
||||
{
|
||||
std::string cityCode;
|
||||
std::string groupName;
|
||||
std::string ispName;
|
||||
std::string groupType;
|
||||
std::string cityName;
|
||||
std::string ispCode;
|
||||
bool defaultSelected;
|
||||
};
|
||||
|
||||
|
||||
DescribeDnsGtmMonitorAvailableConfigResult();
|
||||
explicit DescribeDnsGtmMonitorAvailableConfigResult(const std::string &payload);
|
||||
~DescribeDnsGtmMonitorAvailableConfigResult();
|
||||
std::vector<Ipv4IspCityNode> getIpv4IspCityNodes()const;
|
||||
std::vector<DomainIpv4IspCityNode> getDomainIpv4IspCityNodes()const;
|
||||
std::vector<DomainIpv6IspCityNode> getDomainIpv6IspCityNodes()const;
|
||||
std::vector<Ipv6IspCityNode> getIpv6IspCityNodes()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Ipv4IspCityNode> ipv4IspCityNodes_;
|
||||
std::vector<DomainIpv4IspCityNode> domainIpv4IspCityNodes_;
|
||||
std::vector<DomainIpv6IspCityNode> domainIpv6IspCityNodes_;
|
||||
std::vector<Ipv6IspCityNode> ipv6IspCityNodes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORAVAILABLECONFIGRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORCONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmMonitorConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDnsGtmMonitorConfigRequest();
|
||||
~DescribeDnsGtmMonitorConfigRequest();
|
||||
|
||||
std::string getMonitorConfigId()const;
|
||||
void setMonitorConfigId(const std::string& monitorConfigId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string monitorConfigId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORCONFIGREQUEST_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmMonitorConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct IspCityNode
|
||||
{
|
||||
std::string cityCode;
|
||||
std::string ispName;
|
||||
std::string countryName;
|
||||
std::string cityName;
|
||||
std::string countryCode;
|
||||
std::string ispCode;
|
||||
};
|
||||
|
||||
|
||||
DescribeDnsGtmMonitorConfigResult();
|
||||
explicit DescribeDnsGtmMonitorConfigResult(const std::string &payload);
|
||||
~DescribeDnsGtmMonitorConfigResult();
|
||||
std::vector<IspCityNode> getIspCityNodes()const;
|
||||
std::string getProtocolType()const;
|
||||
int getTimeout()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getUpdateTime()const;
|
||||
int getEvaluationCount()const;
|
||||
long getUpdateTimestamp()const;
|
||||
std::string getMonitorExtendInfo()const;
|
||||
std::string getMonitorConfigId()const;
|
||||
long getCreateTimestamp()const;
|
||||
int getInterval()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<IspCityNode> ispCityNodes_;
|
||||
std::string protocolType_;
|
||||
int timeout_;
|
||||
std::string createTime_;
|
||||
std::string updateTime_;
|
||||
int evaluationCount_;
|
||||
long updateTimestamp_;
|
||||
std::string monitorExtendInfo_;
|
||||
std::string monitorConfigId_;
|
||||
long createTimestamp_;
|
||||
int interval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORCONFIGRESULT_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user