Compare commits

..

380 Commits

Author SHA1 Message Date
sdk-team
272a1c1466 Update DetectVehicleIllegalParking DetectVehicleICongestion. 2021-02-04 10:01:29 +00:00
sdk-team
ee902a7f28 Supported scheduler for outbound call. 2021-02-04 06:57:45 +00:00
sdk-team
fb12252d2d Supported console. 2021-02-04 06:34:05 +00:00
sdk-team
6e4fea5ea2 Supported console. 2021-02-04 06:22:03 +00:00
sdk-team
1b54ddd725 Update TaggingImage. 2021-02-04 05:53:32 +00:00
sdk-team
6e5ba8761d After normalizing the API group name, regenerate the SDK. 2021-02-03 08:45:46 +00:00
sdk-team
e71ef9a243 Add ModifyAuditLogConfig API. 2021-02-03 08:24:56 +00:00
sdk-team
17af8569c4 Add. 2021-02-02 03:03:51 +00:00
sdk-team
4c3be7ed7c CreateShardingDBInstance add ReadOnlyReplicas in ReplicaSet. 2021-02-02 02:17:28 +00:00
sdk-team
3303c6120d Support device credential for mqtt. 2021-02-01 13:23:11 +00:00
sdk-team
d0e1cd8792 Release GenerateHumanSketchStyle MergeImageFace AddFaceImageTemplate QueryFaceImageTemplate DeleteFaceImageTemplate. 2021-02-01 09:17:16 +00:00
sdk-team
7859e7446f Add. 2021-02-01 09:05:26 +00:00
sdk-team
8296e36314 Release GenerateHumanSketchStyle MergeImageFace AddFaceImageTemplate QueryFaceImageTemplate DeleteFaceImageTemplate. 2021-02-01 03:14:50 +00:00
sdk-team
0af9554cab Release RecognizeFood. 2021-02-01 03:11:32 +00:00
sdk-team
5590f7808b Release UnderstandVideoContent. 2021-02-01 03:00:50 +00:00
sdk-team
df825120f3 Release SegmentGreenScreenVideo. 2021-02-01 02:41:37 +00:00
sdk-team
e0575e4c67 Release DetectVehicleIllegalParking DetectVehicleICongestion. 2021-02-01 02:22:23 +00:00
sdk-team
4b58532ad0 ConvertInstance. 2021-01-31 06:31:46 +00:00
sdk-team
4e4d3730de Update rate limit. 2021-01-30 10:13:58 +00:00
sdk-team
90d44564e0 Update Monitor Api. 2021-01-29 04:28:56 +00:00
sdk-team
0553d7374d Update Monitor Api. 2021-01-29 03:36:09 +00:00
sdk-team
e84530679a Update Open API. 2021-01-29 02:35:09 +00:00
sdk-team
b3ae2c61f0 Generated 2020-05-18 for dataworks-public. 2021-01-29 02:21:39 +00:00
sdk-team
38eb8f243a Generated 2018-03-13 for retailcloud. 2021-01-28 03:37:50 +00:00
sdk-team
caf80426a4 Add New BatchTranslate API. 2021-01-27 07:27:58 +00:00
sdk-team
9b90cedcbb Add New BatchTranslate API. 2021-01-27 07:24:40 +00:00
sdk-team
99cbb7279f DetectFaceAttributes Add Score. 2021-01-27 06:44:31 +00:00
sdk-team
9c94805a97 Support ModifyDBClusterPrimaryZone timer task. 2021-01-26 09:39:00 +00:00
sdk-team
198969d4d9 Regenerate SDK to override list implement. 2021-01-25 12:50:16 +00:00
sdk-team
eaa6b3cb18 Update Open API. 2021-01-25 02:08:21 +00:00
sdk-team
32dccef2ae Modify some field types. 2021-01-21 11:44:22 +00:00
sdk-team
baae93b317 Generated 2019-09-10 for waf-openapi. 2021-01-21 08:24:23 +00:00
sdk-team
6ff5b2e255 Add. 2021-01-21 06:23:25 +00:00
sdk-team
65a6e6b64f Supported RunInstances specifiy Dedicated Host Cluster Id. 2021-01-21 04:16:31 +00:00
sdk-team
0802c5d8b0 Update Function. 2021-01-19 11:14:44 +00:00
sdk-team
31aec3f28f Generated 2019-03-27 for dg. 2021-01-18 13:58:07 +00:00
sdk-team
f3fbed5766 Add a set of API to support device distribution management, including CreateProductDistributeJob, CreateDeviceDistributeJob, QueryDeviceDistributeJob, ListDeviceDistributeJob, QueryDeviceDistributeDetail, DeleteDeviceDistributeJob, ListDistributedDevice, ListDistributedProduct etc. 2021-01-18 04:06:53 +00:00
sdk-team
a81d0c4daa Add a set of api to support device distribution management, including CreateProductDistributeJob, CreateDeviceDistributeJob, QueryDeviceDistributeJob, ListDeviceDistributeJob, QueryDeviceDistributeDetail, DeleteDeviceDistributeJob, ListDistributedDevice, ListDistributedProduct etc. 2021-01-18 03:56:25 +00:00
sdk-team
76821f71df Add ListMergeRequests api. 2021-01-18 03:54:49 +00:00
sdk-team
4d618db251 Add result value spanId for GetTrace api. 2021-01-15 12:29:31 +00:00
sdk-team
5def51b35c Update Function. 2021-01-15 08:43:24 +00:00
sdk-team
740062e96f Update Function. 2021-01-15 06:40:36 +00:00
sdk-team
2d49d2072f Add API CreateSortScriptValidation. 2021-01-15 03:59:05 +00:00
sdk-team
1794d57757 Remove drcGuidRouteApi, ModifyDtsJobPassword API. 2021-01-15 03:25:16 +00:00
sdk-team
2f7735992b Generated 2016-11-01 for live. 2021-01-15 01:37:20 +00:00
sdk-team
c97337aa82 Add function. 2021-01-14 11:04:54 +00:00
sdk-team
406b8fba46 Add BillingDate support in QueryAccontBill. 2021-01-14 10:19:58 +00:00
sdk-team
2f2b3aa219 Update Open API. 2021-01-14 09:38:15 +00:00
sdk-team
64d4eb1931 Update function. 2021-01-14 04:47:50 +00:00
sdk-team
bbbd1121ca Fixed ListUsers, GetUser, EnableUser, RegisterUser, DisableUser, DeleteUser API parameter of uid data type error, from number into string. 2021-01-14 03:48:26 +00:00
sdk-team
8b8f380da8 Create Lindorm Open api. 2021-01-14 02:25:43 +00:00
sdk-team
f801094376 Add SwitchInstanceHA API. 2021-01-13 12:34:19 +00:00
sdk-team
9d21a76b23 Add support for IoT jobs, including job management and query APIs like CreateJob, UpdateJob, QueryJob, CancelJob, ListTask, QueryTask, QueryJobStatistics etc. 2021-01-13 08:39:41 +00:00
sdk-team
e8a74f4418 Generated 2016-11-01 for live. 2021-01-13 02:08:35 +00:00
sdk-team
f4ed9edc5e Add new API for recording. 2021-01-12 12:26:02 +00:00
sdk-team
e699b34aee Create a new sdk. 2021-01-11 08:55:44 +00:00
sdk-team
4f16d1bd02 Add result value spanId for GetTrace api. 2021-01-11 06:43:17 +00:00
sdk-team
5bf58dc5b5 Support DescribeScheduleTasks. 2021-01-11 02:54:26 +00:00
sdk-team
405237dd06 Added batch drop list domain. 2021-01-08 03:07:58 +00:00
sdk-team
681409a561 Add new API for configuration and report, generate SDK again. 2021-01-08 02:38:27 +00:00
sdk-team
2cd64902ff Add new API for configuration and report. 2021-01-07 13:21:47 +00:00
sdk-team
9c8cdd32a3 Add CreateAndStartBackupPlan. 2021-01-07 12:29:27 +00:00
sdk-team
8af7b49fe1 Generated 2019-09-10 for waf-openapi. 2021-01-07 09:18:30 +00:00
sdk-team
0fd5a21a0b DescribeAvailableResource. 2021-01-06 13:45:15 +00:00
sdk-team
8ba9bacd33 Initial release. 2021-01-06 12:12:37 +00:00
sdk-team
193b07c609 Update DetectLungNodule. 2021-01-06 06:25:57 +00:00
sdk-team
f75ad9a460 Support input parameter ClientToken for CreateAutoProvisioningGroup. 2021-01-06 03:44:45 +00:00
sdk-team
e941e2f1df Add API. 2021-01-06 01:24:19 +00:00
sdk-team
17908bcee3 Remove legacy APIs. 2021-01-05 08:38:39 +00:00
sdk-team
1ac255eae8 Add DescribeBackupTasks API. 2021-01-05 08:25:23 +00:00
sdk-team
7443b8a1e7 Generated 2014-05-26 for Ecs. 2021-01-04 06:59:40 +00:00
sdk-team
940ffd3643 Supported API for GTM. 2021-01-04 01:45:56 +00:00
sdk-team
7da7f672b5 Add support for thing model function block features, including thing model APIs like CreateThingModel,UpdateThingModel,SetDeviceProperty,InvokeThingService etc. 2020-12-31 11:37:42 +00:00
sdk-team
fd8db44215 Update Open API. 2020-12-31 09:56:30 +00:00
sdk-team
d6b85e68de Add DescribeActiveOperationTask API. 2020-12-30 13:13:53 +00:00
sdk-team
4e8da023b8 ListNodesNoPaging return with instance type. 2020-12-29 06:30:30 +00:00
sdk-team
34b35e8f02 Generated 2020-05-18 for dataworks-public. 2020-12-28 10:33:54 +00:00
sdk-team
3387ef3a68 Release InterpolateVideoFrame ToneSdrVideo ConvertHdrVideo. 2020-12-28 10:06:55 +00:00
sdk-team
b1f19958a7 Release GenRealPersonVerificationToken GetRealPersonVerificationResult. 2020-12-28 10:01:36 +00:00
sdk-team
c5062df7f5 Add CommodityCode For QueryOrderAPI. 2020-12-28 09:15:31 +00:00
sdk-team
f9b117f5a6 Add some console API operations. 2020-12-28 07:46:18 +00:00
sdk-team
2a6631ce12 Generated 2016-04-08 for Emr. 2020-12-25 10:25:09 +00:00
sdk-team
639137bd27 Supported for weboffice edit. 2020-12-25 03:46:39 +00:00
sdk-team
8a601bc5ae Modify ConfigureBackupPlan. 2020-12-24 10:37:35 +00:00
sdk-team
0a08e77127 Update Open API. 2020-12-24 10:14:50 +00:00
sdk-team
46971a81db CDRS First edition. 2020-12-23 07:55:12 +00:00
sdk-team
5bde791941 Add 2019 openapi. 2020-12-23 06:07:49 +00:00
sdk-team
0793ffd5d4 Release DetectPedestrianIntrusion. 2020-12-23 03:21:51 +00:00
sdk-team
92791badbf Create Lindorm Open api. 2020-12-23 03:14:40 +00:00
sdk-team
fbd8bebfed Create TSDB Open api. 2020-12-23 03:12:54 +00:00
sdk-team
15efd0abf3 Minor chagnes. 2020-12-22 11:06:50 +00:00
sdk-team
ec2fdb4ecb Update SegmentAnimal SegmentCommonImage. 2020-12-22 09:21:24 +00:00
sdk-team
505b8e2062 Support SLB latest OpenAPIs. 2020-12-22 09:00:08 +00:00
sdk-team
55c2e91e9f Release InterpolateVideoFrame ToneSdrVideo ConvertHdrVideo. 2020-12-22 07:55:53 +00:00
sdk-team
e70f8f2d10 Release InterpolateVideoFrame. 2020-12-22 07:07:28 +00:00
sdk-team
196b891ec3 Release DetectRibFracture. 2020-12-22 07:01:04 +00:00
sdk-team
58b398b978 Minor chagnes. 2020-12-22 06:38:51 +00:00
sdk-team
13693fecae Generated 2020-05-18 for dataworks-public. 2020-12-22 01:58:26 +00:00
sdk-team
a4f63bc75f Support Device of LaunchConfiguration_DataDisk. 2020-12-21 02:59:31 +00:00
sdk-team
6dd27ba3df Support DescribeDatabases for page query. 2020-12-21 02:43:26 +00:00
sdk-team
cf63bd74d6 Support ListRepositories, ListOrganizations, GetUserInfo, ListRepositoryWebhook, DeleteRepositoryWebhook api. 2020-12-18 11:05:12 +00:00
sdk-team
4b1cbc0461 Add GetAgentDownloadUrl api. 2020-12-18 08:12:42 +00:00
sdk-team
49feb2bedd Release EvaluateCertificateQuality. 2020-12-18 06:16:28 +00:00
sdk-team
45daf26fac Generated 2020-05-18 for dataworks-public. 2020-12-18 02:31:57 +00:00
sdk-team
a9e22f8d11 Update SegmentFood. 2020-12-17 10:21:15 +00:00
sdk-team
38d18cec8b Update DeleteScdnDomain. 2020-12-17 08:10:23 +00:00
sdk-team
041b9c9999 Generated 2014-05-26 for Ecs. 2020-12-17 08:09:26 +00:00
sdk-team
279ad33425 Update DeleteDcdnDomain. 2020-12-17 08:08:52 +00:00
sdk-team
e990580a3e Update DeleteCdnDomain. 2020-12-17 08:02:48 +00:00
sdk-team
6da72af809 Generated 2020-01-11 for servicemesh. 2020-12-17 06:13:54 +00:00
sdk-team
f0147b77e3 Update api. 2020-12-17 06:03:25 +00:00
sdk-team
85cb326723 Generated 2019-09-10 for waf-openapi. 2020-12-16 13:12:02 +00:00
sdk-team
ade846346f Support show pipeline history. 2020-12-16 06:16:31 +00:00
sdk-team
5b311d2af3 Add Face Attributes. 2020-12-16 02:52:46 +00:00
sdk-team
e94b2e56f0 Update Open API. 2020-12-15 08:40:09 +00:00
sdk-team
bc50286074 CDRS First edition. 2020-12-15 07:04:17 +00:00
sdk-team
3903999f4e CDRS First edition. 2020-12-15 06:56:27 +00:00
sdk-team
74be983766 Add update task api. 2020-12-14 11:41:44 +00:00
sdk-team
1b7a4d81d6 Add update task api. 2020-12-14 11:40:18 +00:00
sdk-team
ee87d18d06 CDRS First edition. 2020-12-14 03:38:45 +00:00
sdk-team
479766d633 Add update task api. 2020-12-14 02:19:38 +00:00
sdk-team
add2bce016 Add Emon route-API support. 2020-12-11 02:11:39 +00:00
sdk-team
f5705434a9 Update SegmentCommodity. 2020-12-09 06:40:49 +00:00
sdk-team
3c00b7ee89 Remove DescribeSubscriptionObjectModifyStatus. 2020-12-07 02:18:29 +00:00
sdk-team
8708226a83 Supported broker demand. 2020-12-04 10:54:55 +00:00
sdk-team
295143d70a Support manual scan interface. 2020-12-04 07:19:58 +00:00
sdk-team
990c6f8efd ReportInstancesStatus OpenAPI supports IssueCategory parameter. 2020-12-04 04:23:53 +00:00
sdk-team
b409d3d613 Update DescribeScdnDomainCertificateInfo. 2020-12-03 11:22:00 +00:00
sdk-team
74112c6fe7 Update ModifyDcdnService. 2020-12-03 11:19:36 +00:00
sdk-team
b105496b11 Update DescribeDomainMax95BpsData. 2020-12-03 11:14:50 +00:00
sdk-team
f946b7f9f6 Update DescribeScdnDomainCertificateInfo. 2020-12-03 10:40:44 +00:00
sdk-team
f726b03be7 Update DescribeDomainMax95BpsData. 2020-12-03 09:42:13 +00:00
sdk-team
e2c900c27d Update DescribeScdnDomainCertificateInfo. 2020-12-03 09:40:19 +00:00
sdk-team
0abdb3fc36 Update DescribeDomainMax95BpsData. 2020-12-03 09:33:21 +00:00
sdk-team
1616774ea6 Update ModifyDcdnService. 2020-12-03 09:30:32 +00:00
sdk-team
1260ae6f47 Update DescribeScdnDomainCertificateInfo. 2020-12-03 09:29:42 +00:00
sdk-team
2acf4250c6 Generated 2020-05-18 for dataworks-public. 2020-12-03 07:29:53 +00:00
sdk-team
423e3b65e3 Add new api. 2020-12-03 06:17:55 +00:00
sdk-team
8f21fa7c59 Supported all language sdk. 2020-12-03 05:49:56 +00:00
sdk-team
cf4cda767c Update DetectLungNodule. 2020-12-03 02:30:29 +00:00
sdk-team
818bfd3cf1 Support CreateDBLink for polardb oracle. 2020-12-02 09:41:12 +00:00
sdk-team
969a4a2631 Update version. 2020-12-02 09:38:02 +00:00
sdk-team
931a98684d Update version. 2020-12-02 09:36:34 +00:00
sdk-team
357519c7f6 Support TemplateContent. 2020-12-02 09:17:21 +00:00
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
12169 changed files with 679179 additions and 192087 deletions

1183
CHANGELOG

File diff suppressed because it is too large Load Diff

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.

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

@@ -23,6 +23,12 @@ set(alidns_public_header
set(alidns_public_header_model
include/alibabacloud/alidns/model/AddCustomLineRequest.h
include/alibabacloud/alidns/model/AddCustomLineResult.h
include/alibabacloud/alidns/model/AddDnsGtmAccessStrategyRequest.h
include/alibabacloud/alidns/model/AddDnsGtmAccessStrategyResult.h
include/alibabacloud/alidns/model/AddDnsGtmAddressPoolRequest.h
include/alibabacloud/alidns/model/AddDnsGtmAddressPoolResult.h
include/alibabacloud/alidns/model/AddDnsGtmMonitorRequest.h
include/alibabacloud/alidns/model/AddDnsGtmMonitorResult.h
include/alibabacloud/alidns/model/AddDomainRequest.h
include/alibabacloud/alidns/model/AddDomainResult.h
include/alibabacloud/alidns/model/AddDomainBackupRequest.h
@@ -49,6 +55,10 @@ set(alidns_public_header_model
include/alibabacloud/alidns/model/CopyGtmConfigResult.h
include/alibabacloud/alidns/model/DeleteCustomLinesRequest.h
include/alibabacloud/alidns/model/DeleteCustomLinesResult.h
include/alibabacloud/alidns/model/DeleteDnsGtmAccessStrategyRequest.h
include/alibabacloud/alidns/model/DeleteDnsGtmAccessStrategyResult.h
include/alibabacloud/alidns/model/DeleteDnsGtmAddressPoolRequest.h
include/alibabacloud/alidns/model/DeleteDnsGtmAddressPoolResult.h
include/alibabacloud/alidns/model/DeleteDomainRequest.h
include/alibabacloud/alidns/model/DeleteDomainResult.h
include/alibabacloud/alidns/model/DeleteDomainGroupRequest.h
@@ -73,10 +83,52 @@ set(alidns_public_header_model
include/alibabacloud/alidns/model/DescribeCustomLinesResult.h
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategiesRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategiesResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyAvailableConfigRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyAvailableConfigResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmAddrAttributeInfoRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmAddrAttributeInfoResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmAddressPoolAvailableConfigRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmAddressPoolAvailableConfigResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmAvailableAlertGroupRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmAvailableAlertGroupResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceAddressPoolRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceAddressPoolResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceAddressPoolsRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceAddressPoolsResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceStatusRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceStatusResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceSystemCnameRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmInstanceSystemCnameResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmInstancesRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmInstancesResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmLogsRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmLogsResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmMonitorAvailableConfigRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmMonitorAvailableConfigResult.h
include/alibabacloud/alidns/model/DescribeDnsGtmMonitorConfigRequest.h
include/alibabacloud/alidns/model/DescribeDnsGtmMonitorConfigResult.h
include/alibabacloud/alidns/model/DescribeDnsProductInstanceRequest.h
include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h
include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h
include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h
include/alibabacloud/alidns/model/DescribeDohAccountStatisticsRequest.h
include/alibabacloud/alidns/model/DescribeDohAccountStatisticsResult.h
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsRequest.h
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsResult.h
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryRequest.h
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryResult.h
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsRequest.h
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsResult.h
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryRequest.h
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryResult.h
include/alibabacloud/alidns/model/DescribeDohUserInfoRequest.h
include/alibabacloud/alidns/model/DescribeDohUserInfoResult.h
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoRequest.h
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoResult.h
include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h
@@ -155,6 +207,10 @@ set(alidns_public_header_model
include/alibabacloud/alidns/model/ListTagResourcesResult.h
include/alibabacloud/alidns/model/ModifyHichinaDomainDNSRequest.h
include/alibabacloud/alidns/model/ModifyHichinaDomainDNSResult.h
include/alibabacloud/alidns/model/MoveDomainResourceGroupRequest.h
include/alibabacloud/alidns/model/MoveDomainResourceGroupResult.h
include/alibabacloud/alidns/model/MoveGtmResourceGroupRequest.h
include/alibabacloud/alidns/model/MoveGtmResourceGroupResult.h
include/alibabacloud/alidns/model/OperateBatchDomainRequest.h
include/alibabacloud/alidns/model/OperateBatchDomainResult.h
include/alibabacloud/alidns/model/PreviewGtmRecoveryPlanRequest.h
@@ -165,6 +221,10 @@ set(alidns_public_header_model
include/alibabacloud/alidns/model/RollbackGtmRecoveryPlanResult.h
include/alibabacloud/alidns/model/SetDNSSLBStatusRequest.h
include/alibabacloud/alidns/model/SetDNSSLBStatusResult.h
include/alibabacloud/alidns/model/SetDnsGtmAccessModeRequest.h
include/alibabacloud/alidns/model/SetDnsGtmAccessModeResult.h
include/alibabacloud/alidns/model/SetDnsGtmMonitorStatusRequest.h
include/alibabacloud/alidns/model/SetDnsGtmMonitorStatusResult.h
include/alibabacloud/alidns/model/SetDomainDnssecStatusRequest.h
include/alibabacloud/alidns/model/SetDomainDnssecStatusResult.h
include/alibabacloud/alidns/model/SetDomainRecordStatusRequest.h
@@ -173,6 +233,8 @@ set(alidns_public_header_model
include/alibabacloud/alidns/model/SetGtmAccessModeResult.h
include/alibabacloud/alidns/model/SetGtmMonitorStatusRequest.h
include/alibabacloud/alidns/model/SetGtmMonitorStatusResult.h
include/alibabacloud/alidns/model/SwitchDnsGtmInstanceStrategyModeRequest.h
include/alibabacloud/alidns/model/SwitchDnsGtmInstanceStrategyModeResult.h
include/alibabacloud/alidns/model/TagResourcesRequest.h
include/alibabacloud/alidns/model/TagResourcesResult.h
include/alibabacloud/alidns/model/TransferDomainRequest.h
@@ -185,6 +247,14 @@ set(alidns_public_header_model
include/alibabacloud/alidns/model/UpdateCustomLineResult.h
include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h
include/alibabacloud/alidns/model/UpdateDNSSLBWeightResult.h
include/alibabacloud/alidns/model/UpdateDnsGtmAccessStrategyRequest.h
include/alibabacloud/alidns/model/UpdateDnsGtmAccessStrategyResult.h
include/alibabacloud/alidns/model/UpdateDnsGtmAddressPoolRequest.h
include/alibabacloud/alidns/model/UpdateDnsGtmAddressPoolResult.h
include/alibabacloud/alidns/model/UpdateDnsGtmInstanceGlobalConfigRequest.h
include/alibabacloud/alidns/model/UpdateDnsGtmInstanceGlobalConfigResult.h
include/alibabacloud/alidns/model/UpdateDnsGtmMonitorRequest.h
include/alibabacloud/alidns/model/UpdateDnsGtmMonitorResult.h
include/alibabacloud/alidns/model/UpdateDomainGroupRequest.h
include/alibabacloud/alidns/model/UpdateDomainGroupResult.h
include/alibabacloud/alidns/model/UpdateDomainRecordRequest.h
@@ -208,6 +278,12 @@ set(alidns_src
src/AlidnsClient.cc
src/model/AddCustomLineRequest.cc
src/model/AddCustomLineResult.cc
src/model/AddDnsGtmAccessStrategyRequest.cc
src/model/AddDnsGtmAccessStrategyResult.cc
src/model/AddDnsGtmAddressPoolRequest.cc
src/model/AddDnsGtmAddressPoolResult.cc
src/model/AddDnsGtmMonitorRequest.cc
src/model/AddDnsGtmMonitorResult.cc
src/model/AddDomainRequest.cc
src/model/AddDomainResult.cc
src/model/AddDomainBackupRequest.cc
@@ -234,6 +310,10 @@ set(alidns_src
src/model/CopyGtmConfigResult.cc
src/model/DeleteCustomLinesRequest.cc
src/model/DeleteCustomLinesResult.cc
src/model/DeleteDnsGtmAccessStrategyRequest.cc
src/model/DeleteDnsGtmAccessStrategyResult.cc
src/model/DeleteDnsGtmAddressPoolRequest.cc
src/model/DeleteDnsGtmAddressPoolResult.cc
src/model/DeleteDomainRequest.cc
src/model/DeleteDomainResult.cc
src/model/DeleteDomainGroupRequest.cc
@@ -258,10 +338,52 @@ set(alidns_src
src/model/DescribeCustomLinesResult.cc
src/model/DescribeDNSSLBSubDomainsRequest.cc
src/model/DescribeDNSSLBSubDomainsResult.cc
src/model/DescribeDnsGtmAccessStrategiesRequest.cc
src/model/DescribeDnsGtmAccessStrategiesResult.cc
src/model/DescribeDnsGtmAccessStrategyRequest.cc
src/model/DescribeDnsGtmAccessStrategyResult.cc
src/model/DescribeDnsGtmAccessStrategyAvailableConfigRequest.cc
src/model/DescribeDnsGtmAccessStrategyAvailableConfigResult.cc
src/model/DescribeDnsGtmAddrAttributeInfoRequest.cc
src/model/DescribeDnsGtmAddrAttributeInfoResult.cc
src/model/DescribeDnsGtmAddressPoolAvailableConfigRequest.cc
src/model/DescribeDnsGtmAddressPoolAvailableConfigResult.cc
src/model/DescribeDnsGtmAvailableAlertGroupRequest.cc
src/model/DescribeDnsGtmAvailableAlertGroupResult.cc
src/model/DescribeDnsGtmInstanceRequest.cc
src/model/DescribeDnsGtmInstanceResult.cc
src/model/DescribeDnsGtmInstanceAddressPoolRequest.cc
src/model/DescribeDnsGtmInstanceAddressPoolResult.cc
src/model/DescribeDnsGtmInstanceAddressPoolsRequest.cc
src/model/DescribeDnsGtmInstanceAddressPoolsResult.cc
src/model/DescribeDnsGtmInstanceStatusRequest.cc
src/model/DescribeDnsGtmInstanceStatusResult.cc
src/model/DescribeDnsGtmInstanceSystemCnameRequest.cc
src/model/DescribeDnsGtmInstanceSystemCnameResult.cc
src/model/DescribeDnsGtmInstancesRequest.cc
src/model/DescribeDnsGtmInstancesResult.cc
src/model/DescribeDnsGtmLogsRequest.cc
src/model/DescribeDnsGtmLogsResult.cc
src/model/DescribeDnsGtmMonitorAvailableConfigRequest.cc
src/model/DescribeDnsGtmMonitorAvailableConfigResult.cc
src/model/DescribeDnsGtmMonitorConfigRequest.cc
src/model/DescribeDnsGtmMonitorConfigResult.cc
src/model/DescribeDnsProductInstanceRequest.cc
src/model/DescribeDnsProductInstanceResult.cc
src/model/DescribeDnsProductInstancesRequest.cc
src/model/DescribeDnsProductInstancesResult.cc
src/model/DescribeDohAccountStatisticsRequest.cc
src/model/DescribeDohAccountStatisticsResult.cc
src/model/DescribeDohDomainStatisticsRequest.cc
src/model/DescribeDohDomainStatisticsResult.cc
src/model/DescribeDohDomainStatisticsSummaryRequest.cc
src/model/DescribeDohDomainStatisticsSummaryResult.cc
src/model/DescribeDohSubDomainStatisticsRequest.cc
src/model/DescribeDohSubDomainStatisticsResult.cc
src/model/DescribeDohSubDomainStatisticsSummaryRequest.cc
src/model/DescribeDohSubDomainStatisticsSummaryResult.cc
src/model/DescribeDohUserInfoRequest.cc
src/model/DescribeDohUserInfoResult.cc
src/model/DescribeDomainDnssecInfoRequest.cc
src/model/DescribeDomainDnssecInfoResult.cc
src/model/DescribeDomainGroupsRequest.cc
@@ -340,6 +462,10 @@ set(alidns_src
src/model/ListTagResourcesResult.cc
src/model/ModifyHichinaDomainDNSRequest.cc
src/model/ModifyHichinaDomainDNSResult.cc
src/model/MoveDomainResourceGroupRequest.cc
src/model/MoveDomainResourceGroupResult.cc
src/model/MoveGtmResourceGroupRequest.cc
src/model/MoveGtmResourceGroupResult.cc
src/model/OperateBatchDomainRequest.cc
src/model/OperateBatchDomainResult.cc
src/model/PreviewGtmRecoveryPlanRequest.cc
@@ -350,6 +476,10 @@ set(alidns_src
src/model/RollbackGtmRecoveryPlanResult.cc
src/model/SetDNSSLBStatusRequest.cc
src/model/SetDNSSLBStatusResult.cc
src/model/SetDnsGtmAccessModeRequest.cc
src/model/SetDnsGtmAccessModeResult.cc
src/model/SetDnsGtmMonitorStatusRequest.cc
src/model/SetDnsGtmMonitorStatusResult.cc
src/model/SetDomainDnssecStatusRequest.cc
src/model/SetDomainDnssecStatusResult.cc
src/model/SetDomainRecordStatusRequest.cc
@@ -358,6 +488,8 @@ set(alidns_src
src/model/SetGtmAccessModeResult.cc
src/model/SetGtmMonitorStatusRequest.cc
src/model/SetGtmMonitorStatusResult.cc
src/model/SwitchDnsGtmInstanceStrategyModeRequest.cc
src/model/SwitchDnsGtmInstanceStrategyModeResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/TransferDomainRequest.cc
@@ -370,6 +502,14 @@ set(alidns_src
src/model/UpdateCustomLineResult.cc
src/model/UpdateDNSSLBWeightRequest.cc
src/model/UpdateDNSSLBWeightResult.cc
src/model/UpdateDnsGtmAccessStrategyRequest.cc
src/model/UpdateDnsGtmAccessStrategyResult.cc
src/model/UpdateDnsGtmAddressPoolRequest.cc
src/model/UpdateDnsGtmAddressPoolResult.cc
src/model/UpdateDnsGtmInstanceGlobalConfigRequest.cc
src/model/UpdateDnsGtmInstanceGlobalConfigResult.cc
src/model/UpdateDnsGtmMonitorRequest.cc
src/model/UpdateDnsGtmMonitorResult.cc
src/model/UpdateDomainGroupRequest.cc
src/model/UpdateDomainGroupResult.cc
src/model/UpdateDomainRecordRequest.cc

View File

@@ -24,6 +24,12 @@
#include "AlidnsExport.h"
#include "model/AddCustomLineRequest.h"
#include "model/AddCustomLineResult.h"
#include "model/AddDnsGtmAccessStrategyRequest.h"
#include "model/AddDnsGtmAccessStrategyResult.h"
#include "model/AddDnsGtmAddressPoolRequest.h"
#include "model/AddDnsGtmAddressPoolResult.h"
#include "model/AddDnsGtmMonitorRequest.h"
#include "model/AddDnsGtmMonitorResult.h"
#include "model/AddDomainRequest.h"
#include "model/AddDomainResult.h"
#include "model/AddDomainBackupRequest.h"
@@ -50,6 +56,10 @@
#include "model/CopyGtmConfigResult.h"
#include "model/DeleteCustomLinesRequest.h"
#include "model/DeleteCustomLinesResult.h"
#include "model/DeleteDnsGtmAccessStrategyRequest.h"
#include "model/DeleteDnsGtmAccessStrategyResult.h"
#include "model/DeleteDnsGtmAddressPoolRequest.h"
#include "model/DeleteDnsGtmAddressPoolResult.h"
#include "model/DeleteDomainRequest.h"
#include "model/DeleteDomainResult.h"
#include "model/DeleteDomainGroupRequest.h"
@@ -74,10 +84,52 @@
#include "model/DescribeCustomLinesResult.h"
#include "model/DescribeDNSSLBSubDomainsRequest.h"
#include "model/DescribeDNSSLBSubDomainsResult.h"
#include "model/DescribeDnsGtmAccessStrategiesRequest.h"
#include "model/DescribeDnsGtmAccessStrategiesResult.h"
#include "model/DescribeDnsGtmAccessStrategyRequest.h"
#include "model/DescribeDnsGtmAccessStrategyResult.h"
#include "model/DescribeDnsGtmAccessStrategyAvailableConfigRequest.h"
#include "model/DescribeDnsGtmAccessStrategyAvailableConfigResult.h"
#include "model/DescribeDnsGtmAddrAttributeInfoRequest.h"
#include "model/DescribeDnsGtmAddrAttributeInfoResult.h"
#include "model/DescribeDnsGtmAddressPoolAvailableConfigRequest.h"
#include "model/DescribeDnsGtmAddressPoolAvailableConfigResult.h"
#include "model/DescribeDnsGtmAvailableAlertGroupRequest.h"
#include "model/DescribeDnsGtmAvailableAlertGroupResult.h"
#include "model/DescribeDnsGtmInstanceRequest.h"
#include "model/DescribeDnsGtmInstanceResult.h"
#include "model/DescribeDnsGtmInstanceAddressPoolRequest.h"
#include "model/DescribeDnsGtmInstanceAddressPoolResult.h"
#include "model/DescribeDnsGtmInstanceAddressPoolsRequest.h"
#include "model/DescribeDnsGtmInstanceAddressPoolsResult.h"
#include "model/DescribeDnsGtmInstanceStatusRequest.h"
#include "model/DescribeDnsGtmInstanceStatusResult.h"
#include "model/DescribeDnsGtmInstanceSystemCnameRequest.h"
#include "model/DescribeDnsGtmInstanceSystemCnameResult.h"
#include "model/DescribeDnsGtmInstancesRequest.h"
#include "model/DescribeDnsGtmInstancesResult.h"
#include "model/DescribeDnsGtmLogsRequest.h"
#include "model/DescribeDnsGtmLogsResult.h"
#include "model/DescribeDnsGtmMonitorAvailableConfigRequest.h"
#include "model/DescribeDnsGtmMonitorAvailableConfigResult.h"
#include "model/DescribeDnsGtmMonitorConfigRequest.h"
#include "model/DescribeDnsGtmMonitorConfigResult.h"
#include "model/DescribeDnsProductInstanceRequest.h"
#include "model/DescribeDnsProductInstanceResult.h"
#include "model/DescribeDnsProductInstancesRequest.h"
#include "model/DescribeDnsProductInstancesResult.h"
#include "model/DescribeDohAccountStatisticsRequest.h"
#include "model/DescribeDohAccountStatisticsResult.h"
#include "model/DescribeDohDomainStatisticsRequest.h"
#include "model/DescribeDohDomainStatisticsResult.h"
#include "model/DescribeDohDomainStatisticsSummaryRequest.h"
#include "model/DescribeDohDomainStatisticsSummaryResult.h"
#include "model/DescribeDohSubDomainStatisticsRequest.h"
#include "model/DescribeDohSubDomainStatisticsResult.h"
#include "model/DescribeDohSubDomainStatisticsSummaryRequest.h"
#include "model/DescribeDohSubDomainStatisticsSummaryResult.h"
#include "model/DescribeDohUserInfoRequest.h"
#include "model/DescribeDohUserInfoResult.h"
#include "model/DescribeDomainDnssecInfoRequest.h"
#include "model/DescribeDomainDnssecInfoResult.h"
#include "model/DescribeDomainGroupsRequest.h"
@@ -156,6 +208,10 @@
#include "model/ListTagResourcesResult.h"
#include "model/ModifyHichinaDomainDNSRequest.h"
#include "model/ModifyHichinaDomainDNSResult.h"
#include "model/MoveDomainResourceGroupRequest.h"
#include "model/MoveDomainResourceGroupResult.h"
#include "model/MoveGtmResourceGroupRequest.h"
#include "model/MoveGtmResourceGroupResult.h"
#include "model/OperateBatchDomainRequest.h"
#include "model/OperateBatchDomainResult.h"
#include "model/PreviewGtmRecoveryPlanRequest.h"
@@ -166,6 +222,10 @@
#include "model/RollbackGtmRecoveryPlanResult.h"
#include "model/SetDNSSLBStatusRequest.h"
#include "model/SetDNSSLBStatusResult.h"
#include "model/SetDnsGtmAccessModeRequest.h"
#include "model/SetDnsGtmAccessModeResult.h"
#include "model/SetDnsGtmMonitorStatusRequest.h"
#include "model/SetDnsGtmMonitorStatusResult.h"
#include "model/SetDomainDnssecStatusRequest.h"
#include "model/SetDomainDnssecStatusResult.h"
#include "model/SetDomainRecordStatusRequest.h"
@@ -174,6 +234,8 @@
#include "model/SetGtmAccessModeResult.h"
#include "model/SetGtmMonitorStatusRequest.h"
#include "model/SetGtmMonitorStatusResult.h"
#include "model/SwitchDnsGtmInstanceStrategyModeRequest.h"
#include "model/SwitchDnsGtmInstanceStrategyModeResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/TransferDomainRequest.h"
@@ -186,6 +248,14 @@
#include "model/UpdateCustomLineResult.h"
#include "model/UpdateDNSSLBWeightRequest.h"
#include "model/UpdateDNSSLBWeightResult.h"
#include "model/UpdateDnsGtmAccessStrategyRequest.h"
#include "model/UpdateDnsGtmAccessStrategyResult.h"
#include "model/UpdateDnsGtmAddressPoolRequest.h"
#include "model/UpdateDnsGtmAddressPoolResult.h"
#include "model/UpdateDnsGtmInstanceGlobalConfigRequest.h"
#include "model/UpdateDnsGtmInstanceGlobalConfigResult.h"
#include "model/UpdateDnsGtmMonitorRequest.h"
#include "model/UpdateDnsGtmMonitorResult.h"
#include "model/UpdateDomainGroupRequest.h"
#include "model/UpdateDomainGroupResult.h"
#include "model/UpdateDomainRecordRequest.h"
@@ -216,6 +286,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddCustomLineResult> AddCustomLineOutcome;
typedef std::future<AddCustomLineOutcome> AddCustomLineOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::AddCustomLineRequest&, const AddCustomLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCustomLineAsyncHandler;
typedef Outcome<Error, Model::AddDnsGtmAccessStrategyResult> AddDnsGtmAccessStrategyOutcome;
typedef std::future<AddDnsGtmAccessStrategyOutcome> AddDnsGtmAccessStrategyOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::AddDnsGtmAccessStrategyRequest&, const AddDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDnsGtmAccessStrategyAsyncHandler;
typedef Outcome<Error, Model::AddDnsGtmAddressPoolResult> AddDnsGtmAddressPoolOutcome;
typedef std::future<AddDnsGtmAddressPoolOutcome> AddDnsGtmAddressPoolOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::AddDnsGtmAddressPoolRequest&, const AddDnsGtmAddressPoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDnsGtmAddressPoolAsyncHandler;
typedef Outcome<Error, Model::AddDnsGtmMonitorResult> AddDnsGtmMonitorOutcome;
typedef std::future<AddDnsGtmMonitorOutcome> AddDnsGtmMonitorOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::AddDnsGtmMonitorRequest&, const AddDnsGtmMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDnsGtmMonitorAsyncHandler;
typedef Outcome<Error, Model::AddDomainResult> AddDomainOutcome;
typedef std::future<AddDomainOutcome> AddDomainOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::AddDomainRequest&, const AddDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDomainAsyncHandler;
@@ -255,6 +334,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteCustomLinesResult> DeleteCustomLinesOutcome;
typedef std::future<DeleteCustomLinesOutcome> DeleteCustomLinesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DeleteCustomLinesRequest&, const DeleteCustomLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomLinesAsyncHandler;
typedef Outcome<Error, Model::DeleteDnsGtmAccessStrategyResult> DeleteDnsGtmAccessStrategyOutcome;
typedef std::future<DeleteDnsGtmAccessStrategyOutcome> DeleteDnsGtmAccessStrategyOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DeleteDnsGtmAccessStrategyRequest&, const DeleteDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDnsGtmAccessStrategyAsyncHandler;
typedef Outcome<Error, Model::DeleteDnsGtmAddressPoolResult> DeleteDnsGtmAddressPoolOutcome;
typedef std::future<DeleteDnsGtmAddressPoolOutcome> DeleteDnsGtmAddressPoolOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DeleteDnsGtmAddressPoolRequest&, const DeleteDnsGtmAddressPoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDnsGtmAddressPoolAsyncHandler;
typedef Outcome<Error, Model::DeleteDomainResult> DeleteDomainOutcome;
typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DeleteDomainRequest&, const DeleteDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainAsyncHandler;
@@ -291,12 +376,75 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDNSSLBSubDomainsResult> DescribeDNSSLBSubDomainsOutcome;
typedef std::future<DescribeDNSSLBSubDomainsOutcome> DescribeDNSSLBSubDomainsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDNSSLBSubDomainsRequest&, const DescribeDNSSLBSubDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDNSSLBSubDomainsAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmAccessStrategiesResult> DescribeDnsGtmAccessStrategiesOutcome;
typedef std::future<DescribeDnsGtmAccessStrategiesOutcome> DescribeDnsGtmAccessStrategiesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAccessStrategiesRequest&, const DescribeDnsGtmAccessStrategiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAccessStrategiesAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmAccessStrategyResult> DescribeDnsGtmAccessStrategyOutcome;
typedef std::future<DescribeDnsGtmAccessStrategyOutcome> DescribeDnsGtmAccessStrategyOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAccessStrategyRequest&, const DescribeDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAccessStrategyAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmAccessStrategyAvailableConfigResult> DescribeDnsGtmAccessStrategyAvailableConfigOutcome;
typedef std::future<DescribeDnsGtmAccessStrategyAvailableConfigOutcome> DescribeDnsGtmAccessStrategyAvailableConfigOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAccessStrategyAvailableConfigRequest&, const DescribeDnsGtmAccessStrategyAvailableConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAccessStrategyAvailableConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmAddrAttributeInfoResult> DescribeDnsGtmAddrAttributeInfoOutcome;
typedef std::future<DescribeDnsGtmAddrAttributeInfoOutcome> DescribeDnsGtmAddrAttributeInfoOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAddrAttributeInfoRequest&, const DescribeDnsGtmAddrAttributeInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAddrAttributeInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmAddressPoolAvailableConfigResult> DescribeDnsGtmAddressPoolAvailableConfigOutcome;
typedef std::future<DescribeDnsGtmAddressPoolAvailableConfigOutcome> DescribeDnsGtmAddressPoolAvailableConfigOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAddressPoolAvailableConfigRequest&, const DescribeDnsGtmAddressPoolAvailableConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAddressPoolAvailableConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmAvailableAlertGroupResult> DescribeDnsGtmAvailableAlertGroupOutcome;
typedef std::future<DescribeDnsGtmAvailableAlertGroupOutcome> DescribeDnsGtmAvailableAlertGroupOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAvailableAlertGroupRequest&, const DescribeDnsGtmAvailableAlertGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAvailableAlertGroupAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmInstanceResult> DescribeDnsGtmInstanceOutcome;
typedef std::future<DescribeDnsGtmInstanceOutcome> DescribeDnsGtmInstanceOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmInstanceRequest&, const DescribeDnsGtmInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmInstanceAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmInstanceAddressPoolResult> DescribeDnsGtmInstanceAddressPoolOutcome;
typedef std::future<DescribeDnsGtmInstanceAddressPoolOutcome> DescribeDnsGtmInstanceAddressPoolOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmInstanceAddressPoolRequest&, const DescribeDnsGtmInstanceAddressPoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmInstanceAddressPoolAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmInstanceAddressPoolsResult> DescribeDnsGtmInstanceAddressPoolsOutcome;
typedef std::future<DescribeDnsGtmInstanceAddressPoolsOutcome> DescribeDnsGtmInstanceAddressPoolsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmInstanceAddressPoolsRequest&, const DescribeDnsGtmInstanceAddressPoolsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmInstanceAddressPoolsAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmInstanceStatusResult> DescribeDnsGtmInstanceStatusOutcome;
typedef std::future<DescribeDnsGtmInstanceStatusOutcome> DescribeDnsGtmInstanceStatusOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmInstanceStatusRequest&, const DescribeDnsGtmInstanceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmInstanceStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmInstanceSystemCnameResult> DescribeDnsGtmInstanceSystemCnameOutcome;
typedef std::future<DescribeDnsGtmInstanceSystemCnameOutcome> DescribeDnsGtmInstanceSystemCnameOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmInstanceSystemCnameRequest&, const DescribeDnsGtmInstanceSystemCnameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmInstanceSystemCnameAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmInstancesResult> DescribeDnsGtmInstancesOutcome;
typedef std::future<DescribeDnsGtmInstancesOutcome> DescribeDnsGtmInstancesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmInstancesRequest&, const DescribeDnsGtmInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmInstancesAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmLogsResult> DescribeDnsGtmLogsOutcome;
typedef std::future<DescribeDnsGtmLogsOutcome> DescribeDnsGtmLogsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmLogsRequest&, const DescribeDnsGtmLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmLogsAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmMonitorAvailableConfigResult> DescribeDnsGtmMonitorAvailableConfigOutcome;
typedef std::future<DescribeDnsGtmMonitorAvailableConfigOutcome> DescribeDnsGtmMonitorAvailableConfigOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmMonitorAvailableConfigRequest&, const DescribeDnsGtmMonitorAvailableConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmMonitorAvailableConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsGtmMonitorConfigResult> DescribeDnsGtmMonitorConfigOutcome;
typedef std::future<DescribeDnsGtmMonitorConfigOutcome> DescribeDnsGtmMonitorConfigOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmMonitorConfigRequest&, const DescribeDnsGtmMonitorConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmMonitorConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsProductInstanceResult> DescribeDnsProductInstanceOutcome;
typedef std::future<DescribeDnsProductInstanceOutcome> DescribeDnsProductInstanceOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsProductInstanceRequest&, const DescribeDnsProductInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsProductInstanceAsyncHandler;
typedef Outcome<Error, Model::DescribeDnsProductInstancesResult> DescribeDnsProductInstancesOutcome;
typedef std::future<DescribeDnsProductInstancesOutcome> DescribeDnsProductInstancesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsProductInstancesRequest&, const DescribeDnsProductInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsProductInstancesAsyncHandler;
typedef Outcome<Error, Model::DescribeDohAccountStatisticsResult> DescribeDohAccountStatisticsOutcome;
typedef std::future<DescribeDohAccountStatisticsOutcome> DescribeDohAccountStatisticsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohAccountStatisticsRequest&, const DescribeDohAccountStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohAccountStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeDohDomainStatisticsResult> DescribeDohDomainStatisticsOutcome;
typedef std::future<DescribeDohDomainStatisticsOutcome> DescribeDohDomainStatisticsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohDomainStatisticsRequest&, const DescribeDohDomainStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohDomainStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeDohDomainStatisticsSummaryResult> DescribeDohDomainStatisticsSummaryOutcome;
typedef std::future<DescribeDohDomainStatisticsSummaryOutcome> DescribeDohDomainStatisticsSummaryOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohDomainStatisticsSummaryRequest&, const DescribeDohDomainStatisticsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohDomainStatisticsSummaryAsyncHandler;
typedef Outcome<Error, Model::DescribeDohSubDomainStatisticsResult> DescribeDohSubDomainStatisticsOutcome;
typedef std::future<DescribeDohSubDomainStatisticsOutcome> DescribeDohSubDomainStatisticsOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohSubDomainStatisticsRequest&, const DescribeDohSubDomainStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohSubDomainStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeDohSubDomainStatisticsSummaryResult> DescribeDohSubDomainStatisticsSummaryOutcome;
typedef std::future<DescribeDohSubDomainStatisticsSummaryOutcome> DescribeDohSubDomainStatisticsSummaryOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohSubDomainStatisticsSummaryRequest&, const DescribeDohSubDomainStatisticsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohSubDomainStatisticsSummaryAsyncHandler;
typedef Outcome<Error, Model::DescribeDohUserInfoResult> DescribeDohUserInfoOutcome;
typedef std::future<DescribeDohUserInfoOutcome> DescribeDohUserInfoOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohUserInfoRequest&, const DescribeDohUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohUserInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainDnssecInfoResult> DescribeDomainDnssecInfoOutcome;
typedef std::future<DescribeDomainDnssecInfoOutcome> DescribeDomainDnssecInfoOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainDnssecInfoRequest&, const DescribeDomainDnssecInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDnssecInfoAsyncHandler;
@@ -414,6 +562,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyHichinaDomainDNSResult> ModifyHichinaDomainDNSOutcome;
typedef std::future<ModifyHichinaDomainDNSOutcome> ModifyHichinaDomainDNSOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::ModifyHichinaDomainDNSRequest&, const ModifyHichinaDomainDNSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHichinaDomainDNSAsyncHandler;
typedef Outcome<Error, Model::MoveDomainResourceGroupResult> MoveDomainResourceGroupOutcome;
typedef std::future<MoveDomainResourceGroupOutcome> MoveDomainResourceGroupOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::MoveDomainResourceGroupRequest&, const MoveDomainResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveDomainResourceGroupAsyncHandler;
typedef Outcome<Error, Model::MoveGtmResourceGroupResult> MoveGtmResourceGroupOutcome;
typedef std::future<MoveGtmResourceGroupOutcome> MoveGtmResourceGroupOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::MoveGtmResourceGroupRequest&, const MoveGtmResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveGtmResourceGroupAsyncHandler;
typedef Outcome<Error, Model::OperateBatchDomainResult> OperateBatchDomainOutcome;
typedef std::future<OperateBatchDomainOutcome> OperateBatchDomainOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::OperateBatchDomainRequest&, const OperateBatchDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OperateBatchDomainAsyncHandler;
@@ -429,6 +583,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetDNSSLBStatusResult> SetDNSSLBStatusOutcome;
typedef std::future<SetDNSSLBStatusOutcome> SetDNSSLBStatusOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::SetDNSSLBStatusRequest&, const SetDNSSLBStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDNSSLBStatusAsyncHandler;
typedef Outcome<Error, Model::SetDnsGtmAccessModeResult> SetDnsGtmAccessModeOutcome;
typedef std::future<SetDnsGtmAccessModeOutcome> SetDnsGtmAccessModeOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::SetDnsGtmAccessModeRequest&, const SetDnsGtmAccessModeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDnsGtmAccessModeAsyncHandler;
typedef Outcome<Error, Model::SetDnsGtmMonitorStatusResult> SetDnsGtmMonitorStatusOutcome;
typedef std::future<SetDnsGtmMonitorStatusOutcome> SetDnsGtmMonitorStatusOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::SetDnsGtmMonitorStatusRequest&, const SetDnsGtmMonitorStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDnsGtmMonitorStatusAsyncHandler;
typedef Outcome<Error, Model::SetDomainDnssecStatusResult> SetDomainDnssecStatusOutcome;
typedef std::future<SetDomainDnssecStatusOutcome> SetDomainDnssecStatusOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::SetDomainDnssecStatusRequest&, const SetDomainDnssecStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDomainDnssecStatusAsyncHandler;
@@ -441,6 +601,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetGtmMonitorStatusResult> SetGtmMonitorStatusOutcome;
typedef std::future<SetGtmMonitorStatusOutcome> SetGtmMonitorStatusOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::SetGtmMonitorStatusRequest&, const SetGtmMonitorStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetGtmMonitorStatusAsyncHandler;
typedef Outcome<Error, Model::SwitchDnsGtmInstanceStrategyModeResult> SwitchDnsGtmInstanceStrategyModeOutcome;
typedef std::future<SwitchDnsGtmInstanceStrategyModeOutcome> SwitchDnsGtmInstanceStrategyModeOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::SwitchDnsGtmInstanceStrategyModeRequest&, const SwitchDnsGtmInstanceStrategyModeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SwitchDnsGtmInstanceStrategyModeAsyncHandler;
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
@@ -459,6 +622,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateDNSSLBWeightResult> UpdateDNSSLBWeightOutcome;
typedef std::future<UpdateDNSSLBWeightOutcome> UpdateDNSSLBWeightOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateDNSSLBWeightRequest&, const UpdateDNSSLBWeightOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDNSSLBWeightAsyncHandler;
typedef Outcome<Error, Model::UpdateDnsGtmAccessStrategyResult> UpdateDnsGtmAccessStrategyOutcome;
typedef std::future<UpdateDnsGtmAccessStrategyOutcome> UpdateDnsGtmAccessStrategyOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateDnsGtmAccessStrategyRequest&, const UpdateDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDnsGtmAccessStrategyAsyncHandler;
typedef Outcome<Error, Model::UpdateDnsGtmAddressPoolResult> UpdateDnsGtmAddressPoolOutcome;
typedef std::future<UpdateDnsGtmAddressPoolOutcome> UpdateDnsGtmAddressPoolOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateDnsGtmAddressPoolRequest&, const UpdateDnsGtmAddressPoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDnsGtmAddressPoolAsyncHandler;
typedef Outcome<Error, Model::UpdateDnsGtmInstanceGlobalConfigResult> UpdateDnsGtmInstanceGlobalConfigOutcome;
typedef std::future<UpdateDnsGtmInstanceGlobalConfigOutcome> UpdateDnsGtmInstanceGlobalConfigOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateDnsGtmInstanceGlobalConfigRequest&, const UpdateDnsGtmInstanceGlobalConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDnsGtmInstanceGlobalConfigAsyncHandler;
typedef Outcome<Error, Model::UpdateDnsGtmMonitorResult> UpdateDnsGtmMonitorOutcome;
typedef std::future<UpdateDnsGtmMonitorOutcome> UpdateDnsGtmMonitorOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateDnsGtmMonitorRequest&, const UpdateDnsGtmMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDnsGtmMonitorAsyncHandler;
typedef Outcome<Error, Model::UpdateDomainGroupResult> UpdateDomainGroupOutcome;
typedef std::future<UpdateDomainGroupOutcome> UpdateDomainGroupOutcomeCallable;
typedef std::function<void(const AlidnsClient*, const Model::UpdateDomainGroupRequest&, const UpdateDomainGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDomainGroupAsyncHandler;
@@ -494,6 +669,15 @@ namespace AlibabaCloud
AddCustomLineOutcome addCustomLine(const Model::AddCustomLineRequest &request)const;
void addCustomLineAsync(const Model::AddCustomLineRequest& request, const AddCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddCustomLineOutcomeCallable addCustomLineCallable(const Model::AddCustomLineRequest& request) const;
AddDnsGtmAccessStrategyOutcome addDnsGtmAccessStrategy(const Model::AddDnsGtmAccessStrategyRequest &request)const;
void addDnsGtmAccessStrategyAsync(const Model::AddDnsGtmAccessStrategyRequest& request, const AddDnsGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddDnsGtmAccessStrategyOutcomeCallable addDnsGtmAccessStrategyCallable(const Model::AddDnsGtmAccessStrategyRequest& request) const;
AddDnsGtmAddressPoolOutcome addDnsGtmAddressPool(const Model::AddDnsGtmAddressPoolRequest &request)const;
void addDnsGtmAddressPoolAsync(const Model::AddDnsGtmAddressPoolRequest& request, const AddDnsGtmAddressPoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddDnsGtmAddressPoolOutcomeCallable addDnsGtmAddressPoolCallable(const Model::AddDnsGtmAddressPoolRequest& request) const;
AddDnsGtmMonitorOutcome addDnsGtmMonitor(const Model::AddDnsGtmMonitorRequest &request)const;
void addDnsGtmMonitorAsync(const Model::AddDnsGtmMonitorRequest& request, const AddDnsGtmMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddDnsGtmMonitorOutcomeCallable addDnsGtmMonitorCallable(const Model::AddDnsGtmMonitorRequest& request) const;
AddDomainOutcome addDomain(const Model::AddDomainRequest &request)const;
void addDomainAsync(const Model::AddDomainRequest& request, const AddDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddDomainOutcomeCallable addDomainCallable(const Model::AddDomainRequest& request) const;
@@ -533,6 +717,12 @@ namespace AlibabaCloud
DeleteCustomLinesOutcome deleteCustomLines(const Model::DeleteCustomLinesRequest &request)const;
void deleteCustomLinesAsync(const Model::DeleteCustomLinesRequest& request, const DeleteCustomLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteCustomLinesOutcomeCallable deleteCustomLinesCallable(const Model::DeleteCustomLinesRequest& request) const;
DeleteDnsGtmAccessStrategyOutcome deleteDnsGtmAccessStrategy(const Model::DeleteDnsGtmAccessStrategyRequest &request)const;
void deleteDnsGtmAccessStrategyAsync(const Model::DeleteDnsGtmAccessStrategyRequest& request, const DeleteDnsGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDnsGtmAccessStrategyOutcomeCallable deleteDnsGtmAccessStrategyCallable(const Model::DeleteDnsGtmAccessStrategyRequest& request) const;
DeleteDnsGtmAddressPoolOutcome deleteDnsGtmAddressPool(const Model::DeleteDnsGtmAddressPoolRequest &request)const;
void deleteDnsGtmAddressPoolAsync(const Model::DeleteDnsGtmAddressPoolRequest& request, const DeleteDnsGtmAddressPoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDnsGtmAddressPoolOutcomeCallable deleteDnsGtmAddressPoolCallable(const Model::DeleteDnsGtmAddressPoolRequest& request) const;
DeleteDomainOutcome deleteDomain(const Model::DeleteDomainRequest &request)const;
void deleteDomainAsync(const Model::DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDomainOutcomeCallable deleteDomainCallable(const Model::DeleteDomainRequest& request) const;
@@ -569,12 +759,75 @@ namespace AlibabaCloud
DescribeDNSSLBSubDomainsOutcome describeDNSSLBSubDomains(const Model::DescribeDNSSLBSubDomainsRequest &request)const;
void describeDNSSLBSubDomainsAsync(const Model::DescribeDNSSLBSubDomainsRequest& request, const DescribeDNSSLBSubDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDNSSLBSubDomainsOutcomeCallable describeDNSSLBSubDomainsCallable(const Model::DescribeDNSSLBSubDomainsRequest& request) const;
DescribeDnsGtmAccessStrategiesOutcome describeDnsGtmAccessStrategies(const Model::DescribeDnsGtmAccessStrategiesRequest &request)const;
void describeDnsGtmAccessStrategiesAsync(const Model::DescribeDnsGtmAccessStrategiesRequest& request, const DescribeDnsGtmAccessStrategiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmAccessStrategiesOutcomeCallable describeDnsGtmAccessStrategiesCallable(const Model::DescribeDnsGtmAccessStrategiesRequest& request) const;
DescribeDnsGtmAccessStrategyOutcome describeDnsGtmAccessStrategy(const Model::DescribeDnsGtmAccessStrategyRequest &request)const;
void describeDnsGtmAccessStrategyAsync(const Model::DescribeDnsGtmAccessStrategyRequest& request, const DescribeDnsGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmAccessStrategyOutcomeCallable describeDnsGtmAccessStrategyCallable(const Model::DescribeDnsGtmAccessStrategyRequest& request) const;
DescribeDnsGtmAccessStrategyAvailableConfigOutcome describeDnsGtmAccessStrategyAvailableConfig(const Model::DescribeDnsGtmAccessStrategyAvailableConfigRequest &request)const;
void describeDnsGtmAccessStrategyAvailableConfigAsync(const Model::DescribeDnsGtmAccessStrategyAvailableConfigRequest& request, const DescribeDnsGtmAccessStrategyAvailableConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmAccessStrategyAvailableConfigOutcomeCallable describeDnsGtmAccessStrategyAvailableConfigCallable(const Model::DescribeDnsGtmAccessStrategyAvailableConfigRequest& request) const;
DescribeDnsGtmAddrAttributeInfoOutcome describeDnsGtmAddrAttributeInfo(const Model::DescribeDnsGtmAddrAttributeInfoRequest &request)const;
void describeDnsGtmAddrAttributeInfoAsync(const Model::DescribeDnsGtmAddrAttributeInfoRequest& request, const DescribeDnsGtmAddrAttributeInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmAddrAttributeInfoOutcomeCallable describeDnsGtmAddrAttributeInfoCallable(const Model::DescribeDnsGtmAddrAttributeInfoRequest& request) const;
DescribeDnsGtmAddressPoolAvailableConfigOutcome describeDnsGtmAddressPoolAvailableConfig(const Model::DescribeDnsGtmAddressPoolAvailableConfigRequest &request)const;
void describeDnsGtmAddressPoolAvailableConfigAsync(const Model::DescribeDnsGtmAddressPoolAvailableConfigRequest& request, const DescribeDnsGtmAddressPoolAvailableConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmAddressPoolAvailableConfigOutcomeCallable describeDnsGtmAddressPoolAvailableConfigCallable(const Model::DescribeDnsGtmAddressPoolAvailableConfigRequest& request) const;
DescribeDnsGtmAvailableAlertGroupOutcome describeDnsGtmAvailableAlertGroup(const Model::DescribeDnsGtmAvailableAlertGroupRequest &request)const;
void describeDnsGtmAvailableAlertGroupAsync(const Model::DescribeDnsGtmAvailableAlertGroupRequest& request, const DescribeDnsGtmAvailableAlertGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmAvailableAlertGroupOutcomeCallable describeDnsGtmAvailableAlertGroupCallable(const Model::DescribeDnsGtmAvailableAlertGroupRequest& request) const;
DescribeDnsGtmInstanceOutcome describeDnsGtmInstance(const Model::DescribeDnsGtmInstanceRequest &request)const;
void describeDnsGtmInstanceAsync(const Model::DescribeDnsGtmInstanceRequest& request, const DescribeDnsGtmInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmInstanceOutcomeCallable describeDnsGtmInstanceCallable(const Model::DescribeDnsGtmInstanceRequest& request) const;
DescribeDnsGtmInstanceAddressPoolOutcome describeDnsGtmInstanceAddressPool(const Model::DescribeDnsGtmInstanceAddressPoolRequest &request)const;
void describeDnsGtmInstanceAddressPoolAsync(const Model::DescribeDnsGtmInstanceAddressPoolRequest& request, const DescribeDnsGtmInstanceAddressPoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmInstanceAddressPoolOutcomeCallable describeDnsGtmInstanceAddressPoolCallable(const Model::DescribeDnsGtmInstanceAddressPoolRequest& request) const;
DescribeDnsGtmInstanceAddressPoolsOutcome describeDnsGtmInstanceAddressPools(const Model::DescribeDnsGtmInstanceAddressPoolsRequest &request)const;
void describeDnsGtmInstanceAddressPoolsAsync(const Model::DescribeDnsGtmInstanceAddressPoolsRequest& request, const DescribeDnsGtmInstanceAddressPoolsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmInstanceAddressPoolsOutcomeCallable describeDnsGtmInstanceAddressPoolsCallable(const Model::DescribeDnsGtmInstanceAddressPoolsRequest& request) const;
DescribeDnsGtmInstanceStatusOutcome describeDnsGtmInstanceStatus(const Model::DescribeDnsGtmInstanceStatusRequest &request)const;
void describeDnsGtmInstanceStatusAsync(const Model::DescribeDnsGtmInstanceStatusRequest& request, const DescribeDnsGtmInstanceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmInstanceStatusOutcomeCallable describeDnsGtmInstanceStatusCallable(const Model::DescribeDnsGtmInstanceStatusRequest& request) const;
DescribeDnsGtmInstanceSystemCnameOutcome describeDnsGtmInstanceSystemCname(const Model::DescribeDnsGtmInstanceSystemCnameRequest &request)const;
void describeDnsGtmInstanceSystemCnameAsync(const Model::DescribeDnsGtmInstanceSystemCnameRequest& request, const DescribeDnsGtmInstanceSystemCnameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmInstanceSystemCnameOutcomeCallable describeDnsGtmInstanceSystemCnameCallable(const Model::DescribeDnsGtmInstanceSystemCnameRequest& request) const;
DescribeDnsGtmInstancesOutcome describeDnsGtmInstances(const Model::DescribeDnsGtmInstancesRequest &request)const;
void describeDnsGtmInstancesAsync(const Model::DescribeDnsGtmInstancesRequest& request, const DescribeDnsGtmInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmInstancesOutcomeCallable describeDnsGtmInstancesCallable(const Model::DescribeDnsGtmInstancesRequest& request) const;
DescribeDnsGtmLogsOutcome describeDnsGtmLogs(const Model::DescribeDnsGtmLogsRequest &request)const;
void describeDnsGtmLogsAsync(const Model::DescribeDnsGtmLogsRequest& request, const DescribeDnsGtmLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmLogsOutcomeCallable describeDnsGtmLogsCallable(const Model::DescribeDnsGtmLogsRequest& request) const;
DescribeDnsGtmMonitorAvailableConfigOutcome describeDnsGtmMonitorAvailableConfig(const Model::DescribeDnsGtmMonitorAvailableConfigRequest &request)const;
void describeDnsGtmMonitorAvailableConfigAsync(const Model::DescribeDnsGtmMonitorAvailableConfigRequest& request, const DescribeDnsGtmMonitorAvailableConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmMonitorAvailableConfigOutcomeCallable describeDnsGtmMonitorAvailableConfigCallable(const Model::DescribeDnsGtmMonitorAvailableConfigRequest& request) const;
DescribeDnsGtmMonitorConfigOutcome describeDnsGtmMonitorConfig(const Model::DescribeDnsGtmMonitorConfigRequest &request)const;
void describeDnsGtmMonitorConfigAsync(const Model::DescribeDnsGtmMonitorConfigRequest& request, const DescribeDnsGtmMonitorConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsGtmMonitorConfigOutcomeCallable describeDnsGtmMonitorConfigCallable(const Model::DescribeDnsGtmMonitorConfigRequest& request) const;
DescribeDnsProductInstanceOutcome describeDnsProductInstance(const Model::DescribeDnsProductInstanceRequest &request)const;
void describeDnsProductInstanceAsync(const Model::DescribeDnsProductInstanceRequest& request, const DescribeDnsProductInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsProductInstanceOutcomeCallable describeDnsProductInstanceCallable(const Model::DescribeDnsProductInstanceRequest& request) const;
DescribeDnsProductInstancesOutcome describeDnsProductInstances(const Model::DescribeDnsProductInstancesRequest &request)const;
void describeDnsProductInstancesAsync(const Model::DescribeDnsProductInstancesRequest& request, const DescribeDnsProductInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDnsProductInstancesOutcomeCallable describeDnsProductInstancesCallable(const Model::DescribeDnsProductInstancesRequest& request) const;
DescribeDohAccountStatisticsOutcome describeDohAccountStatistics(const Model::DescribeDohAccountStatisticsRequest &request)const;
void describeDohAccountStatisticsAsync(const Model::DescribeDohAccountStatisticsRequest& request, const DescribeDohAccountStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDohAccountStatisticsOutcomeCallable describeDohAccountStatisticsCallable(const Model::DescribeDohAccountStatisticsRequest& request) const;
DescribeDohDomainStatisticsOutcome describeDohDomainStatistics(const Model::DescribeDohDomainStatisticsRequest &request)const;
void describeDohDomainStatisticsAsync(const Model::DescribeDohDomainStatisticsRequest& request, const DescribeDohDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDohDomainStatisticsOutcomeCallable describeDohDomainStatisticsCallable(const Model::DescribeDohDomainStatisticsRequest& request) const;
DescribeDohDomainStatisticsSummaryOutcome describeDohDomainStatisticsSummary(const Model::DescribeDohDomainStatisticsSummaryRequest &request)const;
void describeDohDomainStatisticsSummaryAsync(const Model::DescribeDohDomainStatisticsSummaryRequest& request, const DescribeDohDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDohDomainStatisticsSummaryOutcomeCallable describeDohDomainStatisticsSummaryCallable(const Model::DescribeDohDomainStatisticsSummaryRequest& request) const;
DescribeDohSubDomainStatisticsOutcome describeDohSubDomainStatistics(const Model::DescribeDohSubDomainStatisticsRequest &request)const;
void describeDohSubDomainStatisticsAsync(const Model::DescribeDohSubDomainStatisticsRequest& request, const DescribeDohSubDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDohSubDomainStatisticsOutcomeCallable describeDohSubDomainStatisticsCallable(const Model::DescribeDohSubDomainStatisticsRequest& request) const;
DescribeDohSubDomainStatisticsSummaryOutcome describeDohSubDomainStatisticsSummary(const Model::DescribeDohSubDomainStatisticsSummaryRequest &request)const;
void describeDohSubDomainStatisticsSummaryAsync(const Model::DescribeDohSubDomainStatisticsSummaryRequest& request, const DescribeDohSubDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDohSubDomainStatisticsSummaryOutcomeCallable describeDohSubDomainStatisticsSummaryCallable(const Model::DescribeDohSubDomainStatisticsSummaryRequest& request) const;
DescribeDohUserInfoOutcome describeDohUserInfo(const Model::DescribeDohUserInfoRequest &request)const;
void describeDohUserInfoAsync(const Model::DescribeDohUserInfoRequest& request, const DescribeDohUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDohUserInfoOutcomeCallable describeDohUserInfoCallable(const Model::DescribeDohUserInfoRequest& request) const;
DescribeDomainDnssecInfoOutcome describeDomainDnssecInfo(const Model::DescribeDomainDnssecInfoRequest &request)const;
void describeDomainDnssecInfoAsync(const Model::DescribeDomainDnssecInfoRequest& request, const DescribeDomainDnssecInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainDnssecInfoOutcomeCallable describeDomainDnssecInfoCallable(const Model::DescribeDomainDnssecInfoRequest& request) const;
@@ -692,6 +945,12 @@ namespace AlibabaCloud
ModifyHichinaDomainDNSOutcome modifyHichinaDomainDNS(const Model::ModifyHichinaDomainDNSRequest &request)const;
void modifyHichinaDomainDNSAsync(const Model::ModifyHichinaDomainDNSRequest& request, const ModifyHichinaDomainDNSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyHichinaDomainDNSOutcomeCallable modifyHichinaDomainDNSCallable(const Model::ModifyHichinaDomainDNSRequest& request) const;
MoveDomainResourceGroupOutcome moveDomainResourceGroup(const Model::MoveDomainResourceGroupRequest &request)const;
void moveDomainResourceGroupAsync(const Model::MoveDomainResourceGroupRequest& request, const MoveDomainResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MoveDomainResourceGroupOutcomeCallable moveDomainResourceGroupCallable(const Model::MoveDomainResourceGroupRequest& request) const;
MoveGtmResourceGroupOutcome moveGtmResourceGroup(const Model::MoveGtmResourceGroupRequest &request)const;
void moveGtmResourceGroupAsync(const Model::MoveGtmResourceGroupRequest& request, const MoveGtmResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MoveGtmResourceGroupOutcomeCallable moveGtmResourceGroupCallable(const Model::MoveGtmResourceGroupRequest& request) const;
OperateBatchDomainOutcome operateBatchDomain(const Model::OperateBatchDomainRequest &request)const;
void operateBatchDomainAsync(const Model::OperateBatchDomainRequest& request, const OperateBatchDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OperateBatchDomainOutcomeCallable operateBatchDomainCallable(const Model::OperateBatchDomainRequest& request) const;
@@ -707,6 +966,12 @@ namespace AlibabaCloud
SetDNSSLBStatusOutcome setDNSSLBStatus(const Model::SetDNSSLBStatusRequest &request)const;
void setDNSSLBStatusAsync(const Model::SetDNSSLBStatusRequest& request, const SetDNSSLBStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDNSSLBStatusOutcomeCallable setDNSSLBStatusCallable(const Model::SetDNSSLBStatusRequest& request) const;
SetDnsGtmAccessModeOutcome setDnsGtmAccessMode(const Model::SetDnsGtmAccessModeRequest &request)const;
void setDnsGtmAccessModeAsync(const Model::SetDnsGtmAccessModeRequest& request, const SetDnsGtmAccessModeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDnsGtmAccessModeOutcomeCallable setDnsGtmAccessModeCallable(const Model::SetDnsGtmAccessModeRequest& request) const;
SetDnsGtmMonitorStatusOutcome setDnsGtmMonitorStatus(const Model::SetDnsGtmMonitorStatusRequest &request)const;
void setDnsGtmMonitorStatusAsync(const Model::SetDnsGtmMonitorStatusRequest& request, const SetDnsGtmMonitorStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDnsGtmMonitorStatusOutcomeCallable setDnsGtmMonitorStatusCallable(const Model::SetDnsGtmMonitorStatusRequest& request) const;
SetDomainDnssecStatusOutcome setDomainDnssecStatus(const Model::SetDomainDnssecStatusRequest &request)const;
void setDomainDnssecStatusAsync(const Model::SetDomainDnssecStatusRequest& request, const SetDomainDnssecStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDomainDnssecStatusOutcomeCallable setDomainDnssecStatusCallable(const Model::SetDomainDnssecStatusRequest& request) const;
@@ -719,6 +984,9 @@ namespace AlibabaCloud
SetGtmMonitorStatusOutcome setGtmMonitorStatus(const Model::SetGtmMonitorStatusRequest &request)const;
void setGtmMonitorStatusAsync(const Model::SetGtmMonitorStatusRequest& request, const SetGtmMonitorStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetGtmMonitorStatusOutcomeCallable setGtmMonitorStatusCallable(const Model::SetGtmMonitorStatusRequest& request) const;
SwitchDnsGtmInstanceStrategyModeOutcome switchDnsGtmInstanceStrategyMode(const Model::SwitchDnsGtmInstanceStrategyModeRequest &request)const;
void switchDnsGtmInstanceStrategyModeAsync(const Model::SwitchDnsGtmInstanceStrategyModeRequest& request, const SwitchDnsGtmInstanceStrategyModeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SwitchDnsGtmInstanceStrategyModeOutcomeCallable switchDnsGtmInstanceStrategyModeCallable(const Model::SwitchDnsGtmInstanceStrategyModeRequest& request) const;
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
@@ -737,6 +1005,18 @@ namespace AlibabaCloud
UpdateDNSSLBWeightOutcome updateDNSSLBWeight(const Model::UpdateDNSSLBWeightRequest &request)const;
void updateDNSSLBWeightAsync(const Model::UpdateDNSSLBWeightRequest& request, const UpdateDNSSLBWeightAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDNSSLBWeightOutcomeCallable updateDNSSLBWeightCallable(const Model::UpdateDNSSLBWeightRequest& request) const;
UpdateDnsGtmAccessStrategyOutcome updateDnsGtmAccessStrategy(const Model::UpdateDnsGtmAccessStrategyRequest &request)const;
void updateDnsGtmAccessStrategyAsync(const Model::UpdateDnsGtmAccessStrategyRequest& request, const UpdateDnsGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDnsGtmAccessStrategyOutcomeCallable updateDnsGtmAccessStrategyCallable(const Model::UpdateDnsGtmAccessStrategyRequest& request) const;
UpdateDnsGtmAddressPoolOutcome updateDnsGtmAddressPool(const Model::UpdateDnsGtmAddressPoolRequest &request)const;
void updateDnsGtmAddressPoolAsync(const Model::UpdateDnsGtmAddressPoolRequest& request, const UpdateDnsGtmAddressPoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDnsGtmAddressPoolOutcomeCallable updateDnsGtmAddressPoolCallable(const Model::UpdateDnsGtmAddressPoolRequest& request) const;
UpdateDnsGtmInstanceGlobalConfigOutcome updateDnsGtmInstanceGlobalConfig(const Model::UpdateDnsGtmInstanceGlobalConfigRequest &request)const;
void updateDnsGtmInstanceGlobalConfigAsync(const Model::UpdateDnsGtmInstanceGlobalConfigRequest& request, const UpdateDnsGtmInstanceGlobalConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDnsGtmInstanceGlobalConfigOutcomeCallable updateDnsGtmInstanceGlobalConfigCallable(const Model::UpdateDnsGtmInstanceGlobalConfigRequest& request) const;
UpdateDnsGtmMonitorOutcome updateDnsGtmMonitor(const Model::UpdateDnsGtmMonitorRequest &request)const;
void updateDnsGtmMonitorAsync(const Model::UpdateDnsGtmMonitorRequest& request, const UpdateDnsGtmMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDnsGtmMonitorOutcomeCallable updateDnsGtmMonitorCallable(const Model::UpdateDnsGtmMonitorRequest& request) const;
UpdateDomainGroupOutcome updateDomainGroup(const Model::UpdateDomainGroupRequest &request)const;
void updateDomainGroupAsync(const Model::UpdateDomainGroupRequest& request, const UpdateDomainGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDomainGroupOutcomeCallable updateDomainGroupCallable(const Model::UpdateDomainGroupRequest& request) const;

View File

@@ -0,0 +1,110 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMACCESSSTRATEGYREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMACCESSSTRATEGYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT AddDnsGtmAccessStrategyRequest : public RpcServiceRequest
{
public:
struct DefaultAddrPool
{
std::string id;
int lbaWeight;
};
struct FailoverAddrPool
{
std::string id;
int lbaWeight;
};
public:
AddDnsGtmAccessStrategyRequest();
~AddDnsGtmAccessStrategyRequest();
std::string getDefaultLbaStrategy()const;
void setDefaultLbaStrategy(const std::string& defaultLbaStrategy);
std::string getFailoverAddrPoolType()const;
void setFailoverAddrPoolType(const std::string& failoverAddrPoolType);
std::string getDefaultAddrPoolType()const;
void setDefaultAddrPoolType(const std::string& defaultAddrPoolType);
int getFailoverMaxReturnAddrNum()const;
void setFailoverMaxReturnAddrNum(int failoverMaxReturnAddrNum);
std::string getFailoverLbaStrategy()const;
void setFailoverLbaStrategy(const std::string& failoverLbaStrategy);
std::vector<DefaultAddrPool> getDefaultAddrPool()const;
void setDefaultAddrPool(const std::vector<DefaultAddrPool>& defaultAddrPool);
int getFailoverMinAvailableAddrNum()const;
void setFailoverMinAvailableAddrNum(int failoverMinAvailableAddrNum);
int getDefaultMaxReturnAddrNum()const;
void setDefaultMaxReturnAddrNum(int defaultMaxReturnAddrNum);
int getDefaultMinAvailableAddrNum()const;
void setDefaultMinAvailableAddrNum(int defaultMinAvailableAddrNum);
std::string getStrategyMode()const;
void setStrategyMode(const std::string& strategyMode);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getLines()const;
void setLines(const std::string& lines);
std::string getStrategyName()const;
void setStrategyName(const std::string& strategyName);
std::string getDefaultLatencyOptimization()const;
void setDefaultLatencyOptimization(const std::string& defaultLatencyOptimization);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFailoverLatencyOptimization()const;
void setFailoverLatencyOptimization(const std::string& failoverLatencyOptimization);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::vector<FailoverAddrPool> getFailoverAddrPool()const;
void setFailoverAddrPool(const std::vector<FailoverAddrPool>& failoverAddrPool);
private:
std::string defaultLbaStrategy_;
std::string failoverAddrPoolType_;
std::string defaultAddrPoolType_;
int failoverMaxReturnAddrNum_;
std::string failoverLbaStrategy_;
std::vector<DefaultAddrPool> defaultAddrPool_;
int failoverMinAvailableAddrNum_;
int defaultMaxReturnAddrNum_;
int defaultMinAvailableAddrNum_;
std::string strategyMode_;
std::string lang_;
std::string lines_;
std::string strategyName_;
std::string defaultLatencyOptimization_;
std::string instanceId_;
std::string failoverLatencyOptimization_;
std::string userClientIp_;
std::vector<FailoverAddrPool> failoverAddrPool_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMACCESSSTRATEGYREQUEST_H_

View File

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

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.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMADDRESSPOOLREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMADDRESSPOOLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT AddDnsGtmAddressPoolRequest : public RpcServiceRequest
{
public:
struct Addr
{
std::string mode;
std::string attributeInfo;
std::string remark;
std::string addr;
int lbaWeight;
};
struct IspCityNode
{
std::string cityCode;
std::string ispCode;
};
public:
AddDnsGtmAddressPoolRequest();
~AddDnsGtmAddressPoolRequest();
std::string getMonitorExtendInfo()const;
void setMonitorExtendInfo(const std::string& monitorExtendInfo);
std::string getLbaStrategy()const;
void setLbaStrategy(const std::string& lbaStrategy);
std::string getType()const;
void setType(const std::string& type);
int getTimeout()const;
void setTimeout(int timeout);
int getEvaluationCount()const;
void setEvaluationCount(int evaluationCount);
std::string getLang()const;
void setLang(const std::string& lang);
std::vector<Addr> getAddr()const;
void setAddr(const std::vector<Addr>& addr);
std::string getMonitorStatus()const;
void setMonitorStatus(const std::string& monitorStatus);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getName()const;
void setName(const std::string& name);
std::string getProtocolType()const;
void setProtocolType(const std::string& protocolType);
int getInterval()const;
void setInterval(int interval);
std::vector<IspCityNode> getIspCityNode()const;
void setIspCityNode(const std::vector<IspCityNode>& ispCityNode);
private:
std::string monitorExtendInfo_;
std::string lbaStrategy_;
std::string type_;
int timeout_;
int evaluationCount_;
std::string lang_;
std::vector<Addr> addr_;
std::string monitorStatus_;
std::string instanceId_;
std::string userClientIp_;
std::string name_;
std::string protocolType_;
int interval_;
std::vector<IspCityNode> ispCityNode_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMADDRESSPOOLREQUEST_H_

View File

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

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_ALIDNS_MODEL_ADDDNSGTMMONITORREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMMONITORREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT AddDnsGtmMonitorRequest : public RpcServiceRequest
{
public:
struct IspCityNode
{
std::string cityCode;
std::string ispCode;
};
public:
AddDnsGtmMonitorRequest();
~AddDnsGtmMonitorRequest();
std::string getMonitorExtendInfo()const;
void setMonitorExtendInfo(const std::string& monitorExtendInfo);
int getTimeout()const;
void setTimeout(int timeout);
std::string getAddrPoolId()const;
void setAddrPoolId(const std::string& addrPoolId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
int getEvaluationCount()const;
void setEvaluationCount(int evaluationCount);
std::string getProtocolType()const;
void setProtocolType(const std::string& protocolType);
int getInterval()const;
void setInterval(int interval);
std::string getLang()const;
void setLang(const std::string& lang);
std::vector<IspCityNode> getIspCityNode()const;
void setIspCityNode(const std::vector<IspCityNode>& ispCityNode);
private:
std::string monitorExtendInfo_;
int timeout_;
std::string addrPoolId_;
std::string userClientIp_;
int evaluationCount_;
std::string protocolType_;
int interval_;
std::string lang_;
std::vector<IspCityNode> ispCityNode_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDNSGTMMONITORREQUEST_H_

View File

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

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_DELETEDNSGTMACCESSSTRATEGYREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMACCESSSTRATEGYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DeleteDnsGtmAccessStrategyRequest : public RpcServiceRequest
{
public:
DeleteDnsGtmAccessStrategyRequest();
~DeleteDnsGtmAccessStrategyRequest();
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getStrategyId()const;
void setStrategyId(const std::string& strategyId);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string userClientIp_;
std::string strategyId_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMACCESSSTRATEGYREQUEST_H_

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_ALIDNS_MODEL_DELETEDNSGTMACCESSSTRATEGYRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMACCESSSTRATEGYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DeleteDnsGtmAccessStrategyResult : public ServiceResult
{
public:
DeleteDnsGtmAccessStrategyResult();
explicit DeleteDnsGtmAccessStrategyResult(const std::string &payload);
~DeleteDnsGtmAccessStrategyResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMACCESSSTRATEGYRESULT_H_

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_DELETEDNSGTMADDRESSPOOLREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMADDRESSPOOLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DeleteDnsGtmAddressPoolRequest : public RpcServiceRequest
{
public:
DeleteDnsGtmAddressPoolRequest();
~DeleteDnsGtmAddressPoolRequest();
std::string getAddrPoolId()const;
void setAddrPoolId(const std::string& addrPoolId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string addrPoolId_;
std::string userClientIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMADDRESSPOOLREQUEST_H_

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_ALIDNS_MODEL_DELETEDNSGTMADDRESSPOOLRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMADDRESSPOOLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DeleteDnsGtmAddressPoolResult : public ServiceResult
{
public:
DeleteDnsGtmAddressPoolResult();
explicit DeleteDnsGtmAddressPoolResult(const std::string &payload);
~DeleteDnsGtmAddressPoolResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSGTMADDRESSPOOLRESULT_H_

View File

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

View File

@@ -0,0 +1,85 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGIESRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAccessStrategiesResult : public ServiceResult
{
public:
struct Strategy
{
struct Line
{
std::string groupName;
std::string groupCode;
std::string lineCode;
std::string lineName;
};
struct EffectiveAddrPool
{
int lbaWeight;
std::string id;
std::string name;
int addrCount;
};
std::vector<Strategy::EffectiveAddrPool> effectiveAddrPools;
std::string strategyName;
std::string effectiveAddrPoolType;
std::string createTime;
std::string effectiveAddrPoolGroupType;
std::string strategyId;
long createTimestamp;
std::vector<Strategy::Line> lines;
std::string effectiveLbaStrategy;
};
DescribeDnsGtmAccessStrategiesResult();
explicit DescribeDnsGtmAccessStrategiesResult(const std::string &payload);
~DescribeDnsGtmAccessStrategiesResult();
int getPageSize()const;
int getPageNumber()const;
std::vector<Strategy> getStrategies()const;
int getTotalPages()const;
int getTotalItems()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageNumber_;
std::vector<Strategy> strategies_;
int totalPages_;
int totalItems_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGIESRESULT_H_

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_DESCRIBEDNSGTMACCESSSTRATEGYAVAILABLECONFIGREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYAVAILABLECONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAccessStrategyAvailableConfigRequest : public RpcServiceRequest
{
public:
DescribeDnsGtmAccessStrategyAvailableConfigRequest();
~DescribeDnsGtmAccessStrategyAvailableConfigRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getStrategyMode()const;
void setStrategyMode(const std::string& strategyMode);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string instanceId_;
std::string userClientIp_;
std::string strategyMode_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYAVAILABLECONFIGREQUEST_H_

View File

@@ -0,0 +1,85 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYAVAILABLECONFIGRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYAVAILABLECONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAccessStrategyAvailableConfigResult : public ServiceResult
{
public:
struct Ipv4AddrPool
{
std::string id;
std::string name;
int addrCount;
};
struct Line
{
std::string groupName;
std::string groupCode;
std::string fatherCode;
std::string lineCode;
std::string lineName;
};
struct Ipv6AddrPool
{
std::string id;
std::string name;
int addrCount;
};
struct DomainAddrPool
{
std::string id;
std::string name;
int addrCount;
};
DescribeDnsGtmAccessStrategyAvailableConfigResult();
explicit DescribeDnsGtmAccessStrategyAvailableConfigResult(const std::string &payload);
~DescribeDnsGtmAccessStrategyAvailableConfigResult();
std::vector<Ipv4AddrPool> getIpv4AddrPools()const;
std::vector<DomainAddrPool> getDomainAddrPools()const;
std::vector<Ipv6AddrPool> getIpv6AddrPools()const;
std::vector<Line> getLines()const;
bool getSuggestSetDefaultLine()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Ipv4AddrPool> ipv4AddrPools_;
std::vector<DomainAddrPool> domainAddrPools_;
std::vector<Ipv6AddrPool> ipv6AddrPools_;
std::vector<Line> lines_;
bool suggestSetDefaultLine_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYAVAILABLECONFIGRESULT_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_DESCRIBEDNSGTMACCESSSTRATEGYREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAccessStrategyRequest : public RpcServiceRequest
{
public:
DescribeDnsGtmAccessStrategyRequest();
~DescribeDnsGtmAccessStrategyRequest();
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getStrategyId()const;
void setStrategyId(const std::string& strategyId);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string userClientIp_;
std::string strategyId_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYREQUEST_H_

View File

@@ -0,0 +1,120 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAccessStrategyResult : public ServiceResult
{
public:
struct Line
{
std::string groupName;
std::string groupCode;
std::string lineCode;
std::string lineName;
};
struct DefaultAddrPool
{
int lbaWeight;
std::string id;
std::string name;
int addrCount;
};
struct FailoverAddrPool
{
int lbaWeight;
std::string id;
std::string name;
int addrCount;
};
DescribeDnsGtmAccessStrategyResult();
explicit DescribeDnsGtmAccessStrategyResult(const std::string &payload);
~DescribeDnsGtmAccessStrategyResult();
int getFailoverMinAvailableAddrNum()const;
std::string getDefaultAddrPoolType()const;
std::string getStrategyId()const;
std::string getFailoverAddrPoolGroupStatus()const;
int getDefaultAvailableAddrNum()const;
int getFailoverAvailableAddrNum()const;
std::string getFailoverLbaStrategy()const;
int getDefaultMaxReturnAddrNum()const;
std::string getStrategyMode()const;
long getCreateTimestamp()const;
std::string getDefaultLbaStrategy()const;
std::string getDefaultAddrPoolGroupStatus()const;
std::string getFailoverAddrPoolType()const;
std::vector<FailoverAddrPool> getFailoverAddrPools()const;
std::string getInstanceId()const;
std::string getDefaultLatencyOptimization()const;
std::string getEffectiveAddrPoolGroupType()const;
std::string getCreateTime()const;
std::vector<DefaultAddrPool> getDefaultAddrPools()const;
int getDefaultMinAvailableAddrNum()const;
std::string getFailoverLatencyOptimization()const;
std::string getStrategyName()const;
int getFailoverMaxReturnAddrNum()const;
std::string getAccessMode()const;
std::vector<Line> getLines()const;
protected:
void parse(const std::string &payload);
private:
int failoverMinAvailableAddrNum_;
std::string defaultAddrPoolType_;
std::string strategyId_;
std::string failoverAddrPoolGroupStatus_;
int defaultAvailableAddrNum_;
int failoverAvailableAddrNum_;
std::string failoverLbaStrategy_;
int defaultMaxReturnAddrNum_;
std::string strategyMode_;
long createTimestamp_;
std::string defaultLbaStrategy_;
std::string defaultAddrPoolGroupStatus_;
std::string failoverAddrPoolType_;
std::vector<FailoverAddrPool> failoverAddrPools_;
std::string instanceId_;
std::string defaultLatencyOptimization_;
std::string effectiveAddrPoolGroupType_;
std::string createTime_;
std::vector<DefaultAddrPool> defaultAddrPools_;
int defaultMinAvailableAddrNum_;
std::string failoverLatencyOptimization_;
std::string strategyName_;
int failoverMaxReturnAddrNum_;
std::string accessMode_;
std::vector<Line> lines_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMACCESSSTRATEGYRESULT_H_

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_DESCRIBEDNSGTMADDRATTRIBUTEINFOREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRATTRIBUTEINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAddrAttributeInfoRequest : public RpcServiceRequest
{
public:
DescribeDnsGtmAddrAttributeInfoRequest();
~DescribeDnsGtmAddrAttributeInfoRequest();
std::string getAddrs()const;
void setAddrs(const std::string& addrs);
std::string getType()const;
void setType(const std::string& type);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string addrs_;
std::string type_;
std::string userClientIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRATTRIBUTEINFOREQUEST_H_

View File

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

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_DESCRIBEDNSGTMADDRESSPOOLAVAILABLECONFIGREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRESSPOOLAVAILABLECONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAddressPoolAvailableConfigRequest : public RpcServiceRequest
{
public:
DescribeDnsGtmAddressPoolAvailableConfigRequest();
~DescribeDnsGtmAddressPoolAvailableConfigRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string instanceId_;
std::string userClientIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRESSPOOLAVAILABLECONFIGREQUEST_H_

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_ALIDNS_MODEL_DESCRIBEDNSGTMADDRESSPOOLAVAILABLECONFIGRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRESSPOOLAVAILABLECONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmAddressPoolAvailableConfigResult : public ServiceResult
{
public:
struct AttributeInfo
{
std::string groupName;
std::string groupCode;
std::string fatherCode;
std::string lineCode;
std::string lineName;
};
DescribeDnsGtmAddressPoolAvailableConfigResult();
explicit DescribeDnsGtmAddressPoolAvailableConfigResult(const std::string &payload);
~DescribeDnsGtmAddressPoolAvailableConfigResult();
std::vector<AttributeInfo> getAttributeInfos()const;
protected:
void parse(const std::string &payload);
private:
std::vector<AttributeInfo> attributeInfos_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMADDRESSPOOLAVAILABLECONFIGRESULT_H_

View File

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

View File

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

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_DESCRIBEDNSGTMINSTANCEADDRESSPOOLREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceAddressPoolRequest : public RpcServiceRequest
{
public:
DescribeDnsGtmInstanceAddressPoolRequest();
~DescribeDnsGtmInstanceAddressPoolRequest();
std::string getAddrPoolId()const;
void setAddrPoolId(const std::string& addrPoolId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string addrPoolId_;
std::string userClientIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLREQUEST_H_

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceAddressPoolResult : public ServiceResult
{
public:
struct Addr
{
std::string attributeInfo;
int lbaWeight;
std::string alertStatus;
std::string createTime;
std::string mode;
std::string updateTime;
long updateTimestamp;
long createTimestamp;
std::string addr;
std::string remark;
};
DescribeDnsGtmInstanceAddressPoolResult();
explicit DescribeDnsGtmInstanceAddressPoolResult(const std::string &payload);
~DescribeDnsGtmInstanceAddressPoolResult();
std::vector<Addr> getAddrs()const;
std::string getType()const;
std::string getLbaStrategy()const;
std::string getCreateTime()const;
std::string getAddrPoolId()const;
std::string getUpdateTime()const;
long getUpdateTimestamp()const;
std::string getMonitorConfigId()const;
long getCreateTimestamp()const;
std::string getMonitorStatus()const;
int getAddrCount()const;
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Addr> addrs_;
std::string type_;
std::string lbaStrategy_;
std::string createTime_;
std::string addrPoolId_;
std::string updateTime_;
long updateTimestamp_;
std::string monitorConfigId_;
long createTimestamp_;
std::string monitorStatus_;
int addrCount_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLRESULT_H_

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_DESCRIBEDNSGTMINSTANCEADDRESSPOOLSREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceAddressPoolsRequest : public RpcServiceRequest
{
public:
DescribeDnsGtmInstanceAddressPoolsRequest();
~DescribeDnsGtmInstanceAddressPoolsRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getLang()const;
void setLang(const std::string& lang);
private:
int pageNumber_;
std::string instanceId_;
std::string userClientIp_;
int pageSize_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLSREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLSRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceAddressPoolsResult : public ServiceResult
{
public:
struct AddrPool
{
std::string type;
std::string lbaStrategy;
std::string createTime;
std::string addrPoolId;
std::string updateTime;
long updateTimestamp;
std::string monitorConfigId;
long createTimestamp;
std::string monitorStatus;
int addrCount;
std::string name;
};
DescribeDnsGtmInstanceAddressPoolsResult();
explicit DescribeDnsGtmInstanceAddressPoolsResult(const std::string &payload);
~DescribeDnsGtmInstanceAddressPoolsResult();
int getPageSize()const;
int getPageNumber()const;
int getTotalPages()const;
int getTotalItems()const;
std::vector<AddrPool> getAddrPools()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageNumber_;
int totalPages_;
int totalItems_;
std::vector<AddrPool> addrPools_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEADDRESSPOOLSRESULT_H_

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_DESCRIBEDNSGTMINSTANCEREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceRequest : public RpcServiceRequest
{
public:
DescribeDnsGtmInstanceRequest();
~DescribeDnsGtmInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string instanceId_;
std::string userClientIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCEREQUEST_H_

View File

@@ -0,0 +1,97 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCERESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceResult : public ServiceResult
{
public:
struct Config
{
struct AlertConfigItem
{
bool emailNotice;
std::string noticeType;
bool smsNotice;
};
std::string instanceName;
std::string pubicZoneName;
std::string alertGroup;
std::vector<AlertConfigItem> alertConfig;
std::string cnameType;
std::string publicUserDomainName;
std::string strategyMode;
int ttl;
std::string publicCnameMode;
};
struct UsedQuota
{
int taskUsedCount;
int smsUsedCount;
int emailUsedCount;
};
DescribeDnsGtmInstanceResult();
explicit DescribeDnsGtmInstanceResult(const std::string &payload);
~DescribeDnsGtmInstanceResult();
std::string getVersionCode()const;
long getExpireTimestamp()const;
std::string getResourceGroupId()const;
std::string getInstanceId()const;
Config getConfig()const;
int getTaskQuota()const;
std::string getCreateTime()const;
std::string getPaymentType()const;
std::string getExpireTime()const;
UsedQuota getUsedQuota()const;
int getSmsQuota()const;
long getCreateTimestamp()const;
protected:
void parse(const std::string &payload);
private:
std::string versionCode_;
long expireTimestamp_;
std::string resourceGroupId_;
std::string instanceId_;
Config config_;
int taskQuota_;
std::string createTime_;
std::string paymentType_;
std::string expireTime_;
UsedQuota usedQuota_;
int smsQuota_;
long createTimestamp_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCERESULT_H_

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_DESCRIBEDNSGTMINSTANCESTATUSREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceStatusRequest : public RpcServiceRequest
{
public:
DescribeDnsGtmInstanceStatusRequest();
~DescribeDnsGtmInstanceStatusRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string instanceId_;
std::string userClientIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESTATUSREQUEST_H_

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_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESTATUSRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceStatusResult : public ServiceResult
{
public:
DescribeDnsGtmInstanceStatusResult();
explicit DescribeDnsGtmInstanceStatusResult(const std::string &payload);
~DescribeDnsGtmInstanceStatusResult();
int getStrategyNotAvailableNum()const;
int getAddrAvailableNum()const;
int getSwitchToFailoverStrategyNum()const;
int getAddrNotAvailableNum()const;
int getAddrPoolGroupNotAvailableNum()const;
protected:
void parse(const std::string &payload);
private:
int strategyNotAvailableNum_;
int addrAvailableNum_;
int switchToFailoverStrategyNum_;
int addrNotAvailableNum_;
int addrPoolGroupNotAvailableNum_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESTATUSRESULT_H_

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_DESCRIBEDNSGTMINSTANCESYSTEMCNAMEREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESYSTEMCNAMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstanceSystemCnameRequest : public RpcServiceRequest
{
public:
DescribeDnsGtmInstanceSystemCnameRequest();
~DescribeDnsGtmInstanceSystemCnameRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string instanceId_;
std::string userClientIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESYSTEMCNAMEREQUEST_H_

View File

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

View File

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

View File

@@ -0,0 +1,98 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmInstancesResult : public ServiceResult
{
public:
struct GtmInstance
{
struct Config
{
struct AlertConfigItem
{
std::string emailNotice;
std::string noticeType;
std::string smsNotice;
};
std::string instanceName;
std::string alertGroup;
std::vector<AlertConfigItem> alertConfig;
std::string cnameType;
std::string publicUserDomainName;
std::string publicZoneName;
std::string strategyMode;
int ttl;
std::string publicCnameMode;
};
struct UsedQuota
{
int taskUsedCount;
int smsUsedCount;
int emailUsedCount;
};
std::string versionCode;
long expireTimestamp;
std::string resourceGroupId;
std::string instanceId;
Config config;
int taskQuota;
std::string createTime;
std::string paymentType;
std::string expireTime;
UsedQuota usedQuota;
int smsQuota;
long createTimestamp;
};
DescribeDnsGtmInstancesResult();
explicit DescribeDnsGtmInstancesResult(const std::string &payload);
~DescribeDnsGtmInstancesResult();
int getPageSize()const;
int getPageNumber()const;
std::vector<GtmInstance> getGtmInstances()const;
int getTotalPages()const;
int getTotalItems()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageNumber_;
std::vector<GtmInstance> gtmInstances_;
int totalPages_;
int totalItems_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMINSTANCESRESULT_H_

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_DESCRIBEDNSGTMLOGSREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMLOGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmLogsRequest : public RpcServiceRequest
{
public:
DescribeDnsGtmLogsRequest();
~DescribeDnsGtmLogsRequest();
long getStartTimestamp()const;
void setStartTimestamp(long startTimestamp);
int getPageNumber()const;
void setPageNumber(int pageNumber);
long getEndTimestamp()const;
void setEndTimestamp(long endTimestamp);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
private:
long startTimestamp_;
int pageNumber_;
long endTimestamp_;
std::string instanceId_;
std::string userClientIp_;
int pageSize_;
std::string lang_;
std::string keyword_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMLOGSREQUEST_H_

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_ALIDNS_MODEL_DESCRIBEDNSGTMLOGSRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMLOGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmLogsResult : public ServiceResult
{
public:
struct Log
{
std::string entityType;
std::string entityId;
std::string entityName;
std::string operTime;
std::string content;
long operTimestamp;
long id;
std::string operAction;
};
DescribeDnsGtmLogsResult();
explicit DescribeDnsGtmLogsResult(const std::string &payload);
~DescribeDnsGtmLogsResult();
int getPageSize()const;
int getPageNumber()const;
int getTotalPages()const;
std::vector<Log> getLogs()const;
int getTotalItems()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageNumber_;
int totalPages_;
std::vector<Log> logs_;
int totalItems_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMLOGSRESULT_H_

View File

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

View File

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

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_DESCRIBEDNSGTMMONITORCONFIGREQUEST_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmMonitorConfigRequest : public RpcServiceRequest
{
public:
DescribeDnsGtmMonitorConfigRequest();
~DescribeDnsGtmMonitorConfigRequest();
std::string getMonitorConfigId()const;
void setMonitorConfigId(const std::string& monitorConfigId);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string monitorConfigId_;
std::string userClientIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORCONFIGREQUEST_H_

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORCONFIGRESULT_H_
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alidns/AlidnsExport.h>
namespace AlibabaCloud
{
namespace Alidns
{
namespace Model
{
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsGtmMonitorConfigResult : public ServiceResult
{
public:
struct IspCityNode
{
std::string cityCode;
std::string ispName;
std::string countryName;
std::string cityName;
std::string countryCode;
std::string ispCode;
};
DescribeDnsGtmMonitorConfigResult();
explicit DescribeDnsGtmMonitorConfigResult(const std::string &payload);
~DescribeDnsGtmMonitorConfigResult();
std::vector<IspCityNode> getIspCityNodes()const;
std::string getProtocolType()const;
int getTimeout()const;
std::string getCreateTime()const;
std::string getUpdateTime()const;
int getEvaluationCount()const;
long getUpdateTimestamp()const;
std::string getMonitorExtendInfo()const;
std::string getMonitorConfigId()const;
long getCreateTimestamp()const;
int getInterval()const;
protected:
void parse(const std::string &payload);
private:
std::vector<IspCityNode> ispCityNodes_;
std::string protocolType_;
int timeout_;
std::string createTime_;
std::string updateTime_;
int evaluationCount_;
long updateTimestamp_;
std::string monitorExtendInfo_;
std::string monitorConfigId_;
long createTimestamp_;
int interval_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSGTMMONITORCONFIGRESULT_H_

View File

@@ -49,8 +49,10 @@ namespace AlibabaCloud
long getEndTimestamp()const;
long getDDosDefendQuery()const;
std::string getDnsSecurity()const;
std::string getDomainType()const;
long getURLForwardCount()const;
long getTTLMinValue()const;
std::string getPaymentType()const;
std::string getVersionName()const;
std::string getOverseaLine()const;
std::string getISPRegionLines()const;
@@ -85,8 +87,10 @@ namespace AlibabaCloud
long endTimestamp_;
long dDosDefendQuery_;
std::string dnsSecurity_;
std::string domainType_;
long uRLForwardCount_;
long tTLMinValue_;
std::string paymentType_;
std::string versionName_;
std::string overseaLine_;
std::string iSPRegionLines_;

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setPageNumber(long pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDomainType()const;
void setDomainType(const std::string& domainType);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
long getPageSize()const;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
private:
long pageNumber_;
std::string accessKeyId_;
std::string domainType_;
std::string userClientIp_;
long pageSize_;
std::string lang_;

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;
@@ -72,6 +73,7 @@ namespace AlibabaCloud
explicit DescribeDnsProductInstancesResult(const std::string &payload);
~DescribeDnsProductInstancesResult();
long getTotalCount()const;
std::string getDomainType()const;
long getPageSize()const;
long getPageNumber()const;
std::vector<DnsProduct> getDnsProducts()const;
@@ -80,6 +82,7 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
long totalCount_;
std::string domainType_;
long pageSize_;
long pageNumber_;
std::vector<DnsProduct> dnsProducts_;

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