Compare commits
433 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f6036b803 | ||
|
|
9eb37c0d7a | ||
|
|
9349d95473 | ||
|
|
586bad6468 | ||
|
|
83be2456fc | ||
|
|
f3eaf1d292 | ||
|
|
be86048a76 | ||
|
|
377f28812e | ||
|
|
b655d570b7 | ||
|
|
6a6423a1ac | ||
|
|
441afe4150 | ||
|
|
504b56bd22 | ||
|
|
175945ea81 | ||
|
|
6e222e7102 | ||
|
|
a489a9d52e | ||
|
|
2fde71e2cc | ||
|
|
e088aa3aa0 | ||
|
|
2a1802385d | ||
|
|
d9475ed9f2 | ||
|
|
788f4ca3f4 | ||
|
|
964eb558d3 | ||
|
|
c0a942a2b0 | ||
|
|
457f479d27 | ||
|
|
04a4ca109f | ||
|
|
c50eec40c2 | ||
|
|
6f9991c09c | ||
|
|
98ee2fb7f9 | ||
|
|
b24f4a88d4 | ||
|
|
5817ec77ab | ||
|
|
44bbd797e7 | ||
|
|
04cde44618 | ||
|
|
69e482b761 | ||
|
|
eee0e638e8 | ||
|
|
bc3bb187a2 | ||
|
|
1b553992aa | ||
|
|
8b48258e4e | ||
|
|
8f03f1dba5 | ||
|
|
1deafa95da | ||
|
|
6c7e427683 | ||
|
|
ea79682ddf | ||
|
|
695aa4ad06 | ||
|
|
586250dbe5 | ||
|
|
51b76b4599 | ||
|
|
ff63a49df8 | ||
|
|
51589f4643 | ||
|
|
955ec5dc2d | ||
|
|
fcfbd8becc | ||
|
|
ed89d6f242 | ||
|
|
e498e9b8b4 | ||
|
|
6876310a85 | ||
|
|
48eb3c101f | ||
|
|
92ca679477 | ||
|
|
2244282621 | ||
|
|
8be7bd42dc | ||
|
|
2dcbea3a7f | ||
|
|
a00b4c14e4 | ||
|
|
090c615625 | ||
|
|
b8ab18d3e1 | ||
|
|
c43307bc80 | ||
|
|
f3d9843e63 | ||
|
|
4002936e36 | ||
|
|
ec82496f23 | ||
|
|
4262cf11c8 | ||
|
|
c144a383a7 | ||
|
|
08faebee0d | ||
|
|
090cb08688 | ||
|
|
600883d23a | ||
|
|
919e9477c5 | ||
|
|
4316f41346 | ||
|
|
29401f9711 | ||
|
|
1f20945851 | ||
|
|
14b6a27113 | ||
|
|
609490f13d | ||
|
|
7b50e51b83 | ||
|
|
389cd20a93 | ||
|
|
76644841af | ||
|
|
8d4de3d11c | ||
|
|
298e53fbf1 | ||
|
|
84ecf03540 | ||
|
|
da0d2aaa74 | ||
|
|
c7d371409b | ||
|
|
a4f0e7ce39 | ||
|
|
43fc3bf567 | ||
|
|
3e04864236 | ||
|
|
7237daffa7 | ||
|
|
aab08f0a43 | ||
|
|
af8563e7c6 | ||
|
|
6d801b67b6 | ||
|
|
891ece6182 | ||
|
|
82a3e5c595 | ||
|
|
79d7afefd8 | ||
|
|
d9d4b6f085 | ||
|
|
c6f3fb19b6 | ||
|
|
b69e3ecb0d | ||
|
|
c8e94ac56e | ||
|
|
6825dae756 | ||
|
|
3453c560b2 | ||
|
|
c6effd8aaa | ||
|
|
015b2ed1d2 | ||
|
|
e7043d157a | ||
|
|
cec12f8e0e | ||
|
|
a587859196 | ||
|
|
ff57895e48 | ||
|
|
8cdf451859 | ||
|
|
5996d35d87 | ||
|
|
e7cdb2e8d1 | ||
|
|
f66472a0a1 | ||
|
|
c69537b970 | ||
|
|
4b7328cd62 | ||
|
|
3369d7ef9d | ||
|
|
67e0beb4b2 | ||
|
|
9accac447f | ||
|
|
cab1294e1a | ||
|
|
f3144309f2 | ||
|
|
74dce9533b | ||
|
|
e4f9772459 | ||
|
|
d5eca473f1 | ||
|
|
67bc9aa0c6 | ||
|
|
769d0b4573 | ||
|
|
b149df91f7 | ||
|
|
de0a72b9c7 | ||
|
|
ddd7183cb1 | ||
|
|
164b701c97 | ||
|
|
f032a433f2 | ||
|
|
150db4c6af | ||
|
|
d2fe63b527 | ||
|
|
45b9477b0e | ||
|
|
ebcf5e990d | ||
|
|
e1febab02f | ||
|
|
eb42c015e7 | ||
|
|
a95ff9b425 | ||
|
|
b3c7c65989 | ||
|
|
a4e469e042 | ||
|
|
c4e4d725b9 | ||
|
|
dcbaed3217 | ||
|
|
34fabe824b | ||
|
|
2ee90f14b2 | ||
|
|
464ff6cf22 | ||
|
|
33495451a4 | ||
|
|
d7d4173ecf | ||
|
|
d1c1c6ec8f | ||
|
|
04cd172d50 | ||
|
|
6597ce59e5 | ||
|
|
7abb8ce3d7 | ||
|
|
66e3e2f5c1 | ||
|
|
bcea2432e3 | ||
|
|
328288acb1 | ||
|
|
643a939c6d | ||
|
|
a99e207d8f | ||
|
|
34aa394fbb | ||
|
|
e0ba4b2b8f | ||
|
|
fa74cc1f43 | ||
|
|
eafc1d87f5 | ||
|
|
a4b515be6c | ||
|
|
6ca39abbdc | ||
|
|
e2d0c496e9 | ||
|
|
861713f586 | ||
|
|
d1cf7d3344 | ||
|
|
b43fffae26 | ||
|
|
6010788ba3 | ||
|
|
fc0d3e912a | ||
|
|
2e42d8fa7f | ||
|
|
fe958d3794 | ||
|
|
96bab78790 | ||
|
|
55ec616f75 | ||
|
|
436b88a23f | ||
|
|
1befab93b1 | ||
|
|
97716c02e9 | ||
|
|
c522fc5468 | ||
|
|
f1948842ea | ||
|
|
208c428cfc | ||
|
|
21d175fb29 | ||
|
|
25bddc9e7a | ||
|
|
5d1aad0c37 | ||
|
|
28c7a67d80 | ||
|
|
b4c6fc0aeb | ||
|
|
ea81585f2e | ||
|
|
c98efebbad | ||
|
|
50463a22aa | ||
|
|
00a377f110 | ||
|
|
815b6202ed | ||
|
|
2561eb446f | ||
|
|
4165dc1e2c | ||
|
|
7c93bd13dc | ||
|
|
9b1ab3027a | ||
|
|
8f3285e140 | ||
|
|
947fa7238f | ||
|
|
fd2e75bb77 | ||
|
|
3e476f2647 | ||
|
|
87b0903e59 | ||
|
|
63a13d7b24 | ||
|
|
c63bc0bcc9 | ||
|
|
797aedc7fe | ||
|
|
e7c17519db | ||
|
|
549e90ee7c | ||
|
|
d51acd44d7 | ||
|
|
da8c6b2c70 | ||
|
|
feae502d3a | ||
|
|
6d54401df2 | ||
|
|
38e88e6678 | ||
|
|
eea054f3c4 | ||
|
|
619a7827de | ||
|
|
8c9353a007 | ||
|
|
191f3c859f | ||
|
|
4a0a5164c7 | ||
|
|
7f97b2de78 | ||
|
|
e0174350ec | ||
|
|
f3507a5be6 | ||
|
|
e9b2a0c830 | ||
|
|
e62af34b2a | ||
|
|
91746b862f | ||
|
|
67a361ad2d | ||
|
|
1da6c4aa18 | ||
|
|
6da61cc993 | ||
|
|
f75e990c49 | ||
|
|
8ac2f2bd4a | ||
|
|
996c9b497a | ||
|
|
a59527266e | ||
|
|
26d4cdb3b5 | ||
|
|
aa06915a34 | ||
|
|
cac98a349f | ||
|
|
bfe051d983 | ||
|
|
5e5610d91f | ||
|
|
88ef8f3618 | ||
|
|
7f3826c2f9 | ||
|
|
596b96d689 | ||
|
|
43169f9d50 | ||
|
|
c99809b8e4 | ||
|
|
85e2f3ebe4 | ||
|
|
a6d33574bd | ||
|
|
c17dc7c79a | ||
|
|
563e907601 | ||
|
|
33a44c856d | ||
|
|
f877a9ef39 | ||
|
|
eb7ab33440 | ||
|
|
6a5f788210 | ||
|
|
fdc3251134 | ||
|
|
043df1b674 | ||
|
|
5f3caa1943 | ||
|
|
01dcff0b7c | ||
|
|
ae7e11733f | ||
|
|
da28515bd8 | ||
|
|
138dbdc61e | ||
|
|
b429dcc915 | ||
|
|
57daafe4cc | ||
|
|
ecd09578e8 | ||
|
|
78df52c437 | ||
|
|
e477d06dea | ||
|
|
e00a04b071 | ||
|
|
48fc5dfe8c | ||
|
|
6cfcc11657 | ||
|
|
7b7c45cb26 | ||
|
|
cf825c63a5 | ||
|
|
fc29617d7d | ||
|
|
352be1dd14 | ||
|
|
66910b1961 | ||
|
|
790577e792 | ||
|
|
1ee62b8677 | ||
|
|
21edc7f283 | ||
|
|
919f98cbdd | ||
|
|
ad045aa702 | ||
|
|
6e65f364a1 | ||
|
|
bc0df2dcec | ||
|
|
9664fb1b00 | ||
|
|
0df947c481 | ||
|
|
9b7dbef9c8 | ||
|
|
e5522c68c8 | ||
|
|
24eaa468b9 | ||
|
|
44ac453806 | ||
|
|
aa71e41fab | ||
|
|
2fb169a7d4 | ||
|
|
bdfb1e8514 | ||
|
|
cc52fb9dd8 | ||
|
|
893339c43d | ||
|
|
012634c7ea | ||
|
|
892b77665e | ||
|
|
ded565f3f3 | ||
|
|
66cfddf930 | ||
|
|
819afce83a | ||
|
|
e93d1a7c5c | ||
|
|
6072a0309b | ||
|
|
cb0d2daccc | ||
|
|
231cbea1ef | ||
|
|
cbab25c0c1 | ||
|
|
da6b0bb892 | ||
|
|
76e63d3f8d | ||
|
|
374b56dd63 | ||
|
|
f189a9dbb2 | ||
|
|
f87f6a1649 | ||
|
|
d26289131f | ||
|
|
6119508e3b | ||
|
|
1f03f4f394 | ||
|
|
214a571b8a | ||
|
|
b3d7dcffc4 | ||
|
|
623d36b29e | ||
|
|
643f3a01b8 | ||
|
|
61e665d20e | ||
|
|
13aa2520bf | ||
|
|
bc8404e573 | ||
|
|
59a99f2145 | ||
|
|
f0ad440f3d | ||
|
|
6b2d4bad71 | ||
|
|
a2308b2c95 | ||
|
|
1a86503742 | ||
|
|
ccec5843c8 | ||
|
|
6182017316 | ||
|
|
a2e022baf7 | ||
|
|
cb75e762ab | ||
|
|
e82b02a876 | ||
|
|
d66718d980 | ||
|
|
5e73931c1d | ||
|
|
f2a390fbc8 | ||
|
|
46a517571d | ||
|
|
eadff9b0ef | ||
|
|
6e9b1bebe0 | ||
|
|
857329972e | ||
|
|
b2637b8f3c | ||
|
|
844fe8856e | ||
|
|
02d22470b7 | ||
|
|
6c1391eb82 | ||
|
|
60a0077509 | ||
|
|
ee5b4ca599 | ||
|
|
e96ffc6afe | ||
|
|
19a082eb56 | ||
|
|
002d5fb06f | ||
|
|
c960a34373 | ||
|
|
84adbb2cb8 | ||
|
|
db4f78e6de | ||
|
|
0ef5cd3c63 | ||
|
|
0625a8a681 | ||
|
|
aa84ad7f2e | ||
|
|
94a811bc97 | ||
|
|
dd85f78d9d | ||
|
|
aa1d797d41 | ||
|
|
42253f9e7a | ||
|
|
1c29ae37e8 | ||
|
|
e5d87b63dc | ||
|
|
317456660d | ||
|
|
a9f9414abb | ||
|
|
5aaae25e49 | ||
|
|
9a2a29f308 | ||
|
|
127c992829 | ||
|
|
e16ab91844 | ||
|
|
3cb89d84bd | ||
|
|
7282a6a906 | ||
|
|
0ca5beb247 | ||
|
|
13ea4f0698 | ||
|
|
fe5f64d980 | ||
|
|
51b845ce56 | ||
|
|
f6d7b208a9 | ||
|
|
076567c0c7 | ||
|
|
20195cdd92 | ||
|
|
7e24ec0ded | ||
|
|
6443abbf11 | ||
|
|
33d0687c01 | ||
|
|
fb82ffd6b1 | ||
|
|
a9f8d260ed | ||
|
|
62484954fe | ||
|
|
0880c7f722 | ||
|
|
364cab6ffa | ||
|
|
c64664f7bb | ||
|
|
9d5cbb556b | ||
|
|
32f06474af | ||
|
|
9117549b3d | ||
|
|
4c070ae8ee | ||
|
|
8eb39b6f8f | ||
|
|
ff2fa8f66f | ||
|
|
a6256086a8 | ||
|
|
9e756213fa | ||
|
|
87f2db5065 | ||
|
|
8bc596cc81 | ||
|
|
dacb1c69b7 | ||
|
|
4c89122ae8 | ||
|
|
b333d4f03c | ||
|
|
b1d844c587 | ||
|
|
383f1e0cd3 | ||
|
|
6d41511442 | ||
|
|
d3de3f8736 | ||
|
|
02c620b5a5 | ||
|
|
459c875c7d | ||
|
|
3d5f029c8a | ||
|
|
62e3b9762a | ||
|
|
134bd61cdc | ||
|
|
6d9e7147f1 | ||
|
|
d63881daa0 | ||
|
|
06552e53d8 | ||
|
|
d29cf439dd | ||
|
|
4782139aab | ||
|
|
07e2b81c13 | ||
|
|
1911aed209 | ||
|
|
af057eb153 | ||
|
|
76c5ad81b7 | ||
|
|
339cf28edd | ||
|
|
6ecfd8332a | ||
|
|
1c441b53f5 | ||
|
|
482abf2f25 | ||
|
|
8968d04f56 | ||
|
|
a28f39fd8c | ||
|
|
ff129e3660 | ||
|
|
3ea4f50703 | ||
|
|
7f8b47c92f | ||
|
|
4fa1912a54 | ||
|
|
c3794202f0 | ||
|
|
442f784284 | ||
|
|
9c389f5683 | ||
|
|
a1ba8b4381 | ||
|
|
74bebe2a77 | ||
|
|
d27410f202 | ||
|
|
3b1093ffe3 | ||
|
|
f2c01c7abe | ||
|
|
e34557650b | ||
|
|
c3ff60fd73 | ||
|
|
4caef74421 | ||
|
|
0dd42f38c4 | ||
|
|
b61a72e58e | ||
|
|
b11cedef5e | ||
|
|
e19f2fa847 | ||
|
|
4a15d5788a | ||
|
|
85da4ff587 | ||
|
|
7721032f82 | ||
|
|
2d1a1c0e06 | ||
|
|
7bf9e855c8 | ||
|
|
b87f210c4c | ||
|
|
24a354cffd | ||
|
|
7be1f34dae | ||
|
|
89523ed659 | ||
|
|
6b7af1732d | ||
|
|
f725320265 | ||
|
|
728ece9cd1 | ||
|
|
dd93fdf1c5 | ||
|
|
78ee1b30bd | ||
|
|
96d9eb7efd | ||
|
|
e796f2acdb |
26
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
26
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
name: "Bug Report"
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
Thank you for reporting a possible bug in Alibaba Cloud C++ SDK
|
||||
|
||||
Please fill in as much of the template below as you can.
|
||||
|
||||
Product and API: the product and API you are working on when bug occurs
|
||||
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
|
||||
How to Reproduce: If possible, please provide code that demonstrates the problem,
|
||||
keeping it as simple and free of external dependencies as you can.
|
||||
|
||||
If crash, please provide the stack trace.
|
||||
|
||||
If build error, please provide compiler information: compiler and version, etc
|
||||
-->
|
||||
|
||||
* **Product and API**:
|
||||
* **Platform**:
|
||||
* **How to Reproduce**
|
||||
|
||||
<!-- Please provide more details below this comment. -->
|
||||
28
.github/ISSUE_TEMPLATE/bug_report_cn.md
vendored
Normal file
28
.github/ISSUE_TEMPLATE/bug_report_cn.md
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
name: "缺陷问题反馈"
|
||||
about: 提交缺陷问题反馈
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
感谢提交问题反馈。
|
||||
|
||||
请提供尽量全面的信息协助问题定位修复。
|
||||
|
||||
产品和接口:问题发生时工作所在的产品和调用的API
|
||||
平台:操作系统信息,类型,版本
|
||||
|
||||
如果可能,请提供一份最小问题复现代码。
|
||||
|
||||
如果崩溃,请提供错误栈。
|
||||
|
||||
如果编译出错,请提供 cmake 版本,编译器版本,编译命令等信息。
|
||||
|
||||
-->
|
||||
|
||||
* **产品和接口**:
|
||||
* **平台**:
|
||||
* **最小代码**:
|
||||
|
||||
<!-- 请提供其他可能协助问题定位的信息 -->
|
||||
|
||||
14
.gitignore
vendored
Normal file
14
.gitignore
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
tools/endpoints.json
|
||||
initCoverage.info
|
||||
testCoverage.info
|
||||
coverageReport/
|
||||
Testing/
|
||||
.vscode/
|
||||
ft_build/
|
||||
ut_build/
|
||||
sdk_build/
|
||||
examples/build/
|
||||
test/httpserver/node_modules
|
||||
test/httpserver/package-lock.json
|
||||
test/httpserver/nohup.out
|
||||
.idea
|
||||
18
.travis.yml
Normal file
18
.travis.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
dist: xenial
|
||||
sudo: require
|
||||
language: cpp
|
||||
compiler: gcc
|
||||
|
||||
install:
|
||||
- sudo apt-get install lcov libcurl4-openssl-dev libssl-dev uuid-dev libjson-c-dev libjsoncpp-dev nodejs npm
|
||||
|
||||
env:
|
||||
- CPLUS_INCLUDE_PATH="/usr/local/include/:/usr/include/jsoncpp/:/usr/local/opt/openssl/include/:/usr/lib/"
|
||||
|
||||
script:
|
||||
- ./unit_test.sh
|
||||
- ./generate_code_cov.sh
|
||||
- ./function_test.sh
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
16
3rdparty/CMakeLists.txt
vendored
16
3rdparty/CMakeLists.txt
vendored
@@ -16,7 +16,8 @@
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Add(jsoncpp
|
||||
URL https://github.com/open-source-parsers/jsoncpp/archive/0.10.5.tar.gz
|
||||
URL ${CMAKE_CURRENT_SOURCE_DIR}/jsoncpp-0.10.5.tar.gz
|
||||
URL_HASH MD5=db146bac5a126ded9bd728ab7b61ed6b
|
||||
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
|
||||
-DJSONCPP_WITH_TESTS=OFF
|
||||
-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
|
||||
@@ -28,7 +29,8 @@ if(CMAKE_HOST_WIN32)
|
||||
)
|
||||
|
||||
ExternalProject_Add(curl
|
||||
URL https://github.com/curl/curl/releases/download/curl-7_55_1/curl-7.55.1.tar.gz
|
||||
URL ${CMAKE_CURRENT_SOURCE_DIR}/curl-7.55.1.tar.gz
|
||||
URL_HASH MD5=3b832160a8c9c40075fd71191960307c
|
||||
CMAKE_ARGS -DBUILD_CURL_EXE=OFF
|
||||
-DBUILD_TESTING=OFF
|
||||
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
|
||||
@@ -40,10 +42,12 @@ ExternalProject_Add(curl
|
||||
endif()
|
||||
|
||||
ExternalProject_Add(catch
|
||||
URL https://github.com/catchorg/Catch2/releases/download/v2.0.1/catch.hpp
|
||||
DOWNLOAD_NO_EXTRACT 1
|
||||
CONFIGURE_COMMAND ""
|
||||
URL ${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp
|
||||
URL_HASH MD5=9b3d2cb5c0f9532cddfbbfd0a622f0af
|
||||
DOWNLOAD_COMMAND ""
|
||||
CONFIGURE_COMMAND ""
|
||||
BUILD_COMMAND ""
|
||||
INSTALL_COMMAND
|
||||
${CMAKE_COMMAND} -E copy_if_different <DOWNLOADED_FILE> <INSTALL_DIR>
|
||||
${CMAKE_COMMAND} -E copy_if_different
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp <INSTALL_DIR>/catch.hpp
|
||||
)
|
||||
|
||||
12012
3rdparty/catch-2.0.1.hpp
vendored
Normal file
12012
3rdparty/catch-2.0.1.hpp
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
3rdparty/curl-7.55.1.tar.gz
vendored
Normal file
BIN
3rdparty/curl-7.55.1.tar.gz
vendored
Normal file
Binary file not shown.
BIN
3rdparty/jsoncpp-0.10.5.tar.gz
vendored
Normal file
BIN
3rdparty/jsoncpp-0.10.5.tar.gz
vendored
Normal file
Binary file not shown.
186
CMakeLists.txt
186
CMakeLists.txt
@@ -1,65 +1,127 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
|
||||
cmake_policy(SET CMP0048 NEW)
|
||||
|
||||
file(STRINGS "VERSION" version)
|
||||
|
||||
project(alibabacloud-sdk VERSION ${version})
|
||||
|
||||
message(STATUS "Project version: ${PROJECT_VERSION}")
|
||||
|
||||
set(TARGET_OUTPUT_NAME_PREFIX "alibabacloud-sdk-" CACHE STRING "The target's output name prefix")
|
||||
option(BUILD_SHARED_LIBS "Enable shared library" ON)
|
||||
option(BUILD_UNIT_TESTS "Enable unit tests" OFF)
|
||||
option(BUILD_FUNCTION_TESTS "Enable function test" OFF)
|
||||
|
||||
set(LIB_TYPE STATIC)
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set(LIB_TYPE SHARED)
|
||||
add_definitions(-DALIBABACLOUD_SHARED)
|
||||
endif()
|
||||
|
||||
set_property(GLOBAL
|
||||
PROPERTY
|
||||
USE_FOLDERS ON)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
include(ExternalProject)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
add_subdirectory(3rdparty)
|
||||
add_subdirectory(core)
|
||||
|
||||
if(BUILD_UNIT_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(test/core)
|
||||
endif()
|
||||
|
||||
if(BUILD_FUNCTION_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(test/function_test/cdn)
|
||||
add_subdirectory(test/function_test/core)
|
||||
add_subdirectory(test/function_test/cs)
|
||||
add_subdirectory(test/function_test/ecs)
|
||||
add_subdirectory(test/function_test/nlp)
|
||||
add_subdirectory(test/function_test/rds)
|
||||
add_subdirectory(test/function_test/slb)
|
||||
add_subdirectory(test/function_test/vpc)
|
||||
endif()
|
||||
|
||||
add_subdirectory(ecs)
|
||||
add_subdirectory(slb)
|
||||
add_subdirectory(vpc)
|
||||
add_subdirectory(cdn)
|
||||
add_subdirectory(rds)
|
||||
add_subdirectory(cloudphoto)
|
||||
add_subdirectory(tesladam)
|
||||
add_subdirectory(cms)
|
||||
add_subdirectory(afs)
|
||||
add_subdirectory(aegis)
|
||||
add_subdirectory(ehpc)
|
||||
add_subdirectory(cs)
|
||||
add_subdirectory(ccc)
|
||||
add_subdirectory(teslamaxcompute)
|
||||
add_subdirectory(push)
|
||||
add_subdirectory(csb)
|
||||
add_subdirectory(domain)
|
||||
add_subdirectory(green)
|
||||
add_subdirectory(hsm)
|
||||
add_subdirectory(dcdn)
|
||||
add_subdirectory(pvtz)
|
||||
add_subdirectory(cloudauth)
|
||||
add_subdirectory(dyvmsapi)
|
||||
add_subdirectory(drds)
|
||||
add_subdirectory(jarvis)
|
||||
add_subdirectory(scdn)
|
||||
add_subdirectory(live)
|
||||
add_subdirectory(rtc)
|
||||
add_subdirectory(chatbot)
|
||||
add_subdirectory(teslastream)
|
||||
add_subdirectory(mopen)
|
||||
add_subdirectory(iot)
|
||||
add_subdirectory(linkface)
|
||||
add_subdirectory(ots)
|
||||
add_subdirectory(smartag)
|
||||
add_subdirectory(vod)
|
||||
add_subdirectory(ccs)
|
||||
add_subdirectory(saf)
|
||||
add_subdirectory(arms)
|
||||
add_subdirectory(lubancloud)
|
||||
add_subdirectory(alimt)
|
||||
add_subdirectory(xspace)
|
||||
add_subdirectory(cbn)
|
||||
add_subdirectory(ram)
|
||||
add_subdirectory(sts)
|
||||
add_subdirectory(gpdb)
|
||||
add_subdirectory(cr)
|
||||
add_subdirectory(openanalytics)
|
||||
add_subdirectory(snsuapi)
|
||||
add_subdirectory(ubsms)
|
||||
add_subdirectory(yundun)
|
||||
add_subdirectory(arms4finance)
|
||||
add_subdirectory(imagesearch)
|
||||
add_subdirectory(cas)
|
||||
add_subdirectory(cloudwf)
|
||||
add_subdirectory(alidns)
|
||||
add_subdirectory(httpdns)
|
||||
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
add_subdirectory(crm)
|
||||
add_subdirectory(kms)
|
||||
add_subdirectory(sas-api)
|
||||
add_subdirectory(jarvis-public)
|
||||
add_subdirectory(mts)
|
||||
add_subdirectory(dysmsapi)
|
||||
add_subdirectory(ons)
|
||||
add_subdirectory(ivision)
|
||||
add_subdirectory(imm)
|
||||
add_subdirectory(bssopenapi)
|
||||
|
||||
cmake_policy(SET CMP0048 NEW)
|
||||
add_subdirectory(sas)
|
||||
|
||||
file(STRINGS "VERSION" version)
|
||||
|
||||
project(alibabacloud-sdk VERSION ${version})
|
||||
|
||||
message(STATUS "Project version: ${PROJECT_VERSION}")
|
||||
|
||||
set(TARGET_OUTPUT_NAME_PREFIX "alibabacloud-sdk-" CACHE STRING "The target's output name prefix")
|
||||
option(BUILD_SHARED_LIBS "Enable shared library" ON)
|
||||
option(BUILD_TESTS "Enable tests" ON)
|
||||
|
||||
set(LIB_TYPE STATIC)
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set(LIB_TYPE SHARED)
|
||||
add_definitions(-DALIBABACLOUD_SHARED)
|
||||
endif()
|
||||
|
||||
set_property(GLOBAL
|
||||
PROPERTY
|
||||
USE_FOLDERS ON)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
include(ExternalProject)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
add_subdirectory(3rdparty)
|
||||
add_subdirectory(core)
|
||||
|
||||
if(BUILD_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(core-tests)
|
||||
endif()
|
||||
add_subdirectory(ecs)
|
||||
add_subdirectory(slb)
|
||||
add_subdirectory(vpc)
|
||||
add_subdirectory(cdn)
|
||||
add_subdirectory(rds)
|
||||
add_subdirectory(cloudphoto)
|
||||
add_subdirectory(ess)
|
||||
add_subdirectory(tesladam)
|
||||
add_subdirectory(cms)
|
||||
add_subdirectory(afs)
|
||||
add_subdirectory(aegis)
|
||||
add_subdirectory(ehpc)
|
||||
add_subdirectory(cs)
|
||||
add_subdirectory(dbs)
|
||||
add_subdirectory(r-kvstore)
|
||||
add_subdirectory(dds)
|
||||
add_subdirectory(yundun-ds)
|
||||
add_subdirectory(trademark)
|
||||
add_subdirectory(sddp)
|
||||
20
CONTRIBUTING.md
Normal file
20
CONTRIBUTING.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Contributing to this SDK project
|
||||
|
||||
We work hard to provide a high-quality and useful SDK for Alibaba Cloud, and
|
||||
we greatly value feedback and contributions from our community. Please submit
|
||||
your [issues](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues) or [pull requests](https://github.com/aliyun/aliyun-openapi-cpp-sdk/pulls) through GitHub.
|
||||
|
||||
## Tips
|
||||
|
||||
- The SDK is released under the [Apache license][license]. Any code you submit
|
||||
will be released under that license. For substantial contributions, we may
|
||||
ask you to sign a [Alibaba Documentation Corporate Contributor License
|
||||
Agreement (CLA)][cla].
|
||||
- We maintain a high percentage of code coverage in our unit tests. If you make
|
||||
changes to the code, please add, update, and/or remove tests as appropriate.
|
||||
|
||||
[issues]: https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues
|
||||
[pull-requests]: https://github.com/aliyun-openapi-cpp-sdk/pulls
|
||||
[license]: http://www.apache.org/licenses/LICENSE-2.0
|
||||
[cla]: https://alibaba-cla-2018.oss-cn-beijing.aliyuncs.com/Alibaba_Documentation_Open_Source_Corporate_CLA.pdf
|
||||
[docs-readme]: https://github.com/aliyun/aliyun-openapi-cpp-sdk/blob/master/README.md
|
||||
4
LICENSE
4
LICENSE
@@ -1,4 +1,4 @@
|
||||
Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
Copyright 2009-2019 Alibaba Cloud All rights reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -10,4 +10,4 @@ Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
limitations under the License.
|
||||
|
||||
258
README-CN.md
Normal file
258
README-CN.md
Normal file
@@ -0,0 +1,258 @@
|
||||
[English](./README.md) | 简体中文
|
||||
|
||||
|
||||
<p align="center">
|
||||
<a href="https://www.alibabacloud.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/Aliyun.svg"></a>
|
||||
</p>
|
||||
|
||||
<h1 align="center">Alibaba Cloud SDK for C++</h1>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk"><img src="https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk.svg?branch=master" alt="Travis Build Status"></a>
|
||||
<a href="https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk"><img src="https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk/branch/master/graph/badge.svg" alt="codecov"></a>
|
||||
</p>
|
||||
|
||||
|
||||
Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负载均衡、云监控等阿里云服务。这里向您介绍如何获取 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)。
|
||||
|
||||
|
||||
## 环境要求
|
||||
|
||||
在使用 Alibaba Cloud SDK for C++ 前,确保您已经:
|
||||
|
||||
* 注册了阿里云账号并获取了访问密钥(AccessKey)。
|
||||
|
||||
> **说明:** 为了保证您的账号安全,建议您使用RAM账号来访问阿里云服务。阿里云账号对拥有的资源有全部权限。RAM账号由阿里云账号授权创建,仅有对特定资源限定的操作权限。详情[参见RAM](https://help.aliyun.com/document_detail/28647.html)。
|
||||
|
||||
* 开通了云产品服务。有些云产品如对象存储(OSS)需要先在[阿里云控制台](https://home.console.aliyun.com)开通服务。
|
||||
|
||||
* 安装支持 C++ 11 或更高版本的编译器:
|
||||
* Windows: Visual Studio 2015 或以上版本
|
||||
* Linux: GCC 4.9 或以上版本
|
||||
|
||||
* 安装 CMake 3.0 或以上版本
|
||||
* 建议 4G 或以上内存
|
||||
|
||||
## 安装 (从源代码构建)
|
||||
|
||||
1. 从 GitHub 下载或 Git 克隆 [aliyun-openapi-cpp-sdk](https://github.com/aliyun/aliyun-openapi-cpp-sdk)
|
||||
|
||||
* 直接下载 https://github.com/aliyun/aliyun-openapi-cpp-sdk/archive/master.zip
|
||||
* 使用 Git 命令获取
|
||||
|
||||
```
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
2. 创建生成必要的构建文件
|
||||
|
||||
```bash
|
||||
cd <path/to/aliyun-openapi-cpp-sdk>
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake ..
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
要在 Linux 平台进行编译, 您必须安装依赖的外部库文件 libcurl、libopenssl、libuuid、libjsoncpp, 通常情况下,系统的包管理器中的会有提供。
|
||||
|
||||
例如:在基于 Redhat / Fedora 的系统上安装这些软件包
|
||||
|
||||
```bash
|
||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||
```
|
||||
|
||||
在基于 Debian/Ubuntu 的系统
|
||||
```bash
|
||||
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
|
||||
```
|
||||
|
||||
在安装依赖库后执行以下命令编译并安装:
|
||||
|
||||
手动编译安装
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
或者通过 `easyinstall.sh`一键式安装
|
||||
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
sudo sh easyinstall.sh
|
||||
```
|
||||
|
||||
**Alibaba Cloud SDK for C++ 将被安装在 `/usr`.**
|
||||
|
||||
|
||||
### Windows
|
||||
|
||||
通过 cmake 生成 Visual Studio 解决方案:
|
||||
|
||||
在 aliyun-openapi-cpp-sdk 下创建 sdk_build 目录
|
||||
|
||||
打开 cmake-ui 选择源代码目录和构建目录,点击 `配置(configure)` 和 `生成(generate)` 构建 VS 解决方案。
|
||||
|
||||
进入 sdk_build 目录使用 Visual Studio 打开 alibabacloud-sdk.sln 解决方案。
|
||||
|
||||
选择构建 `Release` 输出,并打开配置管理器勾选 `INSTALL`。
|
||||
|
||||
构建 -> 生成解决方案。
|
||||
|
||||
或者您也可以使用 VS 的开发人员命令提示符,执行以下命令编译并安装:
|
||||
|
||||
```
|
||||
msbuild ALL_BUILD.vcxproj
|
||||
msbuild INSTALL.vcxproj
|
||||
```
|
||||
|
||||
**Alibaba Cloud SDK for C++ 将安装在 `C:\Program File (x86)\alibabacloud-sdk` 目录**
|
||||
|
||||
**注意:请以管理员身份运行 Visual Studio,否则无法安装 SDK**
|
||||
|
||||
## 快速使用
|
||||
|
||||
在调用 Alibaba Cloud SDK for C++ 时,您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证,并指定云服务的地域,然后发送API请求。
|
||||
|
||||
以下代码展示了如何调用 DescribeInstancesAPI 查询指定地域所有 ECS 实例的详细信息。
|
||||
|
||||
> **说明:** 您需要替换示例中的 your-region-id、your-access-key-id 和 your-access-key-secret 的值。
|
||||
|
||||
```
|
||||
#include <iostream>
|
||||
#include <alibabacloud/core/AlibabaCloud.h>
|
||||
#include <alibabacloud/ecs/EcsClient.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Ecs;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
// 初始化 SDK
|
||||
AlibabaCloud::InitializeSdk();
|
||||
|
||||
// 配置 ecs 实例
|
||||
ClientConfiguration configuration("<your-region-id>");
|
||||
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
|
||||
|
||||
// 创建API请求并设置参数
|
||||
Model::DescribeInstancesRequest request;
|
||||
request.setPageSize(10);
|
||||
|
||||
auto outcome = client.describeInstances(request);
|
||||
if (!outcome.isSuccess()) {
|
||||
// 异常处理
|
||||
std::cout << outcome.error().errorCode() << std::endl;
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return -1;
|
||||
}
|
||||
|
||||
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
|
||||
|
||||
// 关闭 SDK
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
复制上述文件到 ecs_test.cc。
|
||||
|
||||
Linux 下
|
||||
|
||||
```bash
|
||||
~$ g++ -o ecstest ecs_test.cc --std=c++11 -lalibabacloud-sdk-core -l alibabacloud-sdk-ecs
|
||||
~$ ./ecstest
|
||||
# 结果或错误返回将在此展示
|
||||
~$
|
||||
```
|
||||
|
||||
## Timeout 设置
|
||||
|
||||
CPP SDK 使用 libcurl 作为底层 HTTP 传输库。
|
||||
|
||||
- 下面两个参数用来传递超时参数到 libcurl。
|
||||
|
||||
- `connectTimeout`: 连接超时设置。 [参考](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html).
|
||||
|
||||
- `readTimeout`: 传输超时设置。[参考](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html)
|
||||
|
||||
- 默认值
|
||||
|
||||
- connectTimeout: 5000ms
|
||||
|
||||
- readTimeout: 10000ms
|
||||
|
||||
- 可以在创建 Client 或者发 Requst 设置超时参数。
|
||||
|
||||
- Requst 设置优先级高于 Client 设置。
|
||||
|
||||
- 输入 0 或者 -1 到 `setConnectTimeout` 和 `setReadTimeout` 可以禁用此功能。
|
||||
|
||||
下面代码是设置超时参数的例子,由于 Request 优先级高于 Client,所以最终 `ConnectTimeout` 为 `1000ms`, `readTimeout` 为 `6000ms`。
|
||||
|
||||
```cpp
|
||||
#include <iostream>
|
||||
#include <alibabacloud/core/AlibabaCloud.h>
|
||||
#include <alibabacloud/ecs/EcsClient.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Ecs;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
// Initialize the SDK
|
||||
AlibabaCloud::InitializeSdk();
|
||||
|
||||
// Configure the ECS instance
|
||||
ClientConfiguration configuration("<your-region-id>");
|
||||
// specify timeout when create client.
|
||||
configuration.setConnectTimeout(1500);
|
||||
configuration.setReadTimeout(4000);
|
||||
|
||||
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
|
||||
|
||||
// Create an API request and set parameters
|
||||
Model::DescribeInstancesRequest request;
|
||||
request.setPageSize(10);
|
||||
// specify timeout when request
|
||||
request.setConnectTimeout(1000);
|
||||
request.setReadTimeout(6000);
|
||||
|
||||
auto outcome = client.describeInstances(request);
|
||||
if (!outcome.isSuccess()) {
|
||||
// Handle exceptions
|
||||
std::cout << outcome.error().errorCode() << std::endl;
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return -1;
|
||||
}
|
||||
|
||||
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
|
||||
|
||||
// Close the SDK
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return 0;
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
|
||||
**更多 [例程](https://github.com/aliyun/aliyun-openapi-cpp-sdk/tree/master/examples)**
|
||||
|
||||
## 问题
|
||||
[提交 Issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new/choose), 不符合指南的问题可能会立即关闭。
|
||||
|
||||
## 发行说明
|
||||
每个版本的详细更改记录在[发行说明](CHANGELOG)中。
|
||||
|
||||
## 贡献
|
||||
提交 Pull Request 之前请阅读[贡献指南](CONTRIBUTING.md)。
|
||||
|
||||
## 许可证
|
||||
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
||||
|
||||
版权所有 1999-2019 阿里巴巴集团
|
||||
283
README.md
Normal file → Executable file
283
README.md
Normal file → Executable file
@@ -1,82 +1,126 @@
|
||||
# Alibaba Cloud SDK for C++
|
||||
English | [简体中文](./README-CN.md)
|
||||
|
||||
欢迎使用阿里云开发者工具套件(SDK)。
|
||||
|
||||
适用于阿里云的 C++ SDK 提供了一组现代化的 C++(C++ 11 或更高版本)接口,让您不用复杂编程即可访问云服务器、云监控等多个阿里云服务。
|
||||
<p align="center">
|
||||
<a href="https://www.alibabacloud.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg"></a>
|
||||
</p>
|
||||
|
||||
完成本文档中的操作开始使用 C++ SDK。
|
||||
<h1 align="center">Alibaba Cloud SDK for C++</h1>
|
||||
|
||||
## 前提条件
|
||||
<p align="center">
|
||||
<a href="https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk"><img src="https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk.svg?branch=master" alt="Travis Build Status"></a>
|
||||
<a href="https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk"><img src="https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk/branch/master/graph/badge.svg" alt="codecov"></a>
|
||||
</p>
|
||||
|
||||
在使用 C++ SDK 前,确保您已经:
|
||||
|
||||
* 注册了阿里云账号并获取了访问密钥(AccessKey)。
|
||||
Alibaba Cloud SDK for C++ allows you to access Alibaba Cloud services such as Elastic Compute Service (ECS), Server Load Balancer (SLB), and CloudMonitor. You can access Alibaba Cloud services without the need to handle API related tasks, such as signing and constructing your requests.
|
||||
|
||||
> **说明:** 为了保证您的账号安全,建议您使用RAM账号来访问阿里云服务。阿里云账号对拥有的资源有全部权限。RAM账号由阿里云账号授权创建,仅有对特定资源限定的操作权限。详情[参见RAM](https://help.aliyun.com/document_detail/28647.html)。
|
||||
This document introduces how to obtain and call this SDK.
|
||||
|
||||
* 开通了云产品服务。有些云产品如对象存储(OSS)需要先在[阿里云控制台](https://home.console.aliyun.com)开通服务。
|
||||
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).
|
||||
|
||||
* 安装支持 C++ 11 或更高版本的编译器:
|
||||
* Visual Studio 2015 或以上版本
|
||||
* 或 GCC 4.9 或以上版本
|
||||
## Requirements
|
||||
|
||||
## 从源代码构建 SDK
|
||||
- To use this SDK, you must have an Alibaba Cloud account and an AccessKey.
|
||||
|
||||
1. 从 GitHub 下载或 Git 克隆 [aliyun-openapi-cpp-sdk](https://github.com/aliyun/aliyun-openapi-cpp-sdk)
|
||||
The AccessKey is required when initializing the client. You can create an AccessKey in the Alibaba Cloud console. For more information, see [Create an AccessKey](https://usercenter.console.aliyun.com/?spm=5176.doc52740.2.3.QKZk8w#/manage/ak).
|
||||
|
||||
* 直接下载 https://github.com/aliyun/aliyun-openapi-cpp-sdk/archive/master.zip
|
||||
* 使用 Git 命令获取
|
||||
>**Note:** To increase the security of your account, we recommend that you use the AccessKey of the RAM user to access Alibaba Cloud services.
|
||||
|
||||
```
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
- To use this SDK to access the APIs of a product, you must first activate the product on the [Alibaba Cloud console](https://home.console.aliyun.com/?spm=5176.doc52740.2.4.QKZk8w) if required.
|
||||
|
||||
2. 安装 cmake 3.0 或以上版本,进入 SDK 创建生成必要的构建文件
|
||||
- C++11 supported compiler installed
|
||||
- Windows: Visual Studio 2015 or newer
|
||||
- Linux: GCC 4.9 or newer
|
||||
- CMake 3.0 or newer
|
||||
- 4G memory or more
|
||||
|
||||
```
|
||||
cd <path/to/aliyun-openapi-cpp-sdk>
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake ..
|
||||
```
|
||||
|
||||
### Windows
|
||||
|
||||
进入 sdk_build 目录使用 Visual Studio 打开 alibabacloud-sdk.sln 生成解决方案。
|
||||
|
||||
或者您也可以使用 VS 的开发人员命令提示符,执行以下命令编译并安装:
|
||||
|
||||
```
|
||||
msbuild ALL_BUILD.vcxproj
|
||||
msbuild INSTALL.vcxproj
|
||||
```
|
||||
## Installation
|
||||
|
||||
### Linux
|
||||
|
||||
要在 Linux 平台进行编译, 您必须安装依赖的外部库文件 libcurl、libopenssl、libuuid、libjsoncpp, 通常情况下,系统的包管理器中的会有提供。
|
||||
1. Install third-party libraries on the Linux platform, including `libcurl`, `libopenssl`, `libuuid`, and `libjsoncpp`.
|
||||
|
||||
例如:在基于 Redhat / Fedora 的系统上安装这些软件包
|
||||
- Run the following commands on the `Redhat/Fedora` system
|
||||
```
|
||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||
```
|
||||
- Run the following commands on the `Debian/Ubuntu` system
|
||||
```
|
||||
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
|
||||
```
|
||||
2. Run the following commands to clone source codes from GitHub.
|
||||
|
||||
```
|
||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||
```
|
||||
```bash
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
在安装依赖库后执行以下命令编译并安装:
|
||||
3. Build and install SDK
|
||||
|
||||
```
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
- Manually build and install
|
||||
|
||||
## 如何使用 C++ SDK
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
在调用 C++ SDK时,您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证,并指定云服务的地域,然后发送API请求。
|
||||
- Or you may do this with `easyinstall.sh` in the source directory
|
||||
|
||||
以下代码展示了如何调用 DescribeInstancesAPI 查询指定地域所有 ECS 实例的详细信息。
|
||||
```shell
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
sudo sh easyinstall.sh
|
||||
```
|
||||
|
||||
> **说明:** 您需要替换示例中的 your-region-id、your-access-key-id 和 your-access-key-secret 的值。
|
||||
**The Alibaba Cloud SDK for C++ will be installed to `/usr`.**
|
||||
|
||||
```
|
||||
### Windows
|
||||
|
||||
1. Install [perl](https://www.perl.org/get.html#win32).
|
||||
|
||||
2. Run the following command to clone code from Github via git-bash:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
2. Build Visual Studio solution
|
||||
|
||||
- Change directory to source code and make directory sdk_build
|
||||
|
||||
- Open CMake UI and
|
||||
|
||||
- `Browse Source` to open source code directory.
|
||||
|
||||
- `Browse build` to open the created sdk_build directory
|
||||
|
||||
- `Configure`
|
||||
|
||||
- `Generate`
|
||||
|
||||
3. Build and Install C++ SDK
|
||||
|
||||
- Open `aliyun-openapi-cpp-sdk\\sdk_build\\alibabacloud-sdk.sln` with Visual Studio
|
||||
|
||||
- Select `Release`
|
||||
|
||||
- Check INSTALL option from Build -> Configuration Manager
|
||||
|
||||
- Build->Build Solutions to build.
|
||||
|
||||
**Alibaba Cloud SDK for C++ will be installed to `C:\Program File (x86)\alibabacloud-sdk`**
|
||||
|
||||
|
||||
## Quick Examples
|
||||
|
||||
Before using this SDK, you must first configure the preprocessor to define `ALIBABACLOUD_SHARED` to achieve dynamic linking with the SDK shared libraries. Then you must create a client instance, specify the region of cloud services and provide authentication parameters before sending API requests.
|
||||
|
||||
The following code shows how to call the [DescribeInstances](~~25506~~) API of ECS to query detailed information of all ECS instances in a specific region.
|
||||
|
||||
```cpp
|
||||
#include <iostream>
|
||||
#include <alibabacloud/core/AlibabaCloud.h>
|
||||
#include <alibabacloud/ecs/EcsClient.h>
|
||||
@@ -84,35 +128,120 @@ sudo make install
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Ecs;
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
// 初始化 SDK
|
||||
AlibabaCloud::InitializeSdk();
|
||||
int main(int argc, char** argv) {
|
||||
// Initialize the SDK
|
||||
AlibabaCloud::InitializeSdk();
|
||||
|
||||
// 配置 ecs 实例
|
||||
ClientConfiguration configuration("<your-region-id>");
|
||||
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
|
||||
// Configure the ECS instance
|
||||
ClientConfiguration configuration("<your-region-id>");
|
||||
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
|
||||
|
||||
// 创建API请求并设置参数
|
||||
Model::DescribeInstancesRequest request;
|
||||
request.setPageSize(10);
|
||||
// Create an API request and set parameters
|
||||
Model::DescribeInstancesRequest request;
|
||||
request.setPageSize(10);
|
||||
|
||||
auto outcome = client.describeInstances(request);
|
||||
if (!outcome.isSuccess())
|
||||
{
|
||||
// 异常处理
|
||||
std::cout << outcome.error().errorCode() << std::endl;
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return -1;
|
||||
}
|
||||
|
||||
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
|
||||
auto outcome = client.describeInstances(request);
|
||||
if (!outcome.isSuccess()) {
|
||||
// Handle exceptions
|
||||
std::cout << outcome.error().errorCode() << std::endl;
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return -1;
|
||||
}
|
||||
|
||||
// 关闭 SDK
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return 0;
|
||||
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
|
||||
|
||||
// Close the SDK
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
## 许可协议
|
||||
请参阅 LICENSE 文件(Apache 2.0 许可证)。
|
||||
Copy the above to ecs_test.cc, then build with the following command.
|
||||
|
||||
```bash
|
||||
~$ g++ -o ecstest ecs_test.cc --std=c++11 -lalibabacloud-sdk-core -l alibabacloud-sdk-ecs
|
||||
~$ ./ecstest
|
||||
# Result or error message will be shown here.
|
||||
~$
|
||||
```
|
||||
|
||||
## Timeout Configuration
|
||||
|
||||
CPP SDK uses libcurl to do HTTP transfer.
|
||||
|
||||
- The following timeout parameters are used to for libcurl.
|
||||
|
||||
- `connectTimeout`: timeout for the connect phase. [Refer](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html).
|
||||
- `readTimeout`: maximum time the request is allowed to take, [Refer](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html)
|
||||
|
||||
- Default Value
|
||||
- `connectTimeout`: 5000ms
|
||||
- `readTimeout`: 10000ms
|
||||
|
||||
- You may specify `timeout` parameters when create a client or make a request.
|
||||
|
||||
- Request timeout has higher priority than client timeout.
|
||||
|
||||
- If you want to disable timeout feature, deliver `0` or `-1` to `setConnectTimeout` and `setReadTimeout`.
|
||||
|
||||
The following code shows hot to specify `timeout` parameters, and the final connectTimeout is 1000ms and readTimeout 6000ms.
|
||||
|
||||
```cpp
|
||||
#include <iostream>
|
||||
#include <alibabacloud/core/AlibabaCloud.h>
|
||||
#include <alibabacloud/ecs/EcsClient.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Ecs;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
// Initialize the SDK
|
||||
AlibabaCloud::InitializeSdk();
|
||||
|
||||
// Configure the ECS instance
|
||||
ClientConfiguration configuration("<your-region-id>");
|
||||
// specify timeout when create client.
|
||||
configuration.setConnectTimeout(1500);
|
||||
configuration.setReadTimeout(4000);
|
||||
|
||||
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
|
||||
|
||||
// Create an API request and set parameters
|
||||
Model::DescribeInstancesRequest request;
|
||||
request.setPageSize(10);
|
||||
// specify timeout when request
|
||||
request.setConnectTimeout(1000);
|
||||
request.setReadTimeout(6000);
|
||||
|
||||
auto outcome = client.describeInstances(request);
|
||||
if (!outcome.isSuccess()) {
|
||||
// Handle exceptions
|
||||
std::cout << outcome.error().errorCode() << std::endl;
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return -1;
|
||||
}
|
||||
|
||||
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
|
||||
|
||||
// Close the SDK
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return 0;
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
**More [examples](https://github.com/aliyun/aliyun-openapi-cpp-sdk/tree/master/examples)**
|
||||
|
||||
## Issues
|
||||
[Opening an Issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new/choose), Issues not conforming to the guidelines may be closed immediately.
|
||||
|
||||
## Changelog
|
||||
Detailed changes for each release are documented in the [release notes](CHANGELOG).
|
||||
|
||||
## Contribution
|
||||
Please make sure to read the [Contributing Guide](CONTRIBUTING.md) before making a pull request.
|
||||
|
||||
## License
|
||||
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
||||
|
||||
Copyright 1999-2019 Alibaba Group Holding Ltd.
|
||||
|
||||
1116
aegis/CMakeLists.txt
1116
aegis/CMakeLists.txt
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -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_AEGIS_MODEL_ADDEVENTPROCESSREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_ADDEVENTPROCESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT AddEventProcessRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddEventProcessRequest();
|
||||
~AddEventProcessRequest();
|
||||
|
||||
std::string getSuspiciousEventIds()const;
|
||||
void setSuspiciousEventIds(const std::string& suspiciousEventIds);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getWarningType()const;
|
||||
void setWarningType(const std::string& warningType);
|
||||
std::string getFrom()const;
|
||||
void setFrom(const std::string& from);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string suspiciousEventIds_;
|
||||
std::string sourceIp_;
|
||||
std::string warningType_;
|
||||
std::string from_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_ADDEVENTPROCESSREQUEST_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_AEGIS_MODEL_ADDEVENTPROCESSRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_ADDEVENTPROCESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT AddEventProcessResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddEventProcessResult();
|
||||
explicit AddEventProcessResult(const std::string &payload);
|
||||
~AddEventProcessResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_ADDEVENTPROCESSRESULT_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_AEGIS_MODEL_AUTOUPGRADESASREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADESASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT AutoUpgradeSasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AutoUpgradeSasRequest();
|
||||
~AutoUpgradeSasRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADESASREQUEST_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_AEGIS_MODEL_AUTOUPGRADESASRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADESASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT AutoUpgradeSasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AutoUpgradeSasResult();
|
||||
explicit AutoUpgradeSasResult(const std::string &payload);
|
||||
~AutoUpgradeSasResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADESASRESULT_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_AEGIS_MODEL_AUTOUPGRADETOSASADVANCEDVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADETOSASADVANCEDVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT AutoUpgradeToSasAdvancedVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AutoUpgradeToSasAdvancedVersionRequest();
|
||||
~AutoUpgradeToSasAdvancedVersionRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADETOSASADVANCEDVERSIONREQUEST_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_AEGIS_MODEL_AUTOUPGRADETOSASADVANCEDVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADETOSASADVANCEDVERSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT AutoUpgradeToSasAdvancedVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AutoUpgradeToSasAdvancedVersionResult();
|
||||
explicit AutoUpgradeToSasAdvancedVersionResult(const std::string &payload);
|
||||
~AutoUpgradeToSasAdvancedVersionResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADETOSASADVANCEDVERSIONRESULT_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_AEGIS_MODEL_BATCHDELETEWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_BATCHDELETEWHITELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT BatchDeleteWhiteListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BatchDeleteWhiteListRequest();
|
||||
~BatchDeleteWhiteListRequest();
|
||||
|
||||
std::string getRiskIdList()const;
|
||||
void setRiskIdList(const std::string& riskIdList);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string riskIdList_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_BATCHDELETEWHITELISTREQUEST_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_AEGIS_MODEL_BATCHDELETEWHITELISTRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_BATCHDELETEWHITELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT BatchDeleteWhiteListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BatchDeleteWhiteListResult();
|
||||
explicit BatchDeleteWhiteListResult(const std::string &payload);
|
||||
~BatchDeleteWhiteListResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_BATCHDELETEWHITELISTRESULT_H_
|
||||
48
aegis/include/alibabacloud/aegis/model/CanTrySasRequest.h
Normal file
48
aegis/include/alibabacloud/aegis/model/CanTrySasRequest.h
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_CANTRYSASREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CANTRYSASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CanTrySasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CanTrySasRequest();
|
||||
~CanTrySasRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CANTRYSASREQUEST_H_
|
||||
51
aegis/include/alibabacloud/aegis/model/CanTrySasResult.h
Normal file
51
aegis/include/alibabacloud/aegis/model/CanTrySasResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_CANTRYSASRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CANTRYSASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CanTrySasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CanTrySasResult();
|
||||
explicit CanTrySasResult(const std::string &payload);
|
||||
~CanTrySasResult();
|
||||
int getCanTry()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int canTry_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CANTRYSASRESULT_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_AEGIS_MODEL_COPYCUSTOMIZEREPORTCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_COPYCUSTOMIZEREPORTCONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CopyCustomizeReportConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CopyCustomizeReportConfigRequest();
|
||||
~CopyCustomizeReportConfigRequest();
|
||||
|
||||
long getReportId()const;
|
||||
void setReportId(long reportId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
long reportId_;
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_COPYCUSTOMIZEREPORTCONFIGREQUEST_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_AEGIS_MODEL_COPYCUSTOMIZEREPORTCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_COPYCUSTOMIZEREPORTCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CopyCustomizeReportConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CopyCustomizeReportConfigResult();
|
||||
explicit CopyCustomizeReportConfigResult(const std::string &payload);
|
||||
~CopyCustomizeReportConfigResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_COPYCUSTOMIZEREPORTCONFIGRESULT_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_AEGIS_MODEL_CREATSCREENSETTINGREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATSCREENSETTINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreatScreenSettingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatScreenSettingRequest();
|
||||
~CreatScreenSettingRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getScreenTitle()const;
|
||||
void setScreenTitle(const std::string& screenTitle);
|
||||
std::string getScreenIdSetting()const;
|
||||
void setScreenIdSetting(const std::string& screenIdSetting);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string screenTitle_;
|
||||
std::string screenIdSetting_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATSCREENSETTINGREQUEST_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_AEGIS_MODEL_CREATSCREENSETTINGRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATSCREENSETTINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreatScreenSettingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatScreenSettingResult();
|
||||
explicit CreatScreenSettingResult(const std::string &payload);
|
||||
~CreatScreenSettingResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATSCREENSETTINGRESULT_H_
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
CreateInstanceRequest();
|
||||
~CreateInstanceRequest();
|
||||
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
bool getIsAutoRenew()const;
|
||||
void setIsAutoRenew(bool isAutoRenew);
|
||||
std::string getClientToken()const;
|
||||
@@ -45,22 +43,24 @@ namespace AlibabaCloud
|
||||
void setVmNumber(int vmNumber);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getAutoRenewDuration()const;
|
||||
void setAutoRenewDuration(int autoRenewDuration);
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
int getVersionCode()const;
|
||||
void setVersionCode(int versionCode);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
int getAutoRenewDuration()const;
|
||||
void setAutoRenewDuration(int autoRenewDuration);
|
||||
|
||||
private:
|
||||
int duration_;
|
||||
bool isAutoRenew_;
|
||||
std::string clientToken_;
|
||||
int vmNumber_;
|
||||
long ownerId_;
|
||||
int autoRenewDuration_;
|
||||
int duration_;
|
||||
int versionCode_;
|
||||
std::string pricingCycle_;
|
||||
int autoRenewDuration_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,14 +37,14 @@ namespace AlibabaCloud
|
||||
CreateInstanceResult();
|
||||
explicit CreateInstanceResult(const std::string &payload);
|
||||
~CreateInstanceResult();
|
||||
std::string getInstanceId()const;
|
||||
std::string getOrderId()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string orderId_;
|
||||
std::string instanceId_;
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_AEGIS_MODEL_CREATELOGQUERYREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATELOGQUERYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateLogQueryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateLogQueryRequest();
|
||||
~CreateLogQueryRequest();
|
||||
|
||||
std::string getQueryName()const;
|
||||
void setQueryName(const std::string& queryName);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getConditions()const;
|
||||
void setConditions(const std::string& conditions);
|
||||
std::string getQueryDetail()const;
|
||||
void setQueryDetail(const std::string& queryDetail);
|
||||
|
||||
private:
|
||||
std::string queryName_;
|
||||
std::string sourceIp_;
|
||||
std::string conditions_;
|
||||
std::string queryDetail_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATELOGQUERYREQUEST_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_AEGIS_MODEL_CREATELOGQUERYRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATELOGQUERYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateLogQueryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateLogQueryResult();
|
||||
explicit CreateLogQueryResult(const std::string &payload);
|
||||
~CreateLogQueryResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATELOGQUERYRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDATASOURCEREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDATASOURCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateDataSourceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateOrUpdateDataSourceRequest();
|
||||
~CreateOrUpdateDataSourceRequest();
|
||||
|
||||
std::string getDatasourceDescription()const;
|
||||
void setDatasourceDescription(const std::string& datasourceDescription);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getConfigType()const;
|
||||
void setConfigType(const std::string& configType);
|
||||
std::string getLogStoreName()const;
|
||||
void setLogStoreName(const std::string& logStoreName);
|
||||
std::string getRegionNo()const;
|
||||
void setRegionNo(const std::string& regionNo);
|
||||
std::string getFields()const;
|
||||
void setFields(const std::string& fields);
|
||||
|
||||
private:
|
||||
std::string datasourceDescription_;
|
||||
std::string sourceIp_;
|
||||
std::string projectName_;
|
||||
std::string configType_;
|
||||
std::string logStoreName_;
|
||||
std::string regionNo_;
|
||||
std::string fields_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDATASOURCEREQUEST_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_AEGIS_MODEL_CREATEORUPDATEDATASOURCERESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDATASOURCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateDataSourceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateOrUpdateDataSourceResult();
|
||||
explicit CreateOrUpdateDataSourceResult(const std::string &payload);
|
||||
~CreateOrUpdateDataSourceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDATASOURCERESULT_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_AEGIS_MODEL_CREATEORUPDATEDINGTALKREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDINGTALKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateDingTalkRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateOrUpdateDingTalkRequest();
|
||||
~CreateOrUpdateDingTalkRequest();
|
||||
|
||||
std::string getRuleActionName()const;
|
||||
void setRuleActionName(const std::string& ruleActionName);
|
||||
std::string getSendUrl()const;
|
||||
void setSendUrl(const std::string& sendUrl);
|
||||
long getIntervalTime()const;
|
||||
void setIntervalTime(long intervalTime);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
|
||||
private:
|
||||
std::string ruleActionName_;
|
||||
std::string sendUrl_;
|
||||
long intervalTime_;
|
||||
std::string sourceIp_;
|
||||
long id_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDINGTALKREQUEST_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_AEGIS_MODEL_CREATEORUPDATEDINGTALKRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDINGTALKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateDingTalkResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateOrUpdateDingTalkResult();
|
||||
explicit CreateOrUpdateDingTalkResult(const std::string &payload);
|
||||
~CreateOrUpdateDingTalkResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDINGTALKRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateOrUpdateGroupRequest();
|
||||
~CreateOrUpdateGroupRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getRuleIds()const;
|
||||
void setRuleIds(const std::string& ruleIds);
|
||||
std::string getMachineGroupIds()const;
|
||||
void setMachineGroupIds(const std::string& machineGroupIds);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string sourceIp_;
|
||||
long id_;
|
||||
std::string lang_;
|
||||
std::string groupName_;
|
||||
std::string ruleIds_;
|
||||
std::string machineGroupIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEGROUPREQUEST_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_AEGIS_MODEL_CREATEORUPDATEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateOrUpdateGroupResult();
|
||||
explicit CreateOrUpdateGroupResult(const std::string &payload);
|
||||
~CreateOrUpdateGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEGROUPRESULT_H_
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_AEGIS_MODEL_CREATEORUPDATEJOINRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEJOINRULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateJoinRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateOrUpdateJoinRuleRequest();
|
||||
~CreateOrUpdateJoinRuleRequest();
|
||||
|
||||
std::string getWarnLevel()const;
|
||||
void setWarnLevel(const std::string& warnLevel);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getRuleName()const;
|
||||
void setRuleName(const std::string& ruleName);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getStatisticsRules()const;
|
||||
void setStatisticsRules(const std::string& statisticsRules);
|
||||
std::string getJoinRelation()const;
|
||||
void setJoinRelation(const std::string& joinRelation);
|
||||
long getDataSourceId2()const;
|
||||
void setDataSourceId2(long dataSourceId2);
|
||||
long getDataSourceId1()const;
|
||||
void setDataSourceId1(long dataSourceId1);
|
||||
long getTimeWindow()const;
|
||||
void setTimeWindow(long timeWindow);
|
||||
std::string getExpression2()const;
|
||||
void setExpression2(const std::string& expression2);
|
||||
std::string getExpression1()const;
|
||||
void setExpression1(const std::string& expression1);
|
||||
long getRuleId()const;
|
||||
void setRuleId(long ruleId);
|
||||
std::string getActions()const;
|
||||
void setActions(const std::string& actions);
|
||||
|
||||
private:
|
||||
std::string warnLevel_;
|
||||
std::string description_;
|
||||
std::string ruleName_;
|
||||
std::string sourceIp_;
|
||||
std::string statisticsRules_;
|
||||
std::string joinRelation_;
|
||||
long dataSourceId2_;
|
||||
long dataSourceId1_;
|
||||
long timeWindow_;
|
||||
std::string expression2_;
|
||||
std::string expression1_;
|
||||
long ruleId_;
|
||||
std::string actions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEJOINRULEREQUEST_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_AEGIS_MODEL_CREATEORUPDATEJOINRULERESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEJOINRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateJoinRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateOrUpdateJoinRuleResult();
|
||||
explicit CreateOrUpdateJoinRuleResult(const std::string &payload);
|
||||
~CreateOrUpdateJoinRuleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEJOINRULERESULT_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_AEGIS_MODEL_CREATEORUPDATERULEREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATERULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateOrUpdateRuleRequest();
|
||||
~CreateOrUpdateRuleRequest();
|
||||
|
||||
std::string getWarnLevel()const;
|
||||
void setWarnLevel(const std::string& warnLevel);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getRuleName()const;
|
||||
void setRuleName(const std::string& ruleName);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getStatisticsRules()const;
|
||||
void setStatisticsRules(const std::string& statisticsRules);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getRuleGroupIds()const;
|
||||
void setRuleGroupIds(const std::string& ruleGroupIds);
|
||||
std::string getExpressions()const;
|
||||
void setExpressions(const std::string& expressions);
|
||||
long getDataSourceId()const;
|
||||
void setDataSourceId(long dataSourceId);
|
||||
std::string getActions()const;
|
||||
void setActions(const std::string& actions);
|
||||
|
||||
private:
|
||||
std::string warnLevel_;
|
||||
std::string description_;
|
||||
std::string ruleName_;
|
||||
std::string sourceIp_;
|
||||
std::string statisticsRules_;
|
||||
long id_;
|
||||
std::string lang_;
|
||||
std::string ruleGroupIds_;
|
||||
std::string expressions_;
|
||||
long dataSourceId_;
|
||||
std::string actions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATERULEREQUEST_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_AEGIS_MODEL_CREATEORUPDATERULERESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATERULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateOrUpdateRuleResult();
|
||||
explicit CreateOrUpdateRuleResult(const std::string &payload);
|
||||
~CreateOrUpdateRuleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATERULERESULT_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_AEGIS_MODEL_CREATESCREENSETTINGREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATESCREENSETTINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateScreenSettingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateScreenSettingRequest();
|
||||
~CreateScreenSettingRequest();
|
||||
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getLogoUrl()const;
|
||||
void setLogoUrl(const std::string& logoUrl);
|
||||
bool getLogoPower()const;
|
||||
void setLogoPower(bool logoPower);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getId()const;
|
||||
void setId(int id);
|
||||
std::string getScreenDataMap()const;
|
||||
void setScreenDataMap(const std::string& screenDataMap);
|
||||
int getScreenDefault()const;
|
||||
void setScreenDefault(int screenDefault);
|
||||
std::string getMonitorUrl()const;
|
||||
void setMonitorUrl(const std::string& monitorUrl);
|
||||
|
||||
private:
|
||||
std::string title_;
|
||||
std::string logoUrl_;
|
||||
bool logoPower_;
|
||||
std::string sourceIp_;
|
||||
int id_;
|
||||
std::string screenDataMap_;
|
||||
int screenDefault_;
|
||||
std::string monitorUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATESCREENSETTINGREQUEST_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_AEGIS_MODEL_CREATESCREENSETTINGRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATESCREENSETTINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateScreenSettingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateScreenSettingResult();
|
||||
explicit CreateScreenSettingResult(const std::string &payload);
|
||||
~CreateScreenSettingResult();
|
||||
int getId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int id_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATESCREENSETTINGRESULT_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_AEGIS_MODEL_CREATESUSPEVENTNOTEREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATESUSPEVENTNOTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateSuspEventNoteRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateSuspEventNoteRequest();
|
||||
~CreateSuspEventNoteRequest();
|
||||
|
||||
int getEventId()const;
|
||||
void setEventId(int eventId);
|
||||
std::string getNote()const;
|
||||
void setNote(const std::string& note);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
int eventId_;
|
||||
std::string note_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATESUSPEVENTNOTEREQUEST_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_AEGIS_MODEL_CREATESUSPEVENTNOTERESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATESUSPEVENTNOTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateSuspEventNoteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateSuspEventNoteResult();
|
||||
explicit CreateSuspEventNoteResult(const std::string &payload);
|
||||
~CreateSuspEventNoteResult();
|
||||
int getHttpStatusCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATESUSPEVENTNOTERESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_CREATESUSPICIOUSEXPORTREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATESUSPICIOUSEXPORTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateSuspiciousExportRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateSuspiciousExportRequest();
|
||||
~CreateSuspiciousExportRequest();
|
||||
|
||||
std::string getStatusList()const;
|
||||
void setStatusList(const std::string& statusList);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getEventNameRemark()const;
|
||||
void setEventNameRemark(const std::string& eventNameRemark);
|
||||
std::string getTag()const;
|
||||
void setTag(const std::string& tag);
|
||||
std::string getLevel()const;
|
||||
void setLevel(const std::string& level);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getDealed()const;
|
||||
void setDealed(const std::string& dealed);
|
||||
std::string getEventType()const;
|
||||
void setEventType(const std::string& eventType);
|
||||
|
||||
private:
|
||||
std::string statusList_;
|
||||
std::string remark_;
|
||||
std::string sourceIp_;
|
||||
std::string eventNameRemark_;
|
||||
std::string tag_;
|
||||
std::string level_;
|
||||
std::string groupId_;
|
||||
std::string dealed_;
|
||||
std::string eventType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATESUSPICIOUSEXPORTREQUEST_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_AEGIS_MODEL_CREATESUSPICIOUSEXPORTRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATESUSPICIOUSEXPORTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateSuspiciousExportResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateSuspiciousExportResult();
|
||||
explicit CreateSuspiciousExportResult(const std::string &payload);
|
||||
~CreateSuspiciousExportResult();
|
||||
std::string getFileName()const;
|
||||
long getId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string fileName_;
|
||||
long id_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATESUSPICIOUSEXPORTRESULT_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_AEGIS_MODEL_CREATEUSERSETTINGREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEUSERSETTINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateUserSettingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUserSettingRequest();
|
||||
~CreateUserSettingRequest();
|
||||
|
||||
std::string getAlertLevels()const;
|
||||
void setAlertLevels(const std::string& alertLevels);
|
||||
int getInvalidWarningKeepDays()const;
|
||||
void setInvalidWarningKeepDays(int invalidWarningKeepDays);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string alertLevels_;
|
||||
int invalidWarningKeepDays_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEUSERSETTINGREQUEST_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_AEGIS_MODEL_CREATEUSERSETTINGRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEUSERSETTINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateUserSettingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateUserSettingResult();
|
||||
explicit CreateUserSettingResult(const std::string &payload);
|
||||
~CreateUserSettingResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEUSERSETTINGRESULT_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_AEGIS_MODEL_CREATEUSERWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEUSERWHITELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateUserWhiteListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUserWhiteListRequest();
|
||||
~CreateUserWhiteListRequest();
|
||||
|
||||
std::string getRiskIdList()const;
|
||||
void setRiskIdList(const std::string& riskIdList);
|
||||
std::string getReason()const;
|
||||
void setReason(const std::string& reason);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string riskIdList_;
|
||||
std::string reason_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEUSERWHITELISTREQUEST_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_AEGIS_MODEL_CREATEUSERWHITELISTRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEUSERWHITELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateUserWhiteListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateUserWhiteListResult();
|
||||
explicit CreateUserWhiteListResult(const std::string &payload);
|
||||
~CreateUserWhiteListResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEUSERWHITELISTRESULT_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_AEGIS_MODEL_CREATEVULWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEVULWHITELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateVulWhitelistRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateVulWhitelistRequest();
|
||||
~CreateVulWhitelistRequest();
|
||||
|
||||
std::string getReason()const;
|
||||
void setReason(const std::string& reason);
|
||||
std::string getWhitelist()const;
|
||||
void setWhitelist(const std::string& whitelist);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string reason_;
|
||||
std::string whitelist_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEVULWHITELISTREQUEST_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_AEGIS_MODEL_CREATEVULWHITELISTRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_CREATEVULWHITELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT CreateVulWhitelistResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateVulWhitelistResult();
|
||||
explicit CreateVulWhitelistResult(const std::string &payload);
|
||||
~CreateVulWhitelistResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEVULWHITELISTRESULT_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_AEGIS_MODEL_DELETECUSTOMIZEREPORTREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETECUSTOMIZEREPORTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteCustomizeReportRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCustomizeReportRequest();
|
||||
~DeleteCustomizeReportRequest();
|
||||
|
||||
long getReportId()const;
|
||||
void setReportId(long reportId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
long reportId_;
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETECUSTOMIZEREPORTREQUEST_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_AEGIS_MODEL_DELETECUSTOMIZEREPORTRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETECUSTOMIZEREPORTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteCustomizeReportResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCustomizeReportResult();
|
||||
explicit DeleteCustomizeReportResult(const std::string &payload);
|
||||
~DeleteCustomizeReportResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETECUSTOMIZEREPORTRESULT_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_AEGIS_MODEL_DELETEDINGTALKREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETEDINGTALKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteDingTalkRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDingTalkRequest();
|
||||
~DeleteDingTalkRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getIds()const;
|
||||
void setIds(const std::string& ids);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string ids_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEDINGTALKREQUEST_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_AEGIS_MODEL_DELETEDINGTALKRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETEDINGTALKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteDingTalkResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDingTalkResult();
|
||||
explicit DeleteDingTalkResult(const std::string &payload);
|
||||
~DeleteDingTalkResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEDINGTALKRESULT_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_AEGIS_MODEL_DELETEJOINRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETEJOINRULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteJoinRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteJoinRuleRequest();
|
||||
~DeleteJoinRuleRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getIds()const;
|
||||
void setIds(const std::string& ids);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string ids_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEJOINRULEREQUEST_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_AEGIS_MODEL_DELETEJOINRULERESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETEJOINRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteJoinRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteJoinRuleResult();
|
||||
explicit DeleteJoinRuleResult(const std::string &payload);
|
||||
~DeleteJoinRuleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEJOINRULERESULT_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_AEGIS_MODEL_DELETELOGQUERYREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETELOGQUERYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteLogQueryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLogQueryRequest();
|
||||
~DeleteLogQueryRequest();
|
||||
|
||||
std::string getQueryName()const;
|
||||
void setQueryName(const std::string& queryName);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string queryName_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETELOGQUERYREQUEST_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_AEGIS_MODEL_DELETELOGQUERYRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETELOGQUERYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteLogQueryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLogQueryResult();
|
||||
explicit DeleteLogQueryResult(const std::string &payload);
|
||||
~DeleteLogQueryResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETELOGQUERYRESULT_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_AEGIS_MODEL_DELETERULEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETERULEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteRuleGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteRuleGroupRequest();
|
||||
~DeleteRuleGroupRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
long id_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETERULEGROUPREQUEST_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_AEGIS_MODEL_DELETERULEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETERULEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteRuleGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteRuleGroupResult();
|
||||
explicit DeleteRuleGroupResult(const std::string &payload);
|
||||
~DeleteRuleGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETERULEGROUPRESULT_H_
|
||||
54
aegis/include/alibabacloud/aegis/model/DeleteRuleRequest.h
Normal file
54
aegis/include/alibabacloud/aegis/model/DeleteRuleRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_DELETERULEREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETERULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteRuleRequest();
|
||||
~DeleteRuleRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string id_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETERULEREQUEST_H_
|
||||
49
aegis/include/alibabacloud/aegis/model/DeleteRuleResult.h
Normal file
49
aegis/include/alibabacloud/aegis/model/DeleteRuleResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_DELETERULERESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETERULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteRuleResult();
|
||||
explicit DeleteRuleResult(const std::string &payload);
|
||||
~DeleteRuleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETERULERESULT_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_AEGIS_MODEL_DELETESCREENSETTINGREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETESCREENSETTINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteScreenSettingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteScreenSettingRequest();
|
||||
~DeleteScreenSettingRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string id_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETESCREENSETTINGREQUEST_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_AEGIS_MODEL_DELETESCREENSETTINGRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETESCREENSETTINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteScreenSettingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteScreenSettingResult();
|
||||
explicit DeleteScreenSettingResult(const std::string &payload);
|
||||
~DeleteScreenSettingResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETESCREENSETTINGRESULT_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_AEGIS_MODEL_DELETESEARCHCONDITIONREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETESEARCHCONDITIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteSearchConditionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteSearchConditionRequest();
|
||||
~DeleteSearchConditionRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETESEARCHCONDITIONREQUEST_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_AEGIS_MODEL_DELETESEARCHCONDITIONRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETESEARCHCONDITIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteSearchConditionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteSearchConditionResult();
|
||||
explicit DeleteSearchConditionResult(const std::string &payload);
|
||||
~DeleteSearchConditionResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETESEARCHCONDITIONRESULT_H_
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
DeleteStrategyRequest();
|
||||
~DeleteStrategyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string id_;
|
||||
|
||||
|
||||
@@ -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_AEGIS_MODEL_DELETESUSPEVENTNODEREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETESUSPEVENTNODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteSuspEventNodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteSuspEventNodeRequest();
|
||||
~DeleteSuspEventNodeRequest();
|
||||
|
||||
int getNoteId()const;
|
||||
void setNoteId(int noteId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
int noteId_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETESUSPEVENTNODEREQUEST_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_AEGIS_MODEL_DELETESUSPEVENTNODERESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETESUSPEVENTNODERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteSuspEventNodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteSuspEventNodeResult();
|
||||
explicit DeleteSuspEventNodeResult(const std::string &payload);
|
||||
~DeleteSuspEventNodeResult();
|
||||
int getHttpStatusCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETESUSPEVENTNODERESULT_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_AEGIS_MODEL_DELETEVULBATCHREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETEVULBATCHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteVulBatchRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteVulBatchRequest();
|
||||
~DeleteVulBatchRequest();
|
||||
|
||||
std::string getResource()const;
|
||||
void setResource(const std::string& resource);
|
||||
std::string getBatchName()const;
|
||||
void setBatchName(const std::string& batchName);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string resource_;
|
||||
std::string batchName_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEVULBATCHREQUEST_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_AEGIS_MODEL_DELETEVULBATCHRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETEVULBATCHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteVulBatchResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteVulBatchResult();
|
||||
explicit DeleteVulBatchResult(const std::string &payload);
|
||||
~DeleteVulBatchResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEVULBATCHRESULT_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_AEGIS_MODEL_DELETEVULWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETEVULWHITELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteVulWhitelistRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteVulWhitelistRequest();
|
||||
~DeleteVulWhitelistRequest();
|
||||
|
||||
std::string getWhitelist()const;
|
||||
void setWhitelist(const std::string& whitelist);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string whitelist_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEVULWHITELISTREQUEST_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_AEGIS_MODEL_DELETEVULWHITELISTRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DELETEVULWHITELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DeleteVulWhitelistResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteVulWhitelistResult();
|
||||
explicit DeleteVulWhitelistResult(const std::string &payload);
|
||||
~DeleteVulWhitelistResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEVULWHITELISTRESULT_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_AEGIS_MODEL_DESCRIBEACCESSKEYLEAKDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYLEAKDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAccessKeyLeakDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAccessKeyLeakDetailRequest();
|
||||
~DescribeAccessKeyLeakDetailRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
long id_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYLEAKDETAILREQUEST_H_
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYLEAKDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYLEAKDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAccessKeyLeakDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeAccessKeyLeakDetailResult();
|
||||
explicit DescribeAccessKeyLeakDetailResult(const std::string &payload);
|
||||
~DescribeAccessKeyLeakDetailResult();
|
||||
std::string getGithubRepoName()const;
|
||||
std::string getGithubRepoUrl()const;
|
||||
std::string getGithubFileName()const;
|
||||
std::string getDealType()const;
|
||||
std::string getWhitelistStatus()const;
|
||||
std::string getGmtModified()const;
|
||||
std::string getCode()const;
|
||||
std::string getSource()const;
|
||||
std::string getRemark()const;
|
||||
std::string getGmtCreate()const;
|
||||
std::string getType()const;
|
||||
std::string getGithubUserPicUrl()const;
|
||||
std::string getGithubFileUpdateTime()const;
|
||||
std::string getAccesskeyId()const;
|
||||
std::string getGithubFileUrl()const;
|
||||
std::string getGithubFileType()const;
|
||||
std::string getAsset()const;
|
||||
std::string getGithubUser()const;
|
||||
std::string getDealTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string githubRepoName_;
|
||||
std::string githubRepoUrl_;
|
||||
std::string githubFileName_;
|
||||
std::string dealType_;
|
||||
std::string whitelistStatus_;
|
||||
std::string gmtModified_;
|
||||
std::string code_;
|
||||
std::string source_;
|
||||
std::string remark_;
|
||||
std::string gmtCreate_;
|
||||
std::string type_;
|
||||
std::string githubUserPicUrl_;
|
||||
std::string githubFileUpdateTime_;
|
||||
std::string accesskeyId_;
|
||||
std::string githubFileUrl_;
|
||||
std::string githubFileType_;
|
||||
std::string asset_;
|
||||
std::string githubUser_;
|
||||
std::string dealTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYLEAKDETAILRESULT_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_AEGIS_MODEL_DESCRIBEACCESSKEYLEAKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYLEAKLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAccesskeyLeakListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAccesskeyLeakListRequest();
|
||||
~DescribeAccesskeyLeakListRequest();
|
||||
|
||||
std::string getQuery()const;
|
||||
void setQuery(const std::string& query);
|
||||
long getStartTs()const;
|
||||
void setStartTs(long startTs);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string query_;
|
||||
long startTs_;
|
||||
int currentPage_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYLEAKLISTREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYLEAKLISTRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYLEAKLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAccesskeyLeakListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AccessKeyLeak
|
||||
{
|
||||
std::string status;
|
||||
std::string aliUserName;
|
||||
std::string type;
|
||||
std::string dealType;
|
||||
std::string accesskeyId;
|
||||
long gmtModified;
|
||||
std::string asset;
|
||||
long id;
|
||||
std::string dealTime;
|
||||
std::string userType;
|
||||
};
|
||||
|
||||
|
||||
DescribeAccesskeyLeakListResult();
|
||||
explicit DescribeAccesskeyLeakListResult(const std::string &payload);
|
||||
~DescribeAccesskeyLeakListResult();
|
||||
int getAkLeakCount()const;
|
||||
std::vector<AccessKeyLeak> getAccessKeyLeakList()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
long getGmtLast()const;
|
||||
int getCurrentPage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int akLeakCount_;
|
||||
std::vector<AccessKeyLeak> accessKeyLeakList_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
long gmtLast_;
|
||||
int currentPage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYLEAKLISTRESULT_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_AEGIS_MODEL_DESCRIBEACCESSKEYRUNINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYRUNINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAccesskeyRunInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAccesskeyRunInfoRequest();
|
||||
~DescribeAccesskeyRunInfoRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYRUNINFOREQUEST_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_AEGIS_MODEL_DESCRIBEACCESSKEYRUNINFORESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYRUNINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAccesskeyRunInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeAccesskeyRunInfoResult();
|
||||
explicit DescribeAccesskeyRunInfoResult(const std::string &payload);
|
||||
~DescribeAccesskeyRunInfoResult();
|
||||
bool getStop()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool stop_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEACCESSKEYRUNINFORESULT_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_AEGIS_MODEL_DESCRIBEAGENTINSTALLSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAGENTINSTALLSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAgentInstallStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAgentInstallStatusRequest();
|
||||
~DescribeAgentInstallStatusRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getUuids()const;
|
||||
void setUuids(const std::string& uuids);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
std::string uuids_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAGENTINSTALLSTATUSREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAGENTINSTALLSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAGENTINSTALLSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAgentInstallStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AegisClientInvokeStatusResponse
|
||||
{
|
||||
std::string uuid;
|
||||
std::string message;
|
||||
std::string resuleCode;
|
||||
int result;
|
||||
};
|
||||
|
||||
|
||||
DescribeAgentInstallStatusResult();
|
||||
explicit DescribeAgentInstallStatusResult(const std::string &payload);
|
||||
~DescribeAgentInstallStatusResult();
|
||||
std::vector<AegisClientInvokeStatusResponse> getAegisClientInvokeStatusResponseList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AegisClientInvokeStatusResponse> aegisClientInvokeStatusResponseList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAGENTINSTALLSTATUSRESULT_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_AEGIS_MODEL_DESCRIBEALARMEVENTDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAlarmEventDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAlarmEventDetailRequest();
|
||||
~DescribeAlarmEventDetailRequest();
|
||||
|
||||
std::string getAlarmUniqueInfo()const;
|
||||
void setAlarmUniqueInfo(const std::string& alarmUniqueInfo);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getFrom()const;
|
||||
void setFrom(const std::string& from);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string alarmUniqueInfo_;
|
||||
std::string sourceIp_;
|
||||
std::string from_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTDETAILREQUEST_H_
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_AEGIS_MODEL_DESCRIBEALARMEVENTDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAlarmEventDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct CauseDetail
|
||||
{
|
||||
struct ValueItem
|
||||
{
|
||||
std::string type;
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<CauseDetail::ValueItem> value;
|
||||
std::string key;
|
||||
};
|
||||
bool canCancelFault;
|
||||
long endTime;
|
||||
std::vector<CauseDetail> causeDetails;
|
||||
long startTime;
|
||||
std::string accessCode;
|
||||
std::string intranetIp;
|
||||
bool hasTraceInfo;
|
||||
bool dealed;
|
||||
std::string dataSource;
|
||||
std::string instanceName;
|
||||
std::string type;
|
||||
bool canBeDealOnLine;
|
||||
std::string uuid;
|
||||
std::string internetIp;
|
||||
std::string alarmEventDesc;
|
||||
std::string alarmUniqueInfo;
|
||||
std::string level;
|
||||
std::string alarmEventAliasName;
|
||||
std::string solution;
|
||||
};
|
||||
|
||||
|
||||
DescribeAlarmEventDetailResult();
|
||||
explicit DescribeAlarmEventDetailResult(const std::string &payload);
|
||||
~DescribeAlarmEventDetailResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTDETAILRESULT_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAlarmEventListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAlarmEventListRequest();
|
||||
~DescribeAlarmEventListRequest();
|
||||
|
||||
std::string getAlarmEventType()const;
|
||||
void setAlarmEventType(const std::string& alarmEventType);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getAlarmEventName()const;
|
||||
void setAlarmEventName(const std::string& alarmEventName);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
std::string getFrom()const;
|
||||
void setFrom(const std::string& from);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getDealed()const;
|
||||
void setDealed(const std::string& dealed);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::vector<std::string> getOperateErrorCodeList()const;
|
||||
void setOperateErrorCodeList(const std::vector<std::string>& operateErrorCodeList);
|
||||
std::string getLevels()const;
|
||||
void setLevels(const std::string& levels);
|
||||
|
||||
private:
|
||||
std::string alarmEventType_;
|
||||
std::string remark_;
|
||||
std::string alarmEventName_;
|
||||
std::string sourceIp_;
|
||||
std::string pageSize_;
|
||||
std::string from_;
|
||||
std::string lang_;
|
||||
std::string groupId_;
|
||||
std::string dealed_;
|
||||
int currentPage_;
|
||||
std::vector<std::string> operateErrorCodeList_;
|
||||
std::string levels_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTLISTREQUEST_H_
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTLISTRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAlarmEventListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageInfo
|
||||
{
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int currentPage;
|
||||
int count;
|
||||
};
|
||||
struct SuspEventsItem
|
||||
{
|
||||
bool canCancelFault;
|
||||
std::string description;
|
||||
std::string alarmEventNameOriginal;
|
||||
long endTime;
|
||||
std::string operateErrorCode;
|
||||
std::string instanceId;
|
||||
std::string alarmEventName;
|
||||
std::string securityEventIds;
|
||||
long startTime;
|
||||
long gmtModified;
|
||||
std::string saleVersion;
|
||||
std::string intranetIp;
|
||||
bool dealed;
|
||||
bool hasTraceInfo;
|
||||
std::string dataSource;
|
||||
std::string instanceName;
|
||||
bool canBeDealOnLine;
|
||||
std::string uuid;
|
||||
std::string internetIp;
|
||||
std::string alarmEventType;
|
||||
int suspiciousEventCount;
|
||||
std::string alarmUniqueInfo;
|
||||
std::string level;
|
||||
std::string solution;
|
||||
};
|
||||
|
||||
|
||||
DescribeAlarmEventListResult();
|
||||
explicit DescribeAlarmEventListResult(const std::string &payload);
|
||||
~DescribeAlarmEventListResult();
|
||||
PageInfo getPageInfo()const;
|
||||
std::vector<SuspEventsItem> getSuspEvents()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PageInfo pageInfo_;
|
||||
std::vector<SuspEventsItem> suspEvents_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTLISTRESULT_H_
|
||||
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALLREGIONSSTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALLREGIONSSTATISTICSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAllRegionsStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAllRegionsStatisticsRequest();
|
||||
~DescribeAllRegionsStatisticsRequest();
|
||||
|
||||
std::string getStatusList()const;
|
||||
void setStatusList(const std::string& statusList);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getUuid()const;
|
||||
void setUuid(const std::string& uuid);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
long getWebGroupId()const;
|
||||
void setWebGroupId(long webGroupId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getFrom()const;
|
||||
void setFrom(const std::string& from);
|
||||
std::string getTag()const;
|
||||
void setTag(const std::string& tag);
|
||||
int getFlow()const;
|
||||
void setFlow(int flow);
|
||||
std::string getSaleId()const;
|
||||
void setSaleId(const std::string& saleId);
|
||||
int getRuleType()const;
|
||||
void setRuleType(int ruleType);
|
||||
long getGroupId()const;
|
||||
void setGroupId(long groupId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getDealed()const;
|
||||
void setDealed(const std::string& dealed);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getSecureToken()const;
|
||||
void setSecureToken(const std::string& secureToken);
|
||||
int getAction1()const;
|
||||
void setAction1(int action1);
|
||||
int getStatus()const;
|
||||
void setStatus(int status);
|
||||
|
||||
private:
|
||||
std::string statusList_;
|
||||
std::string remark_;
|
||||
std::string startTime_;
|
||||
std::string type_;
|
||||
std::string uuid_;
|
||||
std::string sourceIp_;
|
||||
long webGroupId_;
|
||||
int pageSize_;
|
||||
std::string from_;
|
||||
std::string tag_;
|
||||
int flow_;
|
||||
std::string saleId_;
|
||||
int ruleType_;
|
||||
long groupId_;
|
||||
std::string endTime_;
|
||||
std::string dealed_;
|
||||
int currentPage_;
|
||||
std::string secureToken_;
|
||||
int action1_;
|
||||
int status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALLREGIONSSTATISTICSREQUEST_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_AEGIS_MODEL_DESCRIBEALLREGIONSSTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALLREGIONSSTATISTICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAllRegionsStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
int account;
|
||||
int health;
|
||||
int suspicious;
|
||||
int trojan;
|
||||
int vul;
|
||||
};
|
||||
|
||||
|
||||
DescribeAllRegionsStatisticsResult();
|
||||
explicit DescribeAllRegionsStatisticsResult(const std::string &payload);
|
||||
~DescribeAllRegionsStatisticsResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALLREGIONSSTATISTICSRESULT_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_AEGIS_MODEL_DESCRIBEANALYSISCURVEREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISCURVEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisCurveRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAnalysisCurveRequest();
|
||||
~DescribeAnalysisCurveRequest();
|
||||
|
||||
long getStartTimeStamp()const;
|
||||
void setStartTimeStamp(long startTimeStamp);
|
||||
long getEndTimeStamp()const;
|
||||
void setEndTimeStamp(long endTimeStamp);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
long startTimeStamp_;
|
||||
long endTimeStamp_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISCURVEREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISCURVERESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISCURVERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisCurveResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Curves
|
||||
{
|
||||
struct OriginalCurve
|
||||
{
|
||||
int count;
|
||||
long dsTimestamp;
|
||||
};
|
||||
struct ResultCurve
|
||||
{
|
||||
int count;
|
||||
long dsTimestamp;
|
||||
};
|
||||
std::vector<OriginalCurve> originalCurveList;
|
||||
std::vector<ResultCurve> resultCurveList;
|
||||
};
|
||||
|
||||
|
||||
DescribeAnalysisCurveResult();
|
||||
explicit DescribeAnalysisCurveResult(const std::string &payload);
|
||||
~DescribeAnalysisCurveResult();
|
||||
Curves getCurves()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Curves curves_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISCURVERESULT_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_AEGIS_MODEL_DESCRIBEANALYSISHISTOGRAMSREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISHISTOGRAMSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisHistogramsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAnalysisHistogramsRequest();
|
||||
~DescribeAnalysisHistogramsRequest();
|
||||
|
||||
std::string getQuery()const;
|
||||
void setQuery(const std::string& query);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getFrom()const;
|
||||
void setFrom(int from);
|
||||
int getTo()const;
|
||||
void setTo(int to);
|
||||
|
||||
private:
|
||||
std::string query_;
|
||||
std::string sourceIp_;
|
||||
int from_;
|
||||
int to_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISHISTOGRAMSREQUEST_H_
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISHISTOGRAMSRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISHISTOGRAMSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisHistogramsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Histograms
|
||||
{
|
||||
std::string histograms;
|
||||
int totalCount;
|
||||
};
|
||||
|
||||
|
||||
DescribeAnalysisHistogramsResult();
|
||||
explicit DescribeAnalysisHistogramsResult(const std::string &payload);
|
||||
~DescribeAnalysisHistogramsResult();
|
||||
Histograms getHistograms()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Histograms histograms_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISHISTOGRAMSRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISLOGSREQUEST_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISLOGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisLogsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAnalysisLogsRequest();
|
||||
~DescribeAnalysisLogsRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getFrom()const;
|
||||
void setFrom(int from);
|
||||
std::string getQuery()const;
|
||||
void setQuery(const std::string& query);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
bool getReverse()const;
|
||||
void setReverse(bool reverse);
|
||||
int getTo()const;
|
||||
void setTo(int to);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
int from_;
|
||||
std::string query_;
|
||||
int currentPage_;
|
||||
bool reverse_;
|
||||
int to_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISLOGSREQUEST_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_AEGIS_MODEL_DESCRIBEANALYSISLOGSRESULT_H_
|
||||
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISLOGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aegis/AegisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aegis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisLogsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Logs
|
||||
{
|
||||
int processedRow;
|
||||
std::string whereQuery;
|
||||
std::string mMarker;
|
||||
std::string keys;
|
||||
std::string terms;
|
||||
int elapsedMilliSecond;
|
||||
std::string aggQuery;
|
||||
int count;
|
||||
std::string logs;
|
||||
int mLimited;
|
||||
};
|
||||
|
||||
|
||||
DescribeAnalysisLogsResult();
|
||||
explicit DescribeAnalysisLogsResult(const std::string &payload);
|
||||
~DescribeAnalysisLogsResult();
|
||||
Logs getLogs()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Logs logs_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISLOGSRESULT_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user