Compare commits

..

320 Commits

Author SHA1 Message Date
sdk-team
d28ae22685 Supported OpenAPI for SDK. 2020-12-02 03:19:22 +00:00
sdk-team
d5ce9f9cf5 Release ColorizeImage. 2020-12-02 02:39:42 +00:00
sdk-team
a5a458ce5d Release MergeVideoFace EnhanceVideoQuality. 2020-12-02 02:32:17 +00:00
sdk-team
8fa8ae49c7 Update SegmentHead. 2020-12-02 02:14:01 +00:00
sdk-team
2e5d882484 Add task api. 2020-12-01 12:31:06 +00:00
sdk-team
c867781e78 Add task api. 2020-12-01 11:55:57 +00:00
sdk-team
ea23aa89b7 Fixed bugs for CCC. 2020-12-01 08:15:17 +00:00
sdk-team
423fdd2fe5 Supported Open Api. 2020-12-01 03:46:47 +00:00
sdk-team
6e6f773341 Update SetVideoSeekConfig. 2020-11-30 10:46:40 +00:00
sdk-team
23c225f501 Update DescribeScdnDomainCertificateInfo. 2020-11-30 10:34:14 +00:00
sdk-team
3cba22152a Update SetVideoSeekConfig. 2020-11-30 10:33:31 +00:00
sdk-team
f1590ff81a Add OpenARMS api. 2020-11-30 09:08:10 +00:00
sdk-team
032ffdc520 Support autoPtovisioning whth DiskConfigs. 2020-11-30 08:02:40 +00:00
sdk-team
61acf6ad90 Update OpenDcdnService. 2020-11-30 07:25:16 +00:00
sdk-team
9052652131 Add SourceType for severless instance. 2020-11-30 07:09:59 +00:00
sdk-team
934e283efb Video Content analytics template introduced to this SDK. 2020-11-30 05:38:29 +00:00
sdk-team
c9bc61a9df Supported all language sdk. 2020-11-30 02:40:55 +00:00
sdk-team
e12cedf04a Update OpenDcdnService. 2020-11-30 02:36:38 +00:00
sdk-team
843a2c0be7 Support CPP and Go and PHP. 2020-11-29 16:03:35 +00:00
sdk-team
060788e017 Public. 2020-11-28 05:08:33 +00:00
sdk-team
49a237e426 Supported all language sdk. 2020-11-27 10:34:24 +00:00
sdk-team
9663b548cf Supported all language sdk. 2020-11-27 09:58:46 +00:00
sdk-team
c68f639be4 Generated 2018-01-11 for rtc. 2020-11-27 09:23:35 +00:00
sdk-team
3c991c9ca9 Add Certificate Manager Api. 2020-11-27 02:44:58 +00:00
sdk-team
8fdebda354 Support taskList. 2020-11-27 02:44:08 +00:00
sdk-team
b176afa994 ContrastFaceVerify Support Video. 2020-11-26 12:36:21 +00:00
sdk-team
2f2b5d5ffe Generated 2020-07-06, 2017-12-04 for Actiontrail. 2020-11-26 08:36:15 +00:00
sdk-team
ddc7e6e035 Generated 2020-07-06 for Actiontrail. 2020-11-26 08:28:55 +00:00
sdk-team
f937d7b2e5 Add tags api, include GetRepositoryTag, ListRepositoryTags, DeleteRepositoryTag. 2020-11-26 02:21:41 +00:00
sdk-team
5ae199177a Update DescribeScdnDomainCertificateInfo. 2020-11-25 08:35:15 +00:00
sdk-team
17a893fab4 Update SetVideoSeekConfig. 2020-11-25 08:32:35 +00:00
sdk-team
59fadb7eb2 Support DescribeDBClusterVersion. 2020-11-25 03:43:44 +00:00
sdk-team
efdcf35422 Add extension field for image translation. 2020-11-25 03:21:56 +00:00
sdk-team
4a101f7934 Supported Primary NetworkInterface IP for API DescribeInstances. 2020-11-25 02:37:28 +00:00
sdk-team
0e8ddb7c12 Create TSDB Open api. 2020-11-24 12:42:21 +00:00
sdk-team
830db8c54b Create TSDB Open api. 2020-11-24 12:34:23 +00:00
sdk-team
497a6c2290 Create lindorm Open api. 2020-11-24 12:25:23 +00:00
sdk-team
133087387b Create lindorm Open api. 2020-11-24 12:21:04 +00:00
sdk-team
df2d0d89e1 Update SearchFace. 2020-11-24 11:07:13 +00:00
sdk-team
42b2b25562 Generated 2020-01-01 for ddoscoo. 2020-11-24 02:37:32 +00:00
sdk-team
c2e912302d Supported multiple Language. 2020-11-23 03:14:15 +00:00
sdk-team
70ddae4685 Add LivenessDetect API. 2020-11-23 03:12:35 +00:00
sdk-team
b1e826e6d7 DescribeClusterConnection. 2020-11-22 06:04:28 +00:00
sdk-team
aca0a3efa8 Support ListExecutions with filter functionality. 2020-11-20 11:02:53 +00:00
sdk-team
98c36e9bab Public beta version. 2020-11-20 08:36:57 +00:00
sdk-team
b84d1c59fa Update DetectFace. 2020-11-20 06:18:11 +00:00
sdk-team
c2dc12f92b Add a new interface for asynchronous image translation. 2020-11-20 06:16:26 +00:00
wb-hx510875
efb0804bf2 fix: RRpcResult messageId type
fix #119
2020-11-20 10:49:28 +08:00
sdk-team
0e778cd17c Generated 2019-09-10 for waf-openapi. 2020-11-20 02:15:46 +00:00
sdk-team
78d79a3d5b Update DescribeDedicatedClusterInstanceList return data. 2020-11-19 10:07:52 +00:00
sdk-team
5a1415f6e3 Update data API. 2020-11-19 07:38:26 +00:00
sdk-team
7f24d410fd Update data API. 2020-11-19 07:31:39 +00:00
sdk-team
de9c7e0bd2 Update GenerateHumanAnimeStyle. 2020-11-19 02:10:10 +00:00
sdk-team
9d2395215f Update SegmentBody. 2020-11-19 02:08:36 +00:00
sdk-team
757d3d8922 Supported backend interface for ICBU. 2020-11-19 01:57:32 +00:00
sdk-team
a0af363375 DescribeInstance support coldStorageSize. 2020-11-18 11:43:57 +00:00
sdk-team
a76d21c518 Update DescribeDedicatedClusterInstanceList InstanceStatus type. 2020-11-18 10:24:00 +00:00
sdk-team
b04b7f6033 Generated 2018-01-11 for rtc. 2020-11-18 09:27:56 +00:00
sdk-team
a3f2125666 Supported webpage scan. 2020-11-18 02:41:33 +00:00
sdk-team
2a0fc860e2 Support event type in timeline of resource properties. 2020-11-17 10:35:28 +00:00
sdk-team
4dea5b58b8 Support ModifyDBClusterPrimaryZone. 2020-11-17 09:16:08 +00:00
sdk-team
d6ea0cf35d Supported International-26888 Sites Region Endpoints. 2020-11-17 03:58:02 +00:00
sdk-team
f66ec181b6 Supported International-26888 Sites Region Endpoints. 2020-11-17 03:44:13 +00:00
sdk-team
db4cdcbeb0 Nat public IP supports the ISP attribute. 2020-11-16 09:55:53 +00:00
sdk-team
80fbf35ea7 Add a new interface for asynchronous image translation. 2020-11-16 08:05:20 +00:00
sdk-team
5c14e9a77f Update videoenhan. 2020-11-16 03:11:25 +00:00
sdk-team
528d90a5e0 Update videoseg. 2020-11-16 03:10:27 +00:00
sdk-team
fb8137a8d3 Update videorecog. 2020-11-16 03:09:13 +00:00
sdk-team
e54c1961cb Update objectdet. 2020-11-16 02:59:10 +00:00
sdk-team
e7b81546c4 Update imgsearch. 2020-11-16 02:55:38 +00:00
sdk-team
7f711be94a Update imagerecog. 2020-11-16 02:47:26 +00:00
sdk-team
b5e667c1d7 Update goodstech. 2020-11-16 02:36:26 +00:00
sdk-team
2d9dc66719 Update Imageaudit. 2020-11-13 09:47:30 +00:00
sdk-team
97fa00faef Add DeccribeEngineVersion DescribeTasks DescribeInstanceConfig and more APIs. 2020-11-13 09:37:47 +00:00
sdk-team
630656ce24 Fix GetBranchInfo and DeleteBranch API 404 error. 2020-11-13 06:29:26 +00:00
sdk-team
f3b00eade0 Release ErasePerson. 2020-11-13 06:23:02 +00:00
sdk-team
02122aa7ea Release DetectCardScreenshot RecognizePoiName. 2020-11-13 06:21:27 +00:00
sdk-team
67d6a5f9d4 Release GenerateHumanAnimeStyle CountCrowd. 2020-11-13 06:14:56 +00:00
sdk-team
a15a171b2d Release SegmentHDSky SegmentHDCommonImage. 2020-11-13 06:12:31 +00:00
sdk-team
9d980b6731 Support drm. 2020-11-12 11:39:38 +00:00
sdk-team
d6aeb545bc Generated 2019-06-01 for smc. 2020-11-12 07:58:51 +00:00
sdk-team
6217773578 Update new version. 2020-11-12 06:06:17 +00:00
sdk-team
cb2d0e9b5d Support DescribeDBClusterTDE. 2020-11-12 03:13:57 +00:00
sdk-team
2ee11b248a Supported Open Api. 2020-11-12 02:45:42 +00:00
sdk-team
28e491ccfd Support OpenAPI. 2020-11-12 02:39:00 +00:00
sdk-team
5fa60dfc8c Update DescribeTrails Response. 2020-11-12 01:22:52 +00:00
wb-hx510875
653f3e596c regenerate the rds c++ sdk. 2020-11-11 11:24:43 +08:00
sdk-team
9e171f2b3a Support modifyInstnaceType. 2020-11-05 05:55:39 +00:00
sdk-team
9dfe90ab37 Generated 2019-01-01 for Cassandra. 2020-11-04 10:04:57 +00:00
sdk-team
5f619b53a5 Support modifyInstnaceType. 2020-11-04 10:04:31 +00:00
sdk-team
32c8bd10fc Generated 2019-01-01 for Cassandra. 2020-11-04 09:54:58 +00:00
sdk-team
7855593ebb Support modifyInstnaceType. 2020-11-04 09:54:01 +00:00
sdk-team
87515e7ea9 Minor update for r-kvstore. 2020-11-03 14:00:54 +00:00
sdk-team
a3d771af9b Update data API. 2020-11-03 02:01:22 +00:00
sdk-team
445d5ca242 Support create serverless by day price type. 2020-11-02 02:41:02 +00:00
sdk-team
bb42c9c351 Supported All Console APIs. 2020-11-01 17:44:33 +00:00
sdk-team
5f2a993b52 Support GetParameters, GetParametersByPath, GetSecretParameters, GetSecretParametersByPath. 2020-10-28 09:50:13 +00:00
sdk-team
7fd0c7bf01 Supported all language sdk. 2020-10-28 02:54:32 +00:00
sdk-team
f76139580d Supported golang sdk. 2020-10-28 02:52:15 +00:00
sdk-team
444bea3a37 Support DescribePendingMaintenanceAction. 2020-10-27 09:44:40 +00:00
sdk-team
6a7977923c Generated 2020-05-18 for dataworks-public. 2020-10-27 06:54:23 +00:00
sdk-team
b4903d0fd0 Support Sampling for jaeger. 2020-10-27 03:05:56 +00:00
sdk-team
838459913d Fix bug. 2020-10-27 02:42:24 +00:00
sdk-team
d689d06eb7 Add role authority management. 2020-10-27 02:33:55 +00:00
sdk-team
dcb1633973 Generated 2014-05-26 for Ecs. 2020-10-26 14:44:03 +00:00
sdk-team
a180b00ed8 Generated 2016-11-01 for live. 2020-10-26 09:29:39 +00:00
sdk-team
0ccab36f2f Supported PaymentType for DescribeDnsProductInstance. 2020-10-26 07:48:21 +00:00
sdk-team
cc8cf316cd Update ScalingConfig parameters. 2020-10-26 07:45:33 +00:00
sdk-team
1908e64fa6 Change Configuration. 2020-10-23 09:52:11 +00:00
sdk-team
8f6d6d4d1d Update DetectLungNodule. 2020-10-23 06:45:18 +00:00
sdk-team
e5ea19cdfb Support feedback. 2020-10-23 03:01:46 +00:00
sdk-team
55c7cdde91 Add Pipeline Member api. 2020-10-22 12:00:10 +00:00
sdk-team
836913a2a9 Update data API. 2020-10-22 11:03:56 +00:00
sdk-team
b34cb31a9a Update cert API. 2020-10-22 10:58:21 +00:00
sdk-team
8ef1e983c1 Update data API. 2020-10-22 10:57:52 +00:00
sdk-team
3845e06de3 DescribeAvailableResource support AcceptLanguage. 2020-10-21 12:31:56 +00:00
sdk-team
a349057ec2 Change Documentation configuration. 2020-10-21 10:10:32 +00:00
sdk-team
0cf373bc60 Cloud Storage Gateway openapi sdk is released. 2020-10-21 08:58:16 +00:00
sdk-team
1309d87fdb Release latest features. 2020-10-21 07:56:30 +00:00
sdk-team
a46f82a069 Change Documentation configuration. 2020-10-21 07:28:26 +00:00
sdk-team
b7d2e0b4a6 Change Documentation configuration. 2020-10-21 05:57:59 +00:00
sdk-team
6eacc742a1 Update cert API. 2020-10-21 02:08:30 +00:00
sdk-team
3c4d33ab51 Add PHP sdk. 2020-10-21 02:07:37 +00:00
sdk-team
cf6cbae712 Update Scdn API. 2020-10-21 02:06:58 +00:00
sdk-team
6dc38f165b Support modifyInstnaceType. 2020-10-20 13:23:52 +00:00
sdk-team
6393d2204b Add LivenessFaceVerify API. 2020-10-20 11:02:14 +00:00
sdk-team
f4138c76d6 Update Configuration. 2020-10-20 09:49:03 +00:00
sdk-team
d7a89ac3dc Add isv interface. 2020-10-20 07:51:00 +00:00
sdk-team
b98f01cab4 Generated 2016-11-01 for live. 2020-10-20 01:10:27 +00:00
sdk-team
675ab8f60f Add a new interface for asynchronous image translation. 2020-10-19 12:14:21 +00:00
sdk-team
9fd70bc2bf Metering 1019. 2020-10-19 09:09:57 +00:00
wb-hx510875
ee91c28732 fix: set http body with body parameters 2020-10-19 11:35:25 +08:00
sdk-team
ec9ecb41d2 Metering 1019. 2020-10-19 02:08:09 +00:00
sdk-team
272e447860 Metering 1019. 2020-10-19 02:01:12 +00:00
sdk-team
3af83f0124 Metering. 2020-10-17 12:39:03 +00:00
sdk-team
2f31a44faf Metering. 2020-10-17 03:02:33 +00:00
sdk-team
512b1bb5c5 Metering. 2020-10-16 15:46:32 +00:00
sdk-team
564c05144a Metering. 2020-10-16 15:01:41 +00:00
sdk-team
8aa1d22f90 Metering. 2020-10-16 14:47:58 +00:00
sdk-team
14ebba9911 Metering. 2020-10-16 14:25:12 +00:00
sdk-team
38438abdfb Supported AndroidNotificationNotifyId for Push and MassPush. 2020-10-16 08:29:54 +00:00
sdk-team
e72934f959 Support create for serverlesshbase. 2020-10-16 08:14:07 +00:00
wb-hx510875
076ff65f85 fix: set content-type default header 2020-10-16 10:52:14 +08:00
sdk-team
1fb31c98d9 Update cert API. 2020-10-16 01:44:01 +00:00
sdk-team
d704ed0f33 Update cert API. 2020-10-16 01:38:46 +00:00
wb-hx510875
b0fe238f34 fix: set content-md5 header when content is empty 2020-10-15 18:13:43 +08:00
sdk-team
17022a6777 Supported TAG APIs. 2020-10-15 09:07:42 +00:00
sdk-team
62a9619911 Add SaveTraceAppConfig api. 2020-10-15 09:04:02 +00:00
sdk-team
4da74afbab Generated 2018-06-01 for dataworks-public. 2020-10-15 07:28:15 +00:00
sdk-team
5c2b2e4afc Generated 2018-06-01 for dataworks-public. 2020-10-15 07:22:03 +00:00
sdk-team
72d59ded68 Generated 2014-05-26 for Ecs. 2020-10-14 14:41:31 +00:00
sdk-team
b5c0b83b02 ListActionData add parameters. 2020-10-13 08:48:43 +00:00
sdk-team
1abc39e9d1 Generated 2018-01-11 for rtc. 2020-10-13 07:49:47 +00:00
sdk-team
65262923e4 Release DetectSkinDisease RunMedQA. 2020-10-13 03:06:51 +00:00
sdk-team
4830e8821e Generated 2016-11-01 for live. 2020-10-13 03:06:08 +00:00
sdk-team
1a9c4d4d9c Generated 2018-01-11 for rtc. 2020-10-13 03:04:16 +00:00
sdk-team
c707baa95b Generated 2018-12-12 for vs. 2020-10-13 03:03:11 +00:00
sdk-team
5d7d320deb Release PedestrianDetectAttribute. 2020-10-13 03:01:48 +00:00
sdk-team
96b3defcc9 Release GenerateDynamicImage. 2020-10-13 02:45:13 +00:00
sdk-team
134828d83c Generated 2019-01-01 for Cassandra. 2020-10-13 02:40:57 +00:00
sdk-team
2f33b44e80 Release SegmentSkin. 2020-10-13 02:12:54 +00:00
sdk-team
90802f9197 Support add webhook, get repository info via id or path. 2020-10-12 10:08:08 +00:00
sdk-team
f5fe7fb428 Public beta version. 2020-10-12 08:50:53 +00:00
wb-hx510875
f5057db511 doc : add Troubleshoot 2020-10-12 16:39:22 +08:00
sdk-team
897ff18471 Public beta version. 2020-10-12 07:55:48 +00:00
sdk-team
a15ee90c20 Supported ApproveOrder to add comment message. 2020-10-12 07:07:42 +00:00
sdk-team
11024b7871 Add list Organizations. 2020-10-12 05:19:10 +00:00
sdk-team
37fea59cb0 Init. 2020-10-12 02:41:02 +00:00
sdk-team
05785cf5fd ChatApp third version. 2020-10-12 01:52:38 +00:00
sdk-team
15b4e73175 Update Scdn API. 2020-10-09 07:40:30 +00:00
sdk-team
e1f296f89d Update DescribeCdnUserBillHistory API. 2020-10-09 06:46:57 +00:00
sdk-team
8615dbe002 Update SetVideoSeekConfig API. 2020-10-09 02:45:24 +00:00
sdk-team
8fd81bf1dd Add API OpenOnsService which can active ons service. 2020-09-29 13:19:22 +00:00
sdk-team
88f0753937 Add API OpenOnsService which can active ons service. 2020-09-29 11:12:25 +00:00
sdk-team
c93100c1b5 Update CalcCACS. 2020-09-29 10:04:38 +00:00
sdk-team
c5dd7f096e Add API OpenOnsService which can active ons service. 2020-09-29 09:46:01 +00:00
sdk-team
e3b1009a94 Add API OpenOnsService which can active ons service. 2020-09-29 08:44:45 +00:00
sdk-team
37c044aa31 Supported regional API. 2020-09-29 07:23:09 +00:00
sdk-team
5aead39d0e Update Scdn API. 2020-09-28 16:29:31 +00:00
sdk-team
b9a7e15af4 Support for resize hbaseue multi-zone cluster. 2020-09-28 14:27:27 +00:00
sdk-team
60799e2b22 Support filtering keys and secrets. 2020-09-28 05:07:41 +00:00
sdk-team
d4c20caaed Update domain API. 2020-09-27 09:31:12 +00:00
sdk-team
f2caf37a92 Update domain API. 2020-09-27 09:25:54 +00:00
sdk-team
b31d71fa81 Support Open Service API. 2020-09-27 02:38:25 +00:00
sdk-team
7ee07b8331 DescribeAvailableResource support list available resource for modify instance. 2020-09-27 01:58:53 +00:00
sdk-team
cfb09d135f Public beta version. 2020-09-25 02:09:32 +00:00
sdk-team
c1b1b41108 Public beta version. 2020-09-25 01:47:01 +00:00
sdk-team
08b2ac884b Support create for serverlesshbase. 2020-09-24 13:40:31 +00:00
sdk-team
84a2c24970 ContrastFaceVerify API Add Model Parameter. 2020-09-24 07:54:40 +00:00
sdk-team
d088239972 Add a new api named SubmitAIImageAuditJob to submit image ai detection job. 2020-09-24 03:24:57 +00:00
sdk-team
f014392806 Add spotDuration support. 2020-09-23 09:45:22 +00:00
sdk-team
9290117d12 Some new parameters are supported. 2020-09-23 07:32:10 +00:00
sdk-team
99236bb124 Update domain API. 2020-09-23 03:11:06 +00:00
sdk-team
4595bf16e1 Update Scdn API. 2020-09-23 03:06:46 +00:00
sdk-team
152b44dbed Sync cdn APIs. 2020-09-23 02:50:08 +00:00
sdk-team
9535455a22 DescribePrice update amount type to string. 2020-09-22 02:05:15 +00:00
sdk-team
2de19aea44 Generated 2019-03-08 for ivision. 2020-09-22 02:02:07 +00:00
sdk-team
23cb861a2f Generated 2018-01-11 for rtc. 2020-09-22 01:59:10 +00:00
sdk-team
2123976cc2 Generated 2018-12-12 for vs. 2020-09-22 01:54:19 +00:00
sdk-team
7097cf0d88 Generated 2016-11-01 for live. 2020-09-22 01:53:20 +00:00
sdk-team
dd1d0e5359 Interface add column wordCount. 2020-09-21 08:33:16 +00:00
sdk-team
3823d5045a Add search object. 2020-09-21 01:38:33 +00:00
sdk-team
80e095a3fc Add describe devices to return device status. 2020-09-20 13:02:30 +00:00
sdk-team
c12d0267d7 Add describe devices to return device status. 2020-09-20 12:12:16 +00:00
sdk-team
d69766bdfd Support query user tenant list and current active tenant. 2020-09-19 07:29:55 +00:00
sdk-team
7ac1c23a9f Update DetectLungNodule, DetectSpineMRI, DetectKneeXRay, DetectCovid19Cad. 2020-09-18 08:48:48 +00:00
sdk-team
088c3010cd Add Api DetectIPCPedestrianOptimized. 2020-09-17 16:57:51 +00:00
sdk-team
5c7994cbcb Add Api DetectIPCPedestrianOptimized. 2020-09-17 16:37:37 +00:00
sdk-team
3fc73ce0c4 GetTitleIntelligence add interface. 2020-09-17 11:57:26 +00:00
sdk-team
aa99d784f0 Fix endpoint. 2020-09-17 09:44:49 +00:00
sdk-team
f82391b140 Add Content. 2020-09-16 01:31:22 +00:00
sdk-team
c920c94335 Add describe devices to return device status. 2020-09-15 03:07:47 +00:00
wb-hx510875
d7f985a33b Adding some request header
when constructing request
2020-09-14 14:21:49 +08:00
sdk-team
7db054750e Support corp name search. 2020-09-14 02:30:34 +00:00
sdk-team
73412a8d8d Support corp name search. 2020-09-14 02:24:32 +00:00
sdk-team
51f047d6f3 Support execute database script via open api. 2020-09-11 03:24:25 +00:00
sdk-team
2d5bf1dbd8 Add DisableBackupLog. 2020-09-10 07:25:08 +00:00
sdk-team
a60cd6a5ae Update HasRenewChangeOrder type to Boolean in DescribeInstances. 2020-09-10 06:49:15 +00:00
sdk-team
59dbc66bfe Add support cn-beijing service region. 2020-09-09 16:41:12 +00:00
sdk-team
d6292fe40b Release ChangeSky. 2020-09-09 11:48:18 +00:00
sdk-team
061f62c362 Release DetectChefCap. 2020-09-09 09:02:34 +00:00
sdk-team
a3ccdb3f65 Release DetectKneeKeypointXRay, DetectHipKeypointXRay, CalcCACS, RunCTRegistration, ClassifyFNF. 2020-09-09 07:48:43 +00:00
sdk-team
565bfada36 Supported backend interface for ICBU. 2020-09-08 08:39:04 +00:00
sdk-team
716769a300 Add DescribeActiveOperationTask. 2020-09-08 06:10:22 +00:00
sdk-team
c4348c87cb Modify CreateAsyncPredict add new parameters. 2020-09-08 03:28:20 +00:00
sdk-team
d3ce4be157 Support parameter APIs. 2020-09-07 11:13:16 +00:00
sdk-team
05e5980ef3 Add describes devices API. 2020-09-07 07:23:58 +00:00
sdk-team
7cf2b932e7 Add describes devices API. 2020-09-07 07:16:31 +00:00
sdk-team
c056e54eae Add describes devices API. 2020-09-07 06:51:47 +00:00
sdk-team
04cce0ba30 Add describes devices API. 2020-09-07 03:37:21 +00:00
sdk-team
c5b68d7ead Add describes devices API. 2020-09-07 03:21:11 +00:00
sdk-team
52e7b30f54 Add describes devices API. 2020-09-05 04:05:12 +00:00
sdk-team
98ef8c88e8 Sync cdn APIs. 2020-09-04 09:19:24 +00:00
sdk-team
8f2290c159 Update Scdn API. 2020-09-04 09:19:03 +00:00
sdk-team
a264cee31b Update domain API. 2020-09-04 09:18:17 +00:00
sdk-team
ebdf18def1 Add GetImageQuality API. 2020-09-04 09:04:23 +00:00
sdk-team
5a6bd32d63 DescribeCameraStatistics add parameters. 2020-09-03 10:57:01 +08:00
sdk-team
86f01c44a8 Support sg for ml region. 2020-09-02 21:43:23 +08:00
sdk-team
a69c540c10 ChatApp second version. 2020-09-02 16:35:44 +08:00
sdk-team
60ea8efd1a Supported AndroidNotificationHuaweiChannel for Push and MassPush. 2020-09-02 10:33:02 +08:00
sdk-team
20e471c41f Supported AndroidNotificationHuaweiChannel for Push and MassPush. 2020-09-02 10:14:43 +08:00
sdk-team
dbb5d5f56d Add Smart Verify API. 2020-09-01 22:56:47 +08:00
sdk-team
68f2493757 Support region route. 2020-09-01 17:40:30 +08:00
sdk-team
ff645a988c Support region route. 2020-09-01 17:30:23 +08:00
sdk-team
151822de9a Update Parameter. 2020-09-01 14:32:53 +08:00
sdk-team
793abf30f9 Support PersonList. 2020-08-31 23:48:06 +08:00
sdk-team
c0045d1c32 GetPersonList Support LastShotTime. 2020-08-31 20:48:22 +08:00
sdk-team
43f0c30248 Support config resource recorder deliverychannel rule. 2020-08-31 17:45:02 +08:00
sdk-team
dff2b43722 Supported AAA for BBB. 2020-08-31 17:41:51 +08:00
sdk-team
090d6da253 Support config resource recorder deliverychannel rule. 2020-08-31 17:31:21 +08:00
sdk-team
bd85a14b02 Supported AAA for BBB. 2020-08-31 17:25:48 +08:00
sdk-team
30c9817822 Supported AAA for BBB. 2020-08-31 16:43:30 +08:00
sdk-team
8f847b0f5d Add list person visit count API. 2020-08-31 14:59:09 +08:00
sdk-team
1dcf6cb7f3 Add name. 2020-08-28 19:50:05 +08:00
sdk-team
b5790be0db Support multiple security group for one ehpc cluster. 2020-08-28 17:29:39 +08:00
sdk-team
371081045a Supported Add GetAlgorithmHistoryResult. 2020-08-28 12:05:15 +08:00
sdk-team
480c9b3700 Update parameter. 2020-08-27 17:21:51 +08:00
sdk-team
72ca50ab65 Release ExtractPedestrianFeatureAttribute and BlurFace. 2020-08-25 15:23:53 +08:00
sdk-team
34747e61fe Add list person visit count API. 2020-08-25 14:14:47 +08:00
sdk-team
b6697980bc Video Content analytics template introduced to this SDK. 2020-08-25 12:59:18 +08:00
sdk-team
e3e5a0ff42 Change DeviceSerialNumber to DeviceSn in API RegisterDevice. 2020-08-25 00:12:21 +08:00
sdk-team
3c1c245147 Change DeviceSerialNumber to DeviceSn in API RegisterDevice. 2020-08-24 19:44:12 +08:00
sdk-team
8c27cbdc14 Add project api. 2020-08-24 16:16:02 +08:00
sdk-team
8ac065c14f Edit QueryMetricByPage api. 2020-08-24 11:35:02 +08:00
sdk-team
e68269b045 Add QueryMetricByPage api. 2020-08-21 15:36:11 +08:00
sdk-team
53ac431b11 PullActionData add parameters. 2020-08-20 16:14:12 +08:00
sdk-team
5255330d62 Add list person visit count API. 2020-08-20 12:16:19 +08:00
sdk-team
b9a879f696 Added Global Distribute Cache OpenAPIs. 2020-08-20 10:03:01 +08:00
sdk-team
7ac2669922 Add DescribeLiveDomainCertificateInfo. 2020-08-19 18:02:00 +08:00
sdk-team
9693807164 Generated 2020-08-01 for SmartHosting. 2020-08-19 16:03:11 +08:00
sdk-team
e20435dd22 Support for describe hbaseue multi-zone model. 2020-08-18 15:18:22 +08:00
sdk-team
06eedce285 Support session query operations. 2020-08-18 10:40:40 +08:00
sdk-team
2e76d1dcac Public beta version. 2020-08-18 09:54:43 +08:00
sdk-team
e1718ed478 Add list event algorithm details. 2020-08-17 21:04:16 +08:00
sdk-team
56138ffe5e Add list event algorithm details. 2020-08-17 20:22:22 +08:00
sdk-team
e4502cf36b Add GetTrace api. 2020-08-17 19:52:09 +08:00
sdk-team
8d4cff577b Add pipeline status api. 2020-08-17 19:30:47 +08:00
sdk-team
7267430dde Add list event algorithm details. 2020-08-17 15:46:30 +08:00
sdk-team
7163e3a7d5 Add list event algorithm details. 2020-08-17 15:39:35 +08:00
sdk-team
78ca57fe3d Fix create project task. 2020-08-17 13:45:08 +08:00
sdk-team
cff8cc2fce Public beta version. 2020-08-17 09:40:14 +08:00
sdk-team
f5698956a8 Add new tags for corp group. 2020-08-17 09:39:38 +08:00
sdk-team
0acc11e160 Add new tags for corp group. 2020-08-17 09:33:09 +08:00
sdk-team
b3f8f634b5 Add new tags for corp group. 2020-08-16 06:10:13 +08:00
sdk-team
1185622959 Add sdk. 2020-08-14 17:15:54 +08:00
sdk-team
4836dfddfc Supported Api DetectIPCPedestrian. 2020-08-14 16:04:45 +08:00
sdk-team
08e11e9bb0 Supported CheckCloudResourceAuthorized API. 2020-08-14 14:30:34 +08:00
sdk-team
8c4cc55d22 Add project Api. 2020-08-14 14:06:01 +08:00
sdk-team
2191c80b02 Add PipCode and CommodityCode for QueryInstanceBill, QueryBillOverview, QueryBill, QuerySettleBill, QueryAccountBill, QuerySplitItemBill. 2020-08-13 19:11:22 +08:00
sdk-team
22d322118a Release DetectKneeXRay DetectSpineMRI TranslateMed. 2020-08-13 16:55:14 +08:00
sdk-team
1358a6ec39 Release DetectKneeXRay DetectSpineMRI TranslateMed. 2020-08-13 16:49:09 +08:00
sdk-team
41ea6f3a12 Release DetectKneeXRay DetectSpineMRI TranslateMed. 2020-08-13 16:38:17 +08:00
sdk-team
83f2c53623 GetImageTranslate add column orc. 2020-08-13 16:00:15 +08:00
sdk-team
314c523174 DescribePrice update amount parameters type, float to string. 2020-08-13 15:56:17 +08:00
sdk-team
0d054dfb79 Release SegmentHalfBody. 2020-08-13 15:53:06 +08:00
sdk-team
8af4775c5e Release SegmentHalfBody. 2020-08-13 15:41:51 +08:00
sdk-team
2f6b7ad555 Support corp group api. 2020-08-12 18:08:25 +08:00
sdk-team
faf9b3fb11 Add pipeline status api. 2020-08-12 18:00:12 +08:00
sdk-team
6642aa94e5 Generated 2015-01-01 for R-kvstore. 2020-08-12 11:06:05 +08:00
sdk-team
0aa44135e7 Generated 2020-05-18 for dataworks-public. 2020-08-11 19:55:40 +08:00
sdk-team
839effe699 Update DescribeRefreshTask. 2020-08-11 11:44:11 +08:00
sdk-team
4e6956c3f2 Add ResourceGroup in resource snapshot. 2020-08-11 11:31:40 +08:00
sdk-team
1b2fe667ba Generated 2020-05-18 for dataworks-public. 2020-08-10 17:31:34 +08:00
sdk-team
91c8eee22c Add source id for list face detail. 2020-08-10 15:50:28 +08:00
sdk-team
fd4bd1e797 Add extend value for list event detail. 2020-08-10 09:29:21 +08:00
sdk-team
bd27e98c03 Add extend value for list event detail. 2020-08-09 23:28:40 +08:00
sdk-team
3a88e60d04 Update SearchImage. 2020-08-08 17:13:38 +08:00
sdk-team
83bb5be02b GetTitleDiagnose GetTitleGenerate GetImageTranslate supported. 2020-08-07 17:35:54 +08:00
sdk-team
beacaac234 Generated 2020-05-18 for dataworks-public. 2020-08-07 16:43:09 +08:00
sdk-team
52ee14ba5d GetTitleDiagnose GetTitleGenerate GetImageTranslate supported. 2020-08-07 16:09:08 +08:00
sdk-team
b257cba9c3 Add FindServiceList and GetService qps. 2020-08-07 11:54:10 +08:00
sdk-team
55baab421e Add Smart Cloudauth API. 2020-08-06 10:45:10 +08:00
sdk-team
67f50165c9 Update RecognizeTable. 2020-08-04 16:27:21 +08:00
sdk-team
1cce84c75f Add Image Url parameter for invoke motor algorithm. 2020-08-04 09:35:57 +08:00
sdk-team
90e4ddb22a Add source picture url for Monitor. 2020-08-04 09:16:59 +08:00
sdk-team
d412a52735 Add source picture url for Monitor. 2020-08-03 23:41:58 +08:00
sdk-team
2960652dcb Fix Some API Response Define. 2020-08-03 21:09:33 +08:00
sdk-team
48a3320ae9 Add source picture url for Monitor. 2020-08-03 17:40:57 +08:00
sdk-team
60539f067e Add Voice Synchronous Scan API. 2020-08-03 14:28:04 +08:00
sdk-team
d486d13814 Add ExtractPedestrianFeatureAttribute. 2020-08-03 12:03:09 +08:00
8099 changed files with 534072 additions and 20449 deletions

995
CHANGELOG
View File

@@ -1,3 +1,998 @@
2020-12-02 Version: patch
- Supported OpenAPI for SDK.
2020-12-02 Version: patch
- Release ColorizeImage.
2020-12-02 Version: patch
- Release MergeVideoFace EnhanceVideoQuality.
2020-12-02 Version: patch
- Update SegmentHead.
2020-12-01 Version: patch
- Add task api.
2020-12-01 Version: patch
- Add task api.
2020-12-01 Version: patch
- Fixed bugs for CCC.
2020-12-01 Version: patch
- Supported Open Api.
2020-11-30 Version: patch
- Update SetVideoSeekConfig.
2020-11-30 Version: patch
- Update DescribeScdnDomainCertificateInfo.
2020-11-30 Version: patch
- Update SetVideoSeekConfig.
2020-11-30 Version: patch
- Add OpenARMS api.
2020-11-30 Version: patch
- Support autoPtovisioning whth DiskConfigs.
2020-11-30 Version: patch
- Update OpenDcdnService.
2020-11-30 Version: patch
- Add SourceType for severless instance.
2020-11-30 Version: patch
- Video Content analytics template introduced to this SDK.
2020-11-30 Version: patch
- Supported all language sdk.
- Fixed some bugs for polardbx.
2020-11-30 Version: patch
- Update OpenDcdnService.
2020-11-29 Version: patch
- Support CPP and Go and PHP.
2020-11-28 Version: patch
- Public.
2020-11-27 Version: patch
- Supported all language sdk.
- Fixed some bugs for polardbx.
2020-11-27 Version: patch
- Supported all language sdk.
- Fixed some bugs for polardbx.
2020-11-27 Version: patch
- Generated 2018-01-11 for `rtc`.
2020-11-27 Version: patch
- Add Certificate Manager Api.
2020-11-27 Version: patch
- Support taskList.
2020-11-26 Version: patch
- ContrastFaceVerify Support Video.
2020-11-26 Version: patch
- Generated 2020-07-06, 2017-12-04 for `Actiontrail`.
2020-11-26 Version: patch
- Generated 2020-07-06 for `Actiontrail`.
2020-11-26 Version: patch
- Add tags api, include GetRepositoryTag, ListRepositoryTags, DeleteRepositoryTag.
2020-11-25 Version: patch
- Update DescribeScdnDomainCertificateInfo.
2020-11-25 Version: patch
- Update SetVideoSeekConfig.
2020-11-25 Version: patch
- Support DescribeDBClusterVersion.
2020-11-25 Version: patch
- Add extension field for image translation.
2020-11-25 Version: patch
- Supported Primary NetworkInterface IP for API DescribeInstances.
2020-11-24 Version: patch
- Create TSDB Open api.
2020-11-24 Version: patch
- Create TSDB Open api.
2020-11-24 Version: patch
- Create lindorm Open api.
2020-11-24 Version: patch
- Create lindorm Open api.
2020-11-24 Version: patch
- Update SearchFace.
2020-11-24 Version: patch
- Generated 2020-01-01 for `ddoscoo`.
2020-11-23 Version: patch
- Supported multiple Language.
2020-11-23 Version: patch
- Add LivenessDetect API.
2020-11-22 Version: patch
- DescribeClusterConnection.
2020-11-20 Version: patch
- Support ListExecutions with filter functionality.
2020-11-20 Version: patch
- Public beta version.
- Add Api Overseas.
2020-11-20 Version: patch
- Update DetectFace.
- Update RecognizeFace.
2020-11-20 Version: patch
- Add a new interface for asynchronous image translation.
2020-11-20 Version: patch
- Generated 2019-09-10 for `waf-openapi`.
2020-11-19 Version: patch
- Update DescribeDedicatedClusterInstanceList return data.
2020-11-19 Version: patch
- Update data API.
2020-11-19 Version: patch
- Update data API.
2020-11-19 Version: patch
- Update GenerateHumanAnimeStyle.
2020-11-19 Version: patch
- Update SegmentBody.
2020-11-19 Version: patch
- Supported backend interface for ICBU.
2020-11-18 Version: patch
- DescribeInstance support coldStorageSize.
2020-11-18 Version: patch
- Update DescribeDedicatedClusterInstanceList InstanceStatus type.
2020-11-18 Version: patch
- Generated 2018-01-11 for `rtc`.
2020-11-18 Version: patch
- Supported webpage scan.
2020-11-17 Version: patch
- Support event type in timeline of resource properties.
- Support resourceOwnerId in evaluation result.
- Support resource directory in config rule scene.
- Fix terraform related bugs.
2020-11-17 Version: patch
- Support ModifyDBClusterPrimaryZone.
- Support DescribeGlobalDatabaseNetworks.
2020-11-17 Version: patch
- Supported International-26888 Sites Region Endpoints.
2020-11-17 Version: patch
- Supported International-26888 Sites Region Endpoints.
2020-11-16 Version: patch
- Nat public IP supports the ISP attribute.
2020-11-16 Version: patch
- Add a new interface for asynchronous image translation.
2020-11-16 Version: patch
- Update videoenhan.
2020-11-16 Version: patch
- Update videoseg.
2020-11-16 Version: patch
- Update videorecog.
2020-11-16 Version: patch
- Update objectdet.
2020-11-16 Version: patch
- Update imgsearch.
2020-11-16 Version: patch
- Update imagerecog.
2020-11-16 Version: patch
- Update goodstech.
2020-11-13 Version: patch
- Update Imageaudit.
2020-11-13 Version: patch
- Add DeccribeEngineVersion DescribeTasks DescribeInstanceConfig and more APIs.
2020-11-13 Version: patch
- Fix GetBranchInfo and DeleteBranch API 404 error.
- Add ListRepositoryBranches and GetGroupDetail API.
2020-11-13 Version: patch
- Release ErasePerson.
2020-11-13 Version: patch
- Release DetectCardScreenshot RecognizePoiName.
2020-11-13 Version: patch
- Release GenerateHumanAnimeStyle CountCrowd.
2020-11-13 Version: patch
- Release SegmentHDSky SegmentHDCommonImage.
2020-11-12 Version: patch
- Support drm.
2020-11-12 Version: patch
- Generated 2019-06-01 for `smc`.
2020-11-12 Version: patch
- Update new version.
2020-11-12 Version: patch
- Support DescribeDBClusterTDE.
- Support ModifyDBClusterTDE.
2020-11-12 Version: patch
- Supported Open Api.
2020-11-12 Version: patch
- Support OpenAPI.
2020-11-12 Version: patch
- Update DescribeTrails Response.
2020-11-05 Version: patch
- Support modifyInstnaceType.
2020-11-04 Version: patch
- Generated 2019-01-01 for `Cassandra`.
2020-11-04 Version: patch
- Support modifyInstnaceType.
2020-11-04 Version: patch
- Generated 2019-01-01 for `Cassandra`.
2020-11-04 Version: patch
- Support modifyInstnaceType.
2020-11-03 Version: patch
- Minor update for r-kvstore.
2020-11-03 Version: patch
- Update data API.
2020-11-02 Version: patch
- Support create serverless by day price type.
2020-11-01 Version: patch
- Supported All Console APIs.
2020-10-28 Version: patch
- Support GetParameters, GetParametersByPath, GetSecretParameters, GetSecretParametersByPath.
2020-10-28 Version: patch
- Supported all language sdk.
- Fixed some bugs for polardbx.
2020-10-28 Version: patch
- Supported golang sdk.
- Fixed some bugs for drds.
2020-10-27 Version: patch
- Support DescribePendingMaintenanceAction.
- Support ModifyPendingMaintenanceAction.
- Support DescribePendingMaintenanceActions.
2020-10-27 Version: patch
- Generated 2020-05-18 for `dataworks-public`.
2020-10-27 Version: patch
- Support Sampling for jaeger.
2020-10-27 Version: patch
- Fix bug.
2020-10-27 Version: patch
- Add role authority management.
2020-10-26 Version: patch
- Generated 2014-05-26 for `Ecs`.
2020-10-26 Version: patch
- Generated 2016-11-01 for `live`.
2020-10-26 Version: patch
- Supported PaymentType for DescribeDnsProductInstance.
2020-10-26 Version: patch
- Update ScalingConfig parameters.
2020-10-23 Version: patch
- Change Configuration.
2020-10-23 Version: patch
- Update DetectLungNodule.
2020-10-23 Version: patch
- Support feedback.
2020-10-22 Version: patch
- Add Pipeline Member api.
2020-10-22 Version: patch
- Update data API.
2020-10-22 Version: patch
- Update cert API.
2020-10-22 Version: patch
- Update data API.
2020-10-21 Version: patch
- DescribeAvailableResource support AcceptLanguage.
2020-10-21 Version: patch
- Change Documentation configuration.
2020-10-21 Version: patch
- Cloud Storage Gateway openapi sdk is released.
2020-10-21 Version: patch
- Release latest features.
2020-10-21 Version: patch
- Change Documentation configuration.
2020-10-21 Version: patch
- Change Documentation configuration.
2020-10-21 Version: patch
- Update cert API.
2020-10-21 Version: patch
- Add PHP sdk.
2020-10-21 Version: patch
- Update Scdn API.
2020-10-20 Version: patch
- Support modifyInstnaceType.
2020-10-20 Version: patch
- Add LivenessFaceVerify API.
2020-10-20 Version: patch
- Update Configuration.
2020-10-20 Version: patch
- Add isv interface.
2020-10-20 Version: patch
- Generated 2016-11-01 for `live`.
2020-10-19 Version: patch
- Add a new interface for asynchronous image translation.
2020-10-19 Version: patch
- Metering 1019.
2020-10-19 Version: patch
- Metering 1019.
2020-10-19 Version: patch
- Metering 1019.
2020-10-17 Version: patch
- Metering.
2020-10-17 Version: patch
- Metering.
2020-10-16 Version: patch
- Metering.
2020-10-16 Version: patch
- Metering.
2020-10-16 Version: patch
- Metering.
2020-10-16 Version: patch
- Metering.
2020-10-16 Version: patch
- Supported AndroidNotificationNotifyId for Push and MassPush.
- Supported iOSNotificationCollapseId for Push and MassPush.
2020-10-16 Version: patch
- Support create for serverlesshbase.
2020-10-16 Version: patch
- Update cert API.
2020-10-16 Version: patch
- Update cert API.
2020-10-15 Version: patch
- Supported TAG APIs.
2020-10-15 Version: patch
- Add SaveTraceAppConfig api.
2020-10-15 Version: patch
- Generated 2018-06-01 for `dataworks-public`.
2020-10-15 Version: patch
- Generated 2018-06-01 for `dataworks-public`.
2020-10-14 Version: patch
- Generated 2014-05-26 for `Ecs`.
2020-10-13 Version: patch
- ListActionData add parameters.
- PullActionData add parameters.
2020-10-13 Version: patch
- Generated 2018-01-11 for `rtc`.
2020-10-13 Version: patch
- Release DetectSkinDisease RunMedQA.
2020-10-13 Version: patch
- Generated 2016-11-01 for `live`.
2020-10-13 Version: patch
- Generated 2018-01-11 for `rtc`.
2020-10-13 Version: patch
- Generated 2018-12-12 for `vs`.
2020-10-13 Version: patch
- Release PedestrianDetectAttribute.
2020-10-13 Version: patch
- Release GenerateDynamicImage.
2020-10-13 Version: patch
- Generated 2019-01-01 for `Cassandra`.
2020-10-13 Version: patch
- Release SegmentSkin.
2020-10-12 Version: patch
- Support add webhook, get repository info via id or path.
2020-10-12 Version: patch
- Public beta version.
- Add Api Overseas.
2020-10-12 Version: patch
- Public beta version.
- Add Api Overseas.
2020-10-12 Version: patch
- Supported ApproveOrder to add comment message.
2020-10-12 Version: patch
- Add list Organizations.
2020-10-12 Version: patch
- Init.
2020-10-12 Version: patch
- ChatApp third version.
- Add contack check api.
2020-10-09 Version: patch
- Update Scdn API.
2020-10-09 Version: patch
- Update DescribeCdnUserBillHistory API.
2020-10-09 Version: patch
- Update SetVideoSeekConfig API.
2020-09-29 Version: patch
- Add API OpenOnsService which can active ons service.
2020-09-29 Version: patch
- Add API OpenOnsService which can active ons service.
2020-09-29 Version: patch
- Update CalcCACS.
2020-09-29 Version: patch
- Add API OpenOnsService which can active ons service.
2020-09-29 Version: patch
- Add API OpenOnsService which can active ons service.
2020-09-29 Version: patch
- Supported regional API.
2020-09-28 Version: patch
- Update Scdn API.
2020-09-28 Version: patch
- Support for resize hbaseue multi-zone cluster.
2020-09-28 Version: patch
- Support filtering keys and secrets.
- Support opening KMS service and describing service status by API.
- Add a prefix limitation for SecretName.
2020-09-27 Version: patch
- Update domain API.
2020-09-27 Version: patch
- Update domain API.
2020-09-27 Version: patch
- Support Open Service API.
2020-09-27 Version: patch
- DescribeAvailableResource support list available resource for modify instance.
2020-09-25 Version: patch
- Public beta version.
- Add Api Overseas.
2020-09-25 Version: patch
- Public beta version.
- Add Api Overseas.
2020-09-24 Version: patch
- Support create for serverlesshbase.
2020-09-24 Version: patch
- ContrastFaceVerify API Add Model Parameter.
2020-09-24 Version: patch
- Add a new api named SubmitAIImageAuditJob to submit image ai detection job.
- Add a new api named CreateDNADB to create a DNA analysis library.
- Add a new api named ListDNADB to query the list of DNA analysis libraries.
- Add a new api named GetDNADB to query specified DNA analysis library.
- Add a new field DNADBId to the request parameter Config structure for SubmitAIJob api.
2020-09-23 Version: patch
- Add spotDuration support.
2020-09-23 Version: patch
- Some new parameters are supported.
2020-09-23 Version: patch
- Update domain API.
2020-09-23 Version: patch
- Update Scdn API.
2020-09-23 Version: patch
- Sync cdn APIs.
2020-09-22 Version: patch
- DescribePrice update amount type to string.
2020-09-22 Version: patch
- Generated 2019-03-08 for `ivision`.
2020-09-22 Version: patch
- Generated 2018-01-11 for `rtc`.
2020-09-22 Version: patch
- Generated 2018-12-12 for `vs`.
2020-09-22 Version: patch
- Generated 2016-11-01 for `live`.
2020-09-21 Version: patch
- Interface add column wordCount.
2020-09-21 Version: patch
- Add search object.
2020-09-20 Version: patch
- Add describe devices to return device status.
2020-09-20 Version: patch
- Add describe devices to return device status.
2020-09-19 Version: patch
- Support query user tenant list and current active tenant.
- Support query table meta information via table GUID.
2020-09-18 Version: patch
- Update DetectLungNodule, DetectSpineMRI, DetectKneeXRay, DetectCovid19Cad.
2020-09-17 Version: patch
- Add Api DetectIPCPedestrianOptimized.
2020-09-17 Version: patch
- Add Api DetectIPCPedestrianOptimized.
2020-09-17 Version: patch
- GetTitleIntelligence add interface.
2020-09-17 Version: patch
- Fix endpoint.
2020-09-16 Version: patch
- Add Content.
2020-09-15 Version: patch
- Add describe devices to return device status.
2020-09-14 Version: patch
- Support corp name search.
2020-09-14 Version: patch
- Support corp name search.
2020-09-11 Version: patch
- Support execute database script via open api.
2020-09-10 Version: patch
- Add DisableBackupLog.
- Add EnableBackupLog.
- Add ReleaseBackupPlan.
- Add ModifyStorageStrategy.
- Modify ModifyBackupStrategy.
- Modify ModifyBackupSetDownloadRules.
2020-09-10 Version: patch
- Update HasRenewChangeOrder type to Boolean in DescribeInstances.
2020-09-09 Version: patch
- Add support cn-beijing service region.
- Add ai video cover interface,include submit and query.
- Add dynamic image query interface.
- Update SubmitMediaAuditJob support MediaAuditConfiguration to set ResourceType.
2020-09-09 Version: patch
- Release ChangeSky.
2020-09-09 Version: patch
- Release DetectChefCap.
2020-09-09 Version: patch
- Release DetectKneeKeypointXRay, DetectHipKeypointXRay, CalcCACS, RunCTRegistration, ClassifyFNF.
2020-09-08 Version: patch
- Supported backend interface for ICBU.
2020-09-08 Version: patch
- Add DescribeActiveOperationTask.
- Add DescribeActiveOperationTaskCount.
- Add DescribeActiveOperationTaskRegion.
- Add DescribeActiveOperationTaskType.
- Add ModifyActiveOperationTask.
2020-09-08 Version: patch
- Modify CreateAsyncPredict add new parameters.
2020-09-07 Version: patch
- Support parameter APIs.
2020-09-07 Version: patch
- Add describes devices API.
2020-09-07 Version: patch
- Add describes devices API.
2020-09-07 Version: patch
- Add describes devices API.
2020-09-07 Version: patch
- Add describes devices API.
2020-09-07 Version: patch
- Add describes devices API.
2020-09-05 Version: patch
- Add describes devices API.
2020-09-04 Version: patch
- Sync cdn APIs.
2020-09-04 Version: patch
- Update Scdn API.
2020-09-04 Version: patch
- Update domain API.
2020-09-04 Version: patch
- Add GetImageQuality API.
- Add more info as parameters to Images related APIs.
2020-09-03 Version: 1.36.632
- DescribeCameraStatistics add parameters.
2020-09-02 Version: 1.36.631
- Support sg for ml region.
2020-09-02 Version: 1.36.630
- ChatApp second version.
- Support new message fomat.
2020-09-02 Version: 1.36.629
- Supported AndroidNotificationHuaweiChannel for Push and MassPush.
2020-09-02 Version: 1.36.628
- Supported AndroidNotificationHuaweiChannel for Push and MassPush.
2020-09-01 Version: 1.36.627
- Add Smart Verify API.
2020-09-01 Version: 1.36.626
- Support region route.
2020-09-01 Version: 1.36.625
- Support region route.
2020-09-01 Version: 1.36.624
- Update Parameter.
2020-08-31 Version: 1.36.623
- Support PersonList.
2020-08-31 Version: 1.36.622
- GetPersonList Support LastShotTime.
2020-08-31 Version: 1.36.621
- Support config resource recorder deliverychannel rule.
2020-08-31 Version: 1.36.620
- Supported AAA for BBB.
- Fixed bugs for CCC.
2020-08-31 Version: 1.36.619
- Support config resource recorder deliverychannel rule.
2020-08-31 Version: 1.36.618
- Supported AAA for BBB.
- Fixed bugs for CCC.
2020-08-31 Version: 1.36.617
- Supported AAA for BBB.
- Fixed bugs for CCC.
2020-08-31 Version: 1.36.616
- Add list person visit count API.
2020-08-28 Version: 1.36.615
- Add name.
2020-08-28 Version: 1.36.614
- Support multiple security group for one ehpc cluster.
- Update GWS apis.
2020-08-28 Version: 1.36.613
- Supported Add GetAlgorithmHistoryResult.
2020-08-27 Version: 1.36.612
- Update parameter.
2020-08-25 Version: 1.36.611
- Release ExtractPedestrianFeatureAttribute and BlurFace.
2020-08-25 Version: 1.36.610
- Add list person visit count API.
2020-08-25 Version: 1.36.609
- Video Content analytics template introduced to this SDK.
2020-08-25 Version: 1.36.608
- Change DeviceSerialNumber to DeviceSn in API RegisterDevice.
2020-08-24 Version: 1.36.607
- Change DeviceSerialNumber to DeviceSn in API RegisterDevice.
2020-08-24 Version: 1.36.606
- Add project api.
2020-08-24 Version: 1.36.605
- Edit QueryMetricByPage api.
2020-08-21 Version: 1.36.604
- Add QueryMetricByPage api.
- Add GetAppApiByPage api.
2020-08-20 Version: 1.36.603
- PullActionData add parameters.
- DescribeCursor add parameter.
2020-08-20 Version: 1.36.602
- Add list person visit count API.
2020-08-20 Version: 1.36.601
- Added Global Distribute Cache OpenAPIs.
- Added direct connection OpenAPIs.
2020-08-19 Version: 1.36.600
- Add DescribeLiveDomainCertificateInfo.
2020-08-19 Version: 1.36.599
- Generated 2020-08-01 for `SmartHosting`.
2020-08-18 Version: 1.36.598
- Support for describe hbaseue multi-zone model.
2020-08-18 Version: 1.36.597
- Support session query operations.
2020-08-18 Version: 1.36.596
- Public beta version.
- Add Api Overseas.
2020-08-17 Version: 1.36.595
- Add list event algorithm details.
2020-08-17 Version: 1.36.594
- Add list event algorithm details.
2020-08-17 Version: 1.36.593
- Add GetTrace api.
- Edit Aler api.
2020-08-17 Version: 1.36.592
- Add pipeline status api.
2020-08-17 Version: 1.36.591
- Add list event algorithm details.
2020-08-17 Version: 1.36.590
- Add list event algorithm details.
2020-08-17 Version: 1.36.589
- Fix create project task.
2020-08-17 Version: 1.36.588
- Public beta version.
- Add Api Overseas.
2020-08-17 Version: 1.36.587
- Add new tags for corp group.
2020-08-17 Version: 1.36.586
- Add new tags for corp group.
2020-08-16 Version: 1.36.585
- Add new tags for corp group.
2020-08-14 Version: 1.36.584
- Add sdk.
2020-08-14 Version: 1.36.583
- Supported Api DetectIPCPedestrian.
2020-08-14 Version: 1.36.582
- Supported CheckCloudResourceAuthorized API.
2020-08-14 Version: 1.36.581
- Add project Api.
2020-08-13 Version: 1.36.580
- Add PipCode and CommodityCode for QueryInstanceBill, QueryBillOverview, QueryBill, QuerySettleBill, QueryAccountBill, QuerySplitItemBill.
- Support BillOwnerId filter for QueryInstanceBill, QueryBillOverview, QueryBill, QuerySettleBill, QueryAccountBill, QuerySplitItemBill.
2020-08-13 Version: 1.36.579
- Release DetectKneeXRay DetectSpineMRI TranslateMed.
2020-08-13 Version: 1.36.578
- Release DetectKneeXRay DetectSpineMRI TranslateMed.
2020-08-13 Version: 1.36.577
- Release DetectKneeXRay DetectSpineMRI TranslateMed.
2020-08-13 Version: 1.36.576
- GetImageTranslate add column orc.
2020-08-13 Version: 1.36.575
- DescribePrice update amount parameters type, float to string.
- Add ResourceGroupId parameter to support resource group.
2020-08-13 Version: 1.36.574
- Release SegmentHalfBody.
2020-08-13 Version: 1.36.573
- Release SegmentHalfBody.
2020-08-12 Version: 1.36.572
- Support corp group api.
2020-08-12 Version: 1.36.571
- Add pipeline status api.
2020-08-12 Version: 1.36.570
- Generated 2015-01-01 for `R-kvstore`.
- SyncDtsStatus API add TaskId parameter.
2020-08-11 Version: 1.36.569
- Generated 2020-05-18 for `dataworks-public`.
2020-08-11 Version: 1.36.568
- Update DescribeRefreshTask.
2020-08-11 Version: 1.36.567
- Add ResourceGroup in resource snapshot.
2020-08-10 Version: 1.36.566
- Generated 2020-05-18 for `dataworks-public`.
2020-08-10 Version: 1.36.565
- Add source id for list face detail.
2020-08-10 Version: 1.36.564
- Add extend value for list event detail.
2020-08-09 Version: 1.36.563
- Add extend value for list event detail.
2020-08-08 Version: 1.36.562
- Update SearchImage.
2020-08-07 Version: 1.36.561
- GetTitleDiagnose GetTitleGenerate GetImageTranslate supported.
2020-08-07 Version: 1.36.560
- Generated 2020-05-18 for `dataworks-public`.
2020-08-07 Version: 1.36.559
- GetTitleDiagnose GetTitleGenerate GetImageTranslate supported.
2020-08-07 Version: 1.36.558
- Add FindServiceList and GetService qps.
2020-08-06 Version: 1.36.557
- Add Smart Cloudauth API.
2020-08-04 Version: 1.36.556
- Update RecognizeTable.
2020-08-04 Version: 1.36.555
- Add Image Url parameter for invoke motor algorithm.
2020-08-04 Version: 1.36.554
- Add source picture url for Monitor.
2020-08-03 Version: 1.36.553
- Add source picture url for Monitor.
2020-08-03 Version: 1.36.552
- Fix Some API Response Define.
2020-08-03 Version: 1.36.551
- Add source picture url for Monitor.
2020-08-03 Version: 1.36.550
- Add Voice Synchronous Scan API.
2020-08-03 Version: 1.36.549
- Add ExtractPedestrianFeatureAttribute.
2020-07-31 Version: 1.36.548
- Update DetectCelebrity.

View File

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

View File

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

View File

@@ -1 +1 @@
1.36.548
1.36.632

130
actiontrail/CMakeLists.txt Normal file
View File

@@ -0,0 +1,130 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(actiontrail_public_header
include/alibabacloud/actiontrail/ActiontrailClient.h
include/alibabacloud/actiontrail/ActiontrailExport.h )
set(actiontrail_public_header_model
include/alibabacloud/actiontrail/model/CreateDeliveryHistoryJobRequest.h
include/alibabacloud/actiontrail/model/CreateDeliveryHistoryJobResult.h
include/alibabacloud/actiontrail/model/CreateTrailRequest.h
include/alibabacloud/actiontrail/model/CreateTrailResult.h
include/alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobRequest.h
include/alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobResult.h
include/alibabacloud/actiontrail/model/DeleteTrailRequest.h
include/alibabacloud/actiontrail/model/DeleteTrailResult.h
include/alibabacloud/actiontrail/model/DescribeRegionsRequest.h
include/alibabacloud/actiontrail/model/DescribeRegionsResult.h
include/alibabacloud/actiontrail/model/DescribeTrailsRequest.h
include/alibabacloud/actiontrail/model/DescribeTrailsResult.h
include/alibabacloud/actiontrail/model/GetTrailStatusRequest.h
include/alibabacloud/actiontrail/model/GetTrailStatusResult.h
include/alibabacloud/actiontrail/model/ListDeliveryHistoryJobsRequest.h
include/alibabacloud/actiontrail/model/ListDeliveryHistoryJobsResult.h
include/alibabacloud/actiontrail/model/LookupEventsRequest.h
include/alibabacloud/actiontrail/model/LookupEventsResult.h
include/alibabacloud/actiontrail/model/StartLoggingRequest.h
include/alibabacloud/actiontrail/model/StartLoggingResult.h
include/alibabacloud/actiontrail/model/StopLoggingRequest.h
include/alibabacloud/actiontrail/model/StopLoggingResult.h
include/alibabacloud/actiontrail/model/UpdateTrailRequest.h
include/alibabacloud/actiontrail/model/UpdateTrailResult.h )
set(actiontrail_src
src/ActiontrailClient.cc
src/model/CreateDeliveryHistoryJobRequest.cc
src/model/CreateDeliveryHistoryJobResult.cc
src/model/CreateTrailRequest.cc
src/model/CreateTrailResult.cc
src/model/DeleteDeliveryHistoryJobRequest.cc
src/model/DeleteDeliveryHistoryJobResult.cc
src/model/DeleteTrailRequest.cc
src/model/DeleteTrailResult.cc
src/model/DescribeRegionsRequest.cc
src/model/DescribeRegionsResult.cc
src/model/DescribeTrailsRequest.cc
src/model/DescribeTrailsResult.cc
src/model/GetTrailStatusRequest.cc
src/model/GetTrailStatusResult.cc
src/model/ListDeliveryHistoryJobsRequest.cc
src/model/ListDeliveryHistoryJobsResult.cc
src/model/LookupEventsRequest.cc
src/model/LookupEventsResult.cc
src/model/StartLoggingRequest.cc
src/model/StartLoggingResult.cc
src/model/StopLoggingRequest.cc
src/model/StopLoggingResult.cc
src/model/UpdateTrailRequest.cc
src/model/UpdateTrailResult.cc )
add_library(actiontrail ${LIB_TYPE}
${actiontrail_public_header}
${actiontrail_public_header_model}
${actiontrail_src})
set_target_properties(actiontrail
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}actiontrail
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(actiontrail
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_ACTIONTRAIL_LIBRARY)
endif()
target_include_directories(actiontrail
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(actiontrail
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(actiontrail
jsoncpp)
target_include_directories(actiontrail
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(actiontrail
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(actiontrail
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(actiontrail
PRIVATE /usr/include/jsoncpp)
target_link_libraries(actiontrail
jsoncpp)
endif()
install(FILES ${actiontrail_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/actiontrail)
install(FILES ${actiontrail_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/actiontrail/model)
install(TARGETS actiontrail
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,142 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACTIONTRAIL_ACTIONTRAILCLIENT_H_
#define ALIBABACLOUD_ACTIONTRAIL_ACTIONTRAILCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "ActiontrailExport.h"
#include "model/CreateDeliveryHistoryJobRequest.h"
#include "model/CreateDeliveryHistoryJobResult.h"
#include "model/CreateTrailRequest.h"
#include "model/CreateTrailResult.h"
#include "model/DeleteDeliveryHistoryJobRequest.h"
#include "model/DeleteDeliveryHistoryJobResult.h"
#include "model/DeleteTrailRequest.h"
#include "model/DeleteTrailResult.h"
#include "model/DescribeRegionsRequest.h"
#include "model/DescribeRegionsResult.h"
#include "model/DescribeTrailsRequest.h"
#include "model/DescribeTrailsResult.h"
#include "model/GetTrailStatusRequest.h"
#include "model/GetTrailStatusResult.h"
#include "model/ListDeliveryHistoryJobsRequest.h"
#include "model/ListDeliveryHistoryJobsResult.h"
#include "model/LookupEventsRequest.h"
#include "model/LookupEventsResult.h"
#include "model/StartLoggingRequest.h"
#include "model/StartLoggingResult.h"
#include "model/StopLoggingRequest.h"
#include "model/StopLoggingResult.h"
#include "model/UpdateTrailRequest.h"
#include "model/UpdateTrailResult.h"
namespace AlibabaCloud
{
namespace Actiontrail
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ActiontrailClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::CreateDeliveryHistoryJobResult> CreateDeliveryHistoryJobOutcome;
typedef std::future<CreateDeliveryHistoryJobOutcome> CreateDeliveryHistoryJobOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::CreateDeliveryHistoryJobRequest&, const CreateDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeliveryHistoryJobAsyncHandler;
typedef Outcome<Error, Model::CreateTrailResult> CreateTrailOutcome;
typedef std::future<CreateTrailOutcome> CreateTrailOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::CreateTrailRequest&, const CreateTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrailAsyncHandler;
typedef Outcome<Error, Model::DeleteDeliveryHistoryJobResult> DeleteDeliveryHistoryJobOutcome;
typedef std::future<DeleteDeliveryHistoryJobOutcome> DeleteDeliveryHistoryJobOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::DeleteDeliveryHistoryJobRequest&, const DeleteDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeliveryHistoryJobAsyncHandler;
typedef Outcome<Error, Model::DeleteTrailResult> DeleteTrailOutcome;
typedef std::future<DeleteTrailOutcome> DeleteTrailOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::DeleteTrailRequest&, const DeleteTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTrailAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
typedef Outcome<Error, Model::DescribeTrailsResult> DescribeTrailsOutcome;
typedef std::future<DescribeTrailsOutcome> DescribeTrailsOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::DescribeTrailsRequest&, const DescribeTrailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTrailsAsyncHandler;
typedef Outcome<Error, Model::GetTrailStatusResult> GetTrailStatusOutcome;
typedef std::future<GetTrailStatusOutcome> GetTrailStatusOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::GetTrailStatusRequest&, const GetTrailStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTrailStatusAsyncHandler;
typedef Outcome<Error, Model::ListDeliveryHistoryJobsResult> ListDeliveryHistoryJobsOutcome;
typedef std::future<ListDeliveryHistoryJobsOutcome> ListDeliveryHistoryJobsOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::ListDeliveryHistoryJobsRequest&, const ListDeliveryHistoryJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeliveryHistoryJobsAsyncHandler;
typedef Outcome<Error, Model::LookupEventsResult> LookupEventsOutcome;
typedef std::future<LookupEventsOutcome> LookupEventsOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::LookupEventsRequest&, const LookupEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LookupEventsAsyncHandler;
typedef Outcome<Error, Model::StartLoggingResult> StartLoggingOutcome;
typedef std::future<StartLoggingOutcome> StartLoggingOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::StartLoggingRequest&, const StartLoggingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLoggingAsyncHandler;
typedef Outcome<Error, Model::StopLoggingResult> StopLoggingOutcome;
typedef std::future<StopLoggingOutcome> StopLoggingOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::StopLoggingRequest&, const StopLoggingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopLoggingAsyncHandler;
typedef Outcome<Error, Model::UpdateTrailResult> UpdateTrailOutcome;
typedef std::future<UpdateTrailOutcome> UpdateTrailOutcomeCallable;
typedef std::function<void(const ActiontrailClient*, const Model::UpdateTrailRequest&, const UpdateTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTrailAsyncHandler;
ActiontrailClient(const Credentials &credentials, const ClientConfiguration &configuration);
ActiontrailClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
ActiontrailClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~ActiontrailClient();
CreateDeliveryHistoryJobOutcome createDeliveryHistoryJob(const Model::CreateDeliveryHistoryJobRequest &request)const;
void createDeliveryHistoryJobAsync(const Model::CreateDeliveryHistoryJobRequest& request, const CreateDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDeliveryHistoryJobOutcomeCallable createDeliveryHistoryJobCallable(const Model::CreateDeliveryHistoryJobRequest& request) const;
CreateTrailOutcome createTrail(const Model::CreateTrailRequest &request)const;
void createTrailAsync(const Model::CreateTrailRequest& request, const CreateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTrailOutcomeCallable createTrailCallable(const Model::CreateTrailRequest& request) const;
DeleteDeliveryHistoryJobOutcome deleteDeliveryHistoryJob(const Model::DeleteDeliveryHistoryJobRequest &request)const;
void deleteDeliveryHistoryJobAsync(const Model::DeleteDeliveryHistoryJobRequest& request, const DeleteDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDeliveryHistoryJobOutcomeCallable deleteDeliveryHistoryJobCallable(const Model::DeleteDeliveryHistoryJobRequest& request) const;
DeleteTrailOutcome deleteTrail(const Model::DeleteTrailRequest &request)const;
void deleteTrailAsync(const Model::DeleteTrailRequest& request, const DeleteTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTrailOutcomeCallable deleteTrailCallable(const Model::DeleteTrailRequest& request) const;
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
DescribeTrailsOutcome describeTrails(const Model::DescribeTrailsRequest &request)const;
void describeTrailsAsync(const Model::DescribeTrailsRequest& request, const DescribeTrailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTrailsOutcomeCallable describeTrailsCallable(const Model::DescribeTrailsRequest& request) const;
GetTrailStatusOutcome getTrailStatus(const Model::GetTrailStatusRequest &request)const;
void getTrailStatusAsync(const Model::GetTrailStatusRequest& request, const GetTrailStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTrailStatusOutcomeCallable getTrailStatusCallable(const Model::GetTrailStatusRequest& request) const;
ListDeliveryHistoryJobsOutcome listDeliveryHistoryJobs(const Model::ListDeliveryHistoryJobsRequest &request)const;
void listDeliveryHistoryJobsAsync(const Model::ListDeliveryHistoryJobsRequest& request, const ListDeliveryHistoryJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDeliveryHistoryJobsOutcomeCallable listDeliveryHistoryJobsCallable(const Model::ListDeliveryHistoryJobsRequest& request) const;
LookupEventsOutcome lookupEvents(const Model::LookupEventsRequest &request)const;
void lookupEventsAsync(const Model::LookupEventsRequest& request, const LookupEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
LookupEventsOutcomeCallable lookupEventsCallable(const Model::LookupEventsRequest& request) const;
StartLoggingOutcome startLogging(const Model::StartLoggingRequest &request)const;
void startLoggingAsync(const Model::StartLoggingRequest& request, const StartLoggingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartLoggingOutcomeCallable startLoggingCallable(const Model::StartLoggingRequest& request) const;
StopLoggingOutcome stopLogging(const Model::StopLoggingRequest &request)const;
void stopLoggingAsync(const Model::StopLoggingRequest& request, const StopLoggingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopLoggingOutcomeCallable stopLoggingCallable(const Model::StopLoggingRequest& request) const;
UpdateTrailOutcome updateTrail(const Model::UpdateTrailRequest &request)const;
void updateTrailAsync(const Model::UpdateTrailRequest& request, const UpdateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateTrailOutcomeCallable updateTrailCallable(const Model::UpdateTrailRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_ACTIONTRAILCLIENT_H_

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_ACTIONTRAIL_ACTIONTRAILEXPORT_H_
#define ALIBABACLOUD_ACTIONTRAIL_ACTIONTRAILEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_ACTIONTRAIL_LIBRARY)
# define ALIBABACLOUD_ACTIONTRAIL_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_ACTIONTRAIL_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_ACTIONTRAIL_EXPORT
#endif
#endif // !ALIBABACLOUD_ACTIONTRAIL_ACTIONTRAILEXPORT_H_

View File

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

View File

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

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILREQUEST_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateTrailRequest : public RpcServiceRequest
{
public:
CreateTrailRequest();
~CreateTrailRequest();
std::string getSlsProjectArn()const;
void setSlsProjectArn(const std::string& slsProjectArn);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSlsWriteRoleArn()const;
void setSlsWriteRoleArn(const std::string& slsWriteRoleArn);
bool getIsOrganizationTrail()const;
void setIsOrganizationTrail(bool isOrganizationTrail);
std::string getOssKeyPrefix()const;
void setOssKeyPrefix(const std::string& ossKeyPrefix);
std::string getMnsTopicArn()const;
void setMnsTopicArn(const std::string& mnsTopicArn);
std::string getRoleName()const;
void setRoleName(const std::string& roleName);
std::string getEventRW()const;
void setEventRW(const std::string& eventRW);
std::string getName()const;
void setName(const std::string& name);
std::string getOssBucketName()const;
void setOssBucketName(const std::string& ossBucketName);
std::string getTrailRegion()const;
void setTrailRegion(const std::string& trailRegion);
private:
std::string slsProjectArn_;
std::string accessKeyId_;
std::string slsWriteRoleArn_;
bool isOrganizationTrail_;
std::string ossKeyPrefix_;
std::string mnsTopicArn_;
std::string roleName_;
std::string eventRW_;
std::string name_;
std::string ossBucketName_;
std::string trailRegion_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILREQUEST_H_

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_ACTIONTRAIL_MODEL_CREATETRAILRESULT_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateTrailResult : public ServiceResult
{
public:
CreateTrailResult();
explicit CreateTrailResult(const std::string &payload);
~CreateTrailResult();
std::string getSlsProjectArn()const;
std::string getMnsTopicArn()const;
std::string getRoleName()const;
std::string getEventRW()const;
std::string getHomeRegion()const;
std::string getOssKeyPrefix()const;
std::string getOssBucketName()const;
std::string getSlsWriteRoleArn()const;
std::string getTrailRegion()const;
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
std::string slsProjectArn_;
std::string mnsTopicArn_;
std::string roleName_;
std::string eventRW_;
std::string homeRegion_;
std::string ossKeyPrefix_;
std::string ossBucketName_;
std::string slsWriteRoleArn_;
std::string trailRegion_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILRESULT_H_

View File

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

View File

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

View File

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

View File

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

View File

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

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_ACTIONTRAIL_MODEL_DESCRIBEREGIONSRESULT_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBEREGIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeRegionsResult : public ServiceResult
{
public:
struct Regions
{
struct RegionItem
{
std::string regionId;
};
std::vector<RegionItem> region;
};
DescribeRegionsResult();
explicit DescribeRegionsResult(const std::string &payload);
~DescribeRegionsResult();
Regions getRegions()const;
protected:
void parse(const std::string &payload);
private:
Regions regions_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBEREGIONSRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSREQUEST_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeTrailsRequest : public RpcServiceRequest
{
public:
DescribeTrailsRequest();
~DescribeTrailsRequest();
bool getIncludeShadowTrails()const;
void setIncludeShadowTrails(bool includeShadowTrails);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getNameList()const;
void setNameList(const std::string& nameList);
private:
bool includeShadowTrails_;
std::string accessKeyId_;
std::string nameList_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSRESULT_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeTrailsResult : public ServiceResult
{
public:
struct TrailListItem
{
std::string status;
std::string mnsTopicArn;
std::string homeRegion;
std::string createTime;
std::string startLoggingTime;
std::string stopLoggingTime;
std::string slsWriteRoleArn;
std::string trailRegion;
std::string name;
bool isOrganizationTrail;
std::string slsProjectArn;
std::string roleName;
std::string eventRW;
std::string ossKeyPrefix;
std::string updateTime;
std::string ossBucketName;
};
DescribeTrailsResult();
explicit DescribeTrailsResult(const std::string &payload);
~DescribeTrailsResult();
std::vector<TrailListItem> getTrailList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<TrailListItem> trailList_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSREQUEST_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetTrailStatusRequest : public RpcServiceRequest
{
public:
GetTrailStatusRequest();
~GetTrailStatusRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getName()const;
void setName(const std::string& name);
bool getIsOrganizationTrail()const;
void setIsOrganizationTrail(bool isOrganizationTrail);
private:
std::string accessKeyId_;
std::string name_;
bool isOrganizationTrail_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSREQUEST_H_

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_ACTIONTRAIL_MODEL_GETTRAILSTATUSRESULT_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetTrailStatusResult : public ServiceResult
{
public:
GetTrailStatusResult();
explicit GetTrailStatusResult(const std::string &payload);
~GetTrailStatusResult();
std::string getStartLoggingTime()const;
std::string getLatestDeliveryError()const;
std::string getStopLoggingTime()const;
bool getIsLogging()const;
std::string getLatestDeliveryTime()const;
protected:
void parse(const std::string &payload);
private:
std::string startLoggingTime_;
std::string latestDeliveryError_;
std::string stopLoggingTime_;
bool isLogging_;
std::string latestDeliveryTime_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ListDeliveryHistoryJobsRequest : public RpcServiceRequest
{
public:
ListDeliveryHistoryJobsRequest();
~ListDeliveryHistoryJobsRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_

View File

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

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSREQUEST_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT LookupEventsRequest : public RpcServiceRequest
{
public:
LookupEventsRequest();
~LookupEventsRequest();
std::string getRequest()const;
void setRequest(const std::string& request);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getEventName()const;
void setEventName(const std::string& eventName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
std::string getEvent()const;
void setEvent(const std::string& event);
std::string getEventAccessKeyId()const;
void setEventAccessKeyId(const std::string& eventAccessKeyId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getEventRW()const;
void setEventRW(const std::string& eventRW);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getMaxResults()const;
void setMaxResults(const std::string& maxResults);
std::string getEventType()const;
void setEventType(const std::string& eventType);
std::string getResourceName()const;
void setResourceName(const std::string& resourceName);
std::string getUser()const;
void setUser(const std::string& user);
private:
std::string request_;
std::string startTime_;
std::string eventName_;
std::string accessKeyId_;
std::string nextToken_;
std::string serviceName_;
std::string event_;
std::string eventAccessKeyId_;
std::string endTime_;
std::string eventRW_;
std::string resourceType_;
std::string maxResults_;
std::string eventType_;
std::string resourceName_;
std::string user_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSREQUEST_H_

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_ACTIONTRAIL_MODEL_LOOKUPEVENTSRESULT_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT LookupEventsResult : public ServiceResult
{
public:
LookupEventsResult();
explicit LookupEventsResult(const std::string &payload);
~LookupEventsResult();
std::string getNextToken()const;
std::string getEndTime()const;
std::vector<std::string> getEvents()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
std::string endTime_;
std::vector<std::string> events_;
std::string startTime_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSRESULT_H_

View File

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

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_ACTIONTRAIL_MODEL_STARTLOGGINGRESULT_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_STARTLOGGINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT StartLoggingResult : public ServiceResult
{
public:
StartLoggingResult();
explicit StartLoggingResult(const std::string &payload);
~StartLoggingResult();
std::string getParam()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string param_;
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_STARTLOGGINGRESULT_H_

View File

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

View File

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

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_ACTIONTRAIL_MODEL_UPDATETRAILREQUEST_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT UpdateTrailRequest : public RpcServiceRequest
{
public:
UpdateTrailRequest();
~UpdateTrailRequest();
std::string getSlsProjectArn()const;
void setSlsProjectArn(const std::string& slsProjectArn);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSlsWriteRoleArn()const;
void setSlsWriteRoleArn(const std::string& slsWriteRoleArn);
std::string getOssKeyPrefix()const;
void setOssKeyPrefix(const std::string& ossKeyPrefix);
std::string getMnsTopicArn()const;
void setMnsTopicArn(const std::string& mnsTopicArn);
std::string getRoleName()const;
void setRoleName(const std::string& roleName);
std::string getEventRW()const;
void setEventRW(const std::string& eventRW);
std::string getName()const;
void setName(const std::string& name);
std::string getOssBucketName()const;
void setOssBucketName(const std::string& ossBucketName);
std::string getTrailRegion()const;
void setTrailRegion(const std::string& trailRegion);
private:
std::string slsProjectArn_;
std::string accessKeyId_;
std::string slsWriteRoleArn_;
std::string ossKeyPrefix_;
std::string mnsTopicArn_;
std::string roleName_;
std::string eventRW_;
std::string name_;
std::string ossBucketName_;
std::string trailRegion_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILREQUEST_H_

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_ACTIONTRAIL_MODEL_UPDATETRAILRESULT_H_
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/actiontrail/ActiontrailExport.h>
namespace AlibabaCloud
{
namespace Actiontrail
{
namespace Model
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT UpdateTrailResult : public ServiceResult
{
public:
UpdateTrailResult();
explicit UpdateTrailResult(const std::string &payload);
~UpdateTrailResult();
std::string getSlsProjectArn()const;
std::string getMnsTopicArn()const;
std::string getRoleName()const;
std::string getEventRW()const;
std::string getHomeRegion()const;
std::string getOssKeyPrefix()const;
std::string getOssBucketName()const;
std::string getSlsWriteRoleArn()const;
std::string getTrailRegion()const;
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
std::string slsProjectArn_;
std::string mnsTopicArn_;
std::string roleName_;
std::string eventRW_;
std::string homeRegion_;
std::string ossKeyPrefix_;
std::string ossBucketName_;
std::string slsWriteRoleArn_;
std::string trailRegion_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILRESULT_H_

View File

@@ -0,0 +1,485 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/ActiontrailClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::Actiontrail;
using namespace AlibabaCloud::Actiontrail::Model;
namespace
{
const std::string SERVICE_NAME = "Actiontrail";
}
ActiontrailClient::ActiontrailClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "actiontrail");
}
ActiontrailClient::ActiontrailClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "actiontrail");
}
ActiontrailClient::ActiontrailClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "actiontrail");
}
ActiontrailClient::~ActiontrailClient()
{}
ActiontrailClient::CreateDeliveryHistoryJobOutcome ActiontrailClient::createDeliveryHistoryJob(const CreateDeliveryHistoryJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateDeliveryHistoryJobOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateDeliveryHistoryJobOutcome(CreateDeliveryHistoryJobResult(outcome.result()));
else
return CreateDeliveryHistoryJobOutcome(outcome.error());
}
void ActiontrailClient::createDeliveryHistoryJobAsync(const CreateDeliveryHistoryJobRequest& request, const CreateDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createDeliveryHistoryJob(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::CreateDeliveryHistoryJobOutcomeCallable ActiontrailClient::createDeliveryHistoryJobCallable(const CreateDeliveryHistoryJobRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateDeliveryHistoryJobOutcome()>>(
[this, request]()
{
return this->createDeliveryHistoryJob(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::CreateTrailOutcome ActiontrailClient::createTrail(const CreateTrailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateTrailOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateTrailOutcome(CreateTrailResult(outcome.result()));
else
return CreateTrailOutcome(outcome.error());
}
void ActiontrailClient::createTrailAsync(const CreateTrailRequest& request, const CreateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createTrail(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::CreateTrailOutcomeCallable ActiontrailClient::createTrailCallable(const CreateTrailRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateTrailOutcome()>>(
[this, request]()
{
return this->createTrail(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::DeleteDeliveryHistoryJobOutcome ActiontrailClient::deleteDeliveryHistoryJob(const DeleteDeliveryHistoryJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteDeliveryHistoryJobOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteDeliveryHistoryJobOutcome(DeleteDeliveryHistoryJobResult(outcome.result()));
else
return DeleteDeliveryHistoryJobOutcome(outcome.error());
}
void ActiontrailClient::deleteDeliveryHistoryJobAsync(const DeleteDeliveryHistoryJobRequest& request, const DeleteDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteDeliveryHistoryJob(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::DeleteDeliveryHistoryJobOutcomeCallable ActiontrailClient::deleteDeliveryHistoryJobCallable(const DeleteDeliveryHistoryJobRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteDeliveryHistoryJobOutcome()>>(
[this, request]()
{
return this->deleteDeliveryHistoryJob(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::DeleteTrailOutcome ActiontrailClient::deleteTrail(const DeleteTrailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteTrailOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteTrailOutcome(DeleteTrailResult(outcome.result()));
else
return DeleteTrailOutcome(outcome.error());
}
void ActiontrailClient::deleteTrailAsync(const DeleteTrailRequest& request, const DeleteTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteTrail(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::DeleteTrailOutcomeCallable ActiontrailClient::deleteTrailCallable(const DeleteTrailRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteTrailOutcome()>>(
[this, request]()
{
return this->deleteTrail(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::DescribeRegionsOutcome ActiontrailClient::describeRegions(const DescribeRegionsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeRegionsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeRegionsOutcome(DescribeRegionsResult(outcome.result()));
else
return DescribeRegionsOutcome(outcome.error());
}
void ActiontrailClient::describeRegionsAsync(const DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeRegions(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::DescribeRegionsOutcomeCallable ActiontrailClient::describeRegionsCallable(const DescribeRegionsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeRegionsOutcome()>>(
[this, request]()
{
return this->describeRegions(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::DescribeTrailsOutcome ActiontrailClient::describeTrails(const DescribeTrailsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeTrailsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeTrailsOutcome(DescribeTrailsResult(outcome.result()));
else
return DescribeTrailsOutcome(outcome.error());
}
void ActiontrailClient::describeTrailsAsync(const DescribeTrailsRequest& request, const DescribeTrailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeTrails(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::DescribeTrailsOutcomeCallable ActiontrailClient::describeTrailsCallable(const DescribeTrailsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeTrailsOutcome()>>(
[this, request]()
{
return this->describeTrails(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::GetTrailStatusOutcome ActiontrailClient::getTrailStatus(const GetTrailStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetTrailStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetTrailStatusOutcome(GetTrailStatusResult(outcome.result()));
else
return GetTrailStatusOutcome(outcome.error());
}
void ActiontrailClient::getTrailStatusAsync(const GetTrailStatusRequest& request, const GetTrailStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getTrailStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::GetTrailStatusOutcomeCallable ActiontrailClient::getTrailStatusCallable(const GetTrailStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetTrailStatusOutcome()>>(
[this, request]()
{
return this->getTrailStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::ListDeliveryHistoryJobsOutcome ActiontrailClient::listDeliveryHistoryJobs(const ListDeliveryHistoryJobsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListDeliveryHistoryJobsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListDeliveryHistoryJobsOutcome(ListDeliveryHistoryJobsResult(outcome.result()));
else
return ListDeliveryHistoryJobsOutcome(outcome.error());
}
void ActiontrailClient::listDeliveryHistoryJobsAsync(const ListDeliveryHistoryJobsRequest& request, const ListDeliveryHistoryJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listDeliveryHistoryJobs(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::ListDeliveryHistoryJobsOutcomeCallable ActiontrailClient::listDeliveryHistoryJobsCallable(const ListDeliveryHistoryJobsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListDeliveryHistoryJobsOutcome()>>(
[this, request]()
{
return this->listDeliveryHistoryJobs(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::LookupEventsOutcome ActiontrailClient::lookupEvents(const LookupEventsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return LookupEventsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return LookupEventsOutcome(LookupEventsResult(outcome.result()));
else
return LookupEventsOutcome(outcome.error());
}
void ActiontrailClient::lookupEventsAsync(const LookupEventsRequest& request, const LookupEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, lookupEvents(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::LookupEventsOutcomeCallable ActiontrailClient::lookupEventsCallable(const LookupEventsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<LookupEventsOutcome()>>(
[this, request]()
{
return this->lookupEvents(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::StartLoggingOutcome ActiontrailClient::startLogging(const StartLoggingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StartLoggingOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StartLoggingOutcome(StartLoggingResult(outcome.result()));
else
return StartLoggingOutcome(outcome.error());
}
void ActiontrailClient::startLoggingAsync(const StartLoggingRequest& request, const StartLoggingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, startLogging(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::StartLoggingOutcomeCallable ActiontrailClient::startLoggingCallable(const StartLoggingRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StartLoggingOutcome()>>(
[this, request]()
{
return this->startLogging(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::StopLoggingOutcome ActiontrailClient::stopLogging(const StopLoggingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StopLoggingOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StopLoggingOutcome(StopLoggingResult(outcome.result()));
else
return StopLoggingOutcome(outcome.error());
}
void ActiontrailClient::stopLoggingAsync(const StopLoggingRequest& request, const StopLoggingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, stopLogging(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::StopLoggingOutcomeCallable ActiontrailClient::stopLoggingCallable(const StopLoggingRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StopLoggingOutcome()>>(
[this, request]()
{
return this->stopLogging(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ActiontrailClient::UpdateTrailOutcome ActiontrailClient::updateTrail(const UpdateTrailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateTrailOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateTrailOutcome(UpdateTrailResult(outcome.result()));
else
return UpdateTrailOutcome(outcome.error());
}
void ActiontrailClient::updateTrailAsync(const UpdateTrailRequest& request, const UpdateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateTrail(request), context);
};
asyncExecute(new Runnable(fn));
}
ActiontrailClient::UpdateTrailOutcomeCallable ActiontrailClient::updateTrailCallable(const UpdateTrailRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateTrailOutcome()>>(
[this, request]()
{
return this->updateTrail(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

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

View File

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

View File

@@ -0,0 +1,150 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/CreateTrailRequest.h>
using AlibabaCloud::Actiontrail::Model::CreateTrailRequest;
CreateTrailRequest::CreateTrailRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "CreateTrail")
{
setMethod(HttpRequest::Method::Post);
}
CreateTrailRequest::~CreateTrailRequest()
{}
std::string CreateTrailRequest::getSlsProjectArn()const
{
return slsProjectArn_;
}
void CreateTrailRequest::setSlsProjectArn(const std::string& slsProjectArn)
{
slsProjectArn_ = slsProjectArn;
setParameter("SlsProjectArn", slsProjectArn);
}
std::string CreateTrailRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateTrailRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateTrailRequest::getSlsWriteRoleArn()const
{
return slsWriteRoleArn_;
}
void CreateTrailRequest::setSlsWriteRoleArn(const std::string& slsWriteRoleArn)
{
slsWriteRoleArn_ = slsWriteRoleArn;
setParameter("SlsWriteRoleArn", slsWriteRoleArn);
}
bool CreateTrailRequest::getIsOrganizationTrail()const
{
return isOrganizationTrail_;
}
void CreateTrailRequest::setIsOrganizationTrail(bool isOrganizationTrail)
{
isOrganizationTrail_ = isOrganizationTrail;
setParameter("IsOrganizationTrail", isOrganizationTrail ? "true" : "false");
}
std::string CreateTrailRequest::getOssKeyPrefix()const
{
return ossKeyPrefix_;
}
void CreateTrailRequest::setOssKeyPrefix(const std::string& ossKeyPrefix)
{
ossKeyPrefix_ = ossKeyPrefix;
setParameter("OssKeyPrefix", ossKeyPrefix);
}
std::string CreateTrailRequest::getMnsTopicArn()const
{
return mnsTopicArn_;
}
void CreateTrailRequest::setMnsTopicArn(const std::string& mnsTopicArn)
{
mnsTopicArn_ = mnsTopicArn;
setParameter("MnsTopicArn", mnsTopicArn);
}
std::string CreateTrailRequest::getRoleName()const
{
return roleName_;
}
void CreateTrailRequest::setRoleName(const std::string& roleName)
{
roleName_ = roleName;
setParameter("RoleName", roleName);
}
std::string CreateTrailRequest::getEventRW()const
{
return eventRW_;
}
void CreateTrailRequest::setEventRW(const std::string& eventRW)
{
eventRW_ = eventRW;
setParameter("EventRW", eventRW);
}
std::string CreateTrailRequest::getName()const
{
return name_;
}
void CreateTrailRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string CreateTrailRequest::getOssBucketName()const
{
return ossBucketName_;
}
void CreateTrailRequest::setOssBucketName(const std::string& ossBucketName)
{
ossBucketName_ = ossBucketName;
setParameter("OssBucketName", ossBucketName);
}
std::string CreateTrailRequest::getTrailRegion()const
{
return trailRegion_;
}
void CreateTrailRequest::setTrailRegion(const std::string& trailRegion)
{
trailRegion_ = trailRegion;
setParameter("TrailRegion", trailRegion);
}

View File

@@ -0,0 +1,114 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/CreateTrailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Actiontrail;
using namespace AlibabaCloud::Actiontrail::Model;
CreateTrailResult::CreateTrailResult() :
ServiceResult()
{}
CreateTrailResult::CreateTrailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTrailResult::~CreateTrailResult()
{}
void CreateTrailResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Name"].isNull())
name_ = value["Name"].asString();
if(!value["HomeRegion"].isNull())
homeRegion_ = value["HomeRegion"].asString();
if(!value["OssBucketName"].isNull())
ossBucketName_ = value["OssBucketName"].asString();
if(!value["OssKeyPrefix"].isNull())
ossKeyPrefix_ = value["OssKeyPrefix"].asString();
if(!value["RoleName"].isNull())
roleName_ = value["RoleName"].asString();
if(!value["SlsProjectArn"].isNull())
slsProjectArn_ = value["SlsProjectArn"].asString();
if(!value["SlsWriteRoleArn"].isNull())
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
if(!value["EventRW"].isNull())
eventRW_ = value["EventRW"].asString();
if(!value["TrailRegion"].isNull())
trailRegion_ = value["TrailRegion"].asString();
if(!value["MnsTopicArn"].isNull())
mnsTopicArn_ = value["MnsTopicArn"].asString();
}
std::string CreateTrailResult::getSlsProjectArn()const
{
return slsProjectArn_;
}
std::string CreateTrailResult::getMnsTopicArn()const
{
return mnsTopicArn_;
}
std::string CreateTrailResult::getRoleName()const
{
return roleName_;
}
std::string CreateTrailResult::getEventRW()const
{
return eventRW_;
}
std::string CreateTrailResult::getHomeRegion()const
{
return homeRegion_;
}
std::string CreateTrailResult::getOssKeyPrefix()const
{
return ossKeyPrefix_;
}
std::string CreateTrailResult::getOssBucketName()const
{
return ossBucketName_;
}
std::string CreateTrailResult::getSlsWriteRoleArn()const
{
return slsWriteRoleArn_;
}
std::string CreateTrailResult::getTrailRegion()const
{
return trailRegion_;
}
std::string CreateTrailResult::getName()const
{
return name_;
}

View File

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

View File

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

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/DeleteTrailRequest.h>
using AlibabaCloud::Actiontrail::Model::DeleteTrailRequest;
DeleteTrailRequest::DeleteTrailRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "DeleteTrail")
{
setMethod(HttpRequest::Method::Post);
}
DeleteTrailRequest::~DeleteTrailRequest()
{}
std::string DeleteTrailRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeleteTrailRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DeleteTrailRequest::getName()const
{
return name_;
}
void DeleteTrailRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/DescribeTrailsRequest.h>
using AlibabaCloud::Actiontrail::Model::DescribeTrailsRequest;
DescribeTrailsRequest::DescribeTrailsRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "DescribeTrails")
{
setMethod(HttpRequest::Method::Post);
}
DescribeTrailsRequest::~DescribeTrailsRequest()
{}
bool DescribeTrailsRequest::getIncludeShadowTrails()const
{
return includeShadowTrails_;
}
void DescribeTrailsRequest::setIncludeShadowTrails(bool includeShadowTrails)
{
includeShadowTrails_ = includeShadowTrails;
setParameter("IncludeShadowTrails", includeShadowTrails ? "true" : "false");
}
std::string DescribeTrailsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeTrailsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeTrailsRequest::getNameList()const
{
return nameList_;
}
void DescribeTrailsRequest::setNameList(const std::string& nameList)
{
nameList_ = nameList;
setParameter("NameList", nameList);
}

View File

@@ -0,0 +1,87 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/DescribeTrailsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Actiontrail;
using namespace AlibabaCloud::Actiontrail::Model;
DescribeTrailsResult::DescribeTrailsResult() :
ServiceResult()
{}
DescribeTrailsResult::DescribeTrailsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeTrailsResult::~DescribeTrailsResult()
{}
void DescribeTrailsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allTrailListNode = value["TrailList"]["TrailListItem"];
for (auto valueTrailListTrailListItem : allTrailListNode)
{
TrailListItem trailListObject;
if(!valueTrailListTrailListItem["Name"].isNull())
trailListObject.name = valueTrailListTrailListItem["Name"].asString();
if(!valueTrailListTrailListItem["HomeRegion"].isNull())
trailListObject.homeRegion = valueTrailListTrailListItem["HomeRegion"].asString();
if(!valueTrailListTrailListItem["RoleName"].isNull())
trailListObject.roleName = valueTrailListTrailListItem["RoleName"].asString();
if(!valueTrailListTrailListItem["OssBucketName"].isNull())
trailListObject.ossBucketName = valueTrailListTrailListItem["OssBucketName"].asString();
if(!valueTrailListTrailListItem["OssKeyPrefix"].isNull())
trailListObject.ossKeyPrefix = valueTrailListTrailListItem["OssKeyPrefix"].asString();
if(!valueTrailListTrailListItem["EventRW"].isNull())
trailListObject.eventRW = valueTrailListTrailListItem["EventRW"].asString();
if(!valueTrailListTrailListItem["SlsWriteRoleArn"].isNull())
trailListObject.slsWriteRoleArn = valueTrailListTrailListItem["SlsWriteRoleArn"].asString();
if(!valueTrailListTrailListItem["SlsProjectArn"].isNull())
trailListObject.slsProjectArn = valueTrailListTrailListItem["SlsProjectArn"].asString();
if(!valueTrailListTrailListItem["Status"].isNull())
trailListObject.status = valueTrailListTrailListItem["Status"].asString();
if(!valueTrailListTrailListItem["TrailRegion"].isNull())
trailListObject.trailRegion = valueTrailListTrailListItem["TrailRegion"].asString();
if(!valueTrailListTrailListItem["CreateTime"].isNull())
trailListObject.createTime = valueTrailListTrailListItem["CreateTime"].asString();
if(!valueTrailListTrailListItem["UpdateTime"].isNull())
trailListObject.updateTime = valueTrailListTrailListItem["UpdateTime"].asString();
if(!valueTrailListTrailListItem["StartLoggingTime"].isNull())
trailListObject.startLoggingTime = valueTrailListTrailListItem["StartLoggingTime"].asString();
if(!valueTrailListTrailListItem["StopLoggingTime"].isNull())
trailListObject.stopLoggingTime = valueTrailListTrailListItem["StopLoggingTime"].asString();
if(!valueTrailListTrailListItem["MnsTopicArn"].isNull())
trailListObject.mnsTopicArn = valueTrailListTrailListItem["MnsTopicArn"].asString();
if(!valueTrailListTrailListItem["IsOrganizationTrail"].isNull())
trailListObject.isOrganizationTrail = valueTrailListTrailListItem["IsOrganizationTrail"].asString() == "true";
trailList_.push_back(trailListObject);
}
}
std::vector<DescribeTrailsResult::TrailListItem> DescribeTrailsResult::getTrailList()const
{
return trailList_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/GetTrailStatusRequest.h>
using AlibabaCloud::Actiontrail::Model::GetTrailStatusRequest;
GetTrailStatusRequest::GetTrailStatusRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "GetTrailStatus")
{
setMethod(HttpRequest::Method::Post);
}
GetTrailStatusRequest::~GetTrailStatusRequest()
{}
std::string GetTrailStatusRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetTrailStatusRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string GetTrailStatusRequest::getName()const
{
return name_;
}
void GetTrailStatusRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
bool GetTrailStatusRequest::getIsOrganizationTrail()const
{
return isOrganizationTrail_;
}
void GetTrailStatusRequest::setIsOrganizationTrail(bool isOrganizationTrail)
{
isOrganizationTrail_ = isOrganizationTrail;
setParameter("IsOrganizationTrail", isOrganizationTrail ? "true" : "false");
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,194 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/LookupEventsRequest.h>
using AlibabaCloud::Actiontrail::Model::LookupEventsRequest;
LookupEventsRequest::LookupEventsRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "LookupEvents")
{
setMethod(HttpRequest::Method::Post);
}
LookupEventsRequest::~LookupEventsRequest()
{}
std::string LookupEventsRequest::getRequest()const
{
return request_;
}
void LookupEventsRequest::setRequest(const std::string& request)
{
request_ = request;
setParameter("Request", request);
}
std::string LookupEventsRequest::getStartTime()const
{
return startTime_;
}
void LookupEventsRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string LookupEventsRequest::getEventName()const
{
return eventName_;
}
void LookupEventsRequest::setEventName(const std::string& eventName)
{
eventName_ = eventName;
setParameter("EventName", eventName);
}
std::string LookupEventsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void LookupEventsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string LookupEventsRequest::getNextToken()const
{
return nextToken_;
}
void LookupEventsRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setParameter("NextToken", nextToken);
}
std::string LookupEventsRequest::getServiceName()const
{
return serviceName_;
}
void LookupEventsRequest::setServiceName(const std::string& serviceName)
{
serviceName_ = serviceName;
setParameter("ServiceName", serviceName);
}
std::string LookupEventsRequest::getEvent()const
{
return event_;
}
void LookupEventsRequest::setEvent(const std::string& event)
{
event_ = event;
setParameter("Event", event);
}
std::string LookupEventsRequest::getEventAccessKeyId()const
{
return eventAccessKeyId_;
}
void LookupEventsRequest::setEventAccessKeyId(const std::string& eventAccessKeyId)
{
eventAccessKeyId_ = eventAccessKeyId;
setParameter("EventAccessKeyId", eventAccessKeyId);
}
std::string LookupEventsRequest::getEndTime()const
{
return endTime_;
}
void LookupEventsRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
std::string LookupEventsRequest::getEventRW()const
{
return eventRW_;
}
void LookupEventsRequest::setEventRW(const std::string& eventRW)
{
eventRW_ = eventRW;
setParameter("EventRW", eventRW);
}
std::string LookupEventsRequest::getResourceType()const
{
return resourceType_;
}
void LookupEventsRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}
std::string LookupEventsRequest::getMaxResults()const
{
return maxResults_;
}
void LookupEventsRequest::setMaxResults(const std::string& maxResults)
{
maxResults_ = maxResults;
setParameter("MaxResults", maxResults);
}
std::string LookupEventsRequest::getEventType()const
{
return eventType_;
}
void LookupEventsRequest::setEventType(const std::string& eventType)
{
eventType_ = eventType;
setParameter("EventType", eventType);
}
std::string LookupEventsRequest::getResourceName()const
{
return resourceName_;
}
void LookupEventsRequest::setResourceName(const std::string& resourceName)
{
resourceName_ = resourceName;
setParameter("ResourceName", resourceName);
}
std::string LookupEventsRequest::getUser()const
{
return user_;
}
void LookupEventsRequest::setUser(const std::string& user)
{
user_ = user;
setParameter("User", user);
}

View File

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

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/StartLoggingRequest.h>
using AlibabaCloud::Actiontrail::Model::StartLoggingRequest;
StartLoggingRequest::StartLoggingRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "StartLogging")
{
setMethod(HttpRequest::Method::Get);
}
StartLoggingRequest::~StartLoggingRequest()
{}
std::string StartLoggingRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void StartLoggingRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string StartLoggingRequest::getName()const
{
return name_;
}
void StartLoggingRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}

View File

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

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/StopLoggingRequest.h>
using AlibabaCloud::Actiontrail::Model::StopLoggingRequest;
StopLoggingRequest::StopLoggingRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "StopLogging")
{
setMethod(HttpRequest::Method::Get);
}
StopLoggingRequest::~StopLoggingRequest()
{}
std::string StopLoggingRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void StopLoggingRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string StopLoggingRequest::getName()const
{
return name_;
}
void StopLoggingRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}

View File

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

View File

@@ -0,0 +1,139 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/UpdateTrailRequest.h>
using AlibabaCloud::Actiontrail::Model::UpdateTrailRequest;
UpdateTrailRequest::UpdateTrailRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "UpdateTrail")
{
setMethod(HttpRequest::Method::Post);
}
UpdateTrailRequest::~UpdateTrailRequest()
{}
std::string UpdateTrailRequest::getSlsProjectArn()const
{
return slsProjectArn_;
}
void UpdateTrailRequest::setSlsProjectArn(const std::string& slsProjectArn)
{
slsProjectArn_ = slsProjectArn;
setParameter("SlsProjectArn", slsProjectArn);
}
std::string UpdateTrailRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void UpdateTrailRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string UpdateTrailRequest::getSlsWriteRoleArn()const
{
return slsWriteRoleArn_;
}
void UpdateTrailRequest::setSlsWriteRoleArn(const std::string& slsWriteRoleArn)
{
slsWriteRoleArn_ = slsWriteRoleArn;
setParameter("SlsWriteRoleArn", slsWriteRoleArn);
}
std::string UpdateTrailRequest::getOssKeyPrefix()const
{
return ossKeyPrefix_;
}
void UpdateTrailRequest::setOssKeyPrefix(const std::string& ossKeyPrefix)
{
ossKeyPrefix_ = ossKeyPrefix;
setParameter("OssKeyPrefix", ossKeyPrefix);
}
std::string UpdateTrailRequest::getMnsTopicArn()const
{
return mnsTopicArn_;
}
void UpdateTrailRequest::setMnsTopicArn(const std::string& mnsTopicArn)
{
mnsTopicArn_ = mnsTopicArn;
setParameter("MnsTopicArn", mnsTopicArn);
}
std::string UpdateTrailRequest::getRoleName()const
{
return roleName_;
}
void UpdateTrailRequest::setRoleName(const std::string& roleName)
{
roleName_ = roleName;
setParameter("RoleName", roleName);
}
std::string UpdateTrailRequest::getEventRW()const
{
return eventRW_;
}
void UpdateTrailRequest::setEventRW(const std::string& eventRW)
{
eventRW_ = eventRW;
setParameter("EventRW", eventRW);
}
std::string UpdateTrailRequest::getName()const
{
return name_;
}
void UpdateTrailRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string UpdateTrailRequest::getOssBucketName()const
{
return ossBucketName_;
}
void UpdateTrailRequest::setOssBucketName(const std::string& ossBucketName)
{
ossBucketName_ = ossBucketName;
setParameter("OssBucketName", ossBucketName);
}
std::string UpdateTrailRequest::getTrailRegion()const
{
return trailRegion_;
}
void UpdateTrailRequest::setTrailRegion(const std::string& trailRegion)
{
trailRegion_ = trailRegion;
setParameter("TrailRegion", trailRegion);
}

View File

@@ -0,0 +1,114 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/actiontrail/model/UpdateTrailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Actiontrail;
using namespace AlibabaCloud::Actiontrail::Model;
UpdateTrailResult::UpdateTrailResult() :
ServiceResult()
{}
UpdateTrailResult::UpdateTrailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateTrailResult::~UpdateTrailResult()
{}
void UpdateTrailResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Name"].isNull())
name_ = value["Name"].asString();
if(!value["HomeRegion"].isNull())
homeRegion_ = value["HomeRegion"].asString();
if(!value["OssBucketName"].isNull())
ossBucketName_ = value["OssBucketName"].asString();
if(!value["OssKeyPrefix"].isNull())
ossKeyPrefix_ = value["OssKeyPrefix"].asString();
if(!value["RoleName"].isNull())
roleName_ = value["RoleName"].asString();
if(!value["SlsProjectArn"].isNull())
slsProjectArn_ = value["SlsProjectArn"].asString();
if(!value["SlsWriteRoleArn"].isNull())
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
if(!value["EventRW"].isNull())
eventRW_ = value["EventRW"].asString();
if(!value["TrailRegion"].isNull())
trailRegion_ = value["TrailRegion"].asString();
if(!value["MnsTopicArn"].isNull())
mnsTopicArn_ = value["MnsTopicArn"].asString();
}
std::string UpdateTrailResult::getSlsProjectArn()const
{
return slsProjectArn_;
}
std::string UpdateTrailResult::getMnsTopicArn()const
{
return mnsTopicArn_;
}
std::string UpdateTrailResult::getRoleName()const
{
return roleName_;
}
std::string UpdateTrailResult::getEventRW()const
{
return eventRW_;
}
std::string UpdateTrailResult::getHomeRegion()const
{
return homeRegion_;
}
std::string UpdateTrailResult::getOssKeyPrefix()const
{
return ossKeyPrefix_;
}
std::string UpdateTrailResult::getOssBucketName()const
{
return ossBucketName_;
}
std::string UpdateTrailResult::getSlsWriteRoleArn()const
{
return slsWriteRoleArn_;
}
std::string UpdateTrailResult::getTrailRegion()const
{
return trailRegion_;
}
std::string UpdateTrailResult::getName()const
{
return name_;
}

View File

@@ -77,6 +77,18 @@ set(alidns_public_header_model
include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h
include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h
include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h
include/alibabacloud/alidns/model/DescribeDohAccountStatisticsRequest.h
include/alibabacloud/alidns/model/DescribeDohAccountStatisticsResult.h
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsRequest.h
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsResult.h
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryRequest.h
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryResult.h
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsRequest.h
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsResult.h
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryRequest.h
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryResult.h
include/alibabacloud/alidns/model/DescribeDohUserInfoRequest.h
include/alibabacloud/alidns/model/DescribeDohUserInfoResult.h
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoRequest.h
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoResult.h
include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h
@@ -262,6 +274,18 @@ set(alidns_src
src/model/DescribeDnsProductInstanceResult.cc
src/model/DescribeDnsProductInstancesRequest.cc
src/model/DescribeDnsProductInstancesResult.cc
src/model/DescribeDohAccountStatisticsRequest.cc
src/model/DescribeDohAccountStatisticsResult.cc
src/model/DescribeDohDomainStatisticsRequest.cc
src/model/DescribeDohDomainStatisticsResult.cc
src/model/DescribeDohDomainStatisticsSummaryRequest.cc
src/model/DescribeDohDomainStatisticsSummaryResult.cc
src/model/DescribeDohSubDomainStatisticsRequest.cc
src/model/DescribeDohSubDomainStatisticsResult.cc
src/model/DescribeDohSubDomainStatisticsSummaryRequest.cc
src/model/DescribeDohSubDomainStatisticsSummaryResult.cc
src/model/DescribeDohUserInfoRequest.cc
src/model/DescribeDohUserInfoResult.cc
src/model/DescribeDomainDnssecInfoRequest.cc
src/model/DescribeDomainDnssecInfoResult.cc
src/model/DescribeDomainGroupsRequest.cc

View File

@@ -78,6 +78,18 @@
#include "model/DescribeDnsProductInstanceResult.h"
#include "model/DescribeDnsProductInstancesRequest.h"
#include "model/DescribeDnsProductInstancesResult.h"
#include "model/DescribeDohAccountStatisticsRequest.h"
#include "model/DescribeDohAccountStatisticsResult.h"
#include "model/DescribeDohDomainStatisticsRequest.h"
#include "model/DescribeDohDomainStatisticsResult.h"
#include "model/DescribeDohDomainStatisticsSummaryRequest.h"
#include "model/DescribeDohDomainStatisticsSummaryResult.h"
#include "model/DescribeDohSubDomainStatisticsRequest.h"
#include "model/DescribeDohSubDomainStatisticsResult.h"
#include "model/DescribeDohSubDomainStatisticsSummaryRequest.h"
#include "model/DescribeDohSubDomainStatisticsSummaryResult.h"
#include "model/DescribeDohUserInfoRequest.h"
#include "model/DescribeDohUserInfoResult.h"
#include "model/DescribeDomainDnssecInfoRequest.h"
#include "model/DescribeDomainDnssecInfoResult.h"
#include "model/DescribeDomainGroupsRequest.h"
@@ -297,6 +309,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDnsProductInstancesResult> DescribeDnsProductInstancesOutcome;
typedef std::future<DescribeDnsProductInstancesOutcome> DescribeDnsProductInstancesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsProductInstancesRequest&, const DescribeDnsProductInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsProductInstancesAsyncHandler;
typedef Outcome<Error, Model::DescribeDohAccountStatisticsResult> DescribeDohAccountStatisticsOutcome;
typedef std::future<DescribeDohAccountStatisticsOutcome> DescribeDohAccountStatisticsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohAccountStatisticsRequest&, const DescribeDohAccountStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohAccountStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeDohDomainStatisticsResult> DescribeDohDomainStatisticsOutcome;
typedef std::future<DescribeDohDomainStatisticsOutcome> DescribeDohDomainStatisticsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohDomainStatisticsRequest&, const DescribeDohDomainStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohDomainStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeDohDomainStatisticsSummaryResult> DescribeDohDomainStatisticsSummaryOutcome;
typedef std::future<DescribeDohDomainStatisticsSummaryOutcome> DescribeDohDomainStatisticsSummaryOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohDomainStatisticsSummaryRequest&, const DescribeDohDomainStatisticsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohDomainStatisticsSummaryAsyncHandler;
typedef Outcome<Error, Model::DescribeDohSubDomainStatisticsResult> DescribeDohSubDomainStatisticsOutcome;
typedef std::future<DescribeDohSubDomainStatisticsOutcome> DescribeDohSubDomainStatisticsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohSubDomainStatisticsRequest&, const DescribeDohSubDomainStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohSubDomainStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeDohSubDomainStatisticsSummaryResult> DescribeDohSubDomainStatisticsSummaryOutcome;
typedef std::future<DescribeDohSubDomainStatisticsSummaryOutcome> DescribeDohSubDomainStatisticsSummaryOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohSubDomainStatisticsSummaryRequest&, const DescribeDohSubDomainStatisticsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohSubDomainStatisticsSummaryAsyncHandler;
typedef Outcome<Error, Model::DescribeDohUserInfoResult> DescribeDohUserInfoOutcome;
typedef std::future<DescribeDohUserInfoOutcome> DescribeDohUserInfoOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohUserInfoRequest&, const DescribeDohUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohUserInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainDnssecInfoResult> DescribeDomainDnssecInfoOutcome;
typedef std::future<DescribeDomainDnssecInfoOutcome> DescribeDomainDnssecInfoOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainDnssecInfoRequest&, const DescribeDomainDnssecInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDnssecInfoAsyncHandler;
@@ -575,6 +605,24 @@ namespace AlibabaCloud
DescribeDnsProductInstancesOutcome describeDnsProductInstances(const Model::DescribeDnsProductInstancesRequest &request)const;
void describeDnsProductInstancesAsync(const Model::DescribeDnsProductInstancesRequest& request, const DescribeDnsProductInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsProductInstancesOutcomeCallable describeDnsProductInstancesCallable(const Model::DescribeDnsProductInstancesRequest& request) const;
DescribeDohAccountStatisticsOutcome describeDohAccountStatistics(const Model::DescribeDohAccountStatisticsRequest &request)const;
void describeDohAccountStatisticsAsync(const Model::DescribeDohAccountStatisticsRequest& request, const DescribeDohAccountStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDohAccountStatisticsOutcomeCallable describeDohAccountStatisticsCallable(const Model::DescribeDohAccountStatisticsRequest& request) const;
DescribeDohDomainStatisticsOutcome describeDohDomainStatistics(const Model::DescribeDohDomainStatisticsRequest &request)const;
void describeDohDomainStatisticsAsync(const Model::DescribeDohDomainStatisticsRequest& request, const DescribeDohDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDohDomainStatisticsOutcomeCallable describeDohDomainStatisticsCallable(const Model::DescribeDohDomainStatisticsRequest& request) const;
DescribeDohDomainStatisticsSummaryOutcome describeDohDomainStatisticsSummary(const Model::DescribeDohDomainStatisticsSummaryRequest &request)const;
void describeDohDomainStatisticsSummaryAsync(const Model::DescribeDohDomainStatisticsSummaryRequest& request, const DescribeDohDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDohDomainStatisticsSummaryOutcomeCallable describeDohDomainStatisticsSummaryCallable(const Model::DescribeDohDomainStatisticsSummaryRequest& request) const;
DescribeDohSubDomainStatisticsOutcome describeDohSubDomainStatistics(const Model::DescribeDohSubDomainStatisticsRequest &request)const;
void describeDohSubDomainStatisticsAsync(const Model::DescribeDohSubDomainStatisticsRequest& request, const DescribeDohSubDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDohSubDomainStatisticsOutcomeCallable describeDohSubDomainStatisticsCallable(const Model::DescribeDohSubDomainStatisticsRequest& request) const;
DescribeDohSubDomainStatisticsSummaryOutcome describeDohSubDomainStatisticsSummary(const Model::DescribeDohSubDomainStatisticsSummaryRequest &request)const;
void describeDohSubDomainStatisticsSummaryAsync(const Model::DescribeDohSubDomainStatisticsSummaryRequest& request, const DescribeDohSubDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDohSubDomainStatisticsSummaryOutcomeCallable describeDohSubDomainStatisticsSummaryCallable(const Model::DescribeDohSubDomainStatisticsSummaryRequest& request) const;
DescribeDohUserInfoOutcome describeDohUserInfo(const Model::DescribeDohUserInfoRequest &request)const;
void describeDohUserInfoAsync(const Model::DescribeDohUserInfoRequest& request, const DescribeDohUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDohUserInfoOutcomeCallable describeDohUserInfoCallable(const Model::DescribeDohUserInfoRequest& request) const;
DescribeDomainDnssecInfoOutcome describeDomainDnssecInfo(const Model::DescribeDomainDnssecInfoRequest &request)const;
void describeDomainDnssecInfoAsync(const Model::DescribeDomainDnssecInfoRequest& request, const DescribeDomainDnssecInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainDnssecInfoOutcomeCallable describeDomainDnssecInfoCallable(const Model::DescribeDomainDnssecInfoRequest& request) const;

View File

@@ -51,6 +51,7 @@ namespace AlibabaCloud
std::string getDnsSecurity()const;
long getURLForwardCount()const;
long getTTLMinValue()const;
std::string getPaymentType()const;
std::string getVersionName()const;
std::string getOverseaLine()const;
std::string getISPRegionLines()const;
@@ -87,6 +88,7 @@ namespace AlibabaCloud
std::string dnsSecurity_;
long uRLForwardCount_;
long tTLMinValue_;
std::string paymentType_;
std::string versionName_;
std::string overseaLine_;
std::string iSPRegionLines_;

View File

@@ -47,6 +47,7 @@ namespace AlibabaCloud
std::string dnsSecurity;
long uRLForwardCount;
long tTLMinValue;
std::string paymentType;
std::string versionName;
std::string overseaLine;
std::string iSPRegionLines;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSREQUEST_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 DescribeDohAccountStatisticsRequest : public RpcServiceRequest
{
public:
DescribeDohAccountStatisticsRequest();
~DescribeDohAccountStatisticsRequest();
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string startDate_;
std::string endDate_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSREQUEST_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_DESCRIBEDOHACCOUNTSTATISTICSRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSRESULT_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 DescribeDohAccountStatisticsResult : public ServiceResult
{
public:
struct Statistic
{
long totalCount;
long v4HttpCount;
long v6HttpCount;
long timestamp;
long v4HttpsCount;
long v6HttpsCount;
};
DescribeDohAccountStatisticsResult();
explicit DescribeDohAccountStatisticsResult(const std::string &payload);
~DescribeDohAccountStatisticsResult();
std::vector<Statistic> getStatistics()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Statistic> statistics_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSRESULT_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_DESCRIBEDOHDOMAINSTATISTICSREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSREQUEST_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 DescribeDohDomainStatisticsRequest : public RpcServiceRequest
{
public:
DescribeDohDomainStatisticsRequest();
~DescribeDohDomainStatisticsRequest();
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string domainName_;
std::string startDate_;
std::string endDate_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSREQUEST_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_DESCRIBEDOHDOMAINSTATISTICSRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSRESULT_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 DescribeDohDomainStatisticsResult : public ServiceResult
{
public:
struct Statistic
{
long totalCount;
long v4HttpCount;
long v6HttpCount;
long timestamp;
long v4HttpsCount;
long v6HttpsCount;
};
DescribeDohDomainStatisticsResult();
explicit DescribeDohDomainStatisticsResult(const std::string &payload);
~DescribeDohDomainStatisticsResult();
std::vector<Statistic> getStatistics()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Statistic> statistics_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSRESULT_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_DESCRIBEDOHDOMAINSTATISTICSSUMMARYREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYREQUEST_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 DescribeDohDomainStatisticsSummaryRequest : public RpcServiceRequest
{
public:
DescribeDohDomainStatisticsSummaryRequest();
~DescribeDohDomainStatisticsSummaryRequest();
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
std::string domainName_;
std::string orderBy_;
std::string startDate_;
int pageNumber_;
std::string endDate_;
int pageSize_;
std::string lang_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYRESULT_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 DescribeDohDomainStatisticsSummaryResult : public ServiceResult
{
public:
struct Statistic
{
long totalCount;
long ipCount;
std::string domainName;
long v4HttpCount;
long v6HttpCount;
long httpCount;
long httpsCount;
long v4HttpsCount;
long v6HttpsCount;
};
DescribeDohDomainStatisticsSummaryResult();
explicit DescribeDohDomainStatisticsSummaryResult(const std::string &payload);
~DescribeDohDomainStatisticsSummaryResult();
int getPageSize()const;
int getPageNumber()const;
int getTotalPages()const;
int getTotalItems()const;
std::vector<Statistic> getStatistics()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageNumber_;
int totalPages_;
int totalItems_;
std::vector<Statistic> statistics_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYRESULT_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_DESCRIBEDOHSUBDOMAINSTATISTICSREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSREQUEST_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 DescribeDohSubDomainStatisticsRequest : public RpcServiceRequest
{
public:
DescribeDohSubDomainStatisticsRequest();
~DescribeDohSubDomainStatisticsRequest();
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
std::string getSubDomain()const;
void setSubDomain(const std::string& subDomain);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string startDate_;
std::string endDate_;
std::string subDomain_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSREQUEST_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_DESCRIBEDOHSUBDOMAINSTATISTICSRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSRESULT_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 DescribeDohSubDomainStatisticsResult : public ServiceResult
{
public:
struct Statistic
{
long totalCount;
long v4HttpCount;
long v6HttpCount;
long timestamp;
long v4HttpsCount;
long v6HttpsCount;
};
DescribeDohSubDomainStatisticsResult();
explicit DescribeDohSubDomainStatisticsResult(const std::string &payload);
~DescribeDohSubDomainStatisticsResult();
std::vector<Statistic> getStatistics()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Statistic> statistics_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSRESULT_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_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYREQUEST_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 DescribeDohSubDomainStatisticsSummaryRequest : public RpcServiceRequest
{
public:
DescribeDohSubDomainStatisticsSummaryRequest();
~DescribeDohSubDomainStatisticsSummaryRequest();
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getSubDomain()const;
void setSubDomain(const std::string& subDomain);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
std::string domainName_;
std::string orderBy_;
std::string startDate_;
int pageNumber_;
std::string endDate_;
int pageSize_;
std::string subDomain_;
std::string lang_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYRESULT_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 DescribeDohSubDomainStatisticsSummaryResult : public ServiceResult
{
public:
struct Statistic
{
std::string subDomain;
long totalCount;
long ipCount;
long v4HttpCount;
long v6HttpCount;
long httpCount;
long httpsCount;
long v4HttpsCount;
long v6HttpsCount;
};
DescribeDohSubDomainStatisticsSummaryResult();
explicit DescribeDohSubDomainStatisticsSummaryResult(const std::string &payload);
~DescribeDohSubDomainStatisticsSummaryResult();
int getPageSize()const;
int getPageNumber()const;
int getTotalPages()const;
int getTotalItems()const;
std::vector<Statistic> getStatistics()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageNumber_;
int totalPages_;
int totalItems_;
std::vector<Statistic> statistics_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFOREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFOREQUEST_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 DescribeDohUserInfoRequest : public RpcServiceRequest
{
public:
DescribeDohUserInfoRequest();
~DescribeDohUserInfoRequest();
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string startDate_;
std::string endDate_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFOREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFORESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFORESULT_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 DescribeDohUserInfoResult : public ServiceResult
{
public:
DescribeDohUserInfoResult();
explicit DescribeDohUserInfoResult(const std::string &payload);
~DescribeDohUserInfoResult();
int getSubDomainCount()const;
long getPdnsId()const;
int getDomainCount()const;
protected:
void parse(const std::string &payload);
private:
int subDomainCount_;
long pdnsId_;
int domainCount_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFORESULT_H_

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
bool getRegionLines()const;
bool getAliDomain()const;
bool getSlaveDns()const;
std::string getResourceGroupId()const;
std::string getDomainName()const;
std::string getInstanceId()const;
std::string getPunyCode()const;
@@ -74,6 +75,7 @@ namespace AlibabaCloud
bool regionLines_;
bool aliDomain_;
bool slaveDns_;
std::string resourceGroupId_;
std::string domainName_;
std::string instanceId_;
std::string punyCode_;

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
};
std::string groupName;
bool aliDomain;
std::string resourceGroupId;
std::string domainName;
std::string instanceId;
std::string createTime;

View File

@@ -1059,6 +1059,222 @@ AlidnsClient::DescribeDnsProductInstancesOutcomeCallable AlidnsClient::describeD
return task->get_future();
}
AlidnsClient::DescribeDohAccountStatisticsOutcome AlidnsClient::describeDohAccountStatistics(const DescribeDohAccountStatisticsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDohAccountStatisticsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDohAccountStatisticsOutcome(DescribeDohAccountStatisticsResult(outcome.result()));
else
return DescribeDohAccountStatisticsOutcome(outcome.error());
}
void AlidnsClient::describeDohAccountStatisticsAsync(const DescribeDohAccountStatisticsRequest& request, const DescribeDohAccountStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDohAccountStatistics(request), context);
};
asyncExecute(new Runnable(fn));
}
AlidnsClient::DescribeDohAccountStatisticsOutcomeCallable AlidnsClient::describeDohAccountStatisticsCallable(const DescribeDohAccountStatisticsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDohAccountStatisticsOutcome()>>(
[this, request]()
{
return this->describeDohAccountStatistics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlidnsClient::DescribeDohDomainStatisticsOutcome AlidnsClient::describeDohDomainStatistics(const DescribeDohDomainStatisticsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDohDomainStatisticsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDohDomainStatisticsOutcome(DescribeDohDomainStatisticsResult(outcome.result()));
else
return DescribeDohDomainStatisticsOutcome(outcome.error());
}
void AlidnsClient::describeDohDomainStatisticsAsync(const DescribeDohDomainStatisticsRequest& request, const DescribeDohDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDohDomainStatistics(request), context);
};
asyncExecute(new Runnable(fn));
}
AlidnsClient::DescribeDohDomainStatisticsOutcomeCallable AlidnsClient::describeDohDomainStatisticsCallable(const DescribeDohDomainStatisticsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDohDomainStatisticsOutcome()>>(
[this, request]()
{
return this->describeDohDomainStatistics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlidnsClient::DescribeDohDomainStatisticsSummaryOutcome AlidnsClient::describeDohDomainStatisticsSummary(const DescribeDohDomainStatisticsSummaryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDohDomainStatisticsSummaryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDohDomainStatisticsSummaryOutcome(DescribeDohDomainStatisticsSummaryResult(outcome.result()));
else
return DescribeDohDomainStatisticsSummaryOutcome(outcome.error());
}
void AlidnsClient::describeDohDomainStatisticsSummaryAsync(const DescribeDohDomainStatisticsSummaryRequest& request, const DescribeDohDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDohDomainStatisticsSummary(request), context);
};
asyncExecute(new Runnable(fn));
}
AlidnsClient::DescribeDohDomainStatisticsSummaryOutcomeCallable AlidnsClient::describeDohDomainStatisticsSummaryCallable(const DescribeDohDomainStatisticsSummaryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDohDomainStatisticsSummaryOutcome()>>(
[this, request]()
{
return this->describeDohDomainStatisticsSummary(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlidnsClient::DescribeDohSubDomainStatisticsOutcome AlidnsClient::describeDohSubDomainStatistics(const DescribeDohSubDomainStatisticsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDohSubDomainStatisticsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDohSubDomainStatisticsOutcome(DescribeDohSubDomainStatisticsResult(outcome.result()));
else
return DescribeDohSubDomainStatisticsOutcome(outcome.error());
}
void AlidnsClient::describeDohSubDomainStatisticsAsync(const DescribeDohSubDomainStatisticsRequest& request, const DescribeDohSubDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDohSubDomainStatistics(request), context);
};
asyncExecute(new Runnable(fn));
}
AlidnsClient::DescribeDohSubDomainStatisticsOutcomeCallable AlidnsClient::describeDohSubDomainStatisticsCallable(const DescribeDohSubDomainStatisticsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDohSubDomainStatisticsOutcome()>>(
[this, request]()
{
return this->describeDohSubDomainStatistics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlidnsClient::DescribeDohSubDomainStatisticsSummaryOutcome AlidnsClient::describeDohSubDomainStatisticsSummary(const DescribeDohSubDomainStatisticsSummaryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDohSubDomainStatisticsSummaryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDohSubDomainStatisticsSummaryOutcome(DescribeDohSubDomainStatisticsSummaryResult(outcome.result()));
else
return DescribeDohSubDomainStatisticsSummaryOutcome(outcome.error());
}
void AlidnsClient::describeDohSubDomainStatisticsSummaryAsync(const DescribeDohSubDomainStatisticsSummaryRequest& request, const DescribeDohSubDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDohSubDomainStatisticsSummary(request), context);
};
asyncExecute(new Runnable(fn));
}
AlidnsClient::DescribeDohSubDomainStatisticsSummaryOutcomeCallable AlidnsClient::describeDohSubDomainStatisticsSummaryCallable(const DescribeDohSubDomainStatisticsSummaryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDohSubDomainStatisticsSummaryOutcome()>>(
[this, request]()
{
return this->describeDohSubDomainStatisticsSummary(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlidnsClient::DescribeDohUserInfoOutcome AlidnsClient::describeDohUserInfo(const DescribeDohUserInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDohUserInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDohUserInfoOutcome(DescribeDohUserInfoResult(outcome.result()));
else
return DescribeDohUserInfoOutcome(outcome.error());
}
void AlidnsClient::describeDohUserInfoAsync(const DescribeDohUserInfoRequest& request, const DescribeDohUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDohUserInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AlidnsClient::DescribeDohUserInfoOutcomeCallable AlidnsClient::describeDohUserInfoCallable(const DescribeDohUserInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDohUserInfoOutcome()>>(
[this, request]()
{
return this->describeDohUserInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlidnsClient::DescribeDomainDnssecInfoOutcome AlidnsClient::describeDomainDnssecInfo(const DescribeDomainDnssecInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -104,6 +104,8 @@ void DescribeDnsProductInstanceResult::parse(const std::string &payload)
bindDomainUsedCount_ = std::stol(value["BindDomainUsedCount"].asString());
if(!value["DnsSecurity"].isNull())
dnsSecurity_ = value["DnsSecurity"].asString();
if(!value["PaymentType"].isNull())
paymentType_ = value["PaymentType"].asString();
}
@@ -177,6 +179,11 @@ long DescribeDnsProductInstanceResult::getTTLMinValue()const
return tTLMinValue_;
}
std::string DescribeDnsProductInstanceResult::getPaymentType()const
{
return paymentType_;
}
std::string DescribeDnsProductInstanceResult::getVersionName()const
{
return versionName_;

View File

@@ -105,6 +105,8 @@ void DescribeDnsProductInstancesResult::parse(const std::string &payload)
dnsProductsObject.bindDomainUsedCount = std::stol(valueDnsProductsDnsProduct["BindDomainUsedCount"].asString());
if(!valueDnsProductsDnsProduct["DnsSecurity"].isNull())
dnsProductsObject.dnsSecurity = valueDnsProductsDnsProduct["DnsSecurity"].asString();
if(!valueDnsProductsDnsProduct["PaymentType"].isNull())
dnsProductsObject.paymentType = valueDnsProductsDnsProduct["PaymentType"].asString();
dnsProducts_.push_back(dnsProductsObject);
}
if(!value["TotalCount"].isNull())

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/DescribeDohAccountStatisticsRequest.h>
using AlibabaCloud::Alidns::Model::DescribeDohAccountStatisticsRequest;
DescribeDohAccountStatisticsRequest::DescribeDohAccountStatisticsRequest() :
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohAccountStatistics")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDohAccountStatisticsRequest::~DescribeDohAccountStatisticsRequest()
{}
std::string DescribeDohAccountStatisticsRequest::getStartDate()const
{
return startDate_;
}
void DescribeDohAccountStatisticsRequest::setStartDate(const std::string& startDate)
{
startDate_ = startDate;
setParameter("StartDate", startDate);
}
std::string DescribeDohAccountStatisticsRequest::getEndDate()const
{
return endDate_;
}
void DescribeDohAccountStatisticsRequest::setEndDate(const std::string& endDate)
{
endDate_ = endDate;
setParameter("EndDate", endDate);
}
std::string DescribeDohAccountStatisticsRequest::getLang()const
{
return lang_;
}
void DescribeDohAccountStatisticsRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/DescribeDohAccountStatisticsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alidns;
using namespace AlibabaCloud::Alidns::Model;
DescribeDohAccountStatisticsResult::DescribeDohAccountStatisticsResult() :
ServiceResult()
{}
DescribeDohAccountStatisticsResult::DescribeDohAccountStatisticsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDohAccountStatisticsResult::~DescribeDohAccountStatisticsResult()
{}
void DescribeDohAccountStatisticsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allStatisticsNode = value["Statistics"]["Statistic"];
for (auto valueStatisticsStatistic : allStatisticsNode)
{
Statistic statisticsObject;
if(!valueStatisticsStatistic["Timestamp"].isNull())
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
if(!valueStatisticsStatistic["TotalCount"].isNull())
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
statistics_.push_back(statisticsObject);
}
}
std::vector<DescribeDohAccountStatisticsResult::Statistic> DescribeDohAccountStatisticsResult::getStatistics()const
{
return statistics_;
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsRequest.h>
using AlibabaCloud::Alidns::Model::DescribeDohDomainStatisticsRequest;
DescribeDohDomainStatisticsRequest::DescribeDohDomainStatisticsRequest() :
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohDomainStatistics")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDohDomainStatisticsRequest::~DescribeDohDomainStatisticsRequest()
{}
std::string DescribeDohDomainStatisticsRequest::getDomainName()const
{
return domainName_;
}
void DescribeDohDomainStatisticsRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
std::string DescribeDohDomainStatisticsRequest::getStartDate()const
{
return startDate_;
}
void DescribeDohDomainStatisticsRequest::setStartDate(const std::string& startDate)
{
startDate_ = startDate;
setParameter("StartDate", startDate);
}
std::string DescribeDohDomainStatisticsRequest::getEndDate()const
{
return endDate_;
}
void DescribeDohDomainStatisticsRequest::setEndDate(const std::string& endDate)
{
endDate_ = endDate;
setParameter("EndDate", endDate);
}
std::string DescribeDohDomainStatisticsRequest::getLang()const
{
return lang_;
}
void DescribeDohDomainStatisticsRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alidns;
using namespace AlibabaCloud::Alidns::Model;
DescribeDohDomainStatisticsResult::DescribeDohDomainStatisticsResult() :
ServiceResult()
{}
DescribeDohDomainStatisticsResult::DescribeDohDomainStatisticsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDohDomainStatisticsResult::~DescribeDohDomainStatisticsResult()
{}
void DescribeDohDomainStatisticsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allStatisticsNode = value["Statistics"]["Statistic"];
for (auto valueStatisticsStatistic : allStatisticsNode)
{
Statistic statisticsObject;
if(!valueStatisticsStatistic["Timestamp"].isNull())
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
if(!valueStatisticsStatistic["TotalCount"].isNull())
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
statistics_.push_back(statisticsObject);
}
}
std::vector<DescribeDohDomainStatisticsResult::Statistic> DescribeDohDomainStatisticsResult::getStatistics()const
{
return statistics_;
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryRequest.h>
using AlibabaCloud::Alidns::Model::DescribeDohDomainStatisticsSummaryRequest;
DescribeDohDomainStatisticsSummaryRequest::DescribeDohDomainStatisticsSummaryRequest() :
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohDomainStatisticsSummary")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDohDomainStatisticsSummaryRequest::~DescribeDohDomainStatisticsSummaryRequest()
{}
std::string DescribeDohDomainStatisticsSummaryRequest::getDomainName()const
{
return domainName_;
}
void DescribeDohDomainStatisticsSummaryRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
std::string DescribeDohDomainStatisticsSummaryRequest::getOrderBy()const
{
return orderBy_;
}
void DescribeDohDomainStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
{
orderBy_ = orderBy;
setParameter("OrderBy", orderBy);
}
std::string DescribeDohDomainStatisticsSummaryRequest::getStartDate()const
{
return startDate_;
}
void DescribeDohDomainStatisticsSummaryRequest::setStartDate(const std::string& startDate)
{
startDate_ = startDate;
setParameter("StartDate", startDate);
}
int DescribeDohDomainStatisticsSummaryRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeDohDomainStatisticsSummaryRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeDohDomainStatisticsSummaryRequest::getEndDate()const
{
return endDate_;
}
void DescribeDohDomainStatisticsSummaryRequest::setEndDate(const std::string& endDate)
{
endDate_ = endDate;
setParameter("EndDate", endDate);
}
int DescribeDohDomainStatisticsSummaryRequest::getPageSize()const
{
return pageSize_;
}
void DescribeDohDomainStatisticsSummaryRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeDohDomainStatisticsSummaryRequest::getLang()const
{
return lang_;
}
void DescribeDohDomainStatisticsSummaryRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
std::string DescribeDohDomainStatisticsSummaryRequest::getDirection()const
{
return direction_;
}
void DescribeDohDomainStatisticsSummaryRequest::setDirection(const std::string& direction)
{
direction_ = direction;
setParameter("Direction", direction);
}

View File

@@ -0,0 +1,101 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alidns;
using namespace AlibabaCloud::Alidns::Model;
DescribeDohDomainStatisticsSummaryResult::DescribeDohDomainStatisticsSummaryResult() :
ServiceResult()
{}
DescribeDohDomainStatisticsSummaryResult::DescribeDohDomainStatisticsSummaryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDohDomainStatisticsSummaryResult::~DescribeDohDomainStatisticsSummaryResult()
{}
void DescribeDohDomainStatisticsSummaryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allStatisticsNode = value["Statistics"]["Statistic"];
for (auto valueStatisticsStatistic : allStatisticsNode)
{
Statistic statisticsObject;
if(!valueStatisticsStatistic["DomainName"].isNull())
statisticsObject.domainName = valueStatisticsStatistic["DomainName"].asString();
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
if(!valueStatisticsStatistic["TotalCount"].isNull())
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
if(!valueStatisticsStatistic["IpCount"].isNull())
statisticsObject.ipCount = std::stol(valueStatisticsStatistic["IpCount"].asString());
if(!valueStatisticsStatistic["HttpCount"].isNull())
statisticsObject.httpCount = std::stol(valueStatisticsStatistic["HttpCount"].asString());
if(!valueStatisticsStatistic["HttpsCount"].isNull())
statisticsObject.httpsCount = std::stol(valueStatisticsStatistic["HttpsCount"].asString());
statistics_.push_back(statisticsObject);
}
if(!value["TotalItems"].isNull())
totalItems_ = std::stoi(value["TotalItems"].asString());
if(!value["TotalPages"].isNull())
totalPages_ = std::stoi(value["TotalPages"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
}
int DescribeDohDomainStatisticsSummaryResult::getPageSize()const
{
return pageSize_;
}
int DescribeDohDomainStatisticsSummaryResult::getPageNumber()const
{
return pageNumber_;
}
int DescribeDohDomainStatisticsSummaryResult::getTotalPages()const
{
return totalPages_;
}
int DescribeDohDomainStatisticsSummaryResult::getTotalItems()const
{
return totalItems_;
}
std::vector<DescribeDohDomainStatisticsSummaryResult::Statistic> DescribeDohDomainStatisticsSummaryResult::getStatistics()const
{
return statistics_;
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsRequest.h>
using AlibabaCloud::Alidns::Model::DescribeDohSubDomainStatisticsRequest;
DescribeDohSubDomainStatisticsRequest::DescribeDohSubDomainStatisticsRequest() :
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohSubDomainStatistics")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDohSubDomainStatisticsRequest::~DescribeDohSubDomainStatisticsRequest()
{}
std::string DescribeDohSubDomainStatisticsRequest::getStartDate()const
{
return startDate_;
}
void DescribeDohSubDomainStatisticsRequest::setStartDate(const std::string& startDate)
{
startDate_ = startDate;
setParameter("StartDate", startDate);
}
std::string DescribeDohSubDomainStatisticsRequest::getEndDate()const
{
return endDate_;
}
void DescribeDohSubDomainStatisticsRequest::setEndDate(const std::string& endDate)
{
endDate_ = endDate;
setParameter("EndDate", endDate);
}
std::string DescribeDohSubDomainStatisticsRequest::getSubDomain()const
{
return subDomain_;
}
void DescribeDohSubDomainStatisticsRequest::setSubDomain(const std::string& subDomain)
{
subDomain_ = subDomain;
setParameter("SubDomain", subDomain);
}
std::string DescribeDohSubDomainStatisticsRequest::getLang()const
{
return lang_;
}
void DescribeDohSubDomainStatisticsRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alidns;
using namespace AlibabaCloud::Alidns::Model;
DescribeDohSubDomainStatisticsResult::DescribeDohSubDomainStatisticsResult() :
ServiceResult()
{}
DescribeDohSubDomainStatisticsResult::DescribeDohSubDomainStatisticsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDohSubDomainStatisticsResult::~DescribeDohSubDomainStatisticsResult()
{}
void DescribeDohSubDomainStatisticsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allStatisticsNode = value["Statistics"]["Statistic"];
for (auto valueStatisticsStatistic : allStatisticsNode)
{
Statistic statisticsObject;
if(!valueStatisticsStatistic["Timestamp"].isNull())
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
if(!valueStatisticsStatistic["TotalCount"].isNull())
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
statistics_.push_back(statisticsObject);
}
}
std::vector<DescribeDohSubDomainStatisticsResult::Statistic> DescribeDohSubDomainStatisticsResult::getStatistics()const
{
return statistics_;
}

View File

@@ -0,0 +1,128 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryRequest.h>
using AlibabaCloud::Alidns::Model::DescribeDohSubDomainStatisticsSummaryRequest;
DescribeDohSubDomainStatisticsSummaryRequest::DescribeDohSubDomainStatisticsSummaryRequest() :
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohSubDomainStatisticsSummary")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDohSubDomainStatisticsSummaryRequest::~DescribeDohSubDomainStatisticsSummaryRequest()
{}
std::string DescribeDohSubDomainStatisticsSummaryRequest::getDomainName()const
{
return domainName_;
}
void DescribeDohSubDomainStatisticsSummaryRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
std::string DescribeDohSubDomainStatisticsSummaryRequest::getOrderBy()const
{
return orderBy_;
}
void DescribeDohSubDomainStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
{
orderBy_ = orderBy;
setParameter("OrderBy", orderBy);
}
std::string DescribeDohSubDomainStatisticsSummaryRequest::getStartDate()const
{
return startDate_;
}
void DescribeDohSubDomainStatisticsSummaryRequest::setStartDate(const std::string& startDate)
{
startDate_ = startDate;
setParameter("StartDate", startDate);
}
int DescribeDohSubDomainStatisticsSummaryRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeDohSubDomainStatisticsSummaryRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeDohSubDomainStatisticsSummaryRequest::getEndDate()const
{
return endDate_;
}
void DescribeDohSubDomainStatisticsSummaryRequest::setEndDate(const std::string& endDate)
{
endDate_ = endDate;
setParameter("EndDate", endDate);
}
int DescribeDohSubDomainStatisticsSummaryRequest::getPageSize()const
{
return pageSize_;
}
void DescribeDohSubDomainStatisticsSummaryRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeDohSubDomainStatisticsSummaryRequest::getSubDomain()const
{
return subDomain_;
}
void DescribeDohSubDomainStatisticsSummaryRequest::setSubDomain(const std::string& subDomain)
{
subDomain_ = subDomain;
setParameter("SubDomain", subDomain);
}
std::string DescribeDohSubDomainStatisticsSummaryRequest::getLang()const
{
return lang_;
}
void DescribeDohSubDomainStatisticsSummaryRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
std::string DescribeDohSubDomainStatisticsSummaryRequest::getDirection()const
{
return direction_;
}
void DescribeDohSubDomainStatisticsSummaryRequest::setDirection(const std::string& direction)
{
direction_ = direction;
setParameter("Direction", direction);
}

View File

@@ -0,0 +1,101 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alidns;
using namespace AlibabaCloud::Alidns::Model;
DescribeDohSubDomainStatisticsSummaryResult::DescribeDohSubDomainStatisticsSummaryResult() :
ServiceResult()
{}
DescribeDohSubDomainStatisticsSummaryResult::DescribeDohSubDomainStatisticsSummaryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDohSubDomainStatisticsSummaryResult::~DescribeDohSubDomainStatisticsSummaryResult()
{}
void DescribeDohSubDomainStatisticsSummaryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allStatisticsNode = value["Statistics"]["Statistic"];
for (auto valueStatisticsStatistic : allStatisticsNode)
{
Statistic statisticsObject;
if(!valueStatisticsStatistic["SubDomain"].isNull())
statisticsObject.subDomain = valueStatisticsStatistic["SubDomain"].asString();
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
if(!valueStatisticsStatistic["TotalCount"].isNull())
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
if(!valueStatisticsStatistic["IpCount"].isNull())
statisticsObject.ipCount = std::stol(valueStatisticsStatistic["IpCount"].asString());
if(!valueStatisticsStatistic["HttpCount"].isNull())
statisticsObject.httpCount = std::stol(valueStatisticsStatistic["HttpCount"].asString());
if(!valueStatisticsStatistic["HttpsCount"].isNull())
statisticsObject.httpsCount = std::stol(valueStatisticsStatistic["HttpsCount"].asString());
statistics_.push_back(statisticsObject);
}
if(!value["TotalItems"].isNull())
totalItems_ = std::stoi(value["TotalItems"].asString());
if(!value["TotalPages"].isNull())
totalPages_ = std::stoi(value["TotalPages"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
}
int DescribeDohSubDomainStatisticsSummaryResult::getPageSize()const
{
return pageSize_;
}
int DescribeDohSubDomainStatisticsSummaryResult::getPageNumber()const
{
return pageNumber_;
}
int DescribeDohSubDomainStatisticsSummaryResult::getTotalPages()const
{
return totalPages_;
}
int DescribeDohSubDomainStatisticsSummaryResult::getTotalItems()const
{
return totalItems_;
}
std::vector<DescribeDohSubDomainStatisticsSummaryResult::Statistic> DescribeDohSubDomainStatisticsSummaryResult::getStatistics()const
{
return statistics_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alidns/model/DescribeDohUserInfoRequest.h>
using AlibabaCloud::Alidns::Model::DescribeDohUserInfoRequest;
DescribeDohUserInfoRequest::DescribeDohUserInfoRequest() :
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohUserInfo")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDohUserInfoRequest::~DescribeDohUserInfoRequest()
{}
std::string DescribeDohUserInfoRequest::getStartDate()const
{
return startDate_;
}
void DescribeDohUserInfoRequest::setStartDate(const std::string& startDate)
{
startDate_ = startDate;
setParameter("StartDate", startDate);
}
std::string DescribeDohUserInfoRequest::getEndDate()const
{
return endDate_;
}
void DescribeDohUserInfoRequest::setEndDate(const std::string& endDate)
{
endDate_ = endDate;
setParameter("EndDate", endDate);
}
std::string DescribeDohUserInfoRequest::getLang()const
{
return lang_;
}
void DescribeDohUserInfoRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -93,6 +93,8 @@ void DescribeDomainInfoResult::parse(const std::string &payload)
inClean_ = value["InClean"].asString() == "true";
if(!value["SlaveDns"].isNull())
slaveDns_ = value["SlaveDns"].asString() == "true";
if(!value["ResourceGroupId"].isNull())
resourceGroupId_ = value["ResourceGroupId"].asString();
}
@@ -126,6 +128,11 @@ bool DescribeDomainInfoResult::getSlaveDns()const
return slaveDns_;
}
std::string DescribeDomainInfoResult::getResourceGroupId()const
{
return resourceGroupId_;
}
std::string DescribeDomainInfoResult::getDomainName()const
{
return domainName_;

View File

@@ -77,6 +77,8 @@ void DescribeDomainsResult::parse(const std::string &payload)
domainsObject.createTime = valueDomainsDomain["CreateTime"].asString();
if(!valueDomainsDomain["CreateTimestamp"].isNull())
domainsObject.createTimestamp = std::stol(valueDomainsDomain["CreateTimestamp"].asString());
if(!valueDomainsDomain["ResourceGroupId"].isNull())
domainsObject.resourceGroupId = valueDomainsDomain["ResourceGroupId"].asString();
auto allTagsNode = allDomainsNode["Tags"]["Tag"];
for (auto allDomainsNodeTagsTag : allTagsNode)
{

View File

@@ -23,10 +23,26 @@ set(alimt_public_header
set(alimt_public_header_model
include/alibabacloud/alimt/model/CreateDocTranslateTaskRequest.h
include/alibabacloud/alimt/model/CreateDocTranslateTaskResult.h
include/alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h
include/alibabacloud/alimt/model/CreateImageTranslateTaskResult.h
include/alibabacloud/alimt/model/GetDetectLanguageRequest.h
include/alibabacloud/alimt/model/GetDetectLanguageResult.h
include/alibabacloud/alimt/model/GetDocTranslateTaskRequest.h
include/alibabacloud/alimt/model/GetDocTranslateTaskResult.h
include/alibabacloud/alimt/model/GetImageDiagnoseRequest.h
include/alibabacloud/alimt/model/GetImageDiagnoseResult.h
include/alibabacloud/alimt/model/GetImageTranslateRequest.h
include/alibabacloud/alimt/model/GetImageTranslateResult.h
include/alibabacloud/alimt/model/GetImageTranslateTaskRequest.h
include/alibabacloud/alimt/model/GetImageTranslateTaskResult.h
include/alibabacloud/alimt/model/GetTitleDiagnoseRequest.h
include/alibabacloud/alimt/model/GetTitleDiagnoseResult.h
include/alibabacloud/alimt/model/GetTitleGenerateRequest.h
include/alibabacloud/alimt/model/GetTitleGenerateResult.h
include/alibabacloud/alimt/model/GetTitleIntelligenceRequest.h
include/alibabacloud/alimt/model/GetTitleIntelligenceResult.h
include/alibabacloud/alimt/model/OpenAlimtServiceRequest.h
include/alibabacloud/alimt/model/OpenAlimtServiceResult.h
include/alibabacloud/alimt/model/TranslateRequest.h
include/alibabacloud/alimt/model/TranslateResult.h
include/alibabacloud/alimt/model/TranslateCertificateRequest.h
@@ -40,10 +56,26 @@ set(alimt_src
src/AlimtClient.cc
src/model/CreateDocTranslateTaskRequest.cc
src/model/CreateDocTranslateTaskResult.cc
src/model/CreateImageTranslateTaskRequest.cc
src/model/CreateImageTranslateTaskResult.cc
src/model/GetDetectLanguageRequest.cc
src/model/GetDetectLanguageResult.cc
src/model/GetDocTranslateTaskRequest.cc
src/model/GetDocTranslateTaskResult.cc
src/model/GetImageDiagnoseRequest.cc
src/model/GetImageDiagnoseResult.cc
src/model/GetImageTranslateRequest.cc
src/model/GetImageTranslateResult.cc
src/model/GetImageTranslateTaskRequest.cc
src/model/GetImageTranslateTaskResult.cc
src/model/GetTitleDiagnoseRequest.cc
src/model/GetTitleDiagnoseResult.cc
src/model/GetTitleGenerateRequest.cc
src/model/GetTitleGenerateResult.cc
src/model/GetTitleIntelligenceRequest.cc
src/model/GetTitleIntelligenceResult.cc
src/model/OpenAlimtServiceRequest.cc
src/model/OpenAlimtServiceResult.cc
src/model/TranslateRequest.cc
src/model/TranslateResult.cc
src/model/TranslateCertificateRequest.cc

View File

@@ -24,10 +24,26 @@
#include "AlimtExport.h"
#include "model/CreateDocTranslateTaskRequest.h"
#include "model/CreateDocTranslateTaskResult.h"
#include "model/CreateImageTranslateTaskRequest.h"
#include "model/CreateImageTranslateTaskResult.h"
#include "model/GetDetectLanguageRequest.h"
#include "model/GetDetectLanguageResult.h"
#include "model/GetDocTranslateTaskRequest.h"
#include "model/GetDocTranslateTaskResult.h"
#include "model/GetImageDiagnoseRequest.h"
#include "model/GetImageDiagnoseResult.h"
#include "model/GetImageTranslateRequest.h"
#include "model/GetImageTranslateResult.h"
#include "model/GetImageTranslateTaskRequest.h"
#include "model/GetImageTranslateTaskResult.h"
#include "model/GetTitleDiagnoseRequest.h"
#include "model/GetTitleDiagnoseResult.h"
#include "model/GetTitleGenerateRequest.h"
#include "model/GetTitleGenerateResult.h"
#include "model/GetTitleIntelligenceRequest.h"
#include "model/GetTitleIntelligenceResult.h"
#include "model/OpenAlimtServiceRequest.h"
#include "model/OpenAlimtServiceResult.h"
#include "model/TranslateRequest.h"
#include "model/TranslateResult.h"
#include "model/TranslateCertificateRequest.h"
@@ -48,12 +64,36 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateDocTranslateTaskResult> CreateDocTranslateTaskOutcome;
typedef std::future<CreateDocTranslateTaskOutcome> CreateDocTranslateTaskOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::CreateDocTranslateTaskRequest&, const CreateDocTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDocTranslateTaskAsyncHandler;
typedef Outcome<Error, Model::CreateImageTranslateTaskResult> CreateImageTranslateTaskOutcome;
typedef std::future<CreateImageTranslateTaskOutcome> CreateImageTranslateTaskOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::CreateImageTranslateTaskRequest&, const CreateImageTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateImageTranslateTaskAsyncHandler;
typedef Outcome<Error, Model::GetDetectLanguageResult> GetDetectLanguageOutcome;
typedef std::future<GetDetectLanguageOutcome> GetDetectLanguageOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetDetectLanguageRequest&, const GetDetectLanguageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDetectLanguageAsyncHandler;
typedef Outcome<Error, Model::GetDocTranslateTaskResult> GetDocTranslateTaskOutcome;
typedef std::future<GetDocTranslateTaskOutcome> GetDocTranslateTaskOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetDocTranslateTaskRequest&, const GetDocTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDocTranslateTaskAsyncHandler;
typedef Outcome<Error, Model::GetImageDiagnoseResult> GetImageDiagnoseOutcome;
typedef std::future<GetImageDiagnoseOutcome> GetImageDiagnoseOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetImageDiagnoseRequest&, const GetImageDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageDiagnoseAsyncHandler;
typedef Outcome<Error, Model::GetImageTranslateResult> GetImageTranslateOutcome;
typedef std::future<GetImageTranslateOutcome> GetImageTranslateOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateRequest&, const GetImageTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateAsyncHandler;
typedef Outcome<Error, Model::GetImageTranslateTaskResult> GetImageTranslateTaskOutcome;
typedef std::future<GetImageTranslateTaskOutcome> GetImageTranslateTaskOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateTaskRequest&, const GetImageTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateTaskAsyncHandler;
typedef Outcome<Error, Model::GetTitleDiagnoseResult> GetTitleDiagnoseOutcome;
typedef std::future<GetTitleDiagnoseOutcome> GetTitleDiagnoseOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetTitleDiagnoseRequest&, const GetTitleDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleDiagnoseAsyncHandler;
typedef Outcome<Error, Model::GetTitleGenerateResult> GetTitleGenerateOutcome;
typedef std::future<GetTitleGenerateOutcome> GetTitleGenerateOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetTitleGenerateRequest&, const GetTitleGenerateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleGenerateAsyncHandler;
typedef Outcome<Error, Model::GetTitleIntelligenceResult> GetTitleIntelligenceOutcome;
typedef std::future<GetTitleIntelligenceOutcome> GetTitleIntelligenceOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetTitleIntelligenceRequest&, const GetTitleIntelligenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleIntelligenceAsyncHandler;
typedef Outcome<Error, Model::OpenAlimtServiceResult> OpenAlimtServiceOutcome;
typedef std::future<OpenAlimtServiceOutcome> OpenAlimtServiceOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::OpenAlimtServiceRequest&, const OpenAlimtServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenAlimtServiceAsyncHandler;
typedef Outcome<Error, Model::TranslateResult> TranslateOutcome;
typedef std::future<TranslateOutcome> TranslateOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::TranslateRequest&, const TranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateAsyncHandler;
@@ -74,12 +114,36 @@ namespace AlibabaCloud
CreateDocTranslateTaskOutcome createDocTranslateTask(const Model::CreateDocTranslateTaskRequest &request)const;
void createDocTranslateTaskAsync(const Model::CreateDocTranslateTaskRequest& request, const CreateDocTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDocTranslateTaskOutcomeCallable createDocTranslateTaskCallable(const Model::CreateDocTranslateTaskRequest& request) const;
CreateImageTranslateTaskOutcome createImageTranslateTask(const Model::CreateImageTranslateTaskRequest &request)const;
void createImageTranslateTaskAsync(const Model::CreateImageTranslateTaskRequest& request, const CreateImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateImageTranslateTaskOutcomeCallable createImageTranslateTaskCallable(const Model::CreateImageTranslateTaskRequest& request) const;
GetDetectLanguageOutcome getDetectLanguage(const Model::GetDetectLanguageRequest &request)const;
void getDetectLanguageAsync(const Model::GetDetectLanguageRequest& request, const GetDetectLanguageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDetectLanguageOutcomeCallable getDetectLanguageCallable(const Model::GetDetectLanguageRequest& request) const;
GetDocTranslateTaskOutcome getDocTranslateTask(const Model::GetDocTranslateTaskRequest &request)const;
void getDocTranslateTaskAsync(const Model::GetDocTranslateTaskRequest& request, const GetDocTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDocTranslateTaskOutcomeCallable getDocTranslateTaskCallable(const Model::GetDocTranslateTaskRequest& request) const;
GetImageDiagnoseOutcome getImageDiagnose(const Model::GetImageDiagnoseRequest &request)const;
void getImageDiagnoseAsync(const Model::GetImageDiagnoseRequest& request, const GetImageDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetImageDiagnoseOutcomeCallable getImageDiagnoseCallable(const Model::GetImageDiagnoseRequest& request) const;
GetImageTranslateOutcome getImageTranslate(const Model::GetImageTranslateRequest &request)const;
void getImageTranslateAsync(const Model::GetImageTranslateRequest& request, const GetImageTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetImageTranslateOutcomeCallable getImageTranslateCallable(const Model::GetImageTranslateRequest& request) const;
GetImageTranslateTaskOutcome getImageTranslateTask(const Model::GetImageTranslateTaskRequest &request)const;
void getImageTranslateTaskAsync(const Model::GetImageTranslateTaskRequest& request, const GetImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetImageTranslateTaskOutcomeCallable getImageTranslateTaskCallable(const Model::GetImageTranslateTaskRequest& request) const;
GetTitleDiagnoseOutcome getTitleDiagnose(const Model::GetTitleDiagnoseRequest &request)const;
void getTitleDiagnoseAsync(const Model::GetTitleDiagnoseRequest& request, const GetTitleDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTitleDiagnoseOutcomeCallable getTitleDiagnoseCallable(const Model::GetTitleDiagnoseRequest& request) const;
GetTitleGenerateOutcome getTitleGenerate(const Model::GetTitleGenerateRequest &request)const;
void getTitleGenerateAsync(const Model::GetTitleGenerateRequest& request, const GetTitleGenerateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTitleGenerateOutcomeCallable getTitleGenerateCallable(const Model::GetTitleGenerateRequest& request) const;
GetTitleIntelligenceOutcome getTitleIntelligence(const Model::GetTitleIntelligenceRequest &request)const;
void getTitleIntelligenceAsync(const Model::GetTitleIntelligenceRequest& request, const GetTitleIntelligenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTitleIntelligenceOutcomeCallable getTitleIntelligenceCallable(const Model::GetTitleIntelligenceRequest& request) const;
OpenAlimtServiceOutcome openAlimtService(const Model::OpenAlimtServiceRequest &request)const;
void openAlimtServiceAsync(const Model::OpenAlimtServiceRequest& request, const OpenAlimtServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OpenAlimtServiceOutcomeCallable openAlimtServiceCallable(const Model::OpenAlimtServiceRequest& request) const;
TranslateOutcome translate(const Model::TranslateRequest &request)const;
void translateAsync(const Model::TranslateRequest& request, const TranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TranslateOutcomeCallable translateCallable(const Model::TranslateRequest& request) const;

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_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
#define ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alimt/AlimtExport.h>
namespace AlibabaCloud
{
namespace Alimt
{
namespace Model
{
class ALIBABACLOUD_ALIMT_EXPORT CreateImageTranslateTaskRequest : public RpcServiceRequest
{
public:
CreateImageTranslateTaskRequest();
~CreateImageTranslateTaskRequest();
std::string getSourceLanguage()const;
void setSourceLanguage(const std::string& sourceLanguage);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getUrlList()const;
void setUrlList(const std::string& urlList);
std::string getExtra()const;
void setExtra(const std::string& extra);
std::string getTargetLanguage()const;
void setTargetLanguage(const std::string& targetLanguage);
private:
std::string sourceLanguage_;
std::string clientToken_;
std::string urlList_;
std::string extra_;
std::string targetLanguage_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_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_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_
#define ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alimt/AlimtExport.h>
namespace AlibabaCloud
{
namespace Alimt
{
namespace Model
{
class ALIBABACLOUD_ALIMT_EXPORT CreateImageTranslateTaskResult : public ServiceResult
{
public:
struct Data
{
std::string taskId;
};
CreateImageTranslateTaskResult();
explicit CreateImageTranslateTaskResult(const std::string &payload);
~CreateImageTranslateTaskResult();
std::string getMessage()const;
Data getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_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_ALIMT_MODEL_GETIMAGEDIAGNOSEREQUEST_H_
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alimt/AlimtExport.h>
namespace AlibabaCloud
{
namespace Alimt
{
namespace Model
{
class ALIBABACLOUD_ALIMT_EXPORT GetImageDiagnoseRequest : public RpcServiceRequest
{
public:
GetImageDiagnoseRequest();
~GetImageDiagnoseRequest();
std::string getUrl()const;
void setUrl(const std::string& url);
std::string getExtra()const;
void setExtra(const std::string& extra);
private:
std::string url_;
std::string extra_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSEREQUEST_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_ALIMT_MODEL_GETIMAGEDIAGNOSERESULT_H_
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alimt/AlimtExport.h>
namespace AlibabaCloud
{
namespace Alimt
{
namespace Model
{
class ALIBABACLOUD_ALIMT_EXPORT GetImageDiagnoseResult : public ServiceResult
{
public:
struct Data
{
std::string language;
};
GetImageDiagnoseResult();
explicit GetImageDiagnoseResult(const std::string &payload);
~GetImageDiagnoseResult();
std::string getMessage()const;
Data getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSERESULT_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_ALIMT_MODEL_GETIMAGETRANSLATEREQUEST_H_
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alimt/AlimtExport.h>
namespace AlibabaCloud
{
namespace Alimt
{
namespace Model
{
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateRequest : public RpcServiceRequest
{
public:
GetImageTranslateRequest();
~GetImageTranslateRequest();
std::string getSourceLanguage()const;
void setSourceLanguage(const std::string& sourceLanguage);
std::string getUrl()const;
void setUrl(const std::string& url);
std::string getExtra()const;
void setExtra(const std::string& extra);
std::string getTargetLanguage()const;
void setTargetLanguage(const std::string& targetLanguage);
private:
std::string sourceLanguage_;
std::string url_;
std::string extra_;
std::string targetLanguage_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATEREQUEST_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_ALIMT_MODEL_GETIMAGETRANSLATERESULT_H_
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alimt/AlimtExport.h>
namespace AlibabaCloud
{
namespace Alimt
{
namespace Model
{
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateResult : public ServiceResult
{
public:
struct Data
{
std::string orc;
std::string pictureEditor;
std::string url;
};
GetImageTranslateResult();
explicit GetImageTranslateResult(const std::string &payload);
~GetImageTranslateResult();
std::string getMessage()const;
Data getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATERESULT_H_

View File

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

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