Compare commits

...

194 Commits

Author SHA1 Message Date
haowei.yao
5d1aad0c37 CMS SDK Auto Released By zhangzifa,Version:1.34.61
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-25 15:31:26 +08:00
haowei.yao
28c7a67d80 MTS SDK Auto Released By zhangzifa,Version:1.34.60
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-25 15:26:47 +08:00
haowei.yao
b4c6fc0aeb JARVIS-PUBLIC SDK Auto Released By zhangzifa,Version:1.34.59
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-25 15:18:21 +08:00
haowei.yao
ea81585f2e SAS-API SDK Auto Released By zhangzifa,Version:1.34.58
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-25 15:13:36 +08:00
haowei.yao
c98efebbad KMS SDK Auto Released By shenshi,Version:1.34.57
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-21 17:12:57 +08:00
haowei.yao
50463a22aa CRM SDK Auto Released By shenshi,Version:1.34.56
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-21 11:49:09 +08:00
haowei.yao
00a377f110 CMS SDK Auto Released By shenshi,Version:1.34.55
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-20 17:40:22 +08:00
zhangzifa
815b6202ed remove cpp sdk not supported products 2019-03-20 15:07:38 +08:00
haowei.yao
2561eb446f HTTPDNS SDK Auto Released By shenshi,Version:1.34.54
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-20 13:43:00 +08:00
haowei.yao
4165dc1e2c CLOUDWF SDK Auto Released By zhangzifa,Version:1.34.53
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-20 11:35:06 +08:00
haowei.yao
7c93bd13dc ALIDNS SDK Auto Released By shenshi,Version:1.34.52
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-20 11:17:20 +08:00
haowei.yao
9b1ab3027a CDN SDK Auto Released By wb-czb515173,Version:1.34.51
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 18:50:41 +08:00
haowei.yao
8f3285e140 XSPACE SDK Auto Released By yanjiang.yy,Version:1.34.50
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 16:27:51 +08:00
haowei.yao
947fa7238f XSPACE SDK Auto Released By yanjiang.yy,Version:1.34.49
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 16:14:52 +08:00
haowei.yao
fd2e75bb77 BSSOPENAPI SDK Auto Released By simon.lb,Version:1.34.48
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 15:48:18 +08:00
haowei.yao
3e476f2647 CS SDK Auto Released By shenshi,Version:1.34.47
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 10:48:53 +08:00
haowei.yao
87b0903e59 CLOUDWF SDK Auto Released By shenshi,Version:1.34.46
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 10:38:38 +08:00
haowei.yao
63a13d7b24 BSSOPENAPI SDK Auto Released By xiaocun.zxc,Version:1.34.45
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-19 10:16:29 +08:00
haowei.yao
c63bc0bcc9 RDS SDK Auto Released By zhangzifa,Version:1.34.44
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 18:44:58 +08:00
haowei.yao
797aedc7fe ECS SDK Auto Released By zhangzifa,Version:1.34.43
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 18:33:12 +08:00
haowei.yao
e7c17519db CAS SDK Auto Released By lihai.zhang,Version:1.34.42
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 16:01:55 +08:00
haowei.yao
549e90ee7c IMAGESEARCH SDK Auto Released By shenshi,Version:1.34.41
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 15:40:31 +08:00
haowei.yao
d51acd44d7 XSPACE SDK Auto Released By yanjiang.yy,Version:1.34.40
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 14:49:27 +08:00
haowei.yao
da8c6b2c70 ARMS4FINANCE SDK Auto Released By shenshi,Version:1.34.39
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 14:13:09 +08:00
haowei.yao
feae502d3a OTS SDK Auto Released By shenshi,Version:1.34.38
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 11:44:19 +08:00
haowei.yao
6d54401df2 CCS SDK Auto Released By shenshi,Version:1.34.37
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 11:35:09 +08:00
haowei.yao
38e88e6678 AFS SDK Auto Released By shenshi,Version:1.34.36
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-18 10:26:25 +08:00
haowei.yao
eea054f3c4 YUNDUN SDK Auto Released By shenshi,Version:1.34.35
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 18:02:59 +08:00
zhangzifa
619a7827de timeout support when create client or make request 2019-03-15 17:20:18 +08:00
haowei.yao
8c9353a007 UBSMS SDK Auto Released By shenshi,Version:1.34.34
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 16:33:42 +08:00
haowei.yao
191f3c859f SNSUAPI SDK Auto Released By shenshi,Version:1.34.33
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 16:23:30 +08:00
haowei.yao
4a0a5164c7 RTC SDK Auto Released By shenshi,Version:1.34.32
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 16:02:06 +08:00
haowei.yao
7f97b2de78 OPENANALYTICS SDK Auto Released By shenshi,Version:1.34.31
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 15:50:09 +08:00
haowei.yao
e0174350ec FINMALL SDK Auto Released By shenshi,Version:1.34.30
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 15:35:52 +08:00
haowei.yao
f3507a5be6 CLOUDPHOTO SDK Auto Released By shenshi,Version:1.34.29
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 13:32:41 +08:00
haowei.yao
e9b2a0c830 PVTZ SDK Auto Released By shenshi,Version:1.34.28
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 12:18:40 +08:00
haowei.yao
e62af34b2a CR SDK Auto Released By shenshi,Version:1.34.27
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 11:24:49 +08:00
haowei.yao
91746b862f MTS SDK Auto Released By shenshi,Version:1.34.26
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 10:43:06 +08:00
haowei.yao
67a361ad2d MTS SDK Auto Released By shenshi,Version:1.34.25
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 09:57:48 +08:00
haowei.yao
1da6c4aa18 CR SDK Auto Released By shenshi,Version:1.34.24
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 16:22:34 +08:00
haowei.yao
6da61cc993 MOPEN SDK Auto Released By shenshi,Version:1.34.23
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 16:00:18 +08:00
haowei.yao
f75e990c49 SAS-API SDK Auto Released By shenshi,Version:1.34.22
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 15:01:38 +08:00
haowei.yao
8ac2f2bd4a HSM SDK Auto Released By shenshi,Version:1.34.21
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 14:36:53 +08:00
haowei.yao
996c9b497a GPDB SDK Auto Released By shenshi,Version:1.34.20
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 14:26:21 +08:00
haowei.yao
a59527266e STS SDK Auto Released By shenshi,Version:1.34.19
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 13:35:32 +08:00
haowei.yao
26d4cdb3b5 RAM SDK Auto Released By shenshi,Version:1.34.18
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 13:05:33 +08:00
haowei.yao
aa06915a34 EMR SDK Auto Released By xiaoyan.yan,Version:1.34.17
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 12:10:20 +08:00
haowei.yao
cac98a349f CBN SDK Auto Released By shenshi,Version:1.34.16
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 10:27:46 +08:00
haowei.yao
bfe051d983 JARVIS SDK Auto Released By shenshi,Version:1.34.15
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-13 18:32:51 +08:00
haowei.yao
5e5610d91f JARVIS-PUBLIC SDK Auto Released By shenshi,Version:1.34.14
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-13 18:15:44 +08:00
haowei.yao
88ef8f3618 VPC SDK Auto Released By shenshi,Version:1.34.13
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-13 17:53:36 +08:00
haowei.yao
7f3826c2f9 TESLASTREAM SDK Auto Released By shenshi,Version:1.34.12
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-13 16:52:50 +08:00
haowei.yao
596b96d689 ECS SDK Auto Released By junmei.zjm,Version:1.34.11
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-13 16:42:23 +08:00
haowei.yao
43169f9d50 TESLAMAXCOMPUTE SDK Auto Released By shenshi,Version:1.34.10
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-13 16:05:42 +08:00
zhangzifa
c99809b8e4 support http put and delete 2019-03-13 14:35:52 +08:00
haowei.yao
85e2f3ebe4 XSPACE SDK Auto Released By xiaoyan.yan,Version:1.34.9
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-12 12:28:26 +08:00
zhangzifa
a6d33574bd fix windows string length strict 2019-03-12 12:18:57 +08:00
zhangzifa
c17dc7c79a refactor endpoints implementation 2019-03-08 14:05:32 +08:00
zhangzifa
563e907601 fix ecs deleteInstance invalid Force parameter 2019-03-08 13:49:02 +08:00
zhangzifa
33a44c856d provide more information when error occurs 2019-02-27 11:44:11 +08:00
zhangzifa
f877a9ef39 update readme 2019-02-22 17:31:00 +08:00
zhangzifa
eb7ab33440 add DEBUG switch and fix win build error 2019-02-21 13:35:56 +08:00
zhangzifa
6a5f788210 fix memory leak in url encode and decode 2019-02-21 10:29:22 +08:00
zhangzifa
fdc3251134 fix most cpplint checkpoint 2019-02-19 16:24:07 +08:00
zhangzifa
043df1b674 add more unit test for location and sts 2019-02-18 10:50:59 +08:00
zhangzifa
5f3caa1943 add examples and build with as many cpus as possible 2019-02-15 14:56:39 +08:00
Jackson Tian
01dcff0b7c Update README.md 2019-02-13 17:10:20 +08:00
zhangzifa
ae7e11733f handle kinds of error message
update test case and reduce duplicate code
2019-02-13 17:09:18 +08:00
zhangzifa
da28515bd8 replace tab with 2 spaces in core dir
Copyright time changed to 1999-2019
2019-02-03 11:34:19 +08:00
zhangzifa
138dbdc61e add POST support and fix user specified scheme via commonrequest 2019-01-31 17:11:31 +08:00
zhangzifa
b429dcc915 add basic function test
update travis to run function test
2019-01-28 19:37:52 +08:00
zhangzifa
57daafe4cc fix ecs build failure 2019-01-25 21:20:25 +08:00
zhangzifa
ecd09578e8 fix typo in issue template
optimize issu template description
2019-01-24 10:55:51 +08:00
zhangzifa
78df52c437 add issue template 2019-01-23 20:46:47 +08:00
zhangzifa
e477d06dea unit test for coreclient 2019-01-23 15:03:38 +08:00
zhangzifa
e00a04b071 unit test for InstanceProfileCredentialsProvider 2019-01-18 21:37:30 +08:00
zhangzifa
48fc5dfe8c unit test for EndpointProvider and StsAssumeRoleCrendentialsProvider 2019-01-18 16:38:43 +08:00
zhangzifa
6cfcc11657 unit test for sts and location 2019-01-17 22:50:14 +08:00
Jackson Tian
7b7c45cb26 Update README_zh.md 2019-01-17 07:57:21 +08:00
Jackson Tian
cf825c63a5 Update README.md 2019-01-17 07:57:21 +08:00
zhangzifa
fc29617d7d add unit test case for ecsmetadata and fix other ut 2019-01-14 20:57:24 +08:00
zhangzifa
352be1dd14 add more unit test for location and std 2019-01-12 23:29:10 +08:00
zhangzifa
66910b1961 add more unit test 2019-01-11 17:31:24 +08:00
Jackson Tian
790577e792 Add codecov badge 2019-01-10 20:51:55 +08:00
Jackson Tian
1ee62b8677 update license year 2019-01-10 19:07:59 +08:00
zhangzifa
21edc7f283 fix unit test build failed 2019-01-10 18:55:58 +08:00
Jackson Tian
919f98cbdd fix travis config
* fix travis config
* remove the useless files
2019-01-10 15:59:00 +08:00
zhangzifa
ad045aa702 fix build failed 2019-01-10 15:47:11 +08:00
Jackson Tian
6e65f364a1 Add travis config 2019-01-10 11:23:54 +08:00
Jackson Tian
bc0df2dcec use github repo as central 2019-01-09 14:07:33 +08:00
yixiong.jxy
9664fb1b00 DCDN SDK Auto Released By xiaoyao,Version:1.34.8
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-20 15:37:04 +08:00
yixiong.jxy
0df947c481 DCDN SDK Auto Released By xiaoyao,Version:1.34.7
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-11 19:52:39 +08:00
yixiong.jxy
9b7dbef9c8 LIVE SDK Auto Released By renrang.yl,Version:1.34.6
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-06 10:28:48 +08:00
yixiong.jxy
e5522c68c8 SCDN SDK Auto Released By xiaoyao,Version:1.34.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-03 19:32:39 +08:00
yixiong.jxy
24eaa468b9 DCDN SDK Auto Released By xiaoyao,Version:1.34.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-03 17:42:54 +08:00
yixiong.jxy
44ac453806 CDN SDK Auto Released By xiaoyao,Version:1.34.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-03 16:57:53 +08:00
yixiong.jxy
aa71e41fab ESS SDK Auto Released By deyan.jdy,Version:1.34.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-12-03 15:07:49 +08:00
yixiong.jxy
2fb169a7d4 VOD SDK Auto Released By xiao.xwp,Version:1.34.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-30 15:20:26 +08:00
yixiong.jxy
bdfb1e8514 ECS SDK Auto Released By licheng.lj,Version:1.34.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-28 18:28:25 +08:00
yixiong.jxy
cc52fb9dd8 IOT SDK Auto Released By cheyun.lxf,Version:1.33.6
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-28 13:45:18 +08:00
yixiong.jxy
893339c43d IOT SDK Auto Released By cheyun.lxf,Version:1.33.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-27 15:00:25 +08:00
yixiong.jxy
012634c7ea ALIMT SDK Auto Released By xulei.xl,Version:1.33.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-22 17:42:36 +08:00
yixiong.jxy
892b77665e ECS SDK Auto Released By zhengguang.yzg,Version:1.33.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-22 10:42:36 +08:00
yixiong.jxy
ded565f3f3 VOD SDK Auto Released By guzhaoyuan,Version:1.33.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-21 14:09:40 +08:00
yixiong.jxy
66cfddf930 ALIMT SDK Auto Released By xulei.xl,Version:1.33.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-16 15:49:36 +08:00
yixiong.jxy
819afce83a ECS SDK Auto Released By ansen.as,Version:1.33.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-15 23:02:32 +08:00
yixiong.jxy
e93d1a7c5c EHPC SDK Auto Released By qianzheng.llc,Version:1.32.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-14 18:23:57 +08:00
yixiong.jxy
6072a0309b DOMAIN SDK Auto Released By lukang.zlh,Version:1.31.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-13 14:39:51 +08:00
yixiong.jxy
cb0d2daccc CDN SDK Auto Released By xiaoyao,Version:1.30.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-10 11:58:19 +08:00
jxyowen
231cbea1ef Merge pull request #8 from aliyun/pre-release
CORE SDK Auto Released By yixiong.jxy,Version:1.2.10
2018-11-08 18:56:20 +08:00
jxyowen
cbab25c0c1 Merge branch 'master' into pre-release 2018-11-08 18:56:03 +08:00
yixiong.jxy
da6b0bb892 CORE SDK Auto Released By yixiong.jxy,Version:1.2.10
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-08 18:49:38 +08:00
yixiong.jxy
76e63d3f8d RTC SDK Auto Released By renrang.yl,Version:1.30.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-08 16:40:15 +08:00
yixiong.jxy
374b56dd63 RTC SDK Auto Released By renrang.yl,Version:1.30.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-07 17:36:33 +08:00
yixiong.jxy
f189a9dbb2 LINKFACE SDK Auto Released By jiayao.wjy,Version:1.30.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-02 19:41:11 +08:00
yixiong.jxy
f87f6a1649 LUBANCLOUD SDK Auto Released By benxiang.hhq,Version:1.30.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-11-02 13:33:46 +08:00
yixiong.jxy
d26289131f CDN SDK Auto Released By xiaoyao,Version:1.29.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-31 17:59:35 +08:00
yixiong.jxy
6119508e3b CDN SDK Auto Released By xiaoyao,Version:1.29.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-31 16:47:43 +08:00
yixiong.jxy
1f03f4f394 CDN SDK Auto Released By xiaoyao,Version:1.29.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-31 15:55:51 +08:00
yixiong.jxy
214a571b8a LIVE SDK Auto Released By renrang.yl,Version:1.29.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-30 19:09:16 +08:00
yixiong.jxy
b3d7dcffc4 CLOUDAUTH SDK Auto Released By gongpei.gp,Version:1.29.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-26 13:53:54 +08:00
yixiong.jxy
623d36b29e DOMAIN SDK Auto Released By huizeng.zh,Version:1.29.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-25 16:00:45 +08:00
jxyowen
643f3a01b8 Update README_zh.md 2018-10-22 16:47:52 +08:00
yixiong.jxy
61e665d20e ARMS SDK Auto Released By qikai.yangqikai,Version:1.28.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-16 16:10:34 +08:00
yixiong.jxy
13aa2520bf ARMS SDK Auto Released By qikai.yangqikai,Version:1.28.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-16 15:51:54 +08:00
yixiong.jxy
bc8404e573 ARMS SDK Auto Released By qikai.yangqikai,Version:1.28.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-16 15:15:31 +08:00
yixiong.jxy
59a99f2145 ECS SDK Auto Released By corey.ql,Version:1.28.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-16 15:00:01 +08:00
yixiong.jxy
f0ad440f3d IOT SDK Auto Released By cheyun.lxf,Version:1.27.11
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-16 14:14:51 +08:00
yixiong.jxy
6b2d4bad71 IOT SDK Auto Released By cheyun.lxf,Version:1.27.10
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-13 15:30:30 +08:00
yixiong.jxy
a2308b2c95 IOT SDK Auto Released By cheyun.lxf,Version:1.27.9
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-13 15:03:41 +08:00
yixiong.jxy
1a86503742 IOT SDK Auto Released By cheyun.lxf,Version:1.27.8
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-13 08:17:43 +08:00
yixiong.jxy
ccec5843c8 VOD SDK Auto Released By guzhaoyuan,Version:1.27.7
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-11 13:20:26 +08:00
yixiong.jxy
6182017316 SAF SDK Auto Released By xinfa.duanxf,Version:1.27.6
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-10-09 21:31:14 +08:00
yixiong.jxy
a2e022baf7 CDN SDK Auto Released By xiaoyao,Version:1.27.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-30 16:30:31 +08:00
yixiong.jxy
cb75e762ab DCDN SDK Auto Released By xiaoyao,Version:1.27.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-29 14:30:38 +08:00
yixiong.jxy
e82b02a876 SCDN SDK Auto Released By xiaoyao,Version:1.27.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-29 14:20:30 +08:00
yixiong.jxy
d66718d980 CDN SDK Auto Released By xiaoyao,Version:1.27.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-29 11:20:36 +08:00
yixiong.jxy
5e73931c1d IOT SDK Auto Released By yuxing.liyuxing,Version:1.27.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-28 01:09:28 +08:00
yixiong.jxy
f2a390fbc8 EHPC SDK Auto Released By qianzheng.llc,Version:1.27.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-27 15:12:27 +08:00
yixiong.jxy
46a517571d GREEN SDK Auto Released By fengdong.xfd,Version:1.26.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-27 11:44:50 +08:00
yixiong.jxy
eadff9b0ef GREEN SDK Auto Released By fengdong.xfd,Version:1.26.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-27 11:28:11 +08:00
yixiong.jxy
6e9b1bebe0 CCS SDK Auto Released By wilson.liuw,Version:1.26.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-25 20:09:14 +08:00
yixiong.jxy
857329972e update 2018-09-20 17:00:13 +08:00
yixiong.jxy
b2637b8f3c update 2018-09-20 16:55:59 +08:00
yixiong.jxy
844fe8856e LIVE SDK Auto Released By renrang.yl,Version:1.26.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-17 19:48:03 +08:00
yixiong.jxy
02d22470b7 ECS SDK Auto Released By yuanping.wyp,Version:1.26.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-14 15:04:37 +08:00
yixiong.jxy
6c1391eb82 RTC SDK Auto Released By renrang.yl,Version:1.25.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-13 19:39:14 +08:00
yixiong.jxy
60a0077509 ESS SDK Auto Released By kangning.tkn,Version:1.25.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-06 16:00:16 +08:00
yixiong.jxy
ee5b4ca599 IOT SDK Auto Released By cheyun.lxf,Version:1.25.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-06 01:09:55 +08:00
yixiong.jxy
e96ffc6afe EHPC SDK Auto Released By qianzheng.llc,Version:1.25.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-05 10:48:44 +08:00
yixiong.jxy
19a082eb56 GREEN SDK Auto Released By liuhai.lh,Version:1.24.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-03 16:45:19 +08:00
yixiong.jxy
002d5fb06f CSB SDK Auto Released By yaolan.lt,Version:1.24.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-03 15:28:25 +08:00
yixiong.jxy
c960a34373 EHPC SDK Auto Released By qianzheng.llc,Version:1.24.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-28 20:44:35 +08:00
yixiong.jxy
84adbb2cb8 SLB SDK Auto Released By laysong.sl,Version:1.23.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-28 16:48:49 +08:00
yixiong.jxy
db4f78e6de ESS SDK Auto Released By kangning.tkn,Version:1.23.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-27 20:29:54 +08:00
yixiong.jxy
0ef5cd3c63 IOT SDK Auto Released By cheyun.lxf,Version:1.23.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-27 17:29:44 +08:00
yixiong.jxy
0625a8a681 ECS SDK Auto Released By wujin.lhr,Version:1.23.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-23 11:12:17 +08:00
yixiong.jxy
aa84ad7f2e ECS SDK Auto Released By wenle.bwl,Version:1.23.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-22 13:08:24 +08:00
yixiong.jxy
94a811bc97 ECS SDK Auto Released By yixiong.jxy,Version:1.22.9
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-21 17:44:51 +08:00
yixiong.jxy
dd85f78d9d MOPEN SDK Auto Released By everettli.ll,Version:1.22.8
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-21 09:46:45 +08:00
yixiong.jxy
aa1d797d41 VOD SDK Auto Released By guzhaoyuan,Version:1.22.7
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-17 08:10:09 +08:00
yixiong.jxy
42253f9e7a LINKFACE SDK Auto Released By jiayao.wjy,Version:1.22.6
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-17 00:08:54 +08:00
yixiong.jxy
1c29ae37e8 ESS SDK Auto Released By wujin.lhr,Version:1.22.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-16 23:15:24 +08:00
yixiong.jxy
e5d87b63dc CLOUDAUTH SDK Auto Released By chugang.cg,Version:1.22.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-15 19:43:32 +08:00
yixiong.jxy
317456660d LIVE SDK Auto Released By renrang.yl,Version:1.22.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-15 12:49:14 +08:00
yixiong.jxy
a9f9414abb ECS SDK Auto Released By corey.ql,Version:1.22.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-15 11:02:40 +08:00
yixiong.jxy
5aaae25e49 CCC SDK Auto Released By yonghong.lyh,Version:1.22.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-14 09:59:40 +08:00
yixiong.jxy
9a2a29f308 LINKFACE SDK Auto Released By jiayao.wjy,Version:1.22.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-13 17:15:41 +08:00
yixiong.jxy
127c992829 SMARTAG SDK Auto Released By jijun.jj,Version:1.21.6
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-13 11:41:53 +08:00
yixiong.jxy
e16ab91844 OTS SDK Auto Released By wanhong.chenwh,Version:1.21.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-08 16:46:40 +08:00
yixiong.jxy
3cb89d84bd CDN SDK Auto Released By xiaoyao,Version:1.21.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-08 12:31:55 +08:00
yixiong.jxy
7282a6a906 LINKFACE SDK Auto Released By jhon.zh,Version:1.21.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-08 09:54:24 +08:00
yixiong.jxy
0ca5beb247 IOT SDK Auto Released By cheyun.lxf,Version:1.21.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-07 15:41:10 +08:00
yixiong.jxy
13ea4f0698 MTS SDK Auto Released By lingkong.mxs,Version:1.21.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-05 01:08:55 +08:00
yixiong.jxy
fe5f64d980 EHPC SDK Auto Released By qianzheng.llc,Version:1.21.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-03 10:25:37 +08:00
yixiong.jxy
51b845ce56 CCC SDK Auto Released By yonghong.lyh,Version:1.20.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-01 14:06:35 +08:00
yixiong.jxy
f6d7b208a9 MOPEN SDK Auto Released By everettli.ll,Version:1.20.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-01 00:50:16 +08:00
yixiong.jxy
076567c0c7 ECS SDK Auto Released By zemin.lzm,Version:1.20.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-07-31 22:00:17 +08:00
yixiong.jxy
20195cdd92 TESLASTREAM SDK Auto Released By tony.ly,Version:1.20.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-07-26 09:26:49 +08:00
yixiong.jxy
7e24ec0ded RTC SDK Auto Released By renrang.yl,Version:1.20.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-07-25 16:31:51 +08:00
yixiong.jxy
6443abbf11 2018-07-22 19:12:49 +08:00
haowei.yao
33d0687c01 EHPC SDK Auto Released By qianzheng.llc,Version:1.20.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-07-13 18:17:10 +08:00
haowei.yao
fb82ffd6b1 ESS SDK Auto Released By kangning.tkn,Version:1.19.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-07-11 15:12:08 +08:00
haowei.yao
a9f8d260ed CLOUDAUTH SDK Auto Released By zhongdong.pzd,Version:1.19.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-07-11 13:24:34 +08:00
haowei.yao
62484954fe ESS SDK Auto Released By kangning.tkn,Version:1.19.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-07-05 16:13:26 +08:00
haowei.yao
0880c7f722 CHATBOT SDK Auto Released By yanke.yk,Version:1.19.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-07-05 14:35:10 +08:00
haowei.yao
364cab6ffa ESS SDK Auto Released By wujin.lhr,Version:1.18.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-28 17:51:13 +08:00
haowei.yao
c64664f7bb DOMAIN SDK Auto Released By huizeng.zh,Version:1.18.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-27 14:56:49 +08:00
haowei.yao
9d5cbb556b ECS SDK Auto Released By hongsong.shs,Version:1.17.10
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-27 13:43:08 +08:00
haowei.yao
32f06474af RTC SDK Auto Released By renrang.yl,Version:1.17.9
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-22 14:48:26 +08:00
haowei.yao
9117549b3d JARVIS SDK Auto Released By mainri.mxy,Version:1.17.8
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-21 19:47:55 +08:00
haowei.yao
4c070ae8ee JARVIS SDK Auto Released By mainri.mxy,Version:1.17.7
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-20 23:10:18 +08:00
haowei.yao
8eb39b6f8f JARVIS SDK Auto Released By mainri.mxy,Version:1.17.6
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-20 16:34:10 +08:00
haowei.yao
ff2fa8f66f ECS SDK Auto Released By wujin.lhr,Version:1.17.5
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-14 12:33:06 +08:00
10527 changed files with 744363 additions and 90206 deletions

26
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View 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
View File

@@ -0,0 +1,28 @@
---
name: "缺陷问题反馈"
about: 提交缺陷问题反馈
---
<!--
感谢提交问题反馈。
请提供尽量全面的信息协助问题定位修复。
产品和接口问题发生时工作所在的产品和调用的API
平台:操作系统信息,类型,版本
如果可能,请提供一份最小问题复现代码。
如果崩溃,请提供错误栈。
如果编译出错,请提供 cmake 版本,编译器版本,编译命令等信息。
-->
* **产品和接口**:
* **平台**:
* **最小代码**:
<!-- 请提供其他可能协助问题定位的信息 -->

14
.gitignore vendored Normal file
View 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

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

8
.idea/modules.xml generated
View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/aliyun-openapi-cpp-sdk.iml" filepath="$PROJECT_DIR$/.idea/aliyun-openapi-cpp-sdk.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml generated
View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

316
.idea/workspace.xml generated
View File

@@ -1,316 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="0b8685e8-e176-4bd1-aecd-39914b115815" name="Default" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="FileEditorManager">
<leaf>
<file leaf-file-name="README_zh.md" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/README_zh.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="97">
<caret line="13" column="0" lean-forward="true" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="README.md" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/README.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="139">
<caret line="43" column="0" lean-forward="true" selection-start-line="43" selection-start-column="0" selection-end-line="43" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="GradleLocalSettings">
<option name="externalProjectsViewState">
<projects_view />
</option>
<option name="projectSyncType">
<map>
<entry key="$PROJECT_DIR$/../../study/swagger2markup" value="PREVIEW" />
</map>
</option>
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/README_zh.md" />
<option value="$PROJECT_DIR$/README.md" />
</list>
</option>
</component>
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsGulpfileManager">
<detection-done>true</detection-done>
<sorting>DEFINITION_ORDER</sorting>
</component>
<component name="ProjectFrameBounds">
<option name="y" value="23" />
<option name="width" value="1440" />
<option name="height" value="828" />
</component>
<component name="ProjectView">
<navigator currentView="ProjectPane" proportions="" version="1">
<flattenPackages />
<showMembers />
<showModules />
<showLibraryContents />
<hideEmptyPackages />
<abbreviatePackageNames />
<autoscrollToSource />
<autoscrollFromSource />
<sortByType />
<manualOrder />
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="PackagesPane" />
<pane id="Scratches" />
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="aliyun-openapi-cpp-sdk" type="b2602c69:ProjectViewProjectNode" />
<item name="aliyun-openapi-cpp-sdk" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="AndroidView" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$" />
</key>
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
<component name="RunManager">
<configuration default="true" type="Applet" factoryName="Applet">
<option name="WIDTH" value="400" />
<option name="HEIGHT" value="300" />
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
<module />
</configuration>
<configuration default="true" type="Application" factoryName="Application">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<option name="MAIN_CLASS_NAME" />
<option name="VM_PARAMETERS" />
<option name="PROGRAM_PARAMETERS" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="" />
<envs />
</configuration>
<configuration default="true" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<module name="" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PACKAGE_NAME" />
<option name="MAIN_CLASS_NAME" />
<option name="METHOD_NAME" />
<option name="TEST_OBJECT" value="class" />
<option name="VM_PARAMETERS" value="-ea" />
<option name="PARAMETERS" />
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="singleModule" />
</option>
<envs />
<patterns />
</configuration>
<configuration default="true" type="Remote" factoryName="Remote">
<option name="USE_SOCKET_TRANSPORT" value="true" />
<option name="SERVER_MODE" value="false" />
<option name="SHMEM_ADDRESS" value="javadebug" />
<option name="HOST" value="localhost" />
<option name="PORT" value="5005" />
</configuration>
<configuration default="true" type="TestNG" factoryName="TestNG">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<module name="" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="SUITE_NAME" />
<option name="PACKAGE_NAME" />
<option name="MAIN_CLASS_NAME" />
<option name="METHOD_NAME" />
<option name="GROUP_NAME" />
<option name="TEST_OBJECT" value="CLASS" />
<option name="VM_PARAMETERS" value="-ea" />
<option name="PARAMETERS" />
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
<option name="OUTPUT_DIRECTORY" />
<option name="ANNOTATION_TYPE" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="singleModule" />
</option>
<option name="USE_DEFAULT_REPORTERS" value="false" />
<option name="PROPERTIES_FILE" />
<envs />
<properties />
<listeners />
</configuration>
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
<module name="" />
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
<option name="PROGRAM_PARAMETERS" />
<predefined_log_file id="idea.log" enabled="true" />
</configuration>
</component>
<component name="ShelveChangesManager" show_recycled="false">
<option name="remove_strategy" value="false" />
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="0b8685e8-e176-4bd1-aecd-39914b115815" name="Default" comment="" />
<created>1525523789426</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1525523789426</updated>
<workItem from="1525523790774" duration="312000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="312000" />
</component>
<component name="ToolWindowManager">
<frame x="0" y="23" width="1440" height="828" extended-state="0" />
<editor active="true" />
<layout>
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3287858" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24964234" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
</layout>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager />
<watches-manager />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/README_zh.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="97">
<caret line="13" column="0" lean-forward="true" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/README.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="139">
<caret line="43" column="0" lean-forward="true" selection-start-line="43" selection-start-column="0" selection-end-line="43" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</component>
<component name="masterDetails">
<states>
<state key="ProjectJDKs.UI">
<settings>
<last-edited>1.6</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states>
</component>
</project>

15
.travis.yml Normal file
View File

@@ -0,0 +1,15 @@
dist: xenial
sudo: require
language: cpp
compiler: gcc
install:
- sudo apt-get install lcov libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev nodejs npm
script:
- ./unit_test.sh
- ./generate_code_cov.sh
- ./function_test.sh
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@@ -44,9 +44,10 @@ endif()
ExternalProject_Add(catch
URL ${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp
URL_HASH MD5=9b3d2cb5c0f9532cddfbbfd0a622f0af
DOWNLOAD_NO_EXTRACT 1
CONFIGURE_COMMAND ""
DOWNLOAD_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND
${CMAKE_COMMAND} -E copy_if_different <DOWNLOADED_FILE> <INSTALL_DIR>/catch.hpp
${CMAKE_COMMAND} -E copy_if_different
${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp <INSTALL_DIR>/catch.hpp
)

525
CHANGELOG
View File

@@ -1,3 +1,528 @@
2019-03-25 Version: 1.34.61
1, cms fix duplicated struct definition
2019-03-25 Version: 1.34.60
1, mts fix duplication struct definition
2019-03-25 Version: 1.34.59
1, jarvis-pulic fix product code with dash
2019-03-25 Version: 1.34.58
1, sas-api, fix product code with dash
2019-03-21 Version: 1.34.57
1, Update Dependency
2019-03-21 Version: 1.34.56
1, Update Dependency
2019-03-20 Version: 1.34.55
1, Update the Dependency
2019-03-20 Version: 1.34.54
1, Update the Dependency
2019-03-20 Version: 1.34.53
1, cloudwf: update bool type parameter
2019-03-20 Version: 1.34.52
1, Update Dependency
2019-03-19 Version: 1.34.51
1, Support ' fc ' Source DomainName
2019-03-19 Version: 1.34.50
1, move fields: tag, associate_person, cid
2019-03-19 Version: 1.34.49
1, format fields: tags, associatePerson
2019-03-19 Version: 1.34.48
1, add query user oms data api
2019-03-19 Version: 1.34.47
1, Update Dependency
2019-03-19 Version: 1.34.46
1, Update Dependency
2019-03-19 Version: 1.34.45
1, This is an example of release-log.
2, Please strictly follow this format to edit in English.
3, FormatNumber + , + Space + Description
2019-03-18 Version: 1.34.44
1, rds: deliver string true/false to server for bool type parameter, not previous 1/0
2019-03-18 Version: 1.34.43
1, deliver string true/false to server for bool type parameter, not previous 1/0
2019-03-18 Version: 1.34.42
1, Signature Document SDK.
2, First version publish.
3, Beta Version SDK
2019-03-18 Version: 1.34.41
1, Update Dependency
2019-03-18 Version: 1.34.40
1, move AssociatePerson\Tag field
2, Optimize RealName field
2019-03-18 Version: 1.34.39
1, Update Dependency
2019-03-18 Version: 1.34.38
1, Update Dependency
2019-03-18 Version: 1.34.37
1, Update Dependency
2019-03-18 Version: 1.34.36
1, Update Dependency
2019-03-15 Version: 1.34.35
1, Update Dependency
2019-03-15 Version: 1.34.34
1, Update Dependency
2019-03-15 Version: 1.34.33
1, Update Dependency
2019-03-15 Version: 1.34.32
1, Update Dependency
2019-03-15 Version: 1.34.31
1, Update Dependency
2019-03-15 Version: 1.34.30
1, Update Dependency
2019-03-15 Version: 1.34.29
1, Update Dependency
2019-03-15 Version: 1.34.28
1, Update Dependency
2019-03-15 Version: 1.34.27
1, Update Dependency
2019-03-15 Version: 1.34.26
1, Update Dependency
2019-03-15 Version: 1.34.25
1, Update Dependency
2019-03-14 Version: 1.34.24
1, Update Dependency
2019-03-14 Version: 1.34.23
1, Update Dependency
2019-03-14 Version: 1.34.22
1, Update Dependency
2019-03-14 Version: 1.34.21
1, Update Dependency
2019-03-14 Version: 1.34.20
1, Update Dependency
2019-03-14 Version: 1.34.19
1, Update Dependency
2019-03-14 Version: 1.34.18
1, Update Dependency
2019-03-14 Version: 1.34.17
1, Update Dependency
2019-03-14 Version: 1.34.16
1, Update Dependency
2019-03-13 Version: 1.34.15
1, Update Dependency
2019-03-13 Version: 1.34.14
1, Update Dependency
2019-03-13 Version: 1.34.13
1, Update Dependency
2019-03-13 Version: 1.34.12
1, Distinguish between system and service parameters
2019-03-13 Version: 1.34.11
1, add DescribeDemands interface
2019-03-13 Version: 1.34.10
1, Distinguish between system and service parameters
2019-03-12 Version: 1.34.9
1, add agency infomation
2, update sdk core resources
2018-12-20 Version: 1.34.8
1, Sync CDN API.
2018-12-11 Version: 1.34.7
1, Sync CDN API.
2018-12-06 Version: 1.34.6
1, Add DescribeLiveDomainRealTimeBpsData, DescribeLiveDomainRealTimeHttpCodeData,DescribeLiveDomainRealTimeTrafficData.
2, Update DescirbeCasterChannels and DescribeCasterStreamUrl.
2018-12-03 Version: 1.34.5
1, Sync CDN API.
2018-12-03 Version: 1.34.4
1, Sync CDN API.
2018-12-03 Version: 1.34.3
1, Update 2014-11-11 API.
2018-12-03 Version: 1.34.2
1, Add a parameter to RemoveInstances.
2018-11-30 Version: 1.34.1
1, Add new apis called AddVodTemplate, UpdateVodTemplate, DeleteVodTemplate, ListVodTemplate, GetVodTemplate and SetDefaultVodTemplate which support vodtemplate feature.
2, Add a new api called CreateUploadAttachedMedia to get upload auth for attached media
3, Add new apis called AddWorkFlow, UpdateWorkFlow, DeleteWorkFlow, ListWorkFlow, GetWorkFlow which support workflow feature.
2018-11-28 Version: 1.34.0
1, Add RedeployInstance interface, and support to migrate ecs instance with specified maintenance events actively
2018-11-28 Version: 1.33.6
1, Add APIs InvokeThingsService, SetDevicesProperty and QueryDeviceByTags .
2018-11-27 Version: 1.33.5
1, Add APIs InvokeThingsService, SetDevicesProperty and QueryDeviceByTags .
2018-11-22 Version: 1.33.4
1, Increase the scene field
2018-11-22 Version: 1.33.3
1, Add parameter DeletionProtection when creating instance and modifying instance attribute
2018-11-21 Version: 1.33.2
1, Add new apis called AddWatermark, UpdateWatermark, DeleteWatermark, ListWatermarks, GetWatermark and SetDefaultWatermark which support watermark feature.
2, Add a new api called RegisterMedia which supports registration of audio and video media files that already exist in the OSS bucket.
3, Add the field named OverrideParams to SubmitTranscodeJobs api request.
2018-11-16 Version: 1.33.1
1, update version
2018-11-15 Version: 1.33.0
1, ECS support ipv6Address
2018-11-14 Version: 1.32.0
1, Better support for hybrid cluster.
2018-11-13 Version: 1.31.0
1, Add FuzzyMatchDomainSensitiveWord interfaceSupport fuzzy matching sensitive words.
2, Add BatchFuzzyMatchDomainSensitiveWord interfaceSupport batch fuzzy matching sensitive words.
3, Add DynamicCheck properties for results of CheckDomain interface.
2018-11-10 Version: 1.30.5
1, Update SetWaitingRoomConfig.
2018-11-08 Version: 1.30.4
1, Fix the http response receive bug
2018-11-08 Version: 1.30.3
1, Update Version.
2018-11-07 Version: 1.30.2
1, Add API CreateTemplate,DeleteTemplate,GetAllTemplate,GetTemplateInfo.
2, Add API GetTaskStatus,StartTask,StopTask.
3, Add API GetTaskParam,UpdateTaskParam.
2018-11-02 Version: 1.30.1
1, deviceName and productKey can be used instead of iotId.
2, New productKey fields for queryauthentication output parameter.
3, New deviceName fields for queryauthentication output parameter.
2018-11-02 Version: 1.30.0
1, first version
2018-10-31 Version: 1.29.5
1, Update SetWaitingRoomConfig.
2018-10-31 Version: 1.29.4
1, Add SetWaitingRoomConfig.
2018-10-31 Version: 1.29.3
1, Add SetWaitingRoomConfig.
2018-10-30 Version: 1.29.2
1, Add API DescribeLiveDomainBpsData,DescribeLiveDomainTrafficData.
2018-10-26 Version: 1.29.1
1, Return AuditConclusions in SubmitMaterials API.
2018-10-25 Version: 1.29.0
1, Add apis for trademark domains.
2, Add QueryDomainAdminDivision api.
2018-10-16 Version: 1.28.3
1, This version add MetricQuery interface to support retcode and apm metric query.
2018-10-16 Version: 1.28.2
1, This version add MetricQuery interface to support retcode and apm metric query.
2018-10-16 Version: 1.28.1
1, This version add MetricQuery interface to support retcode and apm metric query.
2018-10-16 Version: 1.28.0
1, Delete deprecated and unusable apis : AddIpRange, UnbindIpRange, BindIpRange, DescribeIntranetAttributeKb, DescribeIpRanges, ModifyIntranetBandwidthKb, DescribeEventDetail, CheckAutoSnapshotPolicy, CheckDiskEnableAutoSnapshotValidation, DescribeAutoSnapshotPolicy
2, Add instance topology api DescribeInstanceTopology
3, Add mount point in DescribeDisksFullStatus
2018-10-16 Version: 1.27.11
1, remove set group tags API.
2018-10-13 Version: 1.27.10
1, Add device group related APIs.
2018-10-13 Version: 1.27.9
1, Add device group related APIs.
2018-10-13 Version: 1.27.8
1, Add device group related APIs.
2018-10-11 Version: 1.27.7
1, Add a new api called DeleteMezzanines to clear mezzanine infos and storages.
2, Add the field called PlayConfig to GetVideoPlayAuth and GetPlayInfo api request.
3, Add a new api called UpdateImageInfos to update image information.
2018-10-09 Version: 1.27.6
1, v1.0.0-->v1.0.1
2, provider new region:beijing/shenzhen/zhangjiakou
3, provider service for VPC user;
2018-09-30 Version: 1.27.5
1, This is an example of release-log.
2, Please strictly follow this format to edit in English.
3, FormatNumber + , + Space + Description
2018-09-29 Version: 1.27.4
1, Sync cdn api.
2018-09-29 Version: 1.27.3
1, This is an example of release-log.
2, Please strictly follow this format to edit in English.
3, FormatNumber + , + Space + Description
2018-09-29 Version: 1.27.2
1, This is an example of release-log.
2, Please strictly follow this format to edit in English.
3, FormatNumber + , + Space + Description
2018-09-28 Version: 1.27.1
1, Add one api, QueryAppDeviceList.
2018-09-27 Version: 1.27.0
1, Add new API ListQueues, modify API SetAutoScaleConfig to support queue related features.
2018-09-27 Version: 1.26.4
1, modify getFaces Api
2018-09-27 Version: 1.26.3
1, modify getFaces Api
2018-09-25 Version: 1.26.2
1, Add GetHotlineRecord and QueryHotlineRecord interface, version 1.0.0
2018-09-17 Version: 1.26.1
1, Add field for AddCasterVideoResource, DescribeCasterVideoResources, ModifyCasterVideoResource.
2018-09-14 Version: 1.26.0
1, Add DedicatedHost Feature
2018-09-13 Version: 1.25.3
1, Add CreateChannelToken.
2018-09-06 Version: 1.25.2
1, AutoScaling support launchTemplate.
2018-09-06 Version: 1.25.1
1, Add API deleteProduct.
2, Move all API to version 20180120.
2018-09-05 Version: 1.25.0
1, Add new APIs with control policy for querying price
2018-09-03 Version: 1.24.2
1, voice identify interface
2, client upload credentials interface
2018-09-03 Version: 1.24.1
1, Add new service APIFindServiceStatisticalData, which can support query service statistical data.
2018-08-28 Version: 1.24.0
1, Add new APIs for profiling application performance: GetCloudMetricProfiling, etc.
2, Add new APIs to support Shifter container applications: AddContainerApp, etc.
2018-08-28 Version: 1.23.4
1, Add param for DescribeRegions,support AcceptLanguage,RegionEndpoint.
2018-08-27 Version: 1.23.3
1, add Ess alarm task api, CreateAlarm, DeleteAlarm, DescribeAlarms, DeleteAlarm, EnableAlarm, DisableAlarm
2018-08-27 Version: 1.23.2
1, Add api GetGatewayBySubDevice.
2, Modified the time related response parameters.
3, Add messageId in response with InvokeThingServiceSetDeviceProperty and NotifyAddThingTopo.
2018-08-23 Version: 1.23.1
1, RunInstance add privateIpAddress.
2018-08-22 Version: 1.23.0
1, Add api CreateSimulatedSystemEvents, support creating one or more simulated system events.
2, Add api CancelSimulatedSystemEvents, support cancelling one or more simulated system events.
2018-08-21 Version: 1.22.9
1, Repair describeLaunchTemplateVersions securityEnhancementStrategy type
2018-08-21 Version: 1.22.8
1, Add api: MoPenQueryCanvas, MoPenDoRecognize, MoPenSendMqttMessage, MoPenFindGroup
2018-08-17 Version: 1.22.7
1, Add a new api called DeleteImage to clear the image resource.
2, Add the field called AdditionType and OutputType to GetMezzanineInfo api request.
3, Add the field called OutputType to GetMezzanineInfo api response.
4, Add the field called CreationTime and ModificationTime to GetPlayInfo api response.
2018-08-17 Version: 1.22.6
1, New apkpubkey fields for queryauthentication output parameter.
2, New packagename fields for queryauthentication output parameter.
3, New clientId fields for queryauthentication output parameter.
2018-08-16 Version: 1.22.5
1, ModifyScalingConfiguration add imageName.
2, CreateScalingConfiguration add imageName.
2018-08-15 Version: 1.22.4
1, Fix bug in GetMaterials API.
2, GetVerifyToken added a new param VerifyConfigs
2018-08-15 Version: 1.22.3
1, Add domain operation api AddLiveDomain,DeleteLiveDomain,DescribeLiveDomainDetail,StartLiveDomain,StopLiveDomain.
2, Add certificate operation api DescribeLiveCertificateDetail,DescribeLiveCertificateList,SetLiveDomainCertificate.
3, Add domain config api BatchSetLiveDomainConfigs,BatchDeleteLiveDomainConfigs,DeleteLiveSpecificConfig,DescribeLiveDomainConfigs.
2018-08-15 Version: 1.22.2
1, Update ecs tag to 20 maximum
2018-08-14 Version: 1.22.1
1, Change parameter name of Dialogue
2018-08-13 Version: 1.22.0
1, New userinfo fields for registerface input parameter.
2, New userinfo fields for updateface input parameter.
3, New userinfo fields for queryface output parameter.
2018-08-13 Version: 1.21.6
1, Add cross domain support.
2, Add parameter SerialNumber to interface RebootSmartAccessGateway.
2018-08-08 Version: 1.21.5
1, The official release 4.0.0
2018-08-08 Version: 1.21.4
1, Update FC apis.
2018-08-08 Version: 1.21.3
1, First release.
2018-08-07 Version: 1.21.2
1, Add api GetGatewayBySubDevice.
2, Modified the time related response parameters.
3, Add messageId in response with InvokeThingServiceSetDeviceProperty and NotifyAddThingTopo.
2018-08-05 Version: 1.21.1
1, Add Interface SubmitSubtitleJob
2, Support convert ttml、stl subtitle to vtt
2018-08-03 Version: 1.21.0
1, Add new API AddLocalNodes, for adding local machine to a hybrid cluster
2018-08-01 Version: 1.20.5
1, Add new API GetConversationDetailByContactId
2018-08-01 Version: 1.20.4
1, Add api: MoPenQueryCanvas, MoPenDoRecognize, MoPenSendMqttMessage, MoPenFindGroup
2018-07-31 Version: 1.20.3
1, Support describePrice for market image, add return detailInfo in interface describePrice
2018-07-26 Version: 1.20.2
1, Add BatchGetJobMetricInfo API.
2, Add BatchGetPluginConfigInfo API.
3, Add GetJobTopology API.
2018-07-25 Version: 1.20.1
1, Add RemoveTerminals API.
2018-07-13 Version: 1.20.0
1, New APIs for batch executing commands in cluster: InvokeShellCommand, ListCommands, etc.
2, New APIs for HybridCluster (link E-HPC with cluster in local IDC): CreateHybridCluster, etc.
3, New APIs for Container applications: AddContainerApp, etc.
2018-07-11 Version: 1.19.3
1, new function: Attach and Detach Rds instance of scalingGroup.
2018-07-11 Version: 1.19.2
1, Add DetectFaceAttributesService.
2, Add cloudauthPageUrl to GetVerifyTokenResponse.
2018-07-05 Version: 1.19.1
1, new function, attach/detach load balancer of scalingGroup
2018-07-05 Version: 1.19.0
1, A new optional parameter 'Perspectives' is introduced to the 'Chat' API. By filling this parameter when calling 'Chat', you'll get the knowledge base content within the specified perspectives.
2018-06-28 Version: 1.18.1
1, ScalingConfiguration support hostName and passwordInherit
2, ScalingConfiguration support modify
2018-06-27 Version: 1.18.0
1, Modify QueryDomainRealNameVerificationInfo Api, add a return value IdentityCredentialUrl, which is domain real name verification image, you can download it via a HTTP get request,It has validity for 30 seconds.
2, Modify QueryRegistrantProfileRealNameVerificationInfo Api, add a return value IdentityCredentialUrl, which is domain real name verification image, you can download it via a HTTP get request,It has validity for 30 seconds
2018-06-27 Version: 1.17.10
1, DescribeNetworkInterfaces support query with vpcId
2018-06-22 Version: 1.17.9
1, rtc openapi
2018-06-21 Version: 1.17.8
1, This is add InstanceList.
2018-06-20 Version: 1.17.7
1, Add InstanceList in product security information query.
2018-06-20 Version: 1.17.6
1, Add InstanceList in product security information query.
2018-06-14 Version: 1.17.5
1, Add passwordInherit.
2018-06-13 Version: 1.17.4
1, Add API AddCasterEpisodeGroupContent,CreateCaster.
2, Add Parameter fillMode for AddCasterLayout,ModifyCasterLayout.

View File

@@ -1,80 +1,115 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT 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(ess)
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(finmall)
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)
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_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(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(crm)
add_subdirectory(kms)
add_subdirectory(sas-api)
add_subdirectory(jarvis-public)
add_subdirectory(mts)

View File

@@ -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.

311
README.md
View File

@@ -1,81 +1,230 @@
# Alibaba Cloud C++ Software Development Kit
[中文文档](./README_zh.md)
The Alibaba Cloud C++ Software Development Kit (SDK) 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.
This document introduces how to obtain and call Alibaba Cloud C++ SDK.
If you have any problem while using C++ SDK, please join the **DingTalk group: 11771185 (the official SDK customer service group of Alibaba Cloud)** for consultation.
## Prerequisites
- To use Alibaba Cloud C++ SDK, you must have an Alibaba Cloud account and an AccessKey.
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).
>**Note:** To increase the security of your account, we recommend that you use the AccessKey of the RAM user to access Alibaba Cloud services.
- To use Alibaba Cloud C++ 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.
## Install C++ SDK
1. Install third-party libraries on the Linux platform, including `libcurl`, `libopenssl`, `libuuid`, and `libjsoncpp`.
- Run the following commands on the Redhat/Fedora system to install third-party libraries.
```
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
```
- Run the following commands on the Debian/Ubuntu system to install third-party libraries.
```
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
```
2. Run the following commands to clone source codes from GitHub.
```
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
## Use the C++ SDK
Before using C++ SDK, you must first configure the preprocessor to define `ALIBABACLOUD_SHARED` to achieve dynamic linking with Alibaba Cloud C++ 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.
```
#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>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// Create an API request and set parameters
Model::DescribeInstancesRequest request;
request.setPageSize(10);
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;
}
```
# Alibaba Cloud C++ Software Development Kit
[中文文档](./README_zh.md)
[![Build Status](https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk.svg?branch=master)](https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk)
[![codecov](https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk)
The Alibaba Cloud C++ Software Development Kit (SDK) 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.
This document introduces how to obtain and call Alibaba Cloud C++ SDK.
If you have any problem while using C++ SDK, please submit an [issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new).
## Prerequisites
- To use Alibaba Cloud C++ SDK, you must have an Alibaba Cloud account and an AccessKey.
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).
>**Note:** To increase the security of your account, we recommend that you use the AccessKey of the RAM user to access Alibaba Cloud services.
- To use Alibaba Cloud C++ 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.
- 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
## Install C++ SDK from source code
### Linux
1. Install third-party libraries on the Linux platform, including `libcurl`, `libopenssl`, `libuuid`, and `libjsoncpp`.
- 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.
```bash
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
3. Build and install SDK
- Manually build and install
```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
```
- Or you may do this with `easyinstall.sh` in the source directory
```shell
cd aliyun-openapi-cpp-sdk
sudo sh easyinstall.sh
```
**The C++ SDK 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.
**SDK will be installed to `C:\Program File (x86)\alibabacloud-sdk`**
## Use the C++ SDK
Before using C++ SDK, you must first configure the preprocessor to define `ALIBABACLOUD_SHARED` to achieve dynamic linking with Alibaba Cloud C++ 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>
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>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// Create an API request and set parameters
Model::DescribeInstancesRequest request;
request.setPageSize(10);
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;
}
```
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)**
## LICENSE
Please refer to [LICENSE](https://github.com/aliyun/aliyun-openapi-cpp-sdk/blob/master/LICENSE) (Apache 2.0 LICENSE).

View File

@@ -1,9 +1,14 @@
# 阿里云开发者C++工具套件
[![Build Status](https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk.svg?branch=master)](https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk)
[![codecov](https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk)
欢迎使用阿里云开发者工具套件SDK
适用于阿里云的 C++ SDK 提供了一组现代化的 C++C++ 11 或更高版本)接口,让您不用复杂编程即可访问云服务器、云监控等多个阿里云服务。
如果您在使用SDK的过程中遇到任何问题欢迎前往[阿里云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)。
完成本文档中的操作开始使用 C++ SDK。
## 前提条件
@@ -17,8 +22,11 @@
* 开通了云产品服务。有些云产品如对象存储OSS需要先在[阿里云控制台](https://home.console.aliyun.com)开通服务。
* 安装支持 C++ 11 或更高版本的编译器:
* Visual Studio 2015 或以上版本
* GCC 4.9 或以上版本
* Windows: Visual Studio 2015 或以上版本
* Linux: GCC 4.9 或以上版本
* 安装 CMake 3.0 或以上版本
* 建议 4G 或以上内存
## 从源代码构建 SDK
@@ -31,43 +39,77 @@
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
2. 安装 cmake 3.0 或以上版本,进入 SDK 创建生成必要的构建文件
2. 创建生成必要的构建文件
```
```bash
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
```
### 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
```
make
sudo make install
或者通过 `easyinstall.sh`一键式安装
```bash
cd aliyun-openapi-cpp-sdk
sudo sh easyinstall.sh
```
**C++ SDK 将被安装在 `/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
```
**C++ SDK 将安装在 `C:\Program File (x86)\alibabacloud-sdk` 目录**
**注意:请以管理员身份运行 Visual Studio否则无法安装 SDK**
## 如何使用 C++ SDK
在调用 C++ SDK时您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证并指定云服务的地域然后发送API请求。
@@ -84,35 +126,116 @@ 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) {
// 初始化 SDK
AlibabaCloud::InitializeSdk();
// 配置 ecs 实例
ClientConfiguration configuration("<your-region-id>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// 配置 ecs 实例
ClientConfiguration configuration("<your-region-id>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// 创建API请求并设置参数
Model::DescribeInstancesRequest request;
request.setPageSize(10);
// 创建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;
auto outcome = client.describeInstances(request);
if (!outcome.isSuccess()) {
// 异常处理
std::cout << outcome.error().errorCode() << std::endl;
AlibabaCloud::ShutdownSdk();
return -1;
}
// 关闭 SDK
AlibabaCloud::ShutdownSdk();
return 0;
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) 请(参考)[https://github.com/aliyun/aliyun-openapi-cpp-sdk/blob/master/examples/README_zh.md]**
## 许可协议
请参阅 LICENSE 文件Apache 2.0 许可证)。

View File

@@ -1 +1 @@
1.17.4
1.34.61

View File

@@ -23,55 +23,67 @@ set(afs_public_header
set(afs_public_header_model
include/alibabacloud/afs/model/DescribeEarlyWarningRequest.h
include/alibabacloud/afs/model/DescribeEarlyWarningResult.h
include/alibabacloud/afs/model/SetEarlyWarningRequest.h
include/alibabacloud/afs/model/SetEarlyWarningResult.h
include/alibabacloud/afs/model/DescribeCaptchaIpCityRequest.h
include/alibabacloud/afs/model/DescribeCaptchaIpCityResult.h
include/alibabacloud/afs/model/DescribeOrderInfoRequest.h
include/alibabacloud/afs/model/DescribeOrderInfoResult.h
include/alibabacloud/afs/model/DescribeCaptchaRiskRequest.h
include/alibabacloud/afs/model/DescribeCaptchaRiskResult.h
include/alibabacloud/afs/model/DescribeCaptchaOrderRequest.h
include/alibabacloud/afs/model/DescribeCaptchaOrderResult.h
include/alibabacloud/afs/model/CreateConfigurationRequest.h
include/alibabacloud/afs/model/CreateConfigurationResult.h
include/alibabacloud/afs/model/AnalyzeNvcRequest.h
include/alibabacloud/afs/model/AnalyzeNvcResult.h
include/alibabacloud/afs/model/SetEarlyWarningRequest.h
include/alibabacloud/afs/model/SetEarlyWarningResult.h
include/alibabacloud/afs/model/ConfigurationStyleRequest.h
include/alibabacloud/afs/model/ConfigurationStyleResult.h
include/alibabacloud/afs/model/DescribeCaptchaMinRequest.h
include/alibabacloud/afs/model/DescribeCaptchaMinResult.h
include/alibabacloud/afs/model/DescribeCaptchaRiskRequest.h
include/alibabacloud/afs/model/DescribeCaptchaRiskResult.h
include/alibabacloud/afs/model/AuthenticateSigRequest.h
include/alibabacloud/afs/model/AuthenticateSigResult.h
include/alibabacloud/afs/model/DescribeConfigNameRequest.h
include/alibabacloud/afs/model/DescribeConfigNameResult.h
include/alibabacloud/afs/model/DescribeCaptchaDayRequest.h
include/alibabacloud/afs/model/DescribeCaptchaDayResult.h
include/alibabacloud/afs/model/UpdateConfigNameRequest.h
include/alibabacloud/afs/model/UpdateConfigNameResult.h
include/alibabacloud/afs/model/DescribePersonMachineListRequest.h
include/alibabacloud/afs/model/DescribePersonMachineListResult.h
include/alibabacloud/afs/model/CreateConfigurationRequest.h
include/alibabacloud/afs/model/CreateConfigurationResult.h
include/alibabacloud/afs/model/AnalyzeNvcRequest.h
include/alibabacloud/afs/model/AnalyzeNvcResult.h )
include/alibabacloud/afs/model/DescribePersonMachineListResult.h )
set(afs_src
src/AfsClient.cc
src/model/DescribeEarlyWarningRequest.cc
src/model/DescribeEarlyWarningResult.cc
src/model/SetEarlyWarningRequest.cc
src/model/SetEarlyWarningResult.cc
src/model/DescribeCaptchaIpCityRequest.cc
src/model/DescribeCaptchaIpCityResult.cc
src/model/DescribeOrderInfoRequest.cc
src/model/DescribeOrderInfoResult.cc
src/model/DescribeCaptchaRiskRequest.cc
src/model/DescribeCaptchaRiskResult.cc
src/model/DescribeCaptchaOrderRequest.cc
src/model/DescribeCaptchaOrderResult.cc
src/model/CreateConfigurationRequest.cc
src/model/CreateConfigurationResult.cc
src/model/AnalyzeNvcRequest.cc
src/model/AnalyzeNvcResult.cc
src/model/SetEarlyWarningRequest.cc
src/model/SetEarlyWarningResult.cc
src/model/ConfigurationStyleRequest.cc
src/model/ConfigurationStyleResult.cc
src/model/DescribeCaptchaMinRequest.cc
src/model/DescribeCaptchaMinResult.cc
src/model/DescribeCaptchaRiskRequest.cc
src/model/DescribeCaptchaRiskResult.cc
src/model/AuthenticateSigRequest.cc
src/model/AuthenticateSigResult.cc
src/model/DescribeConfigNameRequest.cc
src/model/DescribeConfigNameResult.cc
src/model/DescribeCaptchaDayRequest.cc
src/model/DescribeCaptchaDayResult.cc
src/model/UpdateConfigNameRequest.cc
src/model/UpdateConfigNameResult.cc
src/model/DescribePersonMachineListRequest.cc
src/model/DescribePersonMachineListResult.cc
src/model/CreateConfigurationRequest.cc
src/model/CreateConfigurationResult.cc
src/model/AnalyzeNvcRequest.cc
src/model/AnalyzeNvcResult.cc )
src/model/DescribePersonMachineListResult.cc )
add_library(afs ${LIB_TYPE}
${afs_public_header}

View File

@@ -24,28 +24,34 @@
#include "AfsExport.h"
#include "model/DescribeEarlyWarningRequest.h"
#include "model/DescribeEarlyWarningResult.h"
#include "model/SetEarlyWarningRequest.h"
#include "model/SetEarlyWarningResult.h"
#include "model/DescribeCaptchaIpCityRequest.h"
#include "model/DescribeCaptchaIpCityResult.h"
#include "model/DescribeOrderInfoRequest.h"
#include "model/DescribeOrderInfoResult.h"
#include "model/DescribeCaptchaRiskRequest.h"
#include "model/DescribeCaptchaRiskResult.h"
#include "model/DescribeCaptchaOrderRequest.h"
#include "model/DescribeCaptchaOrderResult.h"
#include "model/CreateConfigurationRequest.h"
#include "model/CreateConfigurationResult.h"
#include "model/AnalyzeNvcRequest.h"
#include "model/AnalyzeNvcResult.h"
#include "model/SetEarlyWarningRequest.h"
#include "model/SetEarlyWarningResult.h"
#include "model/ConfigurationStyleRequest.h"
#include "model/ConfigurationStyleResult.h"
#include "model/DescribeCaptchaMinRequest.h"
#include "model/DescribeCaptchaMinResult.h"
#include "model/DescribeCaptchaRiskRequest.h"
#include "model/DescribeCaptchaRiskResult.h"
#include "model/AuthenticateSigRequest.h"
#include "model/AuthenticateSigResult.h"
#include "model/DescribeConfigNameRequest.h"
#include "model/DescribeConfigNameResult.h"
#include "model/DescribeCaptchaDayRequest.h"
#include "model/DescribeCaptchaDayResult.h"
#include "model/UpdateConfigNameRequest.h"
#include "model/UpdateConfigNameResult.h"
#include "model/DescribePersonMachineListRequest.h"
#include "model/DescribePersonMachineListResult.h"
#include "model/CreateConfigurationRequest.h"
#include "model/CreateConfigurationResult.h"
#include "model/AnalyzeNvcRequest.h"
#include "model/AnalyzeNvcResult.h"
namespace AlibabaCloud
@@ -55,83 +61,101 @@ namespace AlibabaCloud
class ALIBABACLOUD_AFS_EXPORT AfsClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::DescribeEarlyWarningResult> DescribeEarlyWarningOutcome;
typedef std::future<DescribeEarlyWarningOutcome> DescribeEarlyWarningOutcomeCallable;
typedef Outcome<Error, Model::DescribeEarlyWarningResult> DescribeEarlyWarningOutcome;
typedef std::future<DescribeEarlyWarningOutcome> DescribeEarlyWarningOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribeEarlyWarningRequest&, const DescribeEarlyWarningOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEarlyWarningAsyncHandler;
typedef Outcome<Error, Model::SetEarlyWarningResult> SetEarlyWarningOutcome;
typedef std::future<SetEarlyWarningOutcome> SetEarlyWarningOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::SetEarlyWarningRequest&, const SetEarlyWarningOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetEarlyWarningAsyncHandler;
typedef Outcome<Error, Model::DescribeCaptchaIpCityResult> DescribeCaptchaIpCityOutcome;
typedef std::future<DescribeCaptchaIpCityOutcome> DescribeCaptchaIpCityOutcomeCallable;
typedef Outcome<Error, Model::DescribeCaptchaIpCityResult> DescribeCaptchaIpCityOutcome;
typedef std::future<DescribeCaptchaIpCityOutcome> DescribeCaptchaIpCityOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaIpCityRequest&, const DescribeCaptchaIpCityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaIpCityAsyncHandler;
typedef Outcome<Error, Model::ConfigurationStyleResult> ConfigurationStyleOutcome;
typedef std::future<ConfigurationStyleOutcome> ConfigurationStyleOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::ConfigurationStyleRequest&, const ConfigurationStyleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigurationStyleAsyncHandler;
typedef Outcome<Error, Model::DescribeCaptchaMinResult> DescribeCaptchaMinOutcome;
typedef std::future<DescribeCaptchaMinOutcome> DescribeCaptchaMinOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaMinRequest&, const DescribeCaptchaMinOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaMinAsyncHandler;
typedef Outcome<Error, Model::DescribeCaptchaRiskResult> DescribeCaptchaRiskOutcome;
typedef std::future<DescribeCaptchaRiskOutcome> DescribeCaptchaRiskOutcomeCallable;
typedef Outcome<Error, Model::DescribeOrderInfoResult> DescribeOrderInfoOutcome;
typedef std::future<DescribeOrderInfoOutcome> DescribeOrderInfoOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribeOrderInfoRequest&, const DescribeOrderInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOrderInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeCaptchaRiskResult> DescribeCaptchaRiskOutcome;
typedef std::future<DescribeCaptchaRiskOutcome> DescribeCaptchaRiskOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaRiskRequest&, const DescribeCaptchaRiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaRiskAsyncHandler;
typedef Outcome<Error, Model::AuthenticateSigResult> AuthenticateSigOutcome;
typedef std::future<AuthenticateSigOutcome> AuthenticateSigOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::AuthenticateSigRequest&, const AuthenticateSigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AuthenticateSigAsyncHandler;
typedef Outcome<Error, Model::DescribeConfigNameResult> DescribeConfigNameOutcome;
typedef std::future<DescribeConfigNameOutcome> DescribeConfigNameOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribeConfigNameRequest&, const DescribeConfigNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConfigNameAsyncHandler;
typedef Outcome<Error, Model::DescribeCaptchaDayResult> DescribeCaptchaDayOutcome;
typedef std::future<DescribeCaptchaDayOutcome> DescribeCaptchaDayOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaDayRequest&, const DescribeCaptchaDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaDayAsyncHandler;
typedef Outcome<Error, Model::DescribePersonMachineListResult> DescribePersonMachineListOutcome;
typedef std::future<DescribePersonMachineListOutcome> DescribePersonMachineListOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribePersonMachineListRequest&, const DescribePersonMachineListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePersonMachineListAsyncHandler;
typedef Outcome<Error, Model::CreateConfigurationResult> CreateConfigurationOutcome;
typedef std::future<CreateConfigurationOutcome> CreateConfigurationOutcomeCallable;
typedef Outcome<Error, Model::DescribeCaptchaOrderResult> DescribeCaptchaOrderOutcome;
typedef std::future<DescribeCaptchaOrderOutcome> DescribeCaptchaOrderOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaOrderRequest&, const DescribeCaptchaOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaOrderAsyncHandler;
typedef Outcome<Error, Model::CreateConfigurationResult> CreateConfigurationOutcome;
typedef std::future<CreateConfigurationOutcome> CreateConfigurationOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::CreateConfigurationRequest&, const CreateConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConfigurationAsyncHandler;
typedef Outcome<Error, Model::AnalyzeNvcResult> AnalyzeNvcOutcome;
typedef std::future<AnalyzeNvcOutcome> AnalyzeNvcOutcomeCallable;
typedef Outcome<Error, Model::AnalyzeNvcResult> AnalyzeNvcOutcome;
typedef std::future<AnalyzeNvcOutcome> AnalyzeNvcOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::AnalyzeNvcRequest&, const AnalyzeNvcOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AnalyzeNvcAsyncHandler;
typedef Outcome<Error, Model::SetEarlyWarningResult> SetEarlyWarningOutcome;
typedef std::future<SetEarlyWarningOutcome> SetEarlyWarningOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::SetEarlyWarningRequest&, const SetEarlyWarningOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetEarlyWarningAsyncHandler;
typedef Outcome<Error, Model::ConfigurationStyleResult> ConfigurationStyleOutcome;
typedef std::future<ConfigurationStyleOutcome> ConfigurationStyleOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::ConfigurationStyleRequest&, const ConfigurationStyleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigurationStyleAsyncHandler;
typedef Outcome<Error, Model::DescribeCaptchaMinResult> DescribeCaptchaMinOutcome;
typedef std::future<DescribeCaptchaMinOutcome> DescribeCaptchaMinOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaMinRequest&, const DescribeCaptchaMinOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaMinAsyncHandler;
typedef Outcome<Error, Model::AuthenticateSigResult> AuthenticateSigOutcome;
typedef std::future<AuthenticateSigOutcome> AuthenticateSigOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::AuthenticateSigRequest&, const AuthenticateSigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AuthenticateSigAsyncHandler;
typedef Outcome<Error, Model::DescribeConfigNameResult> DescribeConfigNameOutcome;
typedef std::future<DescribeConfigNameOutcome> DescribeConfigNameOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribeConfigNameRequest&, const DescribeConfigNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConfigNameAsyncHandler;
typedef Outcome<Error, Model::DescribeCaptchaDayResult> DescribeCaptchaDayOutcome;
typedef std::future<DescribeCaptchaDayOutcome> DescribeCaptchaDayOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaDayRequest&, const DescribeCaptchaDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaDayAsyncHandler;
typedef Outcome<Error, Model::UpdateConfigNameResult> UpdateConfigNameOutcome;
typedef std::future<UpdateConfigNameOutcome> UpdateConfigNameOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::UpdateConfigNameRequest&, const UpdateConfigNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateConfigNameAsyncHandler;
typedef Outcome<Error, Model::DescribePersonMachineListResult> DescribePersonMachineListOutcome;
typedef std::future<DescribePersonMachineListOutcome> DescribePersonMachineListOutcomeCallable;
typedef std::function<void(const AfsClient*, const Model::DescribePersonMachineListRequest&, const DescribePersonMachineListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePersonMachineListAsyncHandler;
AfsClient(const Credentials &credentials, const ClientConfiguration &configuration);
AfsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
AfsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~AfsClient();
DescribeEarlyWarningOutcome describeEarlyWarning(const Model::DescribeEarlyWarningRequest &request)const;
void describeEarlyWarningAsync(const Model::DescribeEarlyWarningRequest& request, const DescribeEarlyWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEarlyWarningOutcomeCallable describeEarlyWarningCallable(const Model::DescribeEarlyWarningRequest& request) const;
SetEarlyWarningOutcome setEarlyWarning(const Model::SetEarlyWarningRequest &request)const;
void setEarlyWarningAsync(const Model::SetEarlyWarningRequest& request, const SetEarlyWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetEarlyWarningOutcomeCallable setEarlyWarningCallable(const Model::SetEarlyWarningRequest& request) const;
DescribeCaptchaIpCityOutcome describeCaptchaIpCity(const Model::DescribeCaptchaIpCityRequest &request)const;
void describeCaptchaIpCityAsync(const Model::DescribeCaptchaIpCityRequest& request, const DescribeCaptchaIpCityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCaptchaIpCityOutcomeCallable describeCaptchaIpCityCallable(const Model::DescribeCaptchaIpCityRequest& request) const;
ConfigurationStyleOutcome configurationStyle(const Model::ConfigurationStyleRequest &request)const;
void configurationStyleAsync(const Model::ConfigurationStyleRequest& request, const ConfigurationStyleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigurationStyleOutcomeCallable configurationStyleCallable(const Model::ConfigurationStyleRequest& request) const;
DescribeCaptchaMinOutcome describeCaptchaMin(const Model::DescribeCaptchaMinRequest &request)const;
void describeCaptchaMinAsync(const Model::DescribeCaptchaMinRequest& request, const DescribeCaptchaMinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCaptchaMinOutcomeCallable describeCaptchaMinCallable(const Model::DescribeCaptchaMinRequest& request) const;
DescribeCaptchaRiskOutcome describeCaptchaRisk(const Model::DescribeCaptchaRiskRequest &request)const;
void describeCaptchaRiskAsync(const Model::DescribeCaptchaRiskRequest& request, const DescribeCaptchaRiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCaptchaRiskOutcomeCallable describeCaptchaRiskCallable(const Model::DescribeCaptchaRiskRequest& request) const;
AuthenticateSigOutcome authenticateSig(const Model::AuthenticateSigRequest &request)const;
void authenticateSigAsync(const Model::AuthenticateSigRequest& request, const AuthenticateSigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AuthenticateSigOutcomeCallable authenticateSigCallable(const Model::AuthenticateSigRequest& request) const;
DescribeConfigNameOutcome describeConfigName(const Model::DescribeConfigNameRequest &request)const;
void describeConfigNameAsync(const Model::DescribeConfigNameRequest& request, const DescribeConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeConfigNameOutcomeCallable describeConfigNameCallable(const Model::DescribeConfigNameRequest& request) const;
DescribeCaptchaDayOutcome describeCaptchaDay(const Model::DescribeCaptchaDayRequest &request)const;
void describeCaptchaDayAsync(const Model::DescribeCaptchaDayRequest& request, const DescribeCaptchaDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCaptchaDayOutcomeCallable describeCaptchaDayCallable(const Model::DescribeCaptchaDayRequest& request) const;
DescribePersonMachineListOutcome describePersonMachineList(const Model::DescribePersonMachineListRequest &request)const;
void describePersonMachineListAsync(const Model::DescribePersonMachineListRequest& request, const DescribePersonMachineListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePersonMachineListOutcomeCallable describePersonMachineListCallable(const Model::DescribePersonMachineListRequest& request) const;
CreateConfigurationOutcome createConfiguration(const Model::CreateConfigurationRequest &request)const;
void createConfigurationAsync(const Model::CreateConfigurationRequest& request, const CreateConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateConfigurationOutcomeCallable createConfigurationCallable(const Model::CreateConfigurationRequest& request) const;
AnalyzeNvcOutcome analyzeNvc(const Model::AnalyzeNvcRequest &request)const;
void analyzeNvcAsync(const Model::AnalyzeNvcRequest& request, const AnalyzeNvcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AnalyzeNvcOutcomeCallable analyzeNvcCallable(const Model::AnalyzeNvcRequest& request) const;
DescribeEarlyWarningOutcome describeEarlyWarning(const Model::DescribeEarlyWarningRequest &request)const;
void describeEarlyWarningAsync(const Model::DescribeEarlyWarningRequest& request, const DescribeEarlyWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEarlyWarningOutcomeCallable describeEarlyWarningCallable(const Model::DescribeEarlyWarningRequest& request) const;
DescribeCaptchaIpCityOutcome describeCaptchaIpCity(const Model::DescribeCaptchaIpCityRequest &request)const;
void describeCaptchaIpCityAsync(const Model::DescribeCaptchaIpCityRequest& request, const DescribeCaptchaIpCityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCaptchaIpCityOutcomeCallable describeCaptchaIpCityCallable(const Model::DescribeCaptchaIpCityRequest& request) const;
DescribeOrderInfoOutcome describeOrderInfo(const Model::DescribeOrderInfoRequest &request)const;
void describeOrderInfoAsync(const Model::DescribeOrderInfoRequest& request, const DescribeOrderInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeOrderInfoOutcomeCallable describeOrderInfoCallable(const Model::DescribeOrderInfoRequest& request) const;
DescribeCaptchaRiskOutcome describeCaptchaRisk(const Model::DescribeCaptchaRiskRequest &request)const;
void describeCaptchaRiskAsync(const Model::DescribeCaptchaRiskRequest& request, const DescribeCaptchaRiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCaptchaRiskOutcomeCallable describeCaptchaRiskCallable(const Model::DescribeCaptchaRiskRequest& request) const;
DescribeCaptchaOrderOutcome describeCaptchaOrder(const Model::DescribeCaptchaOrderRequest &request)const;
void describeCaptchaOrderAsync(const Model::DescribeCaptchaOrderRequest& request, const DescribeCaptchaOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCaptchaOrderOutcomeCallable describeCaptchaOrderCallable(const Model::DescribeCaptchaOrderRequest& request) const;
CreateConfigurationOutcome createConfiguration(const Model::CreateConfigurationRequest &request)const;
void createConfigurationAsync(const Model::CreateConfigurationRequest& request, const CreateConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateConfigurationOutcomeCallable createConfigurationCallable(const Model::CreateConfigurationRequest& request) const;
AnalyzeNvcOutcome analyzeNvc(const Model::AnalyzeNvcRequest &request)const;
void analyzeNvcAsync(const Model::AnalyzeNvcRequest& request, const AnalyzeNvcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AnalyzeNvcOutcomeCallable analyzeNvcCallable(const Model::AnalyzeNvcRequest& request) const;
SetEarlyWarningOutcome setEarlyWarning(const Model::SetEarlyWarningRequest &request)const;
void setEarlyWarningAsync(const Model::SetEarlyWarningRequest& request, const SetEarlyWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetEarlyWarningOutcomeCallable setEarlyWarningCallable(const Model::SetEarlyWarningRequest& request) const;
ConfigurationStyleOutcome configurationStyle(const Model::ConfigurationStyleRequest &request)const;
void configurationStyleAsync(const Model::ConfigurationStyleRequest& request, const ConfigurationStyleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigurationStyleOutcomeCallable configurationStyleCallable(const Model::ConfigurationStyleRequest& request) const;
DescribeCaptchaMinOutcome describeCaptchaMin(const Model::DescribeCaptchaMinRequest &request)const;
void describeCaptchaMinAsync(const Model::DescribeCaptchaMinRequest& request, const DescribeCaptchaMinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCaptchaMinOutcomeCallable describeCaptchaMinCallable(const Model::DescribeCaptchaMinRequest& request) const;
AuthenticateSigOutcome authenticateSig(const Model::AuthenticateSigRequest &request)const;
void authenticateSigAsync(const Model::AuthenticateSigRequest& request, const AuthenticateSigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AuthenticateSigOutcomeCallable authenticateSigCallable(const Model::AuthenticateSigRequest& request) const;
DescribeConfigNameOutcome describeConfigName(const Model::DescribeConfigNameRequest &request)const;
void describeConfigNameAsync(const Model::DescribeConfigNameRequest& request, const DescribeConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeConfigNameOutcomeCallable describeConfigNameCallable(const Model::DescribeConfigNameRequest& request) const;
DescribeCaptchaDayOutcome describeCaptchaDay(const Model::DescribeCaptchaDayRequest &request)const;
void describeCaptchaDayAsync(const Model::DescribeCaptchaDayRequest& request, const DescribeCaptchaDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCaptchaDayOutcomeCallable describeCaptchaDayCallable(const Model::DescribeCaptchaDayRequest& request) const;
UpdateConfigNameOutcome updateConfigName(const Model::UpdateConfigNameRequest &request)const;
void updateConfigNameAsync(const Model::UpdateConfigNameRequest& request, const UpdateConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateConfigNameOutcomeCallable updateConfigNameCallable(const Model::UpdateConfigNameRequest& request) const;
DescribePersonMachineListOutcome describePersonMachineList(const Model::DescribePersonMachineListRequest &request)const;
void describePersonMachineListAsync(const Model::DescribePersonMachineListRequest& request, const DescribePersonMachineListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePersonMachineListOutcomeCallable describePersonMachineListCallable(const Model::DescribePersonMachineListRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -35,8 +35,6 @@ namespace AlibabaCloud
AnalyzeNvcRequest();
~AnalyzeNvcRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getData()const;
@@ -45,7 +43,6 @@ namespace AlibabaCloud
void setScoreJsonStr(const std::string& scoreJsonStr);
private:
long resourceOwnerId_;
std::string sourceIp_;
std::string data_;
std::string scoreJsonStr_;

View File

@@ -37,12 +37,12 @@ namespace AlibabaCloud
AnalyzeNvcResult();
explicit AnalyzeNvcResult(const std::string &payload);
~AnalyzeNvcResult();
std::string getBizCode()const;
std::string getBizCode()const;
protected:
void parse(const std::string &payload);
private:
std::string bizCode_;
std::string bizCode_;
};
}

View File

@@ -37,8 +37,6 @@ namespace AlibabaCloud
std::string getSig()const;
void setSig(const std::string& sig);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRemoteIp()const;
void setRemoteIp(const std::string& remoteIp);
std::string getSourceIp()const;
@@ -54,7 +52,6 @@ namespace AlibabaCloud
private:
std::string sig_;
long resourceOwnerId_;
std::string remoteIp_;
std::string sourceIp_;
std::string appKey_;

View File

@@ -37,18 +37,18 @@ namespace AlibabaCloud
AuthenticateSigResult();
explicit AuthenticateSigResult(const std::string &payload);
~AuthenticateSigResult();
std::string getMsg()const;
int getCode()const;
std::string getRiskLevel()const;
std::string getDetail()const;
std::string getMsg()const;
int getCode()const;
std::string getRiskLevel()const;
std::string getDetail()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
int code_;
std::string riskLevel_;
std::string detail_;
std::string msg_;
int code_;
std::string riskLevel_;
std::string detail_;
};
}

View File

@@ -35,21 +35,21 @@ namespace AlibabaCloud
ConfigurationStyleRequest();
~ConfigurationStyleRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getConfigurationMethod()const;
void setConfigurationMethod(const std::string& configurationMethod);
std::string getRefExtId()const;
void setRefExtId(const std::string& refExtId);
std::string getApplyType()const;
void setApplyType(const std::string& applyType);
std::string getScene()const;
void setScene(const std::string& scene);
private:
long resourceOwnerId_;
std::string sourceIp_;
std::string configurationMethod_;
std::string refExtId_;
std::string applyType_;
std::string scene_;

View File

@@ -32,28 +32,33 @@ namespace AlibabaCloud
class ALIBABACLOUD_AFS_EXPORT ConfigurationStyleResult : public ServiceResult
{
public:
struct CodeData
{
std::string java;
std::string html;
std::string php;
std::string net;
std::string nodeJs;
std::string python;
};
struct CodeData
{
std::string java;
std::string javaUrl;
std::string phpUrl;
std::string pythonUrl;
std::string html;
std::string php;
std::string nodeJsUrl;
std::string net;
std::string netUrl;
std::string nodeJs;
std::string python;
};
ConfigurationStyleResult();
explicit ConfigurationStyleResult(const std::string &payload);
~ConfigurationStyleResult();
std::vector<CodeData> getCodeData()const;
std::string getBizCode()const;
CodeData getCodeData()const;
std::string getBizCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CodeData> codeData_;
std::string bizCode_;
CodeData codeData_;
std::string bizCode_;
};
}

View File

@@ -35,8 +35,6 @@ namespace AlibabaCloud
CreateConfigurationRequest();
~CreateConfigurationRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getConfigurationName()const;
@@ -51,7 +49,6 @@ namespace AlibabaCloud
void setScene(const std::string& scene);
private:
long resourceOwnerId_;
std::string sourceIp_;
std::string configurationName_;
std::string maxPV_;

View File

@@ -37,12 +37,14 @@ namespace AlibabaCloud
CreateConfigurationResult();
explicit CreateConfigurationResult(const std::string &payload);
~CreateConfigurationResult();
std::string getBizCode()const;
std::string getRefExtId()const;
std::string getBizCode()const;
protected:
void parse(const std::string &payload);
private:
std::string bizCode_;
std::string refExtId_;
std::string bizCode_;
};
}

View File

@@ -35,21 +35,21 @@ namespace AlibabaCloud
DescribeCaptchaDayRequest();
~DescribeCaptchaDayRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getConfigName()const;
void setConfigName(const std::string& configName);
std::string getRefExtId()const;
void setRefExtId(const std::string& refExtId);
std::string getTime()const;
void setTime(const std::string& time);
std::string getType()const;
void setType(const std::string& type);
private:
long resourceOwnerId_;
std::string sourceIp_;
std::string configName_;
std::string refExtId_;
std::string time_;
std::string type_;

View File

@@ -32,33 +32,33 @@ namespace AlibabaCloud
class ALIBABACLOUD_AFS_EXPORT DescribeCaptchaDayResult : public ServiceResult
{
public:
struct CaptchaDay
{
int init;
int maliciousFlow;
int pass;
int checkTested;
int askForVerify;
int uncheckTested;
int legalSign;
int direcetStrategyInterception;
int twiceVerify;
};
struct CaptchaDay
{
int init;
int maliciousFlow;
int pass;
int checkTested;
int askForVerify;
int uncheckTested;
int legalSign;
int direcetStrategyInterception;
int twiceVerify;
};
DescribeCaptchaDayResult();
explicit DescribeCaptchaDayResult(const std::string &payload);
~DescribeCaptchaDayResult();
std::vector<CaptchaDay> getCaptchaDay()const;
std::string getBizCode()const;
bool getHasData()const;
CaptchaDay getCaptchaDay()const;
std::string getBizCode()const;
bool getHasData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CaptchaDay> captchaDay_;
std::string bizCode_;
bool hasData_;
CaptchaDay captchaDay_;
std::string bizCode_;
bool hasData_;
};
}

View File

@@ -35,21 +35,21 @@ namespace AlibabaCloud
DescribeCaptchaIpCityRequest();
~DescribeCaptchaIpCityRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getConfigName()const;
void setConfigName(const std::string& configName);
std::string getRefExtId()const;
void setRefExtId(const std::string& refExtId);
std::string getTime()const;
void setTime(const std::string& time);
std::string getType()const;
void setType(const std::string& type);
private:
long resourceOwnerId_;
std::string sourceIp_;
std::string configName_;
std::string refExtId_;
std::string time_;
std::string type_;

View File

@@ -32,35 +32,35 @@ namespace AlibabaCloud
class ALIBABACLOUD_AFS_EXPORT DescribeCaptchaIpCityResult : public ServiceResult
{
public:
struct CaptchaCitie
{
std::string lng;
int pv;
std::string lat;
std::string location;
};
struct CaptchaIp
{
std::string ip;
int value;
};
struct CaptchaCitie
{
std::string lng;
int pv;
std::string lat;
std::string location;
};
struct CaptchaIp
{
std::string ip;
int value;
};
DescribeCaptchaIpCityResult();
explicit DescribeCaptchaIpCityResult(const std::string &payload);
~DescribeCaptchaIpCityResult();
std::vector<CaptchaIp> getCaptchaIps()const;
std::vector<CaptchaCitie> getCaptchaCities()const;
std::string getBizCode()const;
bool getHasData()const;
std::vector<CaptchaIp> getCaptchaIps()const;
std::vector<CaptchaCitie> getCaptchaCities()const;
std::string getBizCode()const;
bool getHasData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CaptchaIp> captchaIps_;
std::vector<CaptchaCitie> captchaCities_;
std::string bizCode_;
bool hasData_;
std::vector<CaptchaIp> captchaIps_;
std::vector<CaptchaCitie> captchaCities_;
std::string bizCode_;
bool hasData_;
};
}

View File

@@ -35,21 +35,21 @@ namespace AlibabaCloud
DescribeCaptchaMinRequest();
~DescribeCaptchaMinRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getConfigName()const;
void setConfigName(const std::string& configName);
std::string getRefExtId()const;
void setRefExtId(const std::string& refExtId);
std::string getTime()const;
void setTime(const std::string& time);
std::string getType()const;
void setType(const std::string& type);
private:
long resourceOwnerId_;
std::string sourceIp_;
std::string configName_;
std::string refExtId_;
std::string time_;
std::string type_;

View File

@@ -32,27 +32,27 @@ namespace AlibabaCloud
class ALIBABACLOUD_AFS_EXPORT DescribeCaptchaMinResult : public ServiceResult
{
public:
struct CaptchaMin
{
std::string pass;
std::string time;
std::string interception;
};
struct CaptchaMin
{
std::string pass;
std::string time;
std::string interception;
};
DescribeCaptchaMinResult();
explicit DescribeCaptchaMinResult(const std::string &payload);
~DescribeCaptchaMinResult();
std::vector<CaptchaMin> getCaptchaMins()const;
std::string getBizCode()const;
bool getHasData()const;
std::vector<CaptchaMin> getCaptchaMins()const;
std::string getBizCode()const;
bool getHasData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CaptchaMin> captchaMins_;
std::string bizCode_;
bool hasData_;
std::vector<CaptchaMin> captchaMins_;
std::string bizCode_;
bool hasData_;
};
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AFS_MODEL_DESCRIBECAPTCHAORDERREQUEST_H_
#define ALIBABACLOUD_AFS_MODEL_DESCRIBECAPTCHAORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/afs/AfsExport.h>
namespace AlibabaCloud
{
namespace Afs
{
namespace Model
{
class ALIBABACLOUD_AFS_EXPORT DescribeCaptchaOrderRequest : public RpcServiceRequest
{
public:
DescribeCaptchaOrderRequest();
~DescribeCaptchaOrderRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBECAPTCHAORDERREQUEST_H_

View File

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

View File

@@ -35,19 +35,19 @@ namespace AlibabaCloud
DescribeCaptchaRiskRequest();
~DescribeCaptchaRiskRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getConfigName()const;
void setConfigName(const std::string& configName);
std::string getRefExtId()const;
void setRefExtId(const std::string& refExtId);
std::string getTime()const;
void setTime(const std::string& time);
private:
long resourceOwnerId_;
std::string sourceIp_;
std::string configName_;
std::string refExtId_;
std::string time_;
};

View File

@@ -37,18 +37,18 @@ namespace AlibabaCloud
DescribeCaptchaRiskResult();
explicit DescribeCaptchaRiskResult(const std::string &payload);
~DescribeCaptchaRiskResult();
int getNumOfLastMonth()const;
std::string getRiskLevel()const;
std::string getBizCode()const;
int getNumOfThisMonth()const;
int getNumOfLastMonth()const;
std::string getRiskLevel()const;
std::string getBizCode()const;
int getNumOfThisMonth()const;
protected:
void parse(const std::string &payload);
private:
int numOfLastMonth_;
std::string riskLevel_;
std::string bizCode_;
int numOfThisMonth_;
int numOfLastMonth_;
std::string riskLevel_;
std::string bizCode_;
int numOfThisMonth_;
};
}

View File

@@ -35,13 +35,10 @@ namespace AlibabaCloud
DescribeConfigNameRequest();
~DescribeConfigNameRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
private:
long resourceOwnerId_;
std::string sourceIp_;
};

View File

@@ -32,21 +32,27 @@ namespace AlibabaCloud
class ALIBABACLOUD_AFS_EXPORT DescribeConfigNameResult : public ServiceResult
{
public:
struct ConfigName
{
std::string refExtId;
std::string configName;
std::string aliUid;
};
DescribeConfigNameResult();
explicit DescribeConfigNameResult(const std::string &payload);
~DescribeConfigNameResult();
std::string getConfigNames()const;
bool getHasConfig()const;
std::string getBizCode()const;
std::vector<ConfigName> getConfigNames()const;
bool getHasConfig()const;
std::string getBizCode()const;
protected:
void parse(const std::string &payload);
private:
std::string configNames_;
bool hasConfig_;
std::string bizCode_;
std::vector<ConfigName> configNames_;
bool hasConfig_;
std::string bizCode_;
};
}

View File

@@ -35,13 +35,10 @@ namespace AlibabaCloud
DescribeEarlyWarningRequest();
~DescribeEarlyWarningRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
private:
long resourceOwnerId_;
std::string sourceIp_;
};

View File

@@ -32,32 +32,32 @@ namespace AlibabaCloud
class ALIBABACLOUD_AFS_EXPORT DescribeEarlyWarningResult : public ServiceResult
{
public:
struct EarlyWarning
{
bool timeOpen;
std::string content;
std::string channel;
std::string title;
std::string frequency;
std::string timeEnd;
bool warnOpen;
std::string timeBegin;
};
struct EarlyWarning
{
bool timeOpen;
std::string content;
std::string channel;
std::string title;
std::string frequency;
std::string timeEnd;
bool warnOpen;
std::string timeBegin;
};
DescribeEarlyWarningResult();
explicit DescribeEarlyWarningResult(const std::string &payload);
~DescribeEarlyWarningResult();
bool getHasWarning()const;
std::vector<EarlyWarning> getEarlyWarnings()const;
std::string getBizCode()const;
bool getHasWarning()const;
std::vector<EarlyWarning> getEarlyWarnings()const;
std::string getBizCode()const;
protected:
void parse(const std::string &payload);
private:
bool hasWarning_;
std::vector<EarlyWarning> earlyWarnings_;
std::string bizCode_;
bool hasWarning_;
std::vector<EarlyWarning> earlyWarnings_;
std::string bizCode_;
};
}

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AFS_MODEL_DESCRIBEORDERINFOREQUEST_H_
#define ALIBABACLOUD_AFS_MODEL_DESCRIBEORDERINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/afs/AfsExport.h>
namespace AlibabaCloud
{
namespace Afs
{
namespace Model
{
class ALIBABACLOUD_AFS_EXPORT DescribeOrderInfoRequest : public RpcServiceRequest
{
public:
DescribeOrderInfoRequest();
~DescribeOrderInfoRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
private:
std::string sourceIp_;
};
}
}
}
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBEORDERINFOREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AFS_MODEL_DESCRIBEORDERINFORESULT_H_
#define ALIBABACLOUD_AFS_MODEL_DESCRIBEORDERINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/afs/AfsExport.h>
namespace AlibabaCloud
{
namespace Afs
{
namespace Model
{
class ALIBABACLOUD_AFS_EXPORT DescribeOrderInfoResult : public ServiceResult
{
public:
DescribeOrderInfoResult();
explicit DescribeOrderInfoResult(const std::string &payload);
~DescribeOrderInfoResult();
std::string getOrderLevel()const;
std::string getNum()const;
std::string getEndDate()const;
std::string getBizCode()const;
std::string getBeginDate()const;
protected:
void parse(const std::string &payload);
private:
std::string orderLevel_;
std::string num_;
std::string endDate_;
std::string bizCode_;
std::string beginDate_;
};
}
}
}
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBEORDERINFORESULT_H_

View File

@@ -35,13 +35,10 @@ namespace AlibabaCloud
DescribePersonMachineListRequest();
~DescribePersonMachineListRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
private:
long resourceOwnerId_;
std::string sourceIp_;
};

View File

@@ -32,33 +32,35 @@ namespace AlibabaCloud
class ALIBABACLOUD_AFS_EXPORT DescribePersonMachineListResult : public ServiceResult
{
public:
struct PersonMachineRes
{
struct PersonMachine
{
std::string configurationMethod;
std::string applyType;
std::string lastUpdate;
std::string appkey;
std::string configurationName;
std::string scene;
};
std::string hasConfiguration;
std::vector<PersonMachine> personMachines;
};
struct PersonMachineRes
{
struct PersonMachine
{
std::string configurationMethod;
std::string applyType;
std::string lastUpdate;
std::string appkey;
std::string extId;
std::string configurationName;
std::string scene;
std::string sceneOriginal;
};
std::string hasConfiguration;
std::vector<PersonMachine> personMachines;
};
DescribePersonMachineListResult();
explicit DescribePersonMachineListResult(const std::string &payload);
~DescribePersonMachineListResult();
std::vector<PersonMachineRes> getPersonMachineRes()const;
std::string getBizCode()const;
PersonMachineRes getPersonMachineRes()const;
std::string getBizCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PersonMachineRes> personMachineRes_;
std::string bizCode_;
PersonMachineRes personMachineRes_;
std::string bizCode_;
};
}

View File

@@ -37,8 +37,6 @@ namespace AlibabaCloud
std::string getTimeEnd()const;
void setTimeEnd(const std::string& timeEnd);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
bool getWarnOpen()const;
void setWarnOpen(bool warnOpen);
std::string getSourceIp()const;
@@ -56,7 +54,6 @@ namespace AlibabaCloud
private:
std::string timeEnd_;
long resourceOwnerId_;
bool warnOpen_;
std::string sourceIp_;
std::string channel_;

View File

@@ -37,12 +37,12 @@ namespace AlibabaCloud
SetEarlyWarningResult();
explicit SetEarlyWarningResult(const std::string &payload);
~SetEarlyWarningResult();
std::string getBizCode()const;
std::string getBizCode()const;
protected:
void parse(const std::string &payload);
private:
std::string bizCode_;
std::string bizCode_;
};
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AFS_MODEL_UPDATECONFIGNAMEREQUEST_H_
#define ALIBABACLOUD_AFS_MODEL_UPDATECONFIGNAMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/afs/AfsExport.h>
namespace AlibabaCloud
{
namespace Afs
{
namespace Model
{
class ALIBABACLOUD_AFS_EXPORT UpdateConfigNameRequest : public RpcServiceRequest
{
public:
UpdateConfigNameRequest();
~UpdateConfigNameRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getConfigName()const;
void setConfigName(const std::string& configName);
std::string getRefExtId()const;
void setRefExtId(const std::string& refExtId);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
std::string configName_;
std::string refExtId_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_AFS_MODEL_UPDATECONFIGNAMEREQUEST_H_

View File

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

View File

@@ -31,21 +31,21 @@ AfsClient::AfsClient(const Credentials &credentials, const ClientConfiguration &
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "afs");
}
AfsClient::AfsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "afs");
}
AfsClient::AfsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "afs");
}
AfsClient::~AfsClient()
@@ -86,43 +86,7 @@ AfsClient::DescribeEarlyWarningOutcomeCallable AfsClient::describeEarlyWarningCa
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::SetEarlyWarningOutcome AfsClient::setEarlyWarning(const SetEarlyWarningRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetEarlyWarningOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetEarlyWarningOutcome(SetEarlyWarningResult(outcome.result()));
else
return SetEarlyWarningOutcome(outcome.error());
}
void AfsClient::setEarlyWarningAsync(const SetEarlyWarningRequest& request, const SetEarlyWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setEarlyWarning(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::SetEarlyWarningOutcomeCallable AfsClient::setEarlyWarningCallable(const SetEarlyWarningRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetEarlyWarningOutcome()>>(
[this, request]()
{
return this->setEarlyWarning(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaIpCityOutcome AfsClient::describeCaptchaIpCity(const DescribeCaptchaIpCityRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -158,79 +122,43 @@ AfsClient::DescribeCaptchaIpCityOutcomeCallable AfsClient::describeCaptchaIpCity
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::ConfigurationStyleOutcome AfsClient::configurationStyle(const ConfigurationStyleRequest &request) const
AfsClient::DescribeOrderInfoOutcome AfsClient::describeOrderInfo(const DescribeOrderInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ConfigurationStyleOutcome(endpointOutcome.error());
return DescribeOrderInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ConfigurationStyleOutcome(ConfigurationStyleResult(outcome.result()));
return DescribeOrderInfoOutcome(DescribeOrderInfoResult(outcome.result()));
else
return ConfigurationStyleOutcome(outcome.error());
return DescribeOrderInfoOutcome(outcome.error());
}
void AfsClient::configurationStyleAsync(const ConfigurationStyleRequest& request, const ConfigurationStyleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void AfsClient::describeOrderInfoAsync(const DescribeOrderInfoRequest& request, const DescribeOrderInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, configurationStyle(request), context);
handler(this, request, describeOrderInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::ConfigurationStyleOutcomeCallable AfsClient::configurationStyleCallable(const ConfigurationStyleRequest &request) const
AfsClient::DescribeOrderInfoOutcomeCallable AfsClient::describeOrderInfoCallable(const DescribeOrderInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ConfigurationStyleOutcome()>>(
auto task = std::make_shared<std::packaged_task<DescribeOrderInfoOutcome()>>(
[this, request]()
{
return this->configurationStyle(request);
return this->describeOrderInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaMinOutcome AfsClient::describeCaptchaMin(const DescribeCaptchaMinRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCaptchaMinOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeCaptchaMinOutcome(DescribeCaptchaMinResult(outcome.result()));
else
return DescribeCaptchaMinOutcome(outcome.error());
}
void AfsClient::describeCaptchaMinAsync(const DescribeCaptchaMinRequest& request, const DescribeCaptchaMinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeCaptchaMin(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::DescribeCaptchaMinOutcomeCallable AfsClient::describeCaptchaMinCallable(const DescribeCaptchaMinRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeCaptchaMinOutcome()>>(
[this, request]()
{
return this->describeCaptchaMin(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaRiskOutcome AfsClient::describeCaptchaRisk(const DescribeCaptchaRiskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -266,151 +194,43 @@ AfsClient::DescribeCaptchaRiskOutcomeCallable AfsClient::describeCaptchaRiskCall
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::AuthenticateSigOutcome AfsClient::authenticateSig(const AuthenticateSigRequest &request) const
AfsClient::DescribeCaptchaOrderOutcome AfsClient::describeCaptchaOrder(const DescribeCaptchaOrderRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AuthenticateSigOutcome(endpointOutcome.error());
return DescribeCaptchaOrderOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AuthenticateSigOutcome(AuthenticateSigResult(outcome.result()));
return DescribeCaptchaOrderOutcome(DescribeCaptchaOrderResult(outcome.result()));
else
return AuthenticateSigOutcome(outcome.error());
return DescribeCaptchaOrderOutcome(outcome.error());
}
void AfsClient::authenticateSigAsync(const AuthenticateSigRequest& request, const AuthenticateSigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void AfsClient::describeCaptchaOrderAsync(const DescribeCaptchaOrderRequest& request, const DescribeCaptchaOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, authenticateSig(request), context);
handler(this, request, describeCaptchaOrder(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::AuthenticateSigOutcomeCallable AfsClient::authenticateSigCallable(const AuthenticateSigRequest &request) const
AfsClient::DescribeCaptchaOrderOutcomeCallable AfsClient::describeCaptchaOrderCallable(const DescribeCaptchaOrderRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AuthenticateSigOutcome()>>(
auto task = std::make_shared<std::packaged_task<DescribeCaptchaOrderOutcome()>>(
[this, request]()
{
return this->authenticateSig(request);
return this->describeCaptchaOrder(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeConfigNameOutcome AfsClient::describeConfigName(const DescribeConfigNameRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeConfigNameOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeConfigNameOutcome(DescribeConfigNameResult(outcome.result()));
else
return DescribeConfigNameOutcome(outcome.error());
}
void AfsClient::describeConfigNameAsync(const DescribeConfigNameRequest& request, const DescribeConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeConfigName(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::DescribeConfigNameOutcomeCallable AfsClient::describeConfigNameCallable(const DescribeConfigNameRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeConfigNameOutcome()>>(
[this, request]()
{
return this->describeConfigName(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaDayOutcome AfsClient::describeCaptchaDay(const DescribeCaptchaDayRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCaptchaDayOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeCaptchaDayOutcome(DescribeCaptchaDayResult(outcome.result()));
else
return DescribeCaptchaDayOutcome(outcome.error());
}
void AfsClient::describeCaptchaDayAsync(const DescribeCaptchaDayRequest& request, const DescribeCaptchaDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeCaptchaDay(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::DescribeCaptchaDayOutcomeCallable AfsClient::describeCaptchaDayCallable(const DescribeCaptchaDayRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeCaptchaDayOutcome()>>(
[this, request]()
{
return this->describeCaptchaDay(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribePersonMachineListOutcome AfsClient::describePersonMachineList(const DescribePersonMachineListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribePersonMachineListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribePersonMachineListOutcome(DescribePersonMachineListResult(outcome.result()));
else
return DescribePersonMachineListOutcome(outcome.error());
}
void AfsClient::describePersonMachineListAsync(const DescribePersonMachineListRequest& request, const DescribePersonMachineListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describePersonMachineList(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::DescribePersonMachineListOutcomeCallable AfsClient::describePersonMachineListCallable(const DescribePersonMachineListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribePersonMachineListOutcome()>>(
[this, request]()
{
return this->describePersonMachineList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::CreateConfigurationOutcome AfsClient::createConfiguration(const CreateConfigurationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -446,7 +266,7 @@ AfsClient::CreateConfigurationOutcomeCallable AfsClient::createConfigurationCall
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::AnalyzeNvcOutcome AfsClient::analyzeNvc(const AnalyzeNvcRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -482,4 +302,292 @@ AfsClient::AnalyzeNvcOutcomeCallable AfsClient::analyzeNvcCallable(const Analyze
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::SetEarlyWarningOutcome AfsClient::setEarlyWarning(const SetEarlyWarningRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetEarlyWarningOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetEarlyWarningOutcome(SetEarlyWarningResult(outcome.result()));
else
return SetEarlyWarningOutcome(outcome.error());
}
void AfsClient::setEarlyWarningAsync(const SetEarlyWarningRequest& request, const SetEarlyWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setEarlyWarning(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::SetEarlyWarningOutcomeCallable AfsClient::setEarlyWarningCallable(const SetEarlyWarningRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetEarlyWarningOutcome()>>(
[this, request]()
{
return this->setEarlyWarning(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::ConfigurationStyleOutcome AfsClient::configurationStyle(const ConfigurationStyleRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ConfigurationStyleOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ConfigurationStyleOutcome(ConfigurationStyleResult(outcome.result()));
else
return ConfigurationStyleOutcome(outcome.error());
}
void AfsClient::configurationStyleAsync(const ConfigurationStyleRequest& request, const ConfigurationStyleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, configurationStyle(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::ConfigurationStyleOutcomeCallable AfsClient::configurationStyleCallable(const ConfigurationStyleRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ConfigurationStyleOutcome()>>(
[this, request]()
{
return this->configurationStyle(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaMinOutcome AfsClient::describeCaptchaMin(const DescribeCaptchaMinRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCaptchaMinOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeCaptchaMinOutcome(DescribeCaptchaMinResult(outcome.result()));
else
return DescribeCaptchaMinOutcome(outcome.error());
}
void AfsClient::describeCaptchaMinAsync(const DescribeCaptchaMinRequest& request, const DescribeCaptchaMinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeCaptchaMin(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::DescribeCaptchaMinOutcomeCallable AfsClient::describeCaptchaMinCallable(const DescribeCaptchaMinRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeCaptchaMinOutcome()>>(
[this, request]()
{
return this->describeCaptchaMin(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::AuthenticateSigOutcome AfsClient::authenticateSig(const AuthenticateSigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AuthenticateSigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AuthenticateSigOutcome(AuthenticateSigResult(outcome.result()));
else
return AuthenticateSigOutcome(outcome.error());
}
void AfsClient::authenticateSigAsync(const AuthenticateSigRequest& request, const AuthenticateSigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, authenticateSig(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::AuthenticateSigOutcomeCallable AfsClient::authenticateSigCallable(const AuthenticateSigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AuthenticateSigOutcome()>>(
[this, request]()
{
return this->authenticateSig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeConfigNameOutcome AfsClient::describeConfigName(const DescribeConfigNameRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeConfigNameOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeConfigNameOutcome(DescribeConfigNameResult(outcome.result()));
else
return DescribeConfigNameOutcome(outcome.error());
}
void AfsClient::describeConfigNameAsync(const DescribeConfigNameRequest& request, const DescribeConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeConfigName(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::DescribeConfigNameOutcomeCallable AfsClient::describeConfigNameCallable(const DescribeConfigNameRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeConfigNameOutcome()>>(
[this, request]()
{
return this->describeConfigName(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaDayOutcome AfsClient::describeCaptchaDay(const DescribeCaptchaDayRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCaptchaDayOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeCaptchaDayOutcome(DescribeCaptchaDayResult(outcome.result()));
else
return DescribeCaptchaDayOutcome(outcome.error());
}
void AfsClient::describeCaptchaDayAsync(const DescribeCaptchaDayRequest& request, const DescribeCaptchaDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeCaptchaDay(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::DescribeCaptchaDayOutcomeCallable AfsClient::describeCaptchaDayCallable(const DescribeCaptchaDayRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeCaptchaDayOutcome()>>(
[this, request]()
{
return this->describeCaptchaDay(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::UpdateConfigNameOutcome AfsClient::updateConfigName(const UpdateConfigNameRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateConfigNameOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateConfigNameOutcome(UpdateConfigNameResult(outcome.result()));
else
return UpdateConfigNameOutcome(outcome.error());
}
void AfsClient::updateConfigNameAsync(const UpdateConfigNameRequest& request, const UpdateConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateConfigName(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::UpdateConfigNameOutcomeCallable AfsClient::updateConfigNameCallable(const UpdateConfigNameRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateConfigNameOutcome()>>(
[this, request]()
{
return this->updateConfigName(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribePersonMachineListOutcome AfsClient::describePersonMachineList(const DescribePersonMachineListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribePersonMachineListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribePersonMachineListOutcome(DescribePersonMachineListResult(outcome.result()));
else
return DescribePersonMachineListOutcome(outcome.error());
}
void AfsClient::describePersonMachineListAsync(const DescribePersonMachineListRequest& request, const DescribePersonMachineListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describePersonMachineList(request), context);
};
asyncExecute(new Runnable(fn));
}
AfsClient::DescribePersonMachineListOutcomeCallable AfsClient::describePersonMachineListCallable(const DescribePersonMachineListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribePersonMachineListOutcome()>>(
[this, request]()
{
return this->describePersonMachineList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -25,17 +25,6 @@ AnalyzeNvcRequest::AnalyzeNvcRequest() :
AnalyzeNvcRequest::~AnalyzeNvcRequest()
{}
long AnalyzeNvcRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void AnalyzeNvcRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AnalyzeNvcRequest::getSourceIp()const
{
return sourceIp_;

View File

@@ -40,13 +40,13 @@ void AnalyzeNvcResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
}
std::string AnalyzeNvcResult::getBizCode()const
{
return bizCode_;
}
std::string AnalyzeNvcResult::getBizCode()const
{
return bizCode_;
}

View File

@@ -36,17 +36,6 @@ void AuthenticateSigRequest::setSig(const std::string& sig)
setParameter("Sig", sig);
}
long AuthenticateSigRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void AuthenticateSigRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AuthenticateSigRequest::getRemoteIp()const
{
return remoteIp_;

View File

@@ -40,34 +40,34 @@ void AuthenticateSigResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["RiskLevel"].isNull())
riskLevel_ = value["RiskLevel"].asString();
if(!value["Detail"].isNull())
detail_ = value["Detail"].asString();
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["RiskLevel"].isNull())
riskLevel_ = value["RiskLevel"].asString();
if(!value["Detail"].isNull())
detail_ = value["Detail"].asString();
}
std::string AuthenticateSigResult::getMsg()const
{
return msg_;
}
int AuthenticateSigResult::getCode()const
{
return code_;
}
std::string AuthenticateSigResult::getRiskLevel()const
{
return riskLevel_;
}
std::string AuthenticateSigResult::getDetail()const
{
return detail_;
}
std::string AuthenticateSigResult::getMsg()const
{
return msg_;
}
int AuthenticateSigResult::getCode()const
{
return code_;
}
std::string AuthenticateSigResult::getRiskLevel()const
{
return riskLevel_;
}
std::string AuthenticateSigResult::getDetail()const
{
return detail_;
}

View File

@@ -25,17 +25,6 @@ ConfigurationStyleRequest::ConfigurationStyleRequest() :
ConfigurationStyleRequest::~ConfigurationStyleRequest()
{}
long ConfigurationStyleRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void ConfigurationStyleRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ConfigurationStyleRequest::getSourceIp()const
{
return sourceIp_;
@@ -58,6 +47,17 @@ void ConfigurationStyleRequest::setConfigurationMethod(const std::string& config
setParameter("ConfigurationMethod", configurationMethod);
}
std::string ConfigurationStyleRequest::getRefExtId()const
{
return refExtId_;
}
void ConfigurationStyleRequest::setRefExtId(const std::string& refExtId)
{
refExtId_ = refExtId;
setParameter("RefExtId", refExtId);
}
std::string ConfigurationStyleRequest::getApplyType()const
{
return applyType_;

View File

@@ -40,36 +40,41 @@ void ConfigurationStyleResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allCodeData = value["CodeData"];
for (auto value : allCodeData)
{
CodeData codeDataObject;
if(!value["Html"].isNull())
codeDataObject.html = value["Html"].asString();
if(!value["Net"].isNull())
codeDataObject.net = value["Net"].asString();
if(!value["Php"].isNull())
codeDataObject.php = value["Php"].asString();
if(!value["Python"].isNull())
codeDataObject.python = value["Python"].asString();
if(!value["Java"].isNull())
codeDataObject.java = value["Java"].asString();
if(!value["NodeJs"].isNull())
codeDataObject.nodeJs = value["NodeJs"].asString();
codeData_.push_back(codeDataObject);
}
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
auto codeDataNode = value["CodeData"];
if(!codeDataNode["Html"].isNull())
codeData_.html = codeDataNode["Html"].asString();
if(!codeDataNode["Net"].isNull())
codeData_.net = codeDataNode["Net"].asString();
if(!codeDataNode["Php"].isNull())
codeData_.php = codeDataNode["Php"].asString();
if(!codeDataNode["Python"].isNull())
codeData_.python = codeDataNode["Python"].asString();
if(!codeDataNode["Java"].isNull())
codeData_.java = codeDataNode["Java"].asString();
if(!codeDataNode["NodeJs"].isNull())
codeData_.nodeJs = codeDataNode["NodeJs"].asString();
if(!codeDataNode["NetUrl"].isNull())
codeData_.netUrl = codeDataNode["NetUrl"].asString();
if(!codeDataNode["PhpUrl"].isNull())
codeData_.phpUrl = codeDataNode["PhpUrl"].asString();
if(!codeDataNode["PythonUrl"].isNull())
codeData_.pythonUrl = codeDataNode["PythonUrl"].asString();
if(!codeDataNode["JavaUrl"].isNull())
codeData_.javaUrl = codeDataNode["JavaUrl"].asString();
if(!codeDataNode["NodeJsUrl"].isNull())
codeData_.nodeJsUrl = codeDataNode["NodeJsUrl"].asString();
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
}
std::vector<ConfigurationStyleResult::CodeData> ConfigurationStyleResult::getCodeData()const
{
return codeData_;
}
std::string ConfigurationStyleResult::getBizCode()const
{
return bizCode_;
}
ConfigurationStyleResult::CodeData ConfigurationStyleResult::getCodeData()const
{
return codeData_;
}
std::string ConfigurationStyleResult::getBizCode()const
{
return bizCode_;
}

View File

@@ -25,17 +25,6 @@ CreateConfigurationRequest::CreateConfigurationRequest() :
CreateConfigurationRequest::~CreateConfigurationRequest()
{}
long CreateConfigurationRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateConfigurationRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateConfigurationRequest::getSourceIp()const
{
return sourceIp_;

View File

@@ -40,13 +40,20 @@ void CreateConfigurationResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
if(!value["RefExtId"].isNull())
refExtId_ = value["RefExtId"].asString();
}
std::string CreateConfigurationResult::getBizCode()const
{
return bizCode_;
}
std::string CreateConfigurationResult::getRefExtId()const
{
return refExtId_;
}
std::string CreateConfigurationResult::getBizCode()const
{
return bizCode_;
}

View File

@@ -25,17 +25,6 @@ DescribeCaptchaDayRequest::DescribeCaptchaDayRequest() :
DescribeCaptchaDayRequest::~DescribeCaptchaDayRequest()
{}
long DescribeCaptchaDayRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeCaptchaDayRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeCaptchaDayRequest::getSourceIp()const
{
return sourceIp_;
@@ -58,6 +47,17 @@ void DescribeCaptchaDayRequest::setConfigName(const std::string& configName)
setParameter("ConfigName", configName);
}
std::string DescribeCaptchaDayRequest::getRefExtId()const
{
return refExtId_;
}
void DescribeCaptchaDayRequest::setRefExtId(const std::string& refExtId)
{
refExtId_ = refExtId;
setParameter("RefExtId", refExtId);
}
std::string DescribeCaptchaDayRequest::getTime()const
{
return time_;

View File

@@ -40,49 +40,44 @@ void DescribeCaptchaDayResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allCaptchaDay = value["CaptchaDay"];
for (auto value : allCaptchaDay)
{
CaptchaDay captchaDayObject;
if(!value["Init"].isNull())
captchaDayObject.init = std::stoi(value["Init"].asString());
if(!value["AskForVerify"].isNull())
captchaDayObject.askForVerify = std::stoi(value["AskForVerify"].asString());
if(!value["DirecetStrategyInterception"].isNull())
captchaDayObject.direcetStrategyInterception = std::stoi(value["DirecetStrategyInterception"].asString());
if(!value["TwiceVerify"].isNull())
captchaDayObject.twiceVerify = std::stoi(value["TwiceVerify"].asString());
if(!value["Pass"].isNull())
captchaDayObject.pass = std::stoi(value["Pass"].asString());
if(!value["CheckTested"].isNull())
captchaDayObject.checkTested = std::stoi(value["CheckTested"].asString());
if(!value["UncheckTested"].isNull())
captchaDayObject.uncheckTested = std::stoi(value["UncheckTested"].asString());
if(!value["LegalSign"].isNull())
captchaDayObject.legalSign = std::stoi(value["LegalSign"].asString());
if(!value["MaliciousFlow"].isNull())
captchaDayObject.maliciousFlow = std::stoi(value["MaliciousFlow"].asString());
captchaDay_.push_back(captchaDayObject);
}
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
if(!value["HasData"].isNull())
hasData_ = value["HasData"].asString() == "true";
auto captchaDayNode = value["CaptchaDay"];
if(!captchaDayNode["Init"].isNull())
captchaDay_.init = std::stoi(captchaDayNode["Init"].asString());
if(!captchaDayNode["AskForVerify"].isNull())
captchaDay_.askForVerify = std::stoi(captchaDayNode["AskForVerify"].asString());
if(!captchaDayNode["DirecetStrategyInterception"].isNull())
captchaDay_.direcetStrategyInterception = std::stoi(captchaDayNode["DirecetStrategyInterception"].asString());
if(!captchaDayNode["TwiceVerify"].isNull())
captchaDay_.twiceVerify = std::stoi(captchaDayNode["TwiceVerify"].asString());
if(!captchaDayNode["Pass"].isNull())
captchaDay_.pass = std::stoi(captchaDayNode["Pass"].asString());
if(!captchaDayNode["CheckTested"].isNull())
captchaDay_.checkTested = std::stoi(captchaDayNode["CheckTested"].asString());
if(!captchaDayNode["UncheckTested"].isNull())
captchaDay_.uncheckTested = std::stoi(captchaDayNode["UncheckTested"].asString());
if(!captchaDayNode["LegalSign"].isNull())
captchaDay_.legalSign = std::stoi(captchaDayNode["LegalSign"].asString());
if(!captchaDayNode["MaliciousFlow"].isNull())
captchaDay_.maliciousFlow = std::stoi(captchaDayNode["MaliciousFlow"].asString());
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
if(!value["HasData"].isNull())
hasData_ = value["HasData"].asString() == "true";
}
std::vector<DescribeCaptchaDayResult::CaptchaDay> DescribeCaptchaDayResult::getCaptchaDay()const
{
return captchaDay_;
}
std::string DescribeCaptchaDayResult::getBizCode()const
{
return bizCode_;
}
bool DescribeCaptchaDayResult::getHasData()const
{
return hasData_;
}
DescribeCaptchaDayResult::CaptchaDay DescribeCaptchaDayResult::getCaptchaDay()const
{
return captchaDay_;
}
std::string DescribeCaptchaDayResult::getBizCode()const
{
return bizCode_;
}
bool DescribeCaptchaDayResult::getHasData()const
{
return hasData_;
}

View File

@@ -25,17 +25,6 @@ DescribeCaptchaIpCityRequest::DescribeCaptchaIpCityRequest() :
DescribeCaptchaIpCityRequest::~DescribeCaptchaIpCityRequest()
{}
long DescribeCaptchaIpCityRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeCaptchaIpCityRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeCaptchaIpCityRequest::getSourceIp()const
{
return sourceIp_;
@@ -58,6 +47,17 @@ void DescribeCaptchaIpCityRequest::setConfigName(const std::string& configName)
setParameter("ConfigName", configName);
}
std::string DescribeCaptchaIpCityRequest::getRefExtId()const
{
return refExtId_;
}
void DescribeCaptchaIpCityRequest::setRefExtId(const std::string& refExtId)
{
refExtId_ = refExtId;
setParameter("RefExtId", refExtId);
}
std::string DescribeCaptchaIpCityRequest::getTime()const
{
return time_;

View File

@@ -40,54 +40,54 @@ void DescribeCaptchaIpCityResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allCaptchaCities = value["CaptchaCities"]["CaptchaCitie"];
for (auto value : allCaptchaCities)
{
CaptchaCitie captchaCitiesObject;
if(!value["Location"].isNull())
captchaCitiesObject.location = value["Location"].asString();
if(!value["Lat"].isNull())
captchaCitiesObject.lat = value["Lat"].asString();
if(!value["Lng"].isNull())
captchaCitiesObject.lng = value["Lng"].asString();
if(!value["Pv"].isNull())
captchaCitiesObject.pv = std::stoi(value["Pv"].asString());
captchaCities_.push_back(captchaCitiesObject);
}
auto allCaptchaIps = value["CaptchaIps"]["CaptchaIp"];
for (auto value : allCaptchaIps)
{
CaptchaIp captchaIpsObject;
if(!value["Ip"].isNull())
captchaIpsObject.ip = value["Ip"].asString();
if(!value["Value"].isNull())
captchaIpsObject.value = std::stoi(value["Value"].asString());
captchaIps_.push_back(captchaIpsObject);
}
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
if(!value["HasData"].isNull())
hasData_ = value["HasData"].asString() == "true";
auto allCaptchaCities = value["CaptchaCities"]["CaptchaCitie"];
for (auto value : allCaptchaCities)
{
CaptchaCitie captchaCitiesObject;
if(!value["Location"].isNull())
captchaCitiesObject.location = value["Location"].asString();
if(!value["Lat"].isNull())
captchaCitiesObject.lat = value["Lat"].asString();
if(!value["Lng"].isNull())
captchaCitiesObject.lng = value["Lng"].asString();
if(!value["Pv"].isNull())
captchaCitiesObject.pv = std::stoi(value["Pv"].asString());
captchaCities_.push_back(captchaCitiesObject);
}
auto allCaptchaIps = value["CaptchaIps"]["CaptchaIp"];
for (auto value : allCaptchaIps)
{
CaptchaIp captchaIpsObject;
if(!value["Ip"].isNull())
captchaIpsObject.ip = value["Ip"].asString();
if(!value["Value"].isNull())
captchaIpsObject.value = std::stoi(value["Value"].asString());
captchaIps_.push_back(captchaIpsObject);
}
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
if(!value["HasData"].isNull())
hasData_ = value["HasData"].asString() == "true";
}
std::vector<DescribeCaptchaIpCityResult::CaptchaIp> DescribeCaptchaIpCityResult::getCaptchaIps()const
{
return captchaIps_;
}
std::vector<DescribeCaptchaIpCityResult::CaptchaCitie> DescribeCaptchaIpCityResult::getCaptchaCities()const
{
return captchaCities_;
}
std::string DescribeCaptchaIpCityResult::getBizCode()const
{
return bizCode_;
}
bool DescribeCaptchaIpCityResult::getHasData()const
{
return hasData_;
}
std::vector<DescribeCaptchaIpCityResult::CaptchaIp> DescribeCaptchaIpCityResult::getCaptchaIps()const
{
return captchaIps_;
}
std::vector<DescribeCaptchaIpCityResult::CaptchaCitie> DescribeCaptchaIpCityResult::getCaptchaCities()const
{
return captchaCities_;
}
std::string DescribeCaptchaIpCityResult::getBizCode()const
{
return bizCode_;
}
bool DescribeCaptchaIpCityResult::getHasData()const
{
return hasData_;
}

View File

@@ -25,17 +25,6 @@ DescribeCaptchaMinRequest::DescribeCaptchaMinRequest() :
DescribeCaptchaMinRequest::~DescribeCaptchaMinRequest()
{}
long DescribeCaptchaMinRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeCaptchaMinRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeCaptchaMinRequest::getSourceIp()const
{
return sourceIp_;
@@ -58,6 +47,17 @@ void DescribeCaptchaMinRequest::setConfigName(const std::string& configName)
setParameter("ConfigName", configName);
}
std::string DescribeCaptchaMinRequest::getRefExtId()const
{
return refExtId_;
}
void DescribeCaptchaMinRequest::setRefExtId(const std::string& refExtId)
{
refExtId_ = refExtId;
setParameter("RefExtId", refExtId);
}
std::string DescribeCaptchaMinRequest::getTime()const
{
return time_;

View File

@@ -40,37 +40,37 @@ void DescribeCaptchaMinResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allCaptchaMins = value["CaptchaMins"]["CaptchaMin"];
for (auto value : allCaptchaMins)
{
CaptchaMin captchaMinsObject;
if(!value["Time"].isNull())
captchaMinsObject.time = value["Time"].asString();
if(!value["Pass"].isNull())
captchaMinsObject.pass = value["Pass"].asString();
if(!value["Interception"].isNull())
captchaMinsObject.interception = value["Interception"].asString();
captchaMins_.push_back(captchaMinsObject);
}
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
if(!value["HasData"].isNull())
hasData_ = value["HasData"].asString() == "true";
auto allCaptchaMins = value["CaptchaMins"]["CaptchaMin"];
for (auto value : allCaptchaMins)
{
CaptchaMin captchaMinsObject;
if(!value["Time"].isNull())
captchaMinsObject.time = value["Time"].asString();
if(!value["Pass"].isNull())
captchaMinsObject.pass = value["Pass"].asString();
if(!value["Interception"].isNull())
captchaMinsObject.interception = value["Interception"].asString();
captchaMins_.push_back(captchaMinsObject);
}
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
if(!value["HasData"].isNull())
hasData_ = value["HasData"].asString() == "true";
}
std::vector<DescribeCaptchaMinResult::CaptchaMin> DescribeCaptchaMinResult::getCaptchaMins()const
{
return captchaMins_;
}
std::string DescribeCaptchaMinResult::getBizCode()const
{
return bizCode_;
}
bool DescribeCaptchaMinResult::getHasData()const
{
return hasData_;
}
std::vector<DescribeCaptchaMinResult::CaptchaMin> DescribeCaptchaMinResult::getCaptchaMins()const
{
return captchaMins_;
}
std::string DescribeCaptchaMinResult::getBizCode()const
{
return bizCode_;
}
bool DescribeCaptchaMinResult::getHasData()const
{
return hasData_;
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/afs/model/DescribeCaptchaOrderRequest.h>
using AlibabaCloud::Afs::Model::DescribeCaptchaOrderRequest;
DescribeCaptchaOrderRequest::DescribeCaptchaOrderRequest() :
RpcServiceRequest("afs", "2018-01-12", "DescribeCaptchaOrder")
{}
DescribeCaptchaOrderRequest::~DescribeCaptchaOrderRequest()
{}
std::string DescribeCaptchaOrderRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeCaptchaOrderRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeCaptchaOrderRequest::getLang()const
{
return lang_;
}
void DescribeCaptchaOrderRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -25,17 +25,6 @@ DescribeCaptchaRiskRequest::DescribeCaptchaRiskRequest() :
DescribeCaptchaRiskRequest::~DescribeCaptchaRiskRequest()
{}
long DescribeCaptchaRiskRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeCaptchaRiskRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeCaptchaRiskRequest::getSourceIp()const
{
return sourceIp_;
@@ -58,6 +47,17 @@ void DescribeCaptchaRiskRequest::setConfigName(const std::string& configName)
setParameter("ConfigName", configName);
}
std::string DescribeCaptchaRiskRequest::getRefExtId()const
{
return refExtId_;
}
void DescribeCaptchaRiskRequest::setRefExtId(const std::string& refExtId)
{
refExtId_ = refExtId;
setParameter("RefExtId", refExtId);
}
std::string DescribeCaptchaRiskRequest::getTime()const
{
return time_;

View File

@@ -40,34 +40,34 @@ void DescribeCaptchaRiskResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
if(!value["NumOfThisMonth"].isNull())
numOfThisMonth_ = std::stoi(value["NumOfThisMonth"].asString());
if(!value["NumOfLastMonth"].isNull())
numOfLastMonth_ = std::stoi(value["NumOfLastMonth"].asString());
if(!value["RiskLevel"].isNull())
riskLevel_ = value["RiskLevel"].asString();
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
if(!value["NumOfThisMonth"].isNull())
numOfThisMonth_ = std::stoi(value["NumOfThisMonth"].asString());
if(!value["NumOfLastMonth"].isNull())
numOfLastMonth_ = std::stoi(value["NumOfLastMonth"].asString());
if(!value["RiskLevel"].isNull())
riskLevel_ = value["RiskLevel"].asString();
}
int DescribeCaptchaRiskResult::getNumOfLastMonth()const
{
return numOfLastMonth_;
}
std::string DescribeCaptchaRiskResult::getRiskLevel()const
{
return riskLevel_;
}
std::string DescribeCaptchaRiskResult::getBizCode()const
{
return bizCode_;
}
int DescribeCaptchaRiskResult::getNumOfThisMonth()const
{
return numOfThisMonth_;
}
int DescribeCaptchaRiskResult::getNumOfLastMonth()const
{
return numOfLastMonth_;
}
std::string DescribeCaptchaRiskResult::getRiskLevel()const
{
return riskLevel_;
}
std::string DescribeCaptchaRiskResult::getBizCode()const
{
return bizCode_;
}
int DescribeCaptchaRiskResult::getNumOfThisMonth()const
{
return numOfThisMonth_;
}

View File

@@ -25,17 +25,6 @@ DescribeConfigNameRequest::DescribeConfigNameRequest() :
DescribeConfigNameRequest::~DescribeConfigNameRequest()
{}
long DescribeConfigNameRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeConfigNameRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeConfigNameRequest::getSourceIp()const
{
return sourceIp_;

View File

@@ -40,27 +40,37 @@ void DescribeConfigNameResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["HasConfig"].isNull())
hasConfig_ = value["HasConfig"].asString() == "true";
if(!value["ConfigNames"].isNull())
configNames_ = value["ConfigNames"].asString();
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
auto allConfigNames = value["ConfigNames"]["ConfigName"];
for (auto value : allConfigNames)
{
ConfigName configNamesObject;
if(!value["AliUid"].isNull())
configNamesObject.aliUid = value["AliUid"].asString();
if(!value["ConfigName"].isNull())
configNamesObject.configName = value["ConfigName"].asString();
if(!value["RefExtId"].isNull())
configNamesObject.refExtId = value["RefExtId"].asString();
configNames_.push_back(configNamesObject);
}
if(!value["HasConfig"].isNull())
hasConfig_ = value["HasConfig"].asString() == "true";
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
}
std::string DescribeConfigNameResult::getConfigNames()const
{
return configNames_;
}
bool DescribeConfigNameResult::getHasConfig()const
{
return hasConfig_;
}
std::string DescribeConfigNameResult::getBizCode()const
{
return bizCode_;
}
std::vector<DescribeConfigNameResult::ConfigName> DescribeConfigNameResult::getConfigNames()const
{
return configNames_;
}
bool DescribeConfigNameResult::getHasConfig()const
{
return hasConfig_;
}
std::string DescribeConfigNameResult::getBizCode()const
{
return bizCode_;
}

View File

@@ -25,17 +25,6 @@ DescribeEarlyWarningRequest::DescribeEarlyWarningRequest() :
DescribeEarlyWarningRequest::~DescribeEarlyWarningRequest()
{}
long DescribeEarlyWarningRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeEarlyWarningRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeEarlyWarningRequest::getSourceIp()const
{
return sourceIp_;

View File

@@ -40,47 +40,47 @@ void DescribeEarlyWarningResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allEarlyWarnings = value["EarlyWarnings"]["EarlyWarning"];
for (auto value : allEarlyWarnings)
{
EarlyWarning earlyWarningsObject;
if(!value["WarnOpen"].isNull())
earlyWarningsObject.warnOpen = value["WarnOpen"].asString() == "true";
if(!value["Title"].isNull())
earlyWarningsObject.title = value["Title"].asString();
if(!value["Content"].isNull())
earlyWarningsObject.content = value["Content"].asString();
if(!value["Frequency"].isNull())
earlyWarningsObject.frequency = value["Frequency"].asString();
if(!value["TimeOpen"].isNull())
earlyWarningsObject.timeOpen = value["TimeOpen"].asString() == "true";
if(!value["TimeBegin"].isNull())
earlyWarningsObject.timeBegin = value["TimeBegin"].asString();
if(!value["TimeEnd"].isNull())
earlyWarningsObject.timeEnd = value["TimeEnd"].asString();
if(!value["Channel"].isNull())
earlyWarningsObject.channel = value["Channel"].asString();
earlyWarnings_.push_back(earlyWarningsObject);
}
if(!value["HasWarning"].isNull())
hasWarning_ = value["HasWarning"].asString() == "true";
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
auto allEarlyWarnings = value["EarlyWarnings"]["EarlyWarning"];
for (auto value : allEarlyWarnings)
{
EarlyWarning earlyWarningsObject;
if(!value["WarnOpen"].isNull())
earlyWarningsObject.warnOpen = value["WarnOpen"].asString() == "true";
if(!value["Title"].isNull())
earlyWarningsObject.title = value["Title"].asString();
if(!value["Content"].isNull())
earlyWarningsObject.content = value["Content"].asString();
if(!value["Frequency"].isNull())
earlyWarningsObject.frequency = value["Frequency"].asString();
if(!value["TimeOpen"].isNull())
earlyWarningsObject.timeOpen = value["TimeOpen"].asString() == "true";
if(!value["TimeBegin"].isNull())
earlyWarningsObject.timeBegin = value["TimeBegin"].asString();
if(!value["TimeEnd"].isNull())
earlyWarningsObject.timeEnd = value["TimeEnd"].asString();
if(!value["Channel"].isNull())
earlyWarningsObject.channel = value["Channel"].asString();
earlyWarnings_.push_back(earlyWarningsObject);
}
if(!value["HasWarning"].isNull())
hasWarning_ = value["HasWarning"].asString() == "true";
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
}
bool DescribeEarlyWarningResult::getHasWarning()const
{
return hasWarning_;
}
std::vector<DescribeEarlyWarningResult::EarlyWarning> DescribeEarlyWarningResult::getEarlyWarnings()const
{
return earlyWarnings_;
}
std::string DescribeEarlyWarningResult::getBizCode()const
{
return bizCode_;
}
bool DescribeEarlyWarningResult::getHasWarning()const
{
return hasWarning_;
}
std::vector<DescribeEarlyWarningResult::EarlyWarning> DescribeEarlyWarningResult::getEarlyWarnings()const
{
return earlyWarnings_;
}
std::string DescribeEarlyWarningResult::getBizCode()const
{
return bizCode_;
}

View File

@@ -0,0 +1,38 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/afs/model/DescribeOrderInfoRequest.h>
using AlibabaCloud::Afs::Model::DescribeOrderInfoRequest;
DescribeOrderInfoRequest::DescribeOrderInfoRequest() :
RpcServiceRequest("afs", "2018-01-12", "DescribeOrderInfo")
{}
DescribeOrderInfoRequest::~DescribeOrderInfoRequest()
{}
std::string DescribeOrderInfoRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeOrderInfoRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}

View File

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

View File

@@ -25,17 +25,6 @@ DescribePersonMachineListRequest::DescribePersonMachineListRequest() :
DescribePersonMachineListRequest::~DescribePersonMachineListRequest()
{}
long DescribePersonMachineListRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribePersonMachineListRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribePersonMachineListRequest::getSourceIp()const
{
return sourceIp_;

View File

@@ -40,44 +40,43 @@ void DescribePersonMachineListResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allPersonMachineRes = value["PersonMachineRes"];
for (auto value : allPersonMachineRes)
{
PersonMachineRes personMachineResObject;
if(!value["HasConfiguration"].isNull())
personMachineResObject.hasConfiguration = value["HasConfiguration"].asString();
auto allPersonMachines = value["PersonMachines"]["PersonMachine"];
for (auto value : allPersonMachines)
{
PersonMachineRes::PersonMachine personMachineObject;
if(!value["ConfigurationName"].isNull())
personMachineObject.configurationName = value["ConfigurationName"].asString();
if(!value["Appkey"].isNull())
personMachineObject.appkey = value["Appkey"].asString();
if(!value["ConfigurationMethod"].isNull())
personMachineObject.configurationMethod = value["ConfigurationMethod"].asString();
if(!value["ApplyType"].isNull())
personMachineObject.applyType = value["ApplyType"].asString();
if(!value["Scene"].isNull())
personMachineObject.scene = value["Scene"].asString();
if(!value["LastUpdate"].isNull())
personMachineObject.lastUpdate = value["LastUpdate"].asString();
personMachineResObject.personMachines.push_back(personMachineObject);
}
personMachineRes_.push_back(personMachineResObject);
}
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
auto personMachineResNode = value["PersonMachineRes"];
if(!personMachineResNode["HasConfiguration"].isNull())
personMachineRes_.hasConfiguration = personMachineResNode["HasConfiguration"].asString();
auto allPersonMachines = value["PersonMachines"]["PersonMachine"];
for (auto value : allPersonMachines)
{
PersonMachineRes::PersonMachine personMachineObject;
if(!value["ConfigurationName"].isNull())
personMachineObject.configurationName = value["ConfigurationName"].asString();
if(!value["Appkey"].isNull())
personMachineObject.appkey = value["Appkey"].asString();
if(!value["ConfigurationMethod"].isNull())
personMachineObject.configurationMethod = value["ConfigurationMethod"].asString();
if(!value["ApplyType"].isNull())
personMachineObject.applyType = value["ApplyType"].asString();
if(!value["Scene"].isNull())
personMachineObject.scene = value["Scene"].asString();
if(!value["LastUpdate"].isNull())
personMachineObject.lastUpdate = value["LastUpdate"].asString();
if(!value["ExtId"].isNull())
personMachineObject.extId = value["ExtId"].asString();
if(!value["SceneOriginal"].isNull())
personMachineObject.sceneOriginal = value["SceneOriginal"].asString();
personMachineRes_.personMachines.push_back(personMachineObject);
}
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
}
std::vector<DescribePersonMachineListResult::PersonMachineRes> DescribePersonMachineListResult::getPersonMachineRes()const
{
return personMachineRes_;
}
std::string DescribePersonMachineListResult::getBizCode()const
{
return bizCode_;
}
DescribePersonMachineListResult::PersonMachineRes DescribePersonMachineListResult::getPersonMachineRes()const
{
return personMachineRes_;
}
std::string DescribePersonMachineListResult::getBizCode()const
{
return bizCode_;
}

View File

@@ -36,17 +36,6 @@ void SetEarlyWarningRequest::setTimeEnd(const std::string& timeEnd)
setParameter("TimeEnd", timeEnd);
}
long SetEarlyWarningRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void SetEarlyWarningRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
bool SetEarlyWarningRequest::getWarnOpen()const
{
return warnOpen_;

View File

@@ -40,13 +40,13 @@ void SetEarlyWarningResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
if(!value["BizCode"].isNull())
bizCode_ = value["BizCode"].asString();
}
std::string SetEarlyWarningResult::getBizCode()const
{
return bizCode_;
}
std::string SetEarlyWarningResult::getBizCode()const
{
return bizCode_;
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/afs/model/UpdateConfigNameRequest.h>
using AlibabaCloud::Afs::Model::UpdateConfigNameRequest;
UpdateConfigNameRequest::UpdateConfigNameRequest() :
RpcServiceRequest("afs", "2018-01-12", "UpdateConfigName")
{}
UpdateConfigNameRequest::~UpdateConfigNameRequest()
{}
std::string UpdateConfigNameRequest::getSourceIp()const
{
return sourceIp_;
}
void UpdateConfigNameRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string UpdateConfigNameRequest::getConfigName()const
{
return configName_;
}
void UpdateConfigNameRequest::setConfigName(const std::string& configName)
{
configName_ = configName;
setParameter("ConfigName", configName);
}
std::string UpdateConfigNameRequest::getRefExtId()const
{
return refExtId_;
}
void UpdateConfigNameRequest::setRefExtId(const std::string& refExtId)
{
refExtId_ = refExtId;
setParameter("RefExtId", refExtId);
}
std::string UpdateConfigNameRequest::getLang()const
{
return lang_;
}
void UpdateConfigNameRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

314
alidns/CMakeLists.txt Normal file
View File

@@ -0,0 +1,314 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(alidns_public_header
include/alibabacloud/alidns/AlidnsClient.h
include/alibabacloud/alidns/AlidnsExport.h )
set(alidns_public_header_model
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsResult.h
include/alibabacloud/alidns/model/SetGtmAccessModeRequest.h
include/alibabacloud/alidns/model/SetGtmAccessModeResult.h
include/alibabacloud/alidns/model/ModifyHichinaDomainDNSRequest.h
include/alibabacloud/alidns/model/ModifyHichinaDomainDNSResult.h
include/alibabacloud/alidns/model/CreateInstanceRequest.h
include/alibabacloud/alidns/model/CreateInstanceResult.h
include/alibabacloud/alidns/model/DescribeSubDomainRecordsRequest.h
include/alibabacloud/alidns/model/DescribeSubDomainRecordsResult.h
include/alibabacloud/alidns/model/DescribeRecordLogsRequest.h
include/alibabacloud/alidns/model/DescribeRecordLogsResult.h
include/alibabacloud/alidns/model/DescribeBatchResultCountRequest.h
include/alibabacloud/alidns/model/DescribeBatchResultCountResult.h
include/alibabacloud/alidns/model/DescribeGtmInstancesRequest.h
include/alibabacloud/alidns/model/DescribeGtmInstancesResult.h
include/alibabacloud/alidns/model/UpdateGtmAddressPoolRequest.h
include/alibabacloud/alidns/model/UpdateGtmAddressPoolResult.h
include/alibabacloud/alidns/model/DescribeGtmAccessStrategiesRequest.h
include/alibabacloud/alidns/model/DescribeGtmAccessStrategiesResult.h
include/alibabacloud/alidns/model/UpdateGtmInstanceGlobalConfigRequest.h
include/alibabacloud/alidns/model/UpdateGtmInstanceGlobalConfigResult.h
include/alibabacloud/alidns/model/UpdateDomainRecordRequest.h
include/alibabacloud/alidns/model/UpdateDomainRecordResult.h
include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h
include/alibabacloud/alidns/model/DescribeDomainGroupsResult.h
include/alibabacloud/alidns/model/UpdateGtmAccessStrategyRequest.h
include/alibabacloud/alidns/model/UpdateGtmAccessStrategyResult.h
include/alibabacloud/alidns/model/DeleteDomainRecordRequest.h
include/alibabacloud/alidns/model/DeleteDomainRecordResult.h
include/alibabacloud/alidns/model/DescribeDomainRecordsRequest.h
include/alibabacloud/alidns/model/DescribeDomainRecordsResult.h
include/alibabacloud/alidns/model/DescribeDomainRecordInfoRequest.h
include/alibabacloud/alidns/model/DescribeDomainRecordInfoResult.h
include/alibabacloud/alidns/model/AddDomainRequest.h
include/alibabacloud/alidns/model/AddDomainResult.h
include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolRequest.h
include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolResult.h
include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h
include/alibabacloud/alidns/model/UpdateDNSSLBWeightResult.h
include/alibabacloud/alidns/model/DescribeBatchResultDetailRequest.h
include/alibabacloud/alidns/model/DescribeBatchResultDetailResult.h
include/alibabacloud/alidns/model/SetDomainRecordStatusRequest.h
include/alibabacloud/alidns/model/SetDomainRecordStatusResult.h
include/alibabacloud/alidns/model/UpdateDomainGroupRequest.h
include/alibabacloud/alidns/model/UpdateDomainGroupResult.h
include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h
include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h
include/alibabacloud/alidns/model/SetGtmMonitorStatusRequest.h
include/alibabacloud/alidns/model/SetGtmMonitorStatusResult.h
include/alibabacloud/alidns/model/DescribeDnsProductInstanceRequest.h
include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h
include/alibabacloud/alidns/model/DescribeGtmLogsRequest.h
include/alibabacloud/alidns/model/DescribeGtmLogsResult.h
include/alibabacloud/alidns/model/OperateBatchDomainRequest.h
include/alibabacloud/alidns/model/OperateBatchDomainResult.h
include/alibabacloud/alidns/model/DeleteDomainGroupRequest.h
include/alibabacloud/alidns/model/DeleteDomainGroupResult.h
include/alibabacloud/alidns/model/DescribeDomainLogsRequest.h
include/alibabacloud/alidns/model/DescribeDomainLogsResult.h
include/alibabacloud/alidns/model/AddGtmMonitorRequest.h
include/alibabacloud/alidns/model/AddGtmMonitorResult.h
include/alibabacloud/alidns/model/DescribeDomainsRequest.h
include/alibabacloud/alidns/model/DescribeDomainsResult.h
include/alibabacloud/alidns/model/DescribeGtmInstanceStatusRequest.h
include/alibabacloud/alidns/model/DescribeGtmInstanceStatusResult.h
include/alibabacloud/alidns/model/DescribeGtmInstanceRequest.h
include/alibabacloud/alidns/model/DescribeGtmInstanceResult.h
include/alibabacloud/alidns/model/DescribeDomainInfoRequest.h
include/alibabacloud/alidns/model/DescribeDomainInfoResult.h
include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolsRequest.h
include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolsResult.h
include/alibabacloud/alidns/model/DescribeSupportLinesRequest.h
include/alibabacloud/alidns/model/DescribeSupportLinesResult.h
include/alibabacloud/alidns/model/AddDomainRecordRequest.h
include/alibabacloud/alidns/model/AddDomainRecordResult.h
include/alibabacloud/alidns/model/DescribeGtmMonitorAvailableConfigRequest.h
include/alibabacloud/alidns/model/DescribeGtmMonitorAvailableConfigResult.h
include/alibabacloud/alidns/model/DeleteGtmAddressPoolRequest.h
include/alibabacloud/alidns/model/DeleteGtmAddressPoolResult.h
include/alibabacloud/alidns/model/QueryCreateInstancePriceRequest.h
include/alibabacloud/alidns/model/QueryCreateInstancePriceResult.h
include/alibabacloud/alidns/model/GetMainDomainNameRequest.h
include/alibabacloud/alidns/model/GetMainDomainNameResult.h
include/alibabacloud/alidns/model/AddGtmAccessStrategyRequest.h
include/alibabacloud/alidns/model/AddGtmAccessStrategyResult.h
include/alibabacloud/alidns/model/ChangeDomainGroupRequest.h
include/alibabacloud/alidns/model/ChangeDomainGroupResult.h
include/alibabacloud/alidns/model/DescribeGtmAccessStrategyRequest.h
include/alibabacloud/alidns/model/DescribeGtmAccessStrategyResult.h
include/alibabacloud/alidns/model/AddDomainGroupRequest.h
include/alibabacloud/alidns/model/AddDomainGroupResult.h
include/alibabacloud/alidns/model/CheckDomainRecordRequest.h
include/alibabacloud/alidns/model/CheckDomainRecordResult.h
include/alibabacloud/alidns/model/ChangeDomainOfDnsProductRequest.h
include/alibabacloud/alidns/model/ChangeDomainOfDnsProductResult.h
include/alibabacloud/alidns/model/DeleteGtmAccessStrategyRequest.h
include/alibabacloud/alidns/model/DeleteGtmAccessStrategyResult.h
include/alibabacloud/alidns/model/DeleteDomainRequest.h
include/alibabacloud/alidns/model/DeleteDomainResult.h
include/alibabacloud/alidns/model/DescribeGtmAvailableAlertGroupRequest.h
include/alibabacloud/alidns/model/DescribeGtmAvailableAlertGroupResult.h
include/alibabacloud/alidns/model/AddGtmAddressPoolRequest.h
include/alibabacloud/alidns/model/AddGtmAddressPoolResult.h
include/alibabacloud/alidns/model/DeleteSubDomainRecordsRequest.h
include/alibabacloud/alidns/model/DeleteSubDomainRecordsResult.h
include/alibabacloud/alidns/model/UpdateGtmMonitorRequest.h
include/alibabacloud/alidns/model/UpdateGtmMonitorResult.h
include/alibabacloud/alidns/model/DescribeDomainNsRequest.h
include/alibabacloud/alidns/model/DescribeDomainNsResult.h
include/alibabacloud/alidns/model/SetDNSSLBStatusRequest.h
include/alibabacloud/alidns/model/SetDNSSLBStatusResult.h
include/alibabacloud/alidns/model/DescribeGtmAccessStrategyAvailableConfigRequest.h
include/alibabacloud/alidns/model/DescribeGtmAccessStrategyAvailableConfigResult.h
include/alibabacloud/alidns/model/DescribeGtmMonitorConfigRequest.h
include/alibabacloud/alidns/model/DescribeGtmMonitorConfigResult.h )
set(alidns_src
src/AlidnsClient.cc
src/model/DescribeDNSSLBSubDomainsRequest.cc
src/model/DescribeDNSSLBSubDomainsResult.cc
src/model/SetGtmAccessModeRequest.cc
src/model/SetGtmAccessModeResult.cc
src/model/ModifyHichinaDomainDNSRequest.cc
src/model/ModifyHichinaDomainDNSResult.cc
src/model/CreateInstanceRequest.cc
src/model/CreateInstanceResult.cc
src/model/DescribeSubDomainRecordsRequest.cc
src/model/DescribeSubDomainRecordsResult.cc
src/model/DescribeRecordLogsRequest.cc
src/model/DescribeRecordLogsResult.cc
src/model/DescribeBatchResultCountRequest.cc
src/model/DescribeBatchResultCountResult.cc
src/model/DescribeGtmInstancesRequest.cc
src/model/DescribeGtmInstancesResult.cc
src/model/UpdateGtmAddressPoolRequest.cc
src/model/UpdateGtmAddressPoolResult.cc
src/model/DescribeGtmAccessStrategiesRequest.cc
src/model/DescribeGtmAccessStrategiesResult.cc
src/model/UpdateGtmInstanceGlobalConfigRequest.cc
src/model/UpdateGtmInstanceGlobalConfigResult.cc
src/model/UpdateDomainRecordRequest.cc
src/model/UpdateDomainRecordResult.cc
src/model/DescribeDomainGroupsRequest.cc
src/model/DescribeDomainGroupsResult.cc
src/model/UpdateGtmAccessStrategyRequest.cc
src/model/UpdateGtmAccessStrategyResult.cc
src/model/DeleteDomainRecordRequest.cc
src/model/DeleteDomainRecordResult.cc
src/model/DescribeDomainRecordsRequest.cc
src/model/DescribeDomainRecordsResult.cc
src/model/DescribeDomainRecordInfoRequest.cc
src/model/DescribeDomainRecordInfoResult.cc
src/model/AddDomainRequest.cc
src/model/AddDomainResult.cc
src/model/DescribeGtmInstanceAddressPoolRequest.cc
src/model/DescribeGtmInstanceAddressPoolResult.cc
src/model/UpdateDNSSLBWeightRequest.cc
src/model/UpdateDNSSLBWeightResult.cc
src/model/DescribeBatchResultDetailRequest.cc
src/model/DescribeBatchResultDetailResult.cc
src/model/SetDomainRecordStatusRequest.cc
src/model/SetDomainRecordStatusResult.cc
src/model/UpdateDomainGroupRequest.cc
src/model/UpdateDomainGroupResult.cc
src/model/DescribeDnsProductInstancesRequest.cc
src/model/DescribeDnsProductInstancesResult.cc
src/model/SetGtmMonitorStatusRequest.cc
src/model/SetGtmMonitorStatusResult.cc
src/model/DescribeDnsProductInstanceRequest.cc
src/model/DescribeDnsProductInstanceResult.cc
src/model/DescribeGtmLogsRequest.cc
src/model/DescribeGtmLogsResult.cc
src/model/OperateBatchDomainRequest.cc
src/model/OperateBatchDomainResult.cc
src/model/DeleteDomainGroupRequest.cc
src/model/DeleteDomainGroupResult.cc
src/model/DescribeDomainLogsRequest.cc
src/model/DescribeDomainLogsResult.cc
src/model/AddGtmMonitorRequest.cc
src/model/AddGtmMonitorResult.cc
src/model/DescribeDomainsRequest.cc
src/model/DescribeDomainsResult.cc
src/model/DescribeGtmInstanceStatusRequest.cc
src/model/DescribeGtmInstanceStatusResult.cc
src/model/DescribeGtmInstanceRequest.cc
src/model/DescribeGtmInstanceResult.cc
src/model/DescribeDomainInfoRequest.cc
src/model/DescribeDomainInfoResult.cc
src/model/DescribeGtmInstanceAddressPoolsRequest.cc
src/model/DescribeGtmInstanceAddressPoolsResult.cc
src/model/DescribeSupportLinesRequest.cc
src/model/DescribeSupportLinesResult.cc
src/model/AddDomainRecordRequest.cc
src/model/AddDomainRecordResult.cc
src/model/DescribeGtmMonitorAvailableConfigRequest.cc
src/model/DescribeGtmMonitorAvailableConfigResult.cc
src/model/DeleteGtmAddressPoolRequest.cc
src/model/DeleteGtmAddressPoolResult.cc
src/model/QueryCreateInstancePriceRequest.cc
src/model/QueryCreateInstancePriceResult.cc
src/model/GetMainDomainNameRequest.cc
src/model/GetMainDomainNameResult.cc
src/model/AddGtmAccessStrategyRequest.cc
src/model/AddGtmAccessStrategyResult.cc
src/model/ChangeDomainGroupRequest.cc
src/model/ChangeDomainGroupResult.cc
src/model/DescribeGtmAccessStrategyRequest.cc
src/model/DescribeGtmAccessStrategyResult.cc
src/model/AddDomainGroupRequest.cc
src/model/AddDomainGroupResult.cc
src/model/CheckDomainRecordRequest.cc
src/model/CheckDomainRecordResult.cc
src/model/ChangeDomainOfDnsProductRequest.cc
src/model/ChangeDomainOfDnsProductResult.cc
src/model/DeleteGtmAccessStrategyRequest.cc
src/model/DeleteGtmAccessStrategyResult.cc
src/model/DeleteDomainRequest.cc
src/model/DeleteDomainResult.cc
src/model/DescribeGtmAvailableAlertGroupRequest.cc
src/model/DescribeGtmAvailableAlertGroupResult.cc
src/model/AddGtmAddressPoolRequest.cc
src/model/AddGtmAddressPoolResult.cc
src/model/DeleteSubDomainRecordsRequest.cc
src/model/DeleteSubDomainRecordsResult.cc
src/model/UpdateGtmMonitorRequest.cc
src/model/UpdateGtmMonitorResult.cc
src/model/DescribeDomainNsRequest.cc
src/model/DescribeDomainNsResult.cc
src/model/SetDNSSLBStatusRequest.cc
src/model/SetDNSSLBStatusResult.cc
src/model/DescribeGtmAccessStrategyAvailableConfigRequest.cc
src/model/DescribeGtmAccessStrategyAvailableConfigResult.cc
src/model/DescribeGtmMonitorConfigRequest.cc
src/model/DescribeGtmMonitorConfigResult.cc )
add_library(alidns ${LIB_TYPE}
${alidns_public_header}
${alidns_public_header_model}
${alidns_src})
set_target_properties(alidns
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}alidns
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(alidns
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_ALIDNS_LIBRARY)
endif()
target_include_directories(alidns
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(alidns
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(alidns
jsoncpp)
target_include_directories(alidns
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(alidns
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(alidns
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(alidns
PRIVATE /usr/include/jsoncpp)
target_link_libraries(alidns
jsoncpp)
endif()
install(FILES ${alidns_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/alidns)
install(FILES ${alidns_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/alidns/model)
install(TARGETS alidns
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,510 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_ALIDNSCLIENT_H_
#define ALIBABACLOUD_ALIDNS_ALIDNSCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "AlidnsExport.h"
#include "model/DescribeDNSSLBSubDomainsRequest.h"
#include "model/DescribeDNSSLBSubDomainsResult.h"
#include "model/SetGtmAccessModeRequest.h"
#include "model/SetGtmAccessModeResult.h"
#include "model/ModifyHichinaDomainDNSRequest.h"
#include "model/ModifyHichinaDomainDNSResult.h"
#include "model/CreateInstanceRequest.h"
#include "model/CreateInstanceResult.h"
#include "model/DescribeSubDomainRecordsRequest.h"
#include "model/DescribeSubDomainRecordsResult.h"
#include "model/DescribeRecordLogsRequest.h"
#include "model/DescribeRecordLogsResult.h"
#include "model/DescribeBatchResultCountRequest.h"
#include "model/DescribeBatchResultCountResult.h"
#include "model/DescribeGtmInstancesRequest.h"
#include "model/DescribeGtmInstancesResult.h"
#include "model/UpdateGtmAddressPoolRequest.h"
#include "model/UpdateGtmAddressPoolResult.h"
#include "model/DescribeGtmAccessStrategiesRequest.h"
#include "model/DescribeGtmAccessStrategiesResult.h"
#include "model/UpdateGtmInstanceGlobalConfigRequest.h"
#include "model/UpdateGtmInstanceGlobalConfigResult.h"
#include "model/UpdateDomainRecordRequest.h"
#include "model/UpdateDomainRecordResult.h"
#include "model/DescribeDomainGroupsRequest.h"
#include "model/DescribeDomainGroupsResult.h"
#include "model/UpdateGtmAccessStrategyRequest.h"
#include "model/UpdateGtmAccessStrategyResult.h"
#include "model/DeleteDomainRecordRequest.h"
#include "model/DeleteDomainRecordResult.h"
#include "model/DescribeDomainRecordsRequest.h"
#include "model/DescribeDomainRecordsResult.h"
#include "model/DescribeDomainRecordInfoRequest.h"
#include "model/DescribeDomainRecordInfoResult.h"
#include "model/AddDomainRequest.h"
#include "model/AddDomainResult.h"
#include "model/DescribeGtmInstanceAddressPoolRequest.h"
#include "model/DescribeGtmInstanceAddressPoolResult.h"
#include "model/UpdateDNSSLBWeightRequest.h"
#include "model/UpdateDNSSLBWeightResult.h"
#include "model/DescribeBatchResultDetailRequest.h"
#include "model/DescribeBatchResultDetailResult.h"
#include "model/SetDomainRecordStatusRequest.h"
#include "model/SetDomainRecordStatusResult.h"
#include "model/UpdateDomainGroupRequest.h"
#include "model/UpdateDomainGroupResult.h"
#include "model/DescribeDnsProductInstancesRequest.h"
#include "model/DescribeDnsProductInstancesResult.h"
#include "model/SetGtmMonitorStatusRequest.h"
#include "model/SetGtmMonitorStatusResult.h"
#include "model/DescribeDnsProductInstanceRequest.h"
#include "model/DescribeDnsProductInstanceResult.h"
#include "model/DescribeGtmLogsRequest.h"
#include "model/DescribeGtmLogsResult.h"
#include "model/OperateBatchDomainRequest.h"
#include "model/OperateBatchDomainResult.h"
#include "model/DeleteDomainGroupRequest.h"
#include "model/DeleteDomainGroupResult.h"
#include "model/DescribeDomainLogsRequest.h"
#include "model/DescribeDomainLogsResult.h"
#include "model/AddGtmMonitorRequest.h"
#include "model/AddGtmMonitorResult.h"
#include "model/DescribeDomainsRequest.h"
#include "model/DescribeDomainsResult.h"
#include "model/DescribeGtmInstanceStatusRequest.h"
#include "model/DescribeGtmInstanceStatusResult.h"
#include "model/DescribeGtmInstanceRequest.h"
#include "model/DescribeGtmInstanceResult.h"
#include "model/DescribeDomainInfoRequest.h"
#include "model/DescribeDomainInfoResult.h"
#include "model/DescribeGtmInstanceAddressPoolsRequest.h"
#include "model/DescribeGtmInstanceAddressPoolsResult.h"
#include "model/DescribeSupportLinesRequest.h"
#include "model/DescribeSupportLinesResult.h"
#include "model/AddDomainRecordRequest.h"
#include "model/AddDomainRecordResult.h"
#include "model/DescribeGtmMonitorAvailableConfigRequest.h"
#include "model/DescribeGtmMonitorAvailableConfigResult.h"
#include "model/DeleteGtmAddressPoolRequest.h"
#include "model/DeleteGtmAddressPoolResult.h"
#include "model/QueryCreateInstancePriceRequest.h"
#include "model/QueryCreateInstancePriceResult.h"
#include "model/GetMainDomainNameRequest.h"
#include "model/GetMainDomainNameResult.h"
#include "model/AddGtmAccessStrategyRequest.h"
#include "model/AddGtmAccessStrategyResult.h"
#include "model/ChangeDomainGroupRequest.h"
#include "model/ChangeDomainGroupResult.h"
#include "model/DescribeGtmAccessStrategyRequest.h"
#include "model/DescribeGtmAccessStrategyResult.h"
#include "model/AddDomainGroupRequest.h"
#include "model/AddDomainGroupResult.h"
#include "model/CheckDomainRecordRequest.h"
#include "model/CheckDomainRecordResult.h"
#include "model/ChangeDomainOfDnsProductRequest.h"
#include "model/ChangeDomainOfDnsProductResult.h"
#include "model/DeleteGtmAccessStrategyRequest.h"
#include "model/DeleteGtmAccessStrategyResult.h"
#include "model/DeleteDomainRequest.h"
#include "model/DeleteDomainResult.h"
#include "model/DescribeGtmAvailableAlertGroupRequest.h"
#include "model/DescribeGtmAvailableAlertGroupResult.h"
#include "model/AddGtmAddressPoolRequest.h"
#include "model/AddGtmAddressPoolResult.h"
#include "model/DeleteSubDomainRecordsRequest.h"
#include "model/DeleteSubDomainRecordsResult.h"
#include "model/UpdateGtmMonitorRequest.h"
#include "model/UpdateGtmMonitorResult.h"
#include "model/DescribeDomainNsRequest.h"
#include "model/DescribeDomainNsResult.h"
#include "model/SetDNSSLBStatusRequest.h"
#include "model/SetDNSSLBStatusResult.h"
#include "model/DescribeGtmAccessStrategyAvailableConfigRequest.h"
#include "model/DescribeGtmAccessStrategyAvailableConfigResult.h"
#include "model/DescribeGtmMonitorConfigRequest.h"
#include "model/DescribeGtmMonitorConfigResult.h"
namespace AlibabaCloud
{
namespace Alidns
{
class ALIBABACLOUD_ALIDNS_EXPORT AlidnsClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::DescribeDNSSLBSubDomainsResult> DescribeDNSSLBSubDomainsOutcome;
typedef std::future<DescribeDNSSLBSubDomainsOutcome> DescribeDNSSLBSubDomainsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDNSSLBSubDomainsRequest&, const DescribeDNSSLBSubDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDNSSLBSubDomainsAsyncHandler;
typedef Outcome<Error, Model::SetGtmAccessModeResult> SetGtmAccessModeOutcome;
typedef std::future<SetGtmAccessModeOutcome> SetGtmAccessModeOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::SetGtmAccessModeRequest&, const SetGtmAccessModeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetGtmAccessModeAsyncHandler;
typedef Outcome<Error, Model::ModifyHichinaDomainDNSResult> ModifyHichinaDomainDNSOutcome;
typedef std::future<ModifyHichinaDomainDNSOutcome> ModifyHichinaDomainDNSOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::ModifyHichinaDomainDNSRequest&, const ModifyHichinaDomainDNSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHichinaDomainDNSAsyncHandler;
typedef Outcome<Error, Model::CreateInstanceResult> CreateInstanceOutcome;
typedef std::future<CreateInstanceOutcome> CreateInstanceOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::CreateInstanceRequest&, const CreateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceAsyncHandler;
typedef Outcome<Error, Model::DescribeSubDomainRecordsResult> DescribeSubDomainRecordsOutcome;
typedef std::future<DescribeSubDomainRecordsOutcome> DescribeSubDomainRecordsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeSubDomainRecordsRequest&, const DescribeSubDomainRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubDomainRecordsAsyncHandler;
typedef Outcome<Error, Model::DescribeRecordLogsResult> DescribeRecordLogsOutcome;
typedef std::future<DescribeRecordLogsOutcome> DescribeRecordLogsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeRecordLogsRequest&, const DescribeRecordLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordLogsAsyncHandler;
typedef Outcome<Error, Model::DescribeBatchResultCountResult> DescribeBatchResultCountOutcome;
typedef std::future<DescribeBatchResultCountOutcome> DescribeBatchResultCountOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeBatchResultCountRequest&, const DescribeBatchResultCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBatchResultCountAsyncHandler;
typedef Outcome<Error, Model::DescribeGtmInstancesResult> DescribeGtmInstancesOutcome;
typedef std::future<DescribeGtmInstancesOutcome> DescribeGtmInstancesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeGtmInstancesRequest&, const DescribeGtmInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGtmInstancesAsyncHandler;
typedef Outcome<Error, Model::UpdateGtmAddressPoolResult> UpdateGtmAddressPoolOutcome;
typedef std::future<UpdateGtmAddressPoolOutcome> UpdateGtmAddressPoolOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateGtmAddressPoolRequest&, const UpdateGtmAddressPoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGtmAddressPoolAsyncHandler;
typedef Outcome<Error, Model::DescribeGtmAccessStrategiesResult> DescribeGtmAccessStrategiesOutcome;
typedef std::future<DescribeGtmAccessStrategiesOutcome> DescribeGtmAccessStrategiesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeGtmAccessStrategiesRequest&, const DescribeGtmAccessStrategiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGtmAccessStrategiesAsyncHandler;
typedef Outcome<Error, Model::UpdateGtmInstanceGlobalConfigResult> UpdateGtmInstanceGlobalConfigOutcome;
typedef std::future<UpdateGtmInstanceGlobalConfigOutcome> UpdateGtmInstanceGlobalConfigOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateGtmInstanceGlobalConfigRequest&, const UpdateGtmInstanceGlobalConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGtmInstanceGlobalConfigAsyncHandler;
typedef Outcome<Error, Model::UpdateDomainRecordResult> UpdateDomainRecordOutcome;
typedef std::future<UpdateDomainRecordOutcome> UpdateDomainRecordOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateDomainRecordRequest&, const UpdateDomainRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDomainRecordAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainGroupsResult> DescribeDomainGroupsOutcome;
typedef std::future<DescribeDomainGroupsOutcome> DescribeDomainGroupsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainGroupsRequest&, const DescribeDomainGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainGroupsAsyncHandler;
typedef Outcome<Error, Model::UpdateGtmAccessStrategyResult> UpdateGtmAccessStrategyOutcome;
typedef std::future<UpdateGtmAccessStrategyOutcome> UpdateGtmAccessStrategyOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateGtmAccessStrategyRequest&, const UpdateGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGtmAccessStrategyAsyncHandler;
typedef Outcome<Error, Model::DeleteDomainRecordResult> DeleteDomainRecordOutcome;
typedef std::future<DeleteDomainRecordOutcome> DeleteDomainRecordOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DeleteDomainRecordRequest&, const DeleteDomainRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainRecordAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainRecordsResult> DescribeDomainRecordsOutcome;
typedef std::future<DescribeDomainRecordsOutcome> DescribeDomainRecordsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainRecordsRequest&, const DescribeDomainRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainRecordsAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainRecordInfoResult> DescribeDomainRecordInfoOutcome;
typedef std::future<DescribeDomainRecordInfoOutcome> DescribeDomainRecordInfoOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainRecordInfoRequest&, const DescribeDomainRecordInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainRecordInfoAsyncHandler;
typedef Outcome<Error, Model::AddDomainResult> AddDomainOutcome;
typedef std::future<AddDomainOutcome> AddDomainOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::AddDomainRequest&, const AddDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDomainAsyncHandler;
typedef Outcome<Error, Model::DescribeGtmInstanceAddressPoolResult> DescribeGtmInstanceAddressPoolOutcome;
typedef std::future<DescribeGtmInstanceAddressPoolOutcome> DescribeGtmInstanceAddressPoolOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeGtmInstanceAddressPoolRequest&, const DescribeGtmInstanceAddressPoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGtmInstanceAddressPoolAsyncHandler;
typedef Outcome<Error, Model::UpdateDNSSLBWeightResult> UpdateDNSSLBWeightOutcome;
typedef std::future<UpdateDNSSLBWeightOutcome> UpdateDNSSLBWeightOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateDNSSLBWeightRequest&, const UpdateDNSSLBWeightOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDNSSLBWeightAsyncHandler;
typedef Outcome<Error, Model::DescribeBatchResultDetailResult> DescribeBatchResultDetailOutcome;
typedef std::future<DescribeBatchResultDetailOutcome> DescribeBatchResultDetailOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeBatchResultDetailRequest&, const DescribeBatchResultDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBatchResultDetailAsyncHandler;
typedef Outcome<Error, Model::SetDomainRecordStatusResult> SetDomainRecordStatusOutcome;
typedef std::future<SetDomainRecordStatusOutcome> SetDomainRecordStatusOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::SetDomainRecordStatusRequest&, const SetDomainRecordStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDomainRecordStatusAsyncHandler;
typedef Outcome<Error, Model::UpdateDomainGroupResult> UpdateDomainGroupOutcome;
typedef std::future<UpdateDomainGroupOutcome> UpdateDomainGroupOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateDomainGroupRequest&, const UpdateDomainGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDomainGroupAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsProductInstancesResult> DescribeDnsProductInstancesOutcome;
typedef std::future<DescribeDnsProductInstancesOutcome> DescribeDnsProductInstancesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsProductInstancesRequest&, const DescribeDnsProductInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsProductInstancesAsyncHandler;
typedef Outcome<Error, Model::SetGtmMonitorStatusResult> SetGtmMonitorStatusOutcome;
typedef std::future<SetGtmMonitorStatusOutcome> SetGtmMonitorStatusOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::SetGtmMonitorStatusRequest&, const SetGtmMonitorStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetGtmMonitorStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsProductInstanceResult> DescribeDnsProductInstanceOutcome;
typedef std::future<DescribeDnsProductInstanceOutcome> DescribeDnsProductInstanceOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsProductInstanceRequest&, const DescribeDnsProductInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsProductInstanceAsyncHandler;
typedef Outcome<Error, Model::DescribeGtmLogsResult> DescribeGtmLogsOutcome;
typedef std::future<DescribeGtmLogsOutcome> DescribeGtmLogsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeGtmLogsRequest&, const DescribeGtmLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGtmLogsAsyncHandler;
typedef Outcome<Error, Model::OperateBatchDomainResult> OperateBatchDomainOutcome;
typedef std::future<OperateBatchDomainOutcome> OperateBatchDomainOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::OperateBatchDomainRequest&, const OperateBatchDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OperateBatchDomainAsyncHandler;
typedef Outcome<Error, Model::DeleteDomainGroupResult> DeleteDomainGroupOutcome;
typedef std::future<DeleteDomainGroupOutcome> DeleteDomainGroupOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DeleteDomainGroupRequest&, const DeleteDomainGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainGroupAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainLogsResult> DescribeDomainLogsOutcome;
typedef std::future<DescribeDomainLogsOutcome> DescribeDomainLogsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainLogsRequest&, const DescribeDomainLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainLogsAsyncHandler;
typedef Outcome<Error, Model::AddGtmMonitorResult> AddGtmMonitorOutcome;
typedef std::future<AddGtmMonitorOutcome> AddGtmMonitorOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::AddGtmMonitorRequest&, const AddGtmMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddGtmMonitorAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainsResult> DescribeDomainsOutcome;
typedef std::future<DescribeDomainsOutcome> DescribeDomainsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainsRequest&, const DescribeDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainsAsyncHandler;
typedef Outcome<Error, Model::DescribeGtmInstanceStatusResult> DescribeGtmInstanceStatusOutcome;
typedef std::future<DescribeGtmInstanceStatusOutcome> DescribeGtmInstanceStatusOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeGtmInstanceStatusRequest&, const DescribeGtmInstanceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGtmInstanceStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeGtmInstanceResult> DescribeGtmInstanceOutcome;
typedef std::future<DescribeGtmInstanceOutcome> DescribeGtmInstanceOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeGtmInstanceRequest&, const DescribeGtmInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGtmInstanceAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainInfoResult> DescribeDomainInfoOutcome;
typedef std::future<DescribeDomainInfoOutcome> DescribeDomainInfoOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainInfoRequest&, const DescribeDomainInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeGtmInstanceAddressPoolsResult> DescribeGtmInstanceAddressPoolsOutcome;
typedef std::future<DescribeGtmInstanceAddressPoolsOutcome> DescribeGtmInstanceAddressPoolsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeGtmInstanceAddressPoolsRequest&, const DescribeGtmInstanceAddressPoolsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGtmInstanceAddressPoolsAsyncHandler;
typedef Outcome<Error, Model::DescribeSupportLinesResult> DescribeSupportLinesOutcome;
typedef std::future<DescribeSupportLinesOutcome> DescribeSupportLinesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeSupportLinesRequest&, const DescribeSupportLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSupportLinesAsyncHandler;
typedef Outcome<Error, Model::AddDomainRecordResult> AddDomainRecordOutcome;
typedef std::future<AddDomainRecordOutcome> AddDomainRecordOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::AddDomainRecordRequest&, const AddDomainRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDomainRecordAsyncHandler;
typedef Outcome<Error, Model::DescribeGtmMonitorAvailableConfigResult> DescribeGtmMonitorAvailableConfigOutcome;
typedef std::future<DescribeGtmMonitorAvailableConfigOutcome> DescribeGtmMonitorAvailableConfigOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeGtmMonitorAvailableConfigRequest&, const DescribeGtmMonitorAvailableConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGtmMonitorAvailableConfigAsyncHandler;
typedef Outcome<Error, Model::DeleteGtmAddressPoolResult> DeleteGtmAddressPoolOutcome;
typedef std::future<DeleteGtmAddressPoolOutcome> DeleteGtmAddressPoolOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DeleteGtmAddressPoolRequest&, const DeleteGtmAddressPoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteGtmAddressPoolAsyncHandler;
typedef Outcome<Error, Model::QueryCreateInstancePriceResult> QueryCreateInstancePriceOutcome;
typedef std::future<QueryCreateInstancePriceOutcome> QueryCreateInstancePriceOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::QueryCreateInstancePriceRequest&, const QueryCreateInstancePriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCreateInstancePriceAsyncHandler;
typedef Outcome<Error, Model::GetMainDomainNameResult> GetMainDomainNameOutcome;
typedef std::future<GetMainDomainNameOutcome> GetMainDomainNameOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::GetMainDomainNameRequest&, const GetMainDomainNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMainDomainNameAsyncHandler;
typedef Outcome<Error, Model::AddGtmAccessStrategyResult> AddGtmAccessStrategyOutcome;
typedef std::future<AddGtmAccessStrategyOutcome> AddGtmAccessStrategyOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::AddGtmAccessStrategyRequest&, const AddGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddGtmAccessStrategyAsyncHandler;
typedef Outcome<Error, Model::ChangeDomainGroupResult> ChangeDomainGroupOutcome;
typedef std::future<ChangeDomainGroupOutcome> ChangeDomainGroupOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::ChangeDomainGroupRequest&, const ChangeDomainGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeDomainGroupAsyncHandler;
typedef Outcome<Error, Model::DescribeGtmAccessStrategyResult> DescribeGtmAccessStrategyOutcome;
typedef std::future<DescribeGtmAccessStrategyOutcome> DescribeGtmAccessStrategyOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeGtmAccessStrategyRequest&, const DescribeGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGtmAccessStrategyAsyncHandler;
typedef Outcome<Error, Model::AddDomainGroupResult> AddDomainGroupOutcome;
typedef std::future<AddDomainGroupOutcome> AddDomainGroupOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::AddDomainGroupRequest&, const AddDomainGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDomainGroupAsyncHandler;
typedef Outcome<Error, Model::CheckDomainRecordResult> CheckDomainRecordOutcome;
typedef std::future<CheckDomainRecordOutcome> CheckDomainRecordOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::CheckDomainRecordRequest&, const CheckDomainRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckDomainRecordAsyncHandler;
typedef Outcome<Error, Model::ChangeDomainOfDnsProductResult> ChangeDomainOfDnsProductOutcome;
typedef std::future<ChangeDomainOfDnsProductOutcome> ChangeDomainOfDnsProductOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::ChangeDomainOfDnsProductRequest&, const ChangeDomainOfDnsProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeDomainOfDnsProductAsyncHandler;
typedef Outcome<Error, Model::DeleteGtmAccessStrategyResult> DeleteGtmAccessStrategyOutcome;
typedef std::future<DeleteGtmAccessStrategyOutcome> DeleteGtmAccessStrategyOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DeleteGtmAccessStrategyRequest&, const DeleteGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteGtmAccessStrategyAsyncHandler;
typedef Outcome<Error, Model::DeleteDomainResult> DeleteDomainOutcome;
typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DeleteDomainRequest&, const DeleteDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainAsyncHandler;
typedef Outcome<Error, Model::DescribeGtmAvailableAlertGroupResult> DescribeGtmAvailableAlertGroupOutcome;
typedef std::future<DescribeGtmAvailableAlertGroupOutcome> DescribeGtmAvailableAlertGroupOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeGtmAvailableAlertGroupRequest&, const DescribeGtmAvailableAlertGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGtmAvailableAlertGroupAsyncHandler;
typedef Outcome<Error, Model::AddGtmAddressPoolResult> AddGtmAddressPoolOutcome;
typedef std::future<AddGtmAddressPoolOutcome> AddGtmAddressPoolOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::AddGtmAddressPoolRequest&, const AddGtmAddressPoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddGtmAddressPoolAsyncHandler;
typedef Outcome<Error, Model::DeleteSubDomainRecordsResult> DeleteSubDomainRecordsOutcome;
typedef std::future<DeleteSubDomainRecordsOutcome> DeleteSubDomainRecordsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DeleteSubDomainRecordsRequest&, const DeleteSubDomainRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSubDomainRecordsAsyncHandler;
typedef Outcome<Error, Model::UpdateGtmMonitorResult> UpdateGtmMonitorOutcome;
typedef std::future<UpdateGtmMonitorOutcome> UpdateGtmMonitorOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateGtmMonitorRequest&, const UpdateGtmMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGtmMonitorAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainNsResult> DescribeDomainNsOutcome;
typedef std::future<DescribeDomainNsOutcome> DescribeDomainNsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainNsRequest&, const DescribeDomainNsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainNsAsyncHandler;
typedef Outcome<Error, Model::SetDNSSLBStatusResult> SetDNSSLBStatusOutcome;
typedef std::future<SetDNSSLBStatusOutcome> SetDNSSLBStatusOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::SetDNSSLBStatusRequest&, const SetDNSSLBStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDNSSLBStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeGtmAccessStrategyAvailableConfigResult> DescribeGtmAccessStrategyAvailableConfigOutcome;
typedef std::future<DescribeGtmAccessStrategyAvailableConfigOutcome> DescribeGtmAccessStrategyAvailableConfigOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeGtmAccessStrategyAvailableConfigRequest&, const DescribeGtmAccessStrategyAvailableConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGtmAccessStrategyAvailableConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeGtmMonitorConfigResult> DescribeGtmMonitorConfigOutcome;
typedef std::future<DescribeGtmMonitorConfigOutcome> DescribeGtmMonitorConfigOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeGtmMonitorConfigRequest&, const DescribeGtmMonitorConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGtmMonitorConfigAsyncHandler;
AlidnsClient(const Credentials &credentials, const ClientConfiguration &configuration);
AlidnsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
AlidnsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~AlidnsClient();
DescribeDNSSLBSubDomainsOutcome describeDNSSLBSubDomains(const Model::DescribeDNSSLBSubDomainsRequest &request)const;
void describeDNSSLBSubDomainsAsync(const Model::DescribeDNSSLBSubDomainsRequest& request, const DescribeDNSSLBSubDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDNSSLBSubDomainsOutcomeCallable describeDNSSLBSubDomainsCallable(const Model::DescribeDNSSLBSubDomainsRequest& request) const;
SetGtmAccessModeOutcome setGtmAccessMode(const Model::SetGtmAccessModeRequest &request)const;
void setGtmAccessModeAsync(const Model::SetGtmAccessModeRequest& request, const SetGtmAccessModeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetGtmAccessModeOutcomeCallable setGtmAccessModeCallable(const Model::SetGtmAccessModeRequest& request) const;
ModifyHichinaDomainDNSOutcome modifyHichinaDomainDNS(const Model::ModifyHichinaDomainDNSRequest &request)const;
void modifyHichinaDomainDNSAsync(const Model::ModifyHichinaDomainDNSRequest& request, const ModifyHichinaDomainDNSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyHichinaDomainDNSOutcomeCallable modifyHichinaDomainDNSCallable(const Model::ModifyHichinaDomainDNSRequest& request) const;
CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const;
void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const;
DescribeSubDomainRecordsOutcome describeSubDomainRecords(const Model::DescribeSubDomainRecordsRequest &request)const;
void describeSubDomainRecordsAsync(const Model::DescribeSubDomainRecordsRequest& request, const DescribeSubDomainRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSubDomainRecordsOutcomeCallable describeSubDomainRecordsCallable(const Model::DescribeSubDomainRecordsRequest& request) const;
DescribeRecordLogsOutcome describeRecordLogs(const Model::DescribeRecordLogsRequest &request)const;
void describeRecordLogsAsync(const Model::DescribeRecordLogsRequest& request, const DescribeRecordLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRecordLogsOutcomeCallable describeRecordLogsCallable(const Model::DescribeRecordLogsRequest& request) const;
DescribeBatchResultCountOutcome describeBatchResultCount(const Model::DescribeBatchResultCountRequest &request)const;
void describeBatchResultCountAsync(const Model::DescribeBatchResultCountRequest& request, const DescribeBatchResultCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBatchResultCountOutcomeCallable describeBatchResultCountCallable(const Model::DescribeBatchResultCountRequest& request) const;
DescribeGtmInstancesOutcome describeGtmInstances(const Model::DescribeGtmInstancesRequest &request)const;
void describeGtmInstancesAsync(const Model::DescribeGtmInstancesRequest& request, const DescribeGtmInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGtmInstancesOutcomeCallable describeGtmInstancesCallable(const Model::DescribeGtmInstancesRequest& request) const;
UpdateGtmAddressPoolOutcome updateGtmAddressPool(const Model::UpdateGtmAddressPoolRequest &request)const;
void updateGtmAddressPoolAsync(const Model::UpdateGtmAddressPoolRequest& request, const UpdateGtmAddressPoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateGtmAddressPoolOutcomeCallable updateGtmAddressPoolCallable(const Model::UpdateGtmAddressPoolRequest& request) const;
DescribeGtmAccessStrategiesOutcome describeGtmAccessStrategies(const Model::DescribeGtmAccessStrategiesRequest &request)const;
void describeGtmAccessStrategiesAsync(const Model::DescribeGtmAccessStrategiesRequest& request, const DescribeGtmAccessStrategiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGtmAccessStrategiesOutcomeCallable describeGtmAccessStrategiesCallable(const Model::DescribeGtmAccessStrategiesRequest& request) const;
UpdateGtmInstanceGlobalConfigOutcome updateGtmInstanceGlobalConfig(const Model::UpdateGtmInstanceGlobalConfigRequest &request)const;
void updateGtmInstanceGlobalConfigAsync(const Model::UpdateGtmInstanceGlobalConfigRequest& request, const UpdateGtmInstanceGlobalConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateGtmInstanceGlobalConfigOutcomeCallable updateGtmInstanceGlobalConfigCallable(const Model::UpdateGtmInstanceGlobalConfigRequest& request) const;
UpdateDomainRecordOutcome updateDomainRecord(const Model::UpdateDomainRecordRequest &request)const;
void updateDomainRecordAsync(const Model::UpdateDomainRecordRequest& request, const UpdateDomainRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDomainRecordOutcomeCallable updateDomainRecordCallable(const Model::UpdateDomainRecordRequest& request) const;
DescribeDomainGroupsOutcome describeDomainGroups(const Model::DescribeDomainGroupsRequest &request)const;
void describeDomainGroupsAsync(const Model::DescribeDomainGroupsRequest& request, const DescribeDomainGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainGroupsOutcomeCallable describeDomainGroupsCallable(const Model::DescribeDomainGroupsRequest& request) const;
UpdateGtmAccessStrategyOutcome updateGtmAccessStrategy(const Model::UpdateGtmAccessStrategyRequest &request)const;
void updateGtmAccessStrategyAsync(const Model::UpdateGtmAccessStrategyRequest& request, const UpdateGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateGtmAccessStrategyOutcomeCallable updateGtmAccessStrategyCallable(const Model::UpdateGtmAccessStrategyRequest& request) const;
DeleteDomainRecordOutcome deleteDomainRecord(const Model::DeleteDomainRecordRequest &request)const;
void deleteDomainRecordAsync(const Model::DeleteDomainRecordRequest& request, const DeleteDomainRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDomainRecordOutcomeCallable deleteDomainRecordCallable(const Model::DeleteDomainRecordRequest& request) const;
DescribeDomainRecordsOutcome describeDomainRecords(const Model::DescribeDomainRecordsRequest &request)const;
void describeDomainRecordsAsync(const Model::DescribeDomainRecordsRequest& request, const DescribeDomainRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainRecordsOutcomeCallable describeDomainRecordsCallable(const Model::DescribeDomainRecordsRequest& request) const;
DescribeDomainRecordInfoOutcome describeDomainRecordInfo(const Model::DescribeDomainRecordInfoRequest &request)const;
void describeDomainRecordInfoAsync(const Model::DescribeDomainRecordInfoRequest& request, const DescribeDomainRecordInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainRecordInfoOutcomeCallable describeDomainRecordInfoCallable(const Model::DescribeDomainRecordInfoRequest& request) const;
AddDomainOutcome addDomain(const Model::AddDomainRequest &request)const;
void addDomainAsync(const Model::AddDomainRequest& request, const AddDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddDomainOutcomeCallable addDomainCallable(const Model::AddDomainRequest& request) const;
DescribeGtmInstanceAddressPoolOutcome describeGtmInstanceAddressPool(const Model::DescribeGtmInstanceAddressPoolRequest &request)const;
void describeGtmInstanceAddressPoolAsync(const Model::DescribeGtmInstanceAddressPoolRequest& request, const DescribeGtmInstanceAddressPoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGtmInstanceAddressPoolOutcomeCallable describeGtmInstanceAddressPoolCallable(const Model::DescribeGtmInstanceAddressPoolRequest& request) const;
UpdateDNSSLBWeightOutcome updateDNSSLBWeight(const Model::UpdateDNSSLBWeightRequest &request)const;
void updateDNSSLBWeightAsync(const Model::UpdateDNSSLBWeightRequest& request, const UpdateDNSSLBWeightAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDNSSLBWeightOutcomeCallable updateDNSSLBWeightCallable(const Model::UpdateDNSSLBWeightRequest& request) const;
DescribeBatchResultDetailOutcome describeBatchResultDetail(const Model::DescribeBatchResultDetailRequest &request)const;
void describeBatchResultDetailAsync(const Model::DescribeBatchResultDetailRequest& request, const DescribeBatchResultDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBatchResultDetailOutcomeCallable describeBatchResultDetailCallable(const Model::DescribeBatchResultDetailRequest& request) const;
SetDomainRecordStatusOutcome setDomainRecordStatus(const Model::SetDomainRecordStatusRequest &request)const;
void setDomainRecordStatusAsync(const Model::SetDomainRecordStatusRequest& request, const SetDomainRecordStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDomainRecordStatusOutcomeCallable setDomainRecordStatusCallable(const Model::SetDomainRecordStatusRequest& request) const;
UpdateDomainGroupOutcome updateDomainGroup(const Model::UpdateDomainGroupRequest &request)const;
void updateDomainGroupAsync(const Model::UpdateDomainGroupRequest& request, const UpdateDomainGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDomainGroupOutcomeCallable updateDomainGroupCallable(const Model::UpdateDomainGroupRequest& request) const;
DescribeDnsProductInstancesOutcome describeDnsProductInstances(const Model::DescribeDnsProductInstancesRequest &request)const;
void describeDnsProductInstancesAsync(const Model::DescribeDnsProductInstancesRequest& request, const DescribeDnsProductInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsProductInstancesOutcomeCallable describeDnsProductInstancesCallable(const Model::DescribeDnsProductInstancesRequest& request) const;
SetGtmMonitorStatusOutcome setGtmMonitorStatus(const Model::SetGtmMonitorStatusRequest &request)const;
void setGtmMonitorStatusAsync(const Model::SetGtmMonitorStatusRequest& request, const SetGtmMonitorStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetGtmMonitorStatusOutcomeCallable setGtmMonitorStatusCallable(const Model::SetGtmMonitorStatusRequest& request) const;
DescribeDnsProductInstanceOutcome describeDnsProductInstance(const Model::DescribeDnsProductInstanceRequest &request)const;
void describeDnsProductInstanceAsync(const Model::DescribeDnsProductInstanceRequest& request, const DescribeDnsProductInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsProductInstanceOutcomeCallable describeDnsProductInstanceCallable(const Model::DescribeDnsProductInstanceRequest& request) const;
DescribeGtmLogsOutcome describeGtmLogs(const Model::DescribeGtmLogsRequest &request)const;
void describeGtmLogsAsync(const Model::DescribeGtmLogsRequest& request, const DescribeGtmLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGtmLogsOutcomeCallable describeGtmLogsCallable(const Model::DescribeGtmLogsRequest& request) const;
OperateBatchDomainOutcome operateBatchDomain(const Model::OperateBatchDomainRequest &request)const;
void operateBatchDomainAsync(const Model::OperateBatchDomainRequest& request, const OperateBatchDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OperateBatchDomainOutcomeCallable operateBatchDomainCallable(const Model::OperateBatchDomainRequest& request) const;
DeleteDomainGroupOutcome deleteDomainGroup(const Model::DeleteDomainGroupRequest &request)const;
void deleteDomainGroupAsync(const Model::DeleteDomainGroupRequest& request, const DeleteDomainGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDomainGroupOutcomeCallable deleteDomainGroupCallable(const Model::DeleteDomainGroupRequest& request) const;
DescribeDomainLogsOutcome describeDomainLogs(const Model::DescribeDomainLogsRequest &request)const;
void describeDomainLogsAsync(const Model::DescribeDomainLogsRequest& request, const DescribeDomainLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainLogsOutcomeCallable describeDomainLogsCallable(const Model::DescribeDomainLogsRequest& request) const;
AddGtmMonitorOutcome addGtmMonitor(const Model::AddGtmMonitorRequest &request)const;
void addGtmMonitorAsync(const Model::AddGtmMonitorRequest& request, const AddGtmMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddGtmMonitorOutcomeCallable addGtmMonitorCallable(const Model::AddGtmMonitorRequest& request) const;
DescribeDomainsOutcome describeDomains(const Model::DescribeDomainsRequest &request)const;
void describeDomainsAsync(const Model::DescribeDomainsRequest& request, const DescribeDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainsOutcomeCallable describeDomainsCallable(const Model::DescribeDomainsRequest& request) const;
DescribeGtmInstanceStatusOutcome describeGtmInstanceStatus(const Model::DescribeGtmInstanceStatusRequest &request)const;
void describeGtmInstanceStatusAsync(const Model::DescribeGtmInstanceStatusRequest& request, const DescribeGtmInstanceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGtmInstanceStatusOutcomeCallable describeGtmInstanceStatusCallable(const Model::DescribeGtmInstanceStatusRequest& request) const;
DescribeGtmInstanceOutcome describeGtmInstance(const Model::DescribeGtmInstanceRequest &request)const;
void describeGtmInstanceAsync(const Model::DescribeGtmInstanceRequest& request, const DescribeGtmInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGtmInstanceOutcomeCallable describeGtmInstanceCallable(const Model::DescribeGtmInstanceRequest& request) const;
DescribeDomainInfoOutcome describeDomainInfo(const Model::DescribeDomainInfoRequest &request)const;
void describeDomainInfoAsync(const Model::DescribeDomainInfoRequest& request, const DescribeDomainInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainInfoOutcomeCallable describeDomainInfoCallable(const Model::DescribeDomainInfoRequest& request) const;
DescribeGtmInstanceAddressPoolsOutcome describeGtmInstanceAddressPools(const Model::DescribeGtmInstanceAddressPoolsRequest &request)const;
void describeGtmInstanceAddressPoolsAsync(const Model::DescribeGtmInstanceAddressPoolsRequest& request, const DescribeGtmInstanceAddressPoolsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGtmInstanceAddressPoolsOutcomeCallable describeGtmInstanceAddressPoolsCallable(const Model::DescribeGtmInstanceAddressPoolsRequest& request) const;
DescribeSupportLinesOutcome describeSupportLines(const Model::DescribeSupportLinesRequest &request)const;
void describeSupportLinesAsync(const Model::DescribeSupportLinesRequest& request, const DescribeSupportLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSupportLinesOutcomeCallable describeSupportLinesCallable(const Model::DescribeSupportLinesRequest& request) const;
AddDomainRecordOutcome addDomainRecord(const Model::AddDomainRecordRequest &request)const;
void addDomainRecordAsync(const Model::AddDomainRecordRequest& request, const AddDomainRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddDomainRecordOutcomeCallable addDomainRecordCallable(const Model::AddDomainRecordRequest& request) const;
DescribeGtmMonitorAvailableConfigOutcome describeGtmMonitorAvailableConfig(const Model::DescribeGtmMonitorAvailableConfigRequest &request)const;
void describeGtmMonitorAvailableConfigAsync(const Model::DescribeGtmMonitorAvailableConfigRequest& request, const DescribeGtmMonitorAvailableConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGtmMonitorAvailableConfigOutcomeCallable describeGtmMonitorAvailableConfigCallable(const Model::DescribeGtmMonitorAvailableConfigRequest& request) const;
DeleteGtmAddressPoolOutcome deleteGtmAddressPool(const Model::DeleteGtmAddressPoolRequest &request)const;
void deleteGtmAddressPoolAsync(const Model::DeleteGtmAddressPoolRequest& request, const DeleteGtmAddressPoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteGtmAddressPoolOutcomeCallable deleteGtmAddressPoolCallable(const Model::DeleteGtmAddressPoolRequest& request) const;
QueryCreateInstancePriceOutcome queryCreateInstancePrice(const Model::QueryCreateInstancePriceRequest &request)const;
void queryCreateInstancePriceAsync(const Model::QueryCreateInstancePriceRequest& request, const QueryCreateInstancePriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCreateInstancePriceOutcomeCallable queryCreateInstancePriceCallable(const Model::QueryCreateInstancePriceRequest& request) const;
GetMainDomainNameOutcome getMainDomainName(const Model::GetMainDomainNameRequest &request)const;
void getMainDomainNameAsync(const Model::GetMainDomainNameRequest& request, const GetMainDomainNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMainDomainNameOutcomeCallable getMainDomainNameCallable(const Model::GetMainDomainNameRequest& request) const;
AddGtmAccessStrategyOutcome addGtmAccessStrategy(const Model::AddGtmAccessStrategyRequest &request)const;
void addGtmAccessStrategyAsync(const Model::AddGtmAccessStrategyRequest& request, const AddGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddGtmAccessStrategyOutcomeCallable addGtmAccessStrategyCallable(const Model::AddGtmAccessStrategyRequest& request) const;
ChangeDomainGroupOutcome changeDomainGroup(const Model::ChangeDomainGroupRequest &request)const;
void changeDomainGroupAsync(const Model::ChangeDomainGroupRequest& request, const ChangeDomainGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ChangeDomainGroupOutcomeCallable changeDomainGroupCallable(const Model::ChangeDomainGroupRequest& request) const;
DescribeGtmAccessStrategyOutcome describeGtmAccessStrategy(const Model::DescribeGtmAccessStrategyRequest &request)const;
void describeGtmAccessStrategyAsync(const Model::DescribeGtmAccessStrategyRequest& request, const DescribeGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGtmAccessStrategyOutcomeCallable describeGtmAccessStrategyCallable(const Model::DescribeGtmAccessStrategyRequest& request) const;
AddDomainGroupOutcome addDomainGroup(const Model::AddDomainGroupRequest &request)const;
void addDomainGroupAsync(const Model::AddDomainGroupRequest& request, const AddDomainGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddDomainGroupOutcomeCallable addDomainGroupCallable(const Model::AddDomainGroupRequest& request) const;
CheckDomainRecordOutcome checkDomainRecord(const Model::CheckDomainRecordRequest &request)const;
void checkDomainRecordAsync(const Model::CheckDomainRecordRequest& request, const CheckDomainRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckDomainRecordOutcomeCallable checkDomainRecordCallable(const Model::CheckDomainRecordRequest& request) const;
ChangeDomainOfDnsProductOutcome changeDomainOfDnsProduct(const Model::ChangeDomainOfDnsProductRequest &request)const;
void changeDomainOfDnsProductAsync(const Model::ChangeDomainOfDnsProductRequest& request, const ChangeDomainOfDnsProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ChangeDomainOfDnsProductOutcomeCallable changeDomainOfDnsProductCallable(const Model::ChangeDomainOfDnsProductRequest& request) const;
DeleteGtmAccessStrategyOutcome deleteGtmAccessStrategy(const Model::DeleteGtmAccessStrategyRequest &request)const;
void deleteGtmAccessStrategyAsync(const Model::DeleteGtmAccessStrategyRequest& request, const DeleteGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteGtmAccessStrategyOutcomeCallable deleteGtmAccessStrategyCallable(const Model::DeleteGtmAccessStrategyRequest& request) const;
DeleteDomainOutcome deleteDomain(const Model::DeleteDomainRequest &request)const;
void deleteDomainAsync(const Model::DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDomainOutcomeCallable deleteDomainCallable(const Model::DeleteDomainRequest& request) const;
DescribeGtmAvailableAlertGroupOutcome describeGtmAvailableAlertGroup(const Model::DescribeGtmAvailableAlertGroupRequest &request)const;
void describeGtmAvailableAlertGroupAsync(const Model::DescribeGtmAvailableAlertGroupRequest& request, const DescribeGtmAvailableAlertGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGtmAvailableAlertGroupOutcomeCallable describeGtmAvailableAlertGroupCallable(const Model::DescribeGtmAvailableAlertGroupRequest& request) const;
AddGtmAddressPoolOutcome addGtmAddressPool(const Model::AddGtmAddressPoolRequest &request)const;
void addGtmAddressPoolAsync(const Model::AddGtmAddressPoolRequest& request, const AddGtmAddressPoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddGtmAddressPoolOutcomeCallable addGtmAddressPoolCallable(const Model::AddGtmAddressPoolRequest& request) const;
DeleteSubDomainRecordsOutcome deleteSubDomainRecords(const Model::DeleteSubDomainRecordsRequest &request)const;
void deleteSubDomainRecordsAsync(const Model::DeleteSubDomainRecordsRequest& request, const DeleteSubDomainRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSubDomainRecordsOutcomeCallable deleteSubDomainRecordsCallable(const Model::DeleteSubDomainRecordsRequest& request) const;
UpdateGtmMonitorOutcome updateGtmMonitor(const Model::UpdateGtmMonitorRequest &request)const;
void updateGtmMonitorAsync(const Model::UpdateGtmMonitorRequest& request, const UpdateGtmMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateGtmMonitorOutcomeCallable updateGtmMonitorCallable(const Model::UpdateGtmMonitorRequest& request) const;
DescribeDomainNsOutcome describeDomainNs(const Model::DescribeDomainNsRequest &request)const;
void describeDomainNsAsync(const Model::DescribeDomainNsRequest& request, const DescribeDomainNsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainNsOutcomeCallable describeDomainNsCallable(const Model::DescribeDomainNsRequest& request) const;
SetDNSSLBStatusOutcome setDNSSLBStatus(const Model::SetDNSSLBStatusRequest &request)const;
void setDNSSLBStatusAsync(const Model::SetDNSSLBStatusRequest& request, const SetDNSSLBStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDNSSLBStatusOutcomeCallable setDNSSLBStatusCallable(const Model::SetDNSSLBStatusRequest& request) const;
DescribeGtmAccessStrategyAvailableConfigOutcome describeGtmAccessStrategyAvailableConfig(const Model::DescribeGtmAccessStrategyAvailableConfigRequest &request)const;
void describeGtmAccessStrategyAvailableConfigAsync(const Model::DescribeGtmAccessStrategyAvailableConfigRequest& request, const DescribeGtmAccessStrategyAvailableConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGtmAccessStrategyAvailableConfigOutcomeCallable describeGtmAccessStrategyAvailableConfigCallable(const Model::DescribeGtmAccessStrategyAvailableConfigRequest& request) const;
DescribeGtmMonitorConfigOutcome describeGtmMonitorConfig(const Model::DescribeGtmMonitorConfigRequest &request)const;
void describeGtmMonitorConfigAsync(const Model::DescribeGtmMonitorConfigRequest& request, const DescribeGtmMonitorConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGtmMonitorConfigOutcomeCallable describeGtmMonitorConfigCallable(const Model::DescribeGtmMonitorConfigRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_ALIDNS_ALIDNSCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_ALIDNSEXPORT_H_
#define ALIBABACLOUD_ALIDNS_ALIDNSEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_ALIDNS_LIBRARY)
# define ALIBABACLOUD_ALIDNS_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_ALIDNS_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_ALIDNS_EXPORT
#endif
#endif // !ALIBABACLOUD_ALIDNS_ALIDNSEXPORT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINGROUPREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT AddDomainGroupRequest : public RpcServiceRequest
{
public:
AddDomainGroupRequest();
~AddDomainGroupRequest();
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string userClientIp_;
std::string lang_;
std::string groupName_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINGROUPREQUEST_H_

View File

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

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRECORDREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT AddDomainRecordRequest : public RpcServiceRequest
{
public:
AddDomainRecordRequest();
~AddDomainRecordRequest();
std::string getRR()const;
void setRR(const std::string& rR);
std::string getLine()const;
void setLine(const std::string& line);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getType()const;
void setType(const std::string& type);
long getPriority()const;
void setPriority(long priority);
std::string getValue()const;
void setValue(const std::string& value);
long getTTL()const;
void setTTL(long tTL);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string rR_;
std::string line_;
std::string userClientIp_;
std::string domainName_;
std::string lang_;
std::string type_;
long priority_;
std::string value_;
long tTL_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRECORDREQUEST_H_

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT AddDomainRequest : public RpcServiceRequest
{
public:
AddDomainRequest();
~AddDomainRequest();
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string groupId_;
std::string domainName_;
std::string lang_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT AddDomainResult : public ServiceResult
{
public:
AddDomainResult();
explicit AddDomainResult(const std::string &payload);
~AddDomainResult();
std::string getGroupName()const;
std::string getDomainId()const;
std::string getDomainName()const;
std::string getPunyCode()const;
std::vector<std::string> getDnsServers()const;
std::string getGroupId()const;
protected:
void parse(const std::string &payload);
private:
std::string groupName_;
std::string domainId_;
std::string domainName_;
std::string punyCode_;
std::vector<std::string> dnsServers_;
std::string groupId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDGTMACCESSSTRATEGYREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_ADDGTMACCESSSTRATEGYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT AddGtmAccessStrategyRequest : public RpcServiceRequest
{
public:
AddGtmAccessStrategyRequest();
~AddGtmAccessStrategyRequest();
std::string getStrategyName()const;
void setStrategyName(const std::string& strategyName);
std::string getDefaultAddrPoolId()const;
void setDefaultAddrPoolId(const std::string& defaultAddrPoolId);
std::string getAccessLines()const;
void setAccessLines(const std::string& accessLines);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFailoverAddrPoolId()const;
void setFailoverAddrPoolId(const std::string& failoverAddrPoolId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string strategyName_;
std::string defaultAddrPoolId_;
std::string accessLines_;
std::string instanceId_;
std::string failoverAddrPoolId_;
std::string userClientIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDGTMACCESSSTRATEGYREQUEST_H_

View File

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

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDGTMADDRESSPOOLREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_ADDGTMADDRESSPOOLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT AddGtmAddressPoolRequest : public RpcServiceRequest
{
struct Addr
{
std::string mode;
int lbaWeight;
std::string value;
};
public:
AddGtmAddressPoolRequest();
~AddGtmAddressPoolRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getName()const;
void setName(const std::string& name);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getType()const;
void setType(const std::string& type);
std::vector<Addr> getAddr()const;
void setAddr(const std::vector<Addr>& addr);
int getMinAvailableAddrNum()const;
void setMinAvailableAddrNum(int minAvailableAddrNum);
private:
std::string instanceId_;
std::string userClientIp_;
std::string name_;
std::string lang_;
std::string type_;
std::vector<Addr> addr_;
int minAvailableAddrNum_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDGTMADDRESSPOOLREQUEST_H_

View File

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

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDGTMMONITORREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_ADDGTMMONITORREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT AddGtmMonitorRequest : public RpcServiceRequest
{
struct IspCityNode
{
std::string cityCode;
std::string ispCode;
};
public:
AddGtmMonitorRequest();
~AddGtmMonitorRequest();
std::string getMonitorExtendInfo()const;
void setMonitorExtendInfo(const std::string& monitorExtendInfo);
std::string getAddrPoolId()const;
void setAddrPoolId(const std::string& addrPoolId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getName()const;
void setName(const std::string& name);
int getEvaluationCount()const;
void setEvaluationCount(int evaluationCount);
std::string getProtocolType()const;
void setProtocolType(const std::string& protocolType);
int getInterval()const;
void setInterval(int interval);
std::string getLang()const;
void setLang(const std::string& lang);
int getTimeout()const;
void setTimeout(int timeout);
std::vector<IspCityNode> getIspCityNode()const;
void setIspCityNode(const std::vector<IspCityNode>& ispCityNode);
private:
std::string monitorExtendInfo_;
std::string addrPoolId_;
std::string userClientIp_;
std::string name_;
int evaluationCount_;
std::string protocolType_;
int interval_;
std::string lang_;
int timeout_;
std::vector<IspCityNode> ispCityNode_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDGTMMONITORREQUEST_H_

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINGROUPREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT ChangeDomainGroupRequest : public RpcServiceRequest
{
public:
ChangeDomainGroupRequest();
~ChangeDomainGroupRequest();
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string groupId_;
std::string userClientIp_;
std::string domainName_;
std::string lang_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINGROUPREQUEST_H_

View File

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

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINOFDNSPRODUCTREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINOFDNSPRODUCTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT ChangeDomainOfDnsProductRequest : public RpcServiceRequest
{
public:
ChangeDomainOfDnsProductRequest();
~ChangeDomainOfDnsProductRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getNewDomain()const;
void setNewDomain(const std::string& newDomain);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
bool getForce()const;
void setForce(bool force);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string newDomain_;
std::string userClientIp_;
bool force_;
std::string lang_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINOFDNSPRODUCTREQUEST_H_

View File

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

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT CheckDomainRecordRequest : public RpcServiceRequest
{
public:
CheckDomainRecordRequest();
~CheckDomainRecordRequest();
std::string getRR()const;
void setRR(const std::string& rR);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getType()const;
void setType(const std::string& type);
std::string getValue()const;
void setValue(const std::string& value);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string rR_;
std::string userClientIp_;
std::string domainName_;
std::string lang_;
std::string type_;
std::string value_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDREQUEST_H_

View File

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

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_CREATEINSTANCEREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_CREATEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT CreateInstanceRequest : public RpcServiceRequest
{
public:
CreateInstanceRequest();
~CreateInstanceRequest();
int getMonth()const;
void setMonth(int month);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getInstanceVersion()const;
void setInstanceVersion(const std::string& instanceVersion);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getToken()const;
void setToken(const std::string& token);
private:
int month_;
std::string userClientIp_;
std::string domainName_;
std::string lang_;
std::string instanceVersion_;
long ownerId_;
std::string accessKeyId_;
std::string token_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_CREATEINSTANCEREQUEST_H_

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