Compare commits
87 Commits
hitsdb-pat
...
imageproce
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5c4d3d92a | ||
|
|
ed6a90e129 | ||
|
|
d838ddc386 | ||
|
|
b22b8d5846 | ||
|
|
36c78f0497 | ||
|
|
78e7f635c2 | ||
|
|
d57006bd72 | ||
|
|
4017f787f4 | ||
|
|
9f93cb2d7c | ||
|
|
fc224224bd | ||
|
|
f9099c0746 | ||
|
|
dcc90161eb | ||
|
|
7bde7a21f4 | ||
|
|
e912c2adc5 | ||
|
|
82cfdabb16 | ||
|
|
a009cbcc4f | ||
|
|
3338987506 | ||
|
|
ef67947d20 | ||
|
|
42440e1078 | ||
|
|
44de17f30a | ||
|
|
1f7ee9ecc1 | ||
|
|
b5cb1df9e3 | ||
|
|
03b5f7b37b | ||
|
|
9bf214bc2c | ||
|
|
9bdc7d4fa5 | ||
|
|
80f230d35a | ||
|
|
0faf3e6ffa | ||
|
|
3dcd83a4f3 | ||
|
|
052017ee0a | ||
|
|
cbf2412b29 | ||
|
|
9fd09665ff | ||
|
|
7964674af1 | ||
|
|
38db21928a | ||
|
|
4899593377 | ||
|
|
ecf3cb4bb0 | ||
|
|
7b2178ef7c | ||
|
|
de338b6bec | ||
|
|
272a1c1466 | ||
|
|
ee902a7f28 | ||
|
|
fb12252d2d | ||
|
|
6e4fea5ea2 | ||
|
|
1b54ddd725 | ||
|
|
6e5ba8761d | ||
|
|
e71ef9a243 | ||
|
|
17af8569c4 | ||
|
|
4c3be7ed7c | ||
|
|
3303c6120d | ||
|
|
d0e1cd8792 | ||
|
|
7859e7446f | ||
|
|
8296e36314 | ||
|
|
0af9554cab | ||
|
|
5590f7808b | ||
|
|
df825120f3 | ||
|
|
e0575e4c67 | ||
|
|
4b58532ad0 | ||
|
|
4e4d3730de | ||
|
|
90d44564e0 | ||
|
|
0553d7374d | ||
|
|
e84530679a | ||
|
|
b3ae2c61f0 | ||
|
|
38eb8f243a | ||
|
|
caf80426a4 | ||
|
|
9b90cedcbb | ||
|
|
99cbb7279f | ||
|
|
9c94805a97 | ||
|
|
198969d4d9 | ||
|
|
eaa6b3cb18 | ||
|
|
32dccef2ae | ||
|
|
baae93b317 | ||
|
|
6ff5b2e255 | ||
|
|
65a6e6b64f | ||
|
|
0802c5d8b0 | ||
|
|
31aec3f28f | ||
|
|
f3fbed5766 | ||
|
|
a81d0c4daa | ||
|
|
76821f71df | ||
|
|
4d618db251 | ||
|
|
5def51b35c | ||
|
|
740062e96f | ||
|
|
2d49d2072f | ||
|
|
1794d57757 | ||
|
|
2f7735992b | ||
|
|
c97337aa82 | ||
|
|
406b8fba46 | ||
|
|
2f2b3aa219 | ||
|
|
64d4eb1931 | ||
|
|
bbbd1121ca |
284
CHANGELOG
284
CHANGELOG
@@ -1,3 +1,287 @@
|
|||||||
|
2021-03-03 Version: patch
|
||||||
|
- Update ScreenChestCT.
|
||||||
|
|
||||||
|
2021-03-02 Version: patch
|
||||||
|
- Update default endpoints.
|
||||||
|
|
||||||
|
2021-03-02 Version: patch
|
||||||
|
- Supported API for dnsCache.
|
||||||
|
- Supported API for GTM.
|
||||||
|
|
||||||
|
2021-03-02 Version: patch
|
||||||
|
- Support GroupCoverFace ExternalId for ListFaceGroups.
|
||||||
|
- Support ResetItems for UpdateFaceGroup.
|
||||||
|
|
||||||
|
2021-03-01 Version: patch
|
||||||
|
- AMP Version Change.
|
||||||
|
|
||||||
|
2021-02-28 Version: patch
|
||||||
|
- AMP Version Change.
|
||||||
|
|
||||||
|
2021-02-26 Version: patch
|
||||||
|
- Add TaskId for DescribeMigrationJobStatus, DescribeSubscriptionInstanceStatus, DescribeSynchronizationJobStatus.
|
||||||
|
- Add API CreateDtsInstance, ConfigureDtsJob, StartDtsJob.
|
||||||
|
|
||||||
|
2021-02-26 Version: patch
|
||||||
|
- Support SLR by InitializeDbsServiceLinkedRole action.
|
||||||
|
- Change DescribeIncrementBackupList and DescribeFullBackupList to Support Range filter by endTimestamp.
|
||||||
|
- Change DescribeRestoreTaskList to Support Range filter by createTime.
|
||||||
|
|
||||||
|
2021-02-25 Version: patch
|
||||||
|
- Support SLR by InitializeDbsServiceLinkedRole action.
|
||||||
|
- Change DescribeIncrementBackupList and DescribeFullBackupList to Support Range filter.
|
||||||
|
|
||||||
|
2021-02-25 Version: patch
|
||||||
|
- Generated 2020-05-18 for `dataworks-public`.
|
||||||
|
|
||||||
|
2021-02-24 Version: patch
|
||||||
|
- Generated 2020-05-18 for `dataworks-public`.
|
||||||
|
|
||||||
|
2021-02-24 Version: patch
|
||||||
|
- ALL API.
|
||||||
|
|
||||||
|
2021-02-23 Version: patch
|
||||||
|
- Supported List Namespaces.
|
||||||
|
- Supported List Groups.
|
||||||
|
- Supported List Jobs.
|
||||||
|
|
||||||
|
2021-02-22 Version: patch
|
||||||
|
- Support input parameter DeploymentSetId for CreateAutoProvisioningGroup.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Generated 2020-01-11 for `servicemesh`.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Add new API for recording.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Add API OpenOnsService which can active ons service.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Generated 2018-06-01 for `dataworks-public`.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Update SegmentBody.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- DescribeAvailableResource support list available resource for modify instance.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Update SetVideoSeekConfig.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Release InterpolateVideoFrame.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Create TSDB Open api.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Add.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Generated 2019-01-01 for `Cassandra`.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Supported API for GTM.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Support CPP and Go and PHP.
|
||||||
|
|
||||||
|
2021-02-19 Version: patch
|
||||||
|
- Support some MergeRequest API.
|
||||||
|
|
||||||
|
2021-02-08 Version: patch
|
||||||
|
- Fix IoT Studio BatchBindDevicesIntoProject API return datatype.
|
||||||
|
- Fix IoT Studio BatchBindProductsIntoProject API return datatype.
|
||||||
|
- Fix IoT Studio BatchUnbindProjectDevices API return datatype.
|
||||||
|
- Fix IoT Studio BatchUnbindProjectProducts API return datatype.
|
||||||
|
|
||||||
|
2021-02-08 Version: patch
|
||||||
|
- Add username for RunCommand and InvokeCommand.
|
||||||
|
|
||||||
|
2021-02-08 Version: patch
|
||||||
|
- Update PedestrianDetectAttribute.
|
||||||
|
|
||||||
|
2021-02-07 Version: patch
|
||||||
|
- Add IoT Studio BatchBindDevicesIntoProject API.
|
||||||
|
- Add IoT Studio BatchBindProductsIntoProject API.
|
||||||
|
- Add IoT Studio BatchUnbindProjectDevices API.
|
||||||
|
- Add IoT Studio BatchUnbindProjectProducts API.
|
||||||
|
|
||||||
|
2021-02-07 Version: patch
|
||||||
|
- Support patch manager apis.
|
||||||
|
|
||||||
|
2021-02-07 Version: patch
|
||||||
|
- Support some MergeRequest API.
|
||||||
|
|
||||||
|
2021-02-05 Version: patch
|
||||||
|
- Generated 2020-05-18 for `dataworks-public`.
|
||||||
|
|
||||||
|
2021-02-05 Version: patch
|
||||||
|
- Update Open API.
|
||||||
|
|
||||||
|
2021-02-05 Version: patch
|
||||||
|
- Generated 2020-05-18 for `dataworks-public`.
|
||||||
|
|
||||||
|
2021-02-04 Version: patch
|
||||||
|
- Update DetectVehicleIllegalParking DetectVehicleICongestion.
|
||||||
|
|
||||||
|
2021-02-04 Version: patch
|
||||||
|
- Supported scheduler for outbound call.
|
||||||
|
|
||||||
|
2021-02-04 Version: patch
|
||||||
|
- Supported console.
|
||||||
|
|
||||||
|
2021-02-04 Version: patch
|
||||||
|
- Supported console.
|
||||||
|
|
||||||
|
2021-02-04 Version: patch
|
||||||
|
- Update TaggingImage.
|
||||||
|
|
||||||
|
2021-02-03 Version: patch
|
||||||
|
- After normalizing the API group name, regenerate the SDK.
|
||||||
|
|
||||||
|
2021-02-03 Version: patch
|
||||||
|
- Add ModifyAuditLogConfig API.
|
||||||
|
|
||||||
|
2021-02-02 Version: patch
|
||||||
|
- Add.
|
||||||
|
|
||||||
|
2021-02-02 Version: patch
|
||||||
|
- CreateShardingDBInstance add ReadOnlyReplicas in ReplicaSet.
|
||||||
|
|
||||||
|
2021-02-01 Version: patch
|
||||||
|
- Support device credential for mqtt.
|
||||||
|
|
||||||
|
2021-02-01 Version: patch
|
||||||
|
- Release GenerateHumanSketchStyle MergeImageFace AddFaceImageTemplate QueryFaceImageTemplate DeleteFaceImageTemplate.
|
||||||
|
|
||||||
|
2021-02-01 Version: patch
|
||||||
|
- Add.
|
||||||
|
|
||||||
|
2021-02-01 Version: patch
|
||||||
|
- Release GenerateHumanSketchStyle MergeImageFace AddFaceImageTemplate QueryFaceImageTemplate DeleteFaceImageTemplate.
|
||||||
|
|
||||||
|
2021-02-01 Version: patch
|
||||||
|
- Release RecognizeFood.
|
||||||
|
|
||||||
|
2021-02-01 Version: patch
|
||||||
|
- Release UnderstandVideoContent.
|
||||||
|
|
||||||
|
2021-02-01 Version: patch
|
||||||
|
- Release SegmentGreenScreenVideo.
|
||||||
|
|
||||||
|
2021-02-01 Version: patch
|
||||||
|
- Release DetectVehicleIllegalParking DetectVehicleICongestion.
|
||||||
|
|
||||||
|
2021-01-31 Version: patch
|
||||||
|
- ConvertInstance.
|
||||||
|
|
||||||
|
2021-01-30 Version: patch
|
||||||
|
- Update rate limit.
|
||||||
|
|
||||||
|
2021-01-29 Version: patch
|
||||||
|
- Update Monitor Api.
|
||||||
|
|
||||||
|
2021-01-29 Version: patch
|
||||||
|
- Update Monitor Api.
|
||||||
|
|
||||||
|
2021-01-29 Version: patch
|
||||||
|
- Update Open API.
|
||||||
|
|
||||||
|
2021-01-29 Version: patch
|
||||||
|
- Generated 2020-05-18 for `dataworks-public`.
|
||||||
|
|
||||||
|
2021-01-28 Version: patch
|
||||||
|
- Generated 2018-03-13 for `retailcloud`.
|
||||||
|
|
||||||
|
2021-01-27 Version: patch
|
||||||
|
- Add New BatchTranslate API.
|
||||||
|
|
||||||
|
2021-01-27 Version: patch
|
||||||
|
- Add New BatchTranslate API.
|
||||||
|
|
||||||
|
2021-01-27 Version: patch
|
||||||
|
- DetectFaceAttributes Add Score.
|
||||||
|
|
||||||
|
2021-01-26 Version: patch
|
||||||
|
- Support ModifyDBClusterPrimaryZone timer task.
|
||||||
|
|
||||||
|
2021-01-25 Version: patch
|
||||||
|
- Regenerate SDK to override list implement.
|
||||||
|
|
||||||
|
2021-01-25 Version: patch
|
||||||
|
- Update Open API.
|
||||||
|
|
||||||
|
2021-01-21 Version: patch
|
||||||
|
- Modify some field types.
|
||||||
|
|
||||||
|
2021-01-21 Version: patch
|
||||||
|
- Generated 2019-09-10 for `waf-openapi`.
|
||||||
|
|
||||||
|
2021-01-21 Version: patch
|
||||||
|
- Add.
|
||||||
|
|
||||||
|
2021-01-21 Version: patch
|
||||||
|
- Supported RunInstances specifiy Dedicated Host Cluster Id.
|
||||||
|
|
||||||
|
2021-01-19 Version: patch
|
||||||
|
- Update Function.
|
||||||
|
|
||||||
|
2021-01-18 Version: patch
|
||||||
|
- Generated 2019-03-27 for `dg`.
|
||||||
|
|
||||||
|
2021-01-18 Version: patch
|
||||||
|
- Add a set of API to support device distribution management, including CreateProductDistributeJob, CreateDeviceDistributeJob, QueryDeviceDistributeJob, ListDeviceDistributeJob, QueryDeviceDistributeDetail, DeleteDeviceDistributeJob, ListDistributedDevice, ListDistributedProduct etc.
|
||||||
|
|
||||||
|
2021-01-18 Version: patch
|
||||||
|
- Add a set of api to support device distribution management, including CreateProductDistributeJob, CreateDeviceDistributeJob, QueryDeviceDistributeJob, ListDeviceDistributeJob, QueryDeviceDistributeDetail, DeleteDeviceDistributeJob, ListDistributedDevice, ListDistributedProduct etc.
|
||||||
|
|
||||||
|
2021-01-18 Version: patch
|
||||||
|
- Add ListMergeRequests api.
|
||||||
|
- Add protected branch api, CreateRepositoryProtectedBranch and DeleteRepositoryProtectedBranch.
|
||||||
|
- Add repository deploy key api, EnableRepositoryDeployKey and CreateRepositoryDeployKey.
|
||||||
|
- Add UpdateRepository api.
|
||||||
|
- Update GetUserInfo, support use OrganizationId param to get user organization name.
|
||||||
|
|
||||||
|
|
||||||
|
2021-01-15 Version: patch
|
||||||
|
- Add result value spanId for GetTrace api.
|
||||||
|
|
||||||
|
2021-01-15 Version: patch
|
||||||
|
- Update Function.
|
||||||
|
|
||||||
|
2021-01-15 Version: patch
|
||||||
|
- Update Function.
|
||||||
|
|
||||||
|
2021-01-15 Version: patch
|
||||||
|
- Add API CreateSortScriptValidation.
|
||||||
|
- Add parameter resourceGroupId to API ListAppGroups.
|
||||||
|
|
||||||
|
2021-01-15 Version: patch
|
||||||
|
- Remove drcGuidRouteApi, ModifyDtsJobPassword API.
|
||||||
|
|
||||||
|
2021-01-15 Version: patch
|
||||||
|
- Generated 2016-11-01 for `live`.
|
||||||
|
|
||||||
|
2021-01-14 Version: patch
|
||||||
|
- Add function.
|
||||||
|
|
||||||
|
2021-01-14 Version: patch
|
||||||
|
- Add BillingDate support in QueryAccontBill.
|
||||||
|
- Add SplitAccountId, SplitAccountName, SplitBillingCycle, SplitProductDetail, SplitCommodityCode, ServicePeriodUnit support in QuerySplitItemBill.
|
||||||
|
|
||||||
|
2021-01-14 Version: patch
|
||||||
|
- Update Open API.
|
||||||
|
|
||||||
|
2021-01-14 Version: patch
|
||||||
|
- Update function.
|
||||||
|
|
||||||
|
2021-01-14 Version: patch
|
||||||
|
- Fixed ListUsers, GetUser, EnableUser, RegisterUser, DisableUser, DeleteUser API parameter of uid data type error, from number into string.
|
||||||
|
- Supported ListInstances, GetInstance API to return Owner information.
|
||||||
|
- Supported SetOwners API to set INSTANCE owner.
|
||||||
|
|
||||||
2021-01-14 Version: patch
|
2021-01-14 Version: patch
|
||||||
- Create Lindorm Open api.
|
- Create Lindorm Open api.
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ set(alidns_public_header
|
|||||||
set(alidns_public_header_model
|
set(alidns_public_header_model
|
||||||
include/alibabacloud/alidns/model/AddCustomLineRequest.h
|
include/alibabacloud/alidns/model/AddCustomLineRequest.h
|
||||||
include/alibabacloud/alidns/model/AddCustomLineResult.h
|
include/alibabacloud/alidns/model/AddCustomLineResult.h
|
||||||
|
include/alibabacloud/alidns/model/AddDnsCacheDomainRequest.h
|
||||||
|
include/alibabacloud/alidns/model/AddDnsCacheDomainResult.h
|
||||||
include/alibabacloud/alidns/model/AddDnsGtmAccessStrategyRequest.h
|
include/alibabacloud/alidns/model/AddDnsGtmAccessStrategyRequest.h
|
||||||
include/alibabacloud/alidns/model/AddDnsGtmAccessStrategyResult.h
|
include/alibabacloud/alidns/model/AddDnsGtmAccessStrategyResult.h
|
||||||
include/alibabacloud/alidns/model/AddDnsGtmAddressPoolRequest.h
|
include/alibabacloud/alidns/model/AddDnsGtmAddressPoolRequest.h
|
||||||
@@ -55,6 +57,8 @@ set(alidns_public_header_model
|
|||||||
include/alibabacloud/alidns/model/CopyGtmConfigResult.h
|
include/alibabacloud/alidns/model/CopyGtmConfigResult.h
|
||||||
include/alibabacloud/alidns/model/DeleteCustomLinesRequest.h
|
include/alibabacloud/alidns/model/DeleteCustomLinesRequest.h
|
||||||
include/alibabacloud/alidns/model/DeleteCustomLinesResult.h
|
include/alibabacloud/alidns/model/DeleteCustomLinesResult.h
|
||||||
|
include/alibabacloud/alidns/model/DeleteDnsCacheDomainRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DeleteDnsCacheDomainResult.h
|
||||||
include/alibabacloud/alidns/model/DeleteDnsGtmAccessStrategyRequest.h
|
include/alibabacloud/alidns/model/DeleteDnsGtmAccessStrategyRequest.h
|
||||||
include/alibabacloud/alidns/model/DeleteDnsGtmAccessStrategyResult.h
|
include/alibabacloud/alidns/model/DeleteDnsGtmAccessStrategyResult.h
|
||||||
include/alibabacloud/alidns/model/DeleteDnsGtmAddressPoolRequest.h
|
include/alibabacloud/alidns/model/DeleteDnsGtmAddressPoolRequest.h
|
||||||
@@ -83,6 +87,8 @@ set(alidns_public_header_model
|
|||||||
include/alibabacloud/alidns/model/DescribeCustomLinesResult.h
|
include/alibabacloud/alidns/model/DescribeCustomLinesResult.h
|
||||||
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h
|
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h
|
||||||
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsResult.h
|
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDnsCacheDomainsRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDnsCacheDomainsResult.h
|
||||||
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategiesRequest.h
|
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategiesRequest.h
|
||||||
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategiesResult.h
|
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategiesResult.h
|
||||||
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyRequest.h
|
include/alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyRequest.h
|
||||||
@@ -247,6 +253,10 @@ set(alidns_public_header_model
|
|||||||
include/alibabacloud/alidns/model/UpdateCustomLineResult.h
|
include/alibabacloud/alidns/model/UpdateCustomLineResult.h
|
||||||
include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h
|
include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h
|
||||||
include/alibabacloud/alidns/model/UpdateDNSSLBWeightResult.h
|
include/alibabacloud/alidns/model/UpdateDNSSLBWeightResult.h
|
||||||
|
include/alibabacloud/alidns/model/UpdateDnsCacheDomainRequest.h
|
||||||
|
include/alibabacloud/alidns/model/UpdateDnsCacheDomainResult.h
|
||||||
|
include/alibabacloud/alidns/model/UpdateDnsCacheDomainRemarkRequest.h
|
||||||
|
include/alibabacloud/alidns/model/UpdateDnsCacheDomainRemarkResult.h
|
||||||
include/alibabacloud/alidns/model/UpdateDnsGtmAccessStrategyRequest.h
|
include/alibabacloud/alidns/model/UpdateDnsGtmAccessStrategyRequest.h
|
||||||
include/alibabacloud/alidns/model/UpdateDnsGtmAccessStrategyResult.h
|
include/alibabacloud/alidns/model/UpdateDnsGtmAccessStrategyResult.h
|
||||||
include/alibabacloud/alidns/model/UpdateDnsGtmAddressPoolRequest.h
|
include/alibabacloud/alidns/model/UpdateDnsGtmAddressPoolRequest.h
|
||||||
@@ -278,6 +288,8 @@ set(alidns_src
|
|||||||
src/AlidnsClient.cc
|
src/AlidnsClient.cc
|
||||||
src/model/AddCustomLineRequest.cc
|
src/model/AddCustomLineRequest.cc
|
||||||
src/model/AddCustomLineResult.cc
|
src/model/AddCustomLineResult.cc
|
||||||
|
src/model/AddDnsCacheDomainRequest.cc
|
||||||
|
src/model/AddDnsCacheDomainResult.cc
|
||||||
src/model/AddDnsGtmAccessStrategyRequest.cc
|
src/model/AddDnsGtmAccessStrategyRequest.cc
|
||||||
src/model/AddDnsGtmAccessStrategyResult.cc
|
src/model/AddDnsGtmAccessStrategyResult.cc
|
||||||
src/model/AddDnsGtmAddressPoolRequest.cc
|
src/model/AddDnsGtmAddressPoolRequest.cc
|
||||||
@@ -310,6 +322,8 @@ set(alidns_src
|
|||||||
src/model/CopyGtmConfigResult.cc
|
src/model/CopyGtmConfigResult.cc
|
||||||
src/model/DeleteCustomLinesRequest.cc
|
src/model/DeleteCustomLinesRequest.cc
|
||||||
src/model/DeleteCustomLinesResult.cc
|
src/model/DeleteCustomLinesResult.cc
|
||||||
|
src/model/DeleteDnsCacheDomainRequest.cc
|
||||||
|
src/model/DeleteDnsCacheDomainResult.cc
|
||||||
src/model/DeleteDnsGtmAccessStrategyRequest.cc
|
src/model/DeleteDnsGtmAccessStrategyRequest.cc
|
||||||
src/model/DeleteDnsGtmAccessStrategyResult.cc
|
src/model/DeleteDnsGtmAccessStrategyResult.cc
|
||||||
src/model/DeleteDnsGtmAddressPoolRequest.cc
|
src/model/DeleteDnsGtmAddressPoolRequest.cc
|
||||||
@@ -338,6 +352,8 @@ set(alidns_src
|
|||||||
src/model/DescribeCustomLinesResult.cc
|
src/model/DescribeCustomLinesResult.cc
|
||||||
src/model/DescribeDNSSLBSubDomainsRequest.cc
|
src/model/DescribeDNSSLBSubDomainsRequest.cc
|
||||||
src/model/DescribeDNSSLBSubDomainsResult.cc
|
src/model/DescribeDNSSLBSubDomainsResult.cc
|
||||||
|
src/model/DescribeDnsCacheDomainsRequest.cc
|
||||||
|
src/model/DescribeDnsCacheDomainsResult.cc
|
||||||
src/model/DescribeDnsGtmAccessStrategiesRequest.cc
|
src/model/DescribeDnsGtmAccessStrategiesRequest.cc
|
||||||
src/model/DescribeDnsGtmAccessStrategiesResult.cc
|
src/model/DescribeDnsGtmAccessStrategiesResult.cc
|
||||||
src/model/DescribeDnsGtmAccessStrategyRequest.cc
|
src/model/DescribeDnsGtmAccessStrategyRequest.cc
|
||||||
@@ -502,6 +518,10 @@ set(alidns_src
|
|||||||
src/model/UpdateCustomLineResult.cc
|
src/model/UpdateCustomLineResult.cc
|
||||||
src/model/UpdateDNSSLBWeightRequest.cc
|
src/model/UpdateDNSSLBWeightRequest.cc
|
||||||
src/model/UpdateDNSSLBWeightResult.cc
|
src/model/UpdateDNSSLBWeightResult.cc
|
||||||
|
src/model/UpdateDnsCacheDomainRequest.cc
|
||||||
|
src/model/UpdateDnsCacheDomainResult.cc
|
||||||
|
src/model/UpdateDnsCacheDomainRemarkRequest.cc
|
||||||
|
src/model/UpdateDnsCacheDomainRemarkResult.cc
|
||||||
src/model/UpdateDnsGtmAccessStrategyRequest.cc
|
src/model/UpdateDnsGtmAccessStrategyRequest.cc
|
||||||
src/model/UpdateDnsGtmAccessStrategyResult.cc
|
src/model/UpdateDnsGtmAccessStrategyResult.cc
|
||||||
src/model/UpdateDnsGtmAddressPoolRequest.cc
|
src/model/UpdateDnsGtmAddressPoolRequest.cc
|
||||||
|
|||||||
@@ -24,6 +24,8 @@
|
|||||||
#include "AlidnsExport.h"
|
#include "AlidnsExport.h"
|
||||||
#include "model/AddCustomLineRequest.h"
|
#include "model/AddCustomLineRequest.h"
|
||||||
#include "model/AddCustomLineResult.h"
|
#include "model/AddCustomLineResult.h"
|
||||||
|
#include "model/AddDnsCacheDomainRequest.h"
|
||||||
|
#include "model/AddDnsCacheDomainResult.h"
|
||||||
#include "model/AddDnsGtmAccessStrategyRequest.h"
|
#include "model/AddDnsGtmAccessStrategyRequest.h"
|
||||||
#include "model/AddDnsGtmAccessStrategyResult.h"
|
#include "model/AddDnsGtmAccessStrategyResult.h"
|
||||||
#include "model/AddDnsGtmAddressPoolRequest.h"
|
#include "model/AddDnsGtmAddressPoolRequest.h"
|
||||||
@@ -56,6 +58,8 @@
|
|||||||
#include "model/CopyGtmConfigResult.h"
|
#include "model/CopyGtmConfigResult.h"
|
||||||
#include "model/DeleteCustomLinesRequest.h"
|
#include "model/DeleteCustomLinesRequest.h"
|
||||||
#include "model/DeleteCustomLinesResult.h"
|
#include "model/DeleteCustomLinesResult.h"
|
||||||
|
#include "model/DeleteDnsCacheDomainRequest.h"
|
||||||
|
#include "model/DeleteDnsCacheDomainResult.h"
|
||||||
#include "model/DeleteDnsGtmAccessStrategyRequest.h"
|
#include "model/DeleteDnsGtmAccessStrategyRequest.h"
|
||||||
#include "model/DeleteDnsGtmAccessStrategyResult.h"
|
#include "model/DeleteDnsGtmAccessStrategyResult.h"
|
||||||
#include "model/DeleteDnsGtmAddressPoolRequest.h"
|
#include "model/DeleteDnsGtmAddressPoolRequest.h"
|
||||||
@@ -84,6 +88,8 @@
|
|||||||
#include "model/DescribeCustomLinesResult.h"
|
#include "model/DescribeCustomLinesResult.h"
|
||||||
#include "model/DescribeDNSSLBSubDomainsRequest.h"
|
#include "model/DescribeDNSSLBSubDomainsRequest.h"
|
||||||
#include "model/DescribeDNSSLBSubDomainsResult.h"
|
#include "model/DescribeDNSSLBSubDomainsResult.h"
|
||||||
|
#include "model/DescribeDnsCacheDomainsRequest.h"
|
||||||
|
#include "model/DescribeDnsCacheDomainsResult.h"
|
||||||
#include "model/DescribeDnsGtmAccessStrategiesRequest.h"
|
#include "model/DescribeDnsGtmAccessStrategiesRequest.h"
|
||||||
#include "model/DescribeDnsGtmAccessStrategiesResult.h"
|
#include "model/DescribeDnsGtmAccessStrategiesResult.h"
|
||||||
#include "model/DescribeDnsGtmAccessStrategyRequest.h"
|
#include "model/DescribeDnsGtmAccessStrategyRequest.h"
|
||||||
@@ -248,6 +254,10 @@
|
|||||||
#include "model/UpdateCustomLineResult.h"
|
#include "model/UpdateCustomLineResult.h"
|
||||||
#include "model/UpdateDNSSLBWeightRequest.h"
|
#include "model/UpdateDNSSLBWeightRequest.h"
|
||||||
#include "model/UpdateDNSSLBWeightResult.h"
|
#include "model/UpdateDNSSLBWeightResult.h"
|
||||||
|
#include "model/UpdateDnsCacheDomainRequest.h"
|
||||||
|
#include "model/UpdateDnsCacheDomainResult.h"
|
||||||
|
#include "model/UpdateDnsCacheDomainRemarkRequest.h"
|
||||||
|
#include "model/UpdateDnsCacheDomainRemarkResult.h"
|
||||||
#include "model/UpdateDnsGtmAccessStrategyRequest.h"
|
#include "model/UpdateDnsGtmAccessStrategyRequest.h"
|
||||||
#include "model/UpdateDnsGtmAccessStrategyResult.h"
|
#include "model/UpdateDnsGtmAccessStrategyResult.h"
|
||||||
#include "model/UpdateDnsGtmAddressPoolRequest.h"
|
#include "model/UpdateDnsGtmAddressPoolRequest.h"
|
||||||
@@ -286,6 +296,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::AddCustomLineResult> AddCustomLineOutcome;
|
typedef Outcome<Error, Model::AddCustomLineResult> AddCustomLineOutcome;
|
||||||
typedef std::future<AddCustomLineOutcome> AddCustomLineOutcomeCallable;
|
typedef std::future<AddCustomLineOutcome> AddCustomLineOutcomeCallable;
|
||||||
typedef std::function<void(const AlidnsClient*, const Model::AddCustomLineRequest&, const AddCustomLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCustomLineAsyncHandler;
|
typedef std::function<void(const AlidnsClient*, const Model::AddCustomLineRequest&, const AddCustomLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCustomLineAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::AddDnsCacheDomainResult> AddDnsCacheDomainOutcome;
|
||||||
|
typedef std::future<AddDnsCacheDomainOutcome> AddDnsCacheDomainOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::AddDnsCacheDomainRequest&, const AddDnsCacheDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDnsCacheDomainAsyncHandler;
|
||||||
typedef Outcome<Error, Model::AddDnsGtmAccessStrategyResult> AddDnsGtmAccessStrategyOutcome;
|
typedef Outcome<Error, Model::AddDnsGtmAccessStrategyResult> AddDnsGtmAccessStrategyOutcome;
|
||||||
typedef std::future<AddDnsGtmAccessStrategyOutcome> AddDnsGtmAccessStrategyOutcomeCallable;
|
typedef std::future<AddDnsGtmAccessStrategyOutcome> AddDnsGtmAccessStrategyOutcomeCallable;
|
||||||
typedef std::function<void(const AlidnsClient*, const Model::AddDnsGtmAccessStrategyRequest&, const AddDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDnsGtmAccessStrategyAsyncHandler;
|
typedef std::function<void(const AlidnsClient*, const Model::AddDnsGtmAccessStrategyRequest&, const AddDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDnsGtmAccessStrategyAsyncHandler;
|
||||||
@@ -334,6 +347,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DeleteCustomLinesResult> DeleteCustomLinesOutcome;
|
typedef Outcome<Error, Model::DeleteCustomLinesResult> DeleteCustomLinesOutcome;
|
||||||
typedef std::future<DeleteCustomLinesOutcome> DeleteCustomLinesOutcomeCallable;
|
typedef std::future<DeleteCustomLinesOutcome> DeleteCustomLinesOutcomeCallable;
|
||||||
typedef std::function<void(const AlidnsClient*, const Model::DeleteCustomLinesRequest&, const DeleteCustomLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomLinesAsyncHandler;
|
typedef std::function<void(const AlidnsClient*, const Model::DeleteCustomLinesRequest&, const DeleteCustomLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomLinesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteDnsCacheDomainResult> DeleteDnsCacheDomainOutcome;
|
||||||
|
typedef std::future<DeleteDnsCacheDomainOutcome> DeleteDnsCacheDomainOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DeleteDnsCacheDomainRequest&, const DeleteDnsCacheDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDnsCacheDomainAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DeleteDnsGtmAccessStrategyResult> DeleteDnsGtmAccessStrategyOutcome;
|
typedef Outcome<Error, Model::DeleteDnsGtmAccessStrategyResult> DeleteDnsGtmAccessStrategyOutcome;
|
||||||
typedef std::future<DeleteDnsGtmAccessStrategyOutcome> DeleteDnsGtmAccessStrategyOutcomeCallable;
|
typedef std::future<DeleteDnsGtmAccessStrategyOutcome> DeleteDnsGtmAccessStrategyOutcomeCallable;
|
||||||
typedef std::function<void(const AlidnsClient*, const Model::DeleteDnsGtmAccessStrategyRequest&, const DeleteDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDnsGtmAccessStrategyAsyncHandler;
|
typedef std::function<void(const AlidnsClient*, const Model::DeleteDnsGtmAccessStrategyRequest&, const DeleteDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDnsGtmAccessStrategyAsyncHandler;
|
||||||
@@ -376,6 +392,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeDNSSLBSubDomainsResult> DescribeDNSSLBSubDomainsOutcome;
|
typedef Outcome<Error, Model::DescribeDNSSLBSubDomainsResult> DescribeDNSSLBSubDomainsOutcome;
|
||||||
typedef std::future<DescribeDNSSLBSubDomainsOutcome> DescribeDNSSLBSubDomainsOutcomeCallable;
|
typedef std::future<DescribeDNSSLBSubDomainsOutcome> DescribeDNSSLBSubDomainsOutcomeCallable;
|
||||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDNSSLBSubDomainsRequest&, const DescribeDNSSLBSubDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDNSSLBSubDomainsAsyncHandler;
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDNSSLBSubDomainsRequest&, const DescribeDNSSLBSubDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDNSSLBSubDomainsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDnsCacheDomainsResult> DescribeDnsCacheDomainsOutcome;
|
||||||
|
typedef std::future<DescribeDnsCacheDomainsOutcome> DescribeDnsCacheDomainsOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsCacheDomainsRequest&, const DescribeDnsCacheDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsCacheDomainsAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeDnsGtmAccessStrategiesResult> DescribeDnsGtmAccessStrategiesOutcome;
|
typedef Outcome<Error, Model::DescribeDnsGtmAccessStrategiesResult> DescribeDnsGtmAccessStrategiesOutcome;
|
||||||
typedef std::future<DescribeDnsGtmAccessStrategiesOutcome> DescribeDnsGtmAccessStrategiesOutcomeCallable;
|
typedef std::future<DescribeDnsGtmAccessStrategiesOutcome> DescribeDnsGtmAccessStrategiesOutcomeCallable;
|
||||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAccessStrategiesRequest&, const DescribeDnsGtmAccessStrategiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAccessStrategiesAsyncHandler;
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsGtmAccessStrategiesRequest&, const DescribeDnsGtmAccessStrategiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsGtmAccessStrategiesAsyncHandler;
|
||||||
@@ -622,6 +641,12 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::UpdateDNSSLBWeightResult> UpdateDNSSLBWeightOutcome;
|
typedef Outcome<Error, Model::UpdateDNSSLBWeightResult> UpdateDNSSLBWeightOutcome;
|
||||||
typedef std::future<UpdateDNSSLBWeightOutcome> UpdateDNSSLBWeightOutcomeCallable;
|
typedef std::future<UpdateDNSSLBWeightOutcome> UpdateDNSSLBWeightOutcomeCallable;
|
||||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDNSSLBWeightRequest&, const UpdateDNSSLBWeightOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDNSSLBWeightAsyncHandler;
|
typedef std::function<void(const AlidnsClient*, const Model::UpdateDNSSLBWeightRequest&, const UpdateDNSSLBWeightOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDNSSLBWeightAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateDnsCacheDomainResult> UpdateDnsCacheDomainOutcome;
|
||||||
|
typedef std::future<UpdateDnsCacheDomainOutcome> UpdateDnsCacheDomainOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::UpdateDnsCacheDomainRequest&, const UpdateDnsCacheDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDnsCacheDomainAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateDnsCacheDomainRemarkResult> UpdateDnsCacheDomainRemarkOutcome;
|
||||||
|
typedef std::future<UpdateDnsCacheDomainRemarkOutcome> UpdateDnsCacheDomainRemarkOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::UpdateDnsCacheDomainRemarkRequest&, const UpdateDnsCacheDomainRemarkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDnsCacheDomainRemarkAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UpdateDnsGtmAccessStrategyResult> UpdateDnsGtmAccessStrategyOutcome;
|
typedef Outcome<Error, Model::UpdateDnsGtmAccessStrategyResult> UpdateDnsGtmAccessStrategyOutcome;
|
||||||
typedef std::future<UpdateDnsGtmAccessStrategyOutcome> UpdateDnsGtmAccessStrategyOutcomeCallable;
|
typedef std::future<UpdateDnsGtmAccessStrategyOutcome> UpdateDnsGtmAccessStrategyOutcomeCallable;
|
||||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDnsGtmAccessStrategyRequest&, const UpdateDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDnsGtmAccessStrategyAsyncHandler;
|
typedef std::function<void(const AlidnsClient*, const Model::UpdateDnsGtmAccessStrategyRequest&, const UpdateDnsGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDnsGtmAccessStrategyAsyncHandler;
|
||||||
@@ -669,6 +694,9 @@ namespace AlibabaCloud
|
|||||||
AddCustomLineOutcome addCustomLine(const Model::AddCustomLineRequest &request)const;
|
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;
|
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;
|
AddCustomLineOutcomeCallable addCustomLineCallable(const Model::AddCustomLineRequest& request) const;
|
||||||
|
AddDnsCacheDomainOutcome addDnsCacheDomain(const Model::AddDnsCacheDomainRequest &request)const;
|
||||||
|
void addDnsCacheDomainAsync(const Model::AddDnsCacheDomainRequest& request, const AddDnsCacheDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
AddDnsCacheDomainOutcomeCallable addDnsCacheDomainCallable(const Model::AddDnsCacheDomainRequest& request) const;
|
||||||
AddDnsGtmAccessStrategyOutcome addDnsGtmAccessStrategy(const Model::AddDnsGtmAccessStrategyRequest &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;
|
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;
|
AddDnsGtmAccessStrategyOutcomeCallable addDnsGtmAccessStrategyCallable(const Model::AddDnsGtmAccessStrategyRequest& request) const;
|
||||||
@@ -717,6 +745,9 @@ namespace AlibabaCloud
|
|||||||
DeleteCustomLinesOutcome deleteCustomLines(const Model::DeleteCustomLinesRequest &request)const;
|
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;
|
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;
|
DeleteCustomLinesOutcomeCallable deleteCustomLinesCallable(const Model::DeleteCustomLinesRequest& request) const;
|
||||||
|
DeleteDnsCacheDomainOutcome deleteDnsCacheDomain(const Model::DeleteDnsCacheDomainRequest &request)const;
|
||||||
|
void deleteDnsCacheDomainAsync(const Model::DeleteDnsCacheDomainRequest& request, const DeleteDnsCacheDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteDnsCacheDomainOutcomeCallable deleteDnsCacheDomainCallable(const Model::DeleteDnsCacheDomainRequest& request) const;
|
||||||
DeleteDnsGtmAccessStrategyOutcome deleteDnsGtmAccessStrategy(const Model::DeleteDnsGtmAccessStrategyRequest &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;
|
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;
|
DeleteDnsGtmAccessStrategyOutcomeCallable deleteDnsGtmAccessStrategyCallable(const Model::DeleteDnsGtmAccessStrategyRequest& request) const;
|
||||||
@@ -759,6 +790,9 @@ namespace AlibabaCloud
|
|||||||
DescribeDNSSLBSubDomainsOutcome describeDNSSLBSubDomains(const Model::DescribeDNSSLBSubDomainsRequest &request)const;
|
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;
|
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;
|
DescribeDNSSLBSubDomainsOutcomeCallable describeDNSSLBSubDomainsCallable(const Model::DescribeDNSSLBSubDomainsRequest& request) const;
|
||||||
|
DescribeDnsCacheDomainsOutcome describeDnsCacheDomains(const Model::DescribeDnsCacheDomainsRequest &request)const;
|
||||||
|
void describeDnsCacheDomainsAsync(const Model::DescribeDnsCacheDomainsRequest& request, const DescribeDnsCacheDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDnsCacheDomainsOutcomeCallable describeDnsCacheDomainsCallable(const Model::DescribeDnsCacheDomainsRequest& request) const;
|
||||||
DescribeDnsGtmAccessStrategiesOutcome describeDnsGtmAccessStrategies(const Model::DescribeDnsGtmAccessStrategiesRequest &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;
|
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;
|
DescribeDnsGtmAccessStrategiesOutcomeCallable describeDnsGtmAccessStrategiesCallable(const Model::DescribeDnsGtmAccessStrategiesRequest& request) const;
|
||||||
@@ -1005,6 +1039,12 @@ namespace AlibabaCloud
|
|||||||
UpdateDNSSLBWeightOutcome updateDNSSLBWeight(const Model::UpdateDNSSLBWeightRequest &request)const;
|
UpdateDNSSLBWeightOutcome updateDNSSLBWeight(const Model::UpdateDNSSLBWeightRequest &request)const;
|
||||||
void updateDNSSLBWeightAsync(const Model::UpdateDNSSLBWeightRequest& request, const UpdateDNSSLBWeightAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
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;
|
UpdateDNSSLBWeightOutcomeCallable updateDNSSLBWeightCallable(const Model::UpdateDNSSLBWeightRequest& request) const;
|
||||||
|
UpdateDnsCacheDomainOutcome updateDnsCacheDomain(const Model::UpdateDnsCacheDomainRequest &request)const;
|
||||||
|
void updateDnsCacheDomainAsync(const Model::UpdateDnsCacheDomainRequest& request, const UpdateDnsCacheDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateDnsCacheDomainOutcomeCallable updateDnsCacheDomainCallable(const Model::UpdateDnsCacheDomainRequest& request) const;
|
||||||
|
UpdateDnsCacheDomainRemarkOutcome updateDnsCacheDomainRemark(const Model::UpdateDnsCacheDomainRemarkRequest &request)const;
|
||||||
|
void updateDnsCacheDomainRemarkAsync(const Model::UpdateDnsCacheDomainRemarkRequest& request, const UpdateDnsCacheDomainRemarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateDnsCacheDomainRemarkOutcomeCallable updateDnsCacheDomainRemarkCallable(const Model::UpdateDnsCacheDomainRemarkRequest& request) const;
|
||||||
UpdateDnsGtmAccessStrategyOutcome updateDnsGtmAccessStrategy(const Model::UpdateDnsGtmAccessStrategyRequest &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;
|
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;
|
UpdateDnsGtmAccessStrategyOutcomeCallable updateDnsGtmAccessStrategyCallable(const Model::UpdateDnsGtmAccessStrategyRequest& request) const;
|
||||||
|
|||||||
@@ -0,0 +1,84 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDNSCACHEDOMAINREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDNSCACHEDOMAINREQUEST_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 AddDnsCacheDomainRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct SourceDnsServer
|
||||||
|
{
|
||||||
|
std::string port;
|
||||||
|
std::string host;
|
||||||
|
};
|
||||||
|
|
||||||
|
public:
|
||||||
|
AddDnsCacheDomainRequest();
|
||||||
|
~AddDnsCacheDomainRequest();
|
||||||
|
|
||||||
|
std::string getRemark()const;
|
||||||
|
void setRemark(const std::string& remark);
|
||||||
|
std::string getAccessKeyId()const;
|
||||||
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getSourceProtocol()const;
|
||||||
|
void setSourceProtocol(const std::string& sourceProtocol);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
std::string getDomainName()const;
|
||||||
|
void setDomainName(const std::string& domainName);
|
||||||
|
int getCacheTtlMax()const;
|
||||||
|
void setCacheTtlMax(int cacheTtlMax);
|
||||||
|
std::string getInstanceId()const;
|
||||||
|
void setInstanceId(const std::string& instanceId);
|
||||||
|
std::string getSourceEdns()const;
|
||||||
|
void setSourceEdns(const std::string& sourceEdns);
|
||||||
|
std::string getUserClientIp()const;
|
||||||
|
void setUserClientIp(const std::string& userClientIp);
|
||||||
|
int getCacheTtlMin()const;
|
||||||
|
void setCacheTtlMin(int cacheTtlMin);
|
||||||
|
std::vector<SourceDnsServer> getSourceDnsServer()const;
|
||||||
|
void setSourceDnsServer(const std::vector<SourceDnsServer>& sourceDnsServer);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string remark_;
|
||||||
|
std::string accessKeyId_;
|
||||||
|
std::string sourceProtocol_;
|
||||||
|
std::string lang_;
|
||||||
|
std::string domainName_;
|
||||||
|
int cacheTtlMax_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string sourceEdns_;
|
||||||
|
std::string userClientIp_;
|
||||||
|
int cacheTtlMin_;
|
||||||
|
std::vector<SourceDnsServer> sourceDnsServer_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDNSCACHEDOMAINREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDNSCACHEDOMAINRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDNSCACHEDOMAINRESULT_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 AddDnsCacheDomainResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
AddDnsCacheDomainResult();
|
||||||
|
explicit AddDnsCacheDomainResult(const std::string &payload);
|
||||||
|
~AddDnsCacheDomainResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDNSCACHEDOMAINRESULT_H_
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSCACHEDOMAINREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSCACHEDOMAINREQUEST_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 DeleteDnsCacheDomainRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteDnsCacheDomainRequest();
|
||||||
|
~DeleteDnsCacheDomainRequest();
|
||||||
|
|
||||||
|
std::string getDomainName()const;
|
||||||
|
void setDomainName(const std::string& domainName);
|
||||||
|
std::string getAccessKeyId()const;
|
||||||
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getUserClientIp()const;
|
||||||
|
void setUserClientIp(const std::string& userClientIp);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string domainName_;
|
||||||
|
std::string accessKeyId_;
|
||||||
|
std::string userClientIp_;
|
||||||
|
std::string lang_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSCACHEDOMAINREQUEST_H_
|
||||||
@@ -14,29 +14,29 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTUSERRESULT_H_
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSCACHEDOMAINRESULT_H_
|
||||||
#define ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTUSERRESULT_H_
|
#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSCACHEDOMAINRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
#include <alibabacloud/rds/RdsExport.h>
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Rds
|
namespace Alidns
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_RDS_EXPORT ModifyDedicatedHostUserResult : public ServiceResult
|
class ALIBABACLOUD_ALIDNS_EXPORT DeleteDnsCacheDomainResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
ModifyDedicatedHostUserResult();
|
DeleteDnsCacheDomainResult();
|
||||||
explicit ModifyDedicatedHostUserResult(const std::string &payload);
|
explicit DeleteDnsCacheDomainResult(const std::string &payload);
|
||||||
~ModifyDedicatedHostUserResult();
|
~DeleteDnsCacheDomainResult();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTUSERRESULT_H_
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDNSCACHEDOMAINRESULT_H_
|
||||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
|||||||
DescribeDNSSLBSubDomainsRequest();
|
DescribeDNSSLBSubDomainsRequest();
|
||||||
~DescribeDNSSLBSubDomainsRequest();
|
~DescribeDNSSLBSubDomainsRequest();
|
||||||
|
|
||||||
|
std::string getRr()const;
|
||||||
|
void setRr(const std::string& rr);
|
||||||
std::string getDomainName()const;
|
std::string getDomainName()const;
|
||||||
void setDomainName(const std::string& domainName);
|
void setDomainName(const std::string& domainName);
|
||||||
long getPageNumber()const;
|
long getPageNumber()const;
|
||||||
@@ -49,6 +51,7 @@ namespace AlibabaCloud
|
|||||||
void setLang(const std::string& lang);
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string rr_;
|
||||||
std::string domainName_;
|
std::string domainName_;
|
||||||
long pageNumber_;
|
long pageNumber_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
|||||||
@@ -34,8 +34,14 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct SlbSubDomain
|
struct SlbSubDomain
|
||||||
{
|
{
|
||||||
|
struct LineAlgorithm
|
||||||
|
{
|
||||||
|
std::string line;
|
||||||
|
bool open;
|
||||||
|
};
|
||||||
std::string subDomain;
|
std::string subDomain;
|
||||||
std::string type;
|
std::string type;
|
||||||
|
std::vector<SlbSubDomain::LineAlgorithm> lineAlgorithms;
|
||||||
long recordCount;
|
long recordCount;
|
||||||
bool open;
|
bool open;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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_DESCRIBEDNSCACHEDOMAINSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSCACHEDOMAINSREQUEST_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 DescribeDnsCacheDomainsRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeDnsCacheDomainsRequest();
|
||||||
|
~DescribeDnsCacheDomainsRequest();
|
||||||
|
|
||||||
|
long getPageNumber()const;
|
||||||
|
void setPageNumber(long pageNumber);
|
||||||
|
std::string getUserClientIp()const;
|
||||||
|
void setUserClientIp(const std::string& userClientIp);
|
||||||
|
long getPageSize()const;
|
||||||
|
void setPageSize(long pageSize);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
std::string getKeyword()const;
|
||||||
|
void setKeyword(const std::string& keyword);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long pageNumber_;
|
||||||
|
std::string userClientIp_;
|
||||||
|
long pageSize_;
|
||||||
|
std::string lang_;
|
||||||
|
std::string keyword_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSCACHEDOMAINSREQUEST_H_
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSCACHEDOMAINSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSCACHEDOMAINSRESULT_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 DescribeDnsCacheDomainsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Domain
|
||||||
|
{
|
||||||
|
struct SourceDnsServer
|
||||||
|
{
|
||||||
|
std::string port;
|
||||||
|
std::string host;
|
||||||
|
};
|
||||||
|
long expireTimestamp;
|
||||||
|
std::string domainName;
|
||||||
|
std::string instanceId;
|
||||||
|
std::string createTime;
|
||||||
|
int cacheTtlMin;
|
||||||
|
std::string remark;
|
||||||
|
std::string versionCode;
|
||||||
|
std::string domainId;
|
||||||
|
std::string sourceEdns;
|
||||||
|
std::string updateTime;
|
||||||
|
std::string sourceProtocol;
|
||||||
|
long updateTimestamp;
|
||||||
|
int cacheTtlMax;
|
||||||
|
std::vector<Domain::SourceDnsServer> sourceDnsServers;
|
||||||
|
std::string expireTime;
|
||||||
|
long createTimestamp;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDnsCacheDomainsResult();
|
||||||
|
explicit DescribeDnsCacheDomainsResult(const std::string &payload);
|
||||||
|
~DescribeDnsCacheDomainsResult();
|
||||||
|
std::vector<Domain> getDomains()const;
|
||||||
|
long getTotalCount()const;
|
||||||
|
long getPageSize()const;
|
||||||
|
long getPageNumber()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<Domain> domains_;
|
||||||
|
long totalCount_;
|
||||||
|
long pageSize_;
|
||||||
|
long pageNumber_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSCACHEDOMAINSRESULT_H_
|
||||||
@@ -65,8 +65,11 @@ namespace AlibabaCloud
|
|||||||
~DescribeDnsGtmAccessStrategyAvailableConfigResult();
|
~DescribeDnsGtmAccessStrategyAvailableConfigResult();
|
||||||
std::vector<Ipv4AddrPool> getIpv4AddrPools()const;
|
std::vector<Ipv4AddrPool> getIpv4AddrPools()const;
|
||||||
std::vector<DomainAddrPool> getDomainAddrPools()const;
|
std::vector<DomainAddrPool> getDomainAddrPools()const;
|
||||||
|
std::vector<std::string> getSelectedDomainLines()const;
|
||||||
|
std::vector<std::string> getSelectedIpv4Lines()const;
|
||||||
std::vector<Ipv6AddrPool> getIpv6AddrPools()const;
|
std::vector<Ipv6AddrPool> getIpv6AddrPools()const;
|
||||||
std::vector<Line> getLines()const;
|
std::vector<Line> getLines()const;
|
||||||
|
std::vector<std::string> getSelectedIpv6Lines()const;
|
||||||
bool getSuggestSetDefaultLine()const;
|
bool getSuggestSetDefaultLine()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -74,8 +77,11 @@ namespace AlibabaCloud
|
|||||||
private:
|
private:
|
||||||
std::vector<Ipv4AddrPool> ipv4AddrPools_;
|
std::vector<Ipv4AddrPool> ipv4AddrPools_;
|
||||||
std::vector<DomainAddrPool> domainAddrPools_;
|
std::vector<DomainAddrPool> domainAddrPools_;
|
||||||
|
std::vector<std::string> selectedDomainLines_;
|
||||||
|
std::vector<std::string> selectedIpv4Lines_;
|
||||||
std::vector<Ipv6AddrPool> ipv6AddrPools_;
|
std::vector<Ipv6AddrPool> ipv6AddrPools_;
|
||||||
std::vector<Line> lines_;
|
std::vector<Line> lines_;
|
||||||
|
std::vector<std::string> selectedIpv6Lines_;
|
||||||
bool suggestSetDefaultLine_;
|
bool suggestSetDefaultLine_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -34,43 +34,47 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct Ipv4IspCityNode
|
struct Ipv4IspCityNode
|
||||||
{
|
{
|
||||||
std::string cityCode;
|
|
||||||
std::string groupName;
|
std::string groupName;
|
||||||
|
std::string cityCode;
|
||||||
std::string ispName;
|
std::string ispName;
|
||||||
std::string groupType;
|
std::string groupType;
|
||||||
std::string cityName;
|
std::string cityName;
|
||||||
std::string ispCode;
|
|
||||||
bool defaultSelected;
|
bool defaultSelected;
|
||||||
};
|
|
||||||
struct Ipv6IspCityNode
|
|
||||||
{
|
|
||||||
std::string cityCode;
|
|
||||||
std::string groupName;
|
|
||||||
std::string ispName;
|
|
||||||
std::string groupType;
|
|
||||||
std::string cityName;
|
|
||||||
std::string ispCode;
|
std::string ispCode;
|
||||||
bool defaultSelected;
|
std::vector<std::string> ips;
|
||||||
};
|
};
|
||||||
struct DomainIpv4IspCityNode
|
struct DomainIpv4IspCityNode
|
||||||
{
|
{
|
||||||
std::string cityCode;
|
|
||||||
std::string groupName;
|
std::string groupName;
|
||||||
|
std::string cityCode;
|
||||||
std::string ispName;
|
std::string ispName;
|
||||||
std::string groupType;
|
std::string groupType;
|
||||||
|
std::vector<std::string> ips1;
|
||||||
std::string cityName;
|
std::string cityName;
|
||||||
std::string ispCode;
|
|
||||||
bool defaultSelected;
|
bool defaultSelected;
|
||||||
|
std::string ispCode;
|
||||||
};
|
};
|
||||||
struct DomainIpv6IspCityNode
|
struct DomainIpv6IspCityNode
|
||||||
{
|
{
|
||||||
std::string cityCode;
|
|
||||||
std::string groupName;
|
std::string groupName;
|
||||||
|
std::string cityCode;
|
||||||
std::string ispName;
|
std::string ispName;
|
||||||
std::string groupType;
|
std::string groupType;
|
||||||
|
std::vector<std::string> ips2;
|
||||||
std::string cityName;
|
std::string cityName;
|
||||||
std::string ispCode;
|
|
||||||
bool defaultSelected;
|
bool defaultSelected;
|
||||||
|
std::string ispCode;
|
||||||
|
};
|
||||||
|
struct Ipv6IspCityNode
|
||||||
|
{
|
||||||
|
std::string groupName;
|
||||||
|
std::string cityCode;
|
||||||
|
std::string ispName;
|
||||||
|
std::string groupType;
|
||||||
|
std::vector<std::string> ips3;
|
||||||
|
std::string cityName;
|
||||||
|
bool defaultSelected;
|
||||||
|
std::string ispCode;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
|||||||
SetDNSSLBStatusRequest();
|
SetDNSSLBStatusRequest();
|
||||||
~SetDNSSLBStatusRequest();
|
~SetDNSSLBStatusRequest();
|
||||||
|
|
||||||
|
std::string getLine()const;
|
||||||
|
void setLine(const std::string& line);
|
||||||
std::string getDomainName()const;
|
std::string getDomainName()const;
|
||||||
void setDomainName(const std::string& domainName);
|
void setDomainName(const std::string& domainName);
|
||||||
std::string getType()const;
|
std::string getType()const;
|
||||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
|||||||
void setOpen(bool open);
|
void setOpen(bool open);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string line_;
|
||||||
std::string domainName_;
|
std::string domainName_;
|
||||||
std::string type_;
|
std::string type_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
|||||||
@@ -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_UPDATEDNSCACHEDOMAINREMARKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSCACHEDOMAINREMARKREQUEST_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 UpdateDnsCacheDomainRemarkRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
UpdateDnsCacheDomainRemarkRequest();
|
||||||
|
~UpdateDnsCacheDomainRemarkRequest();
|
||||||
|
|
||||||
|
std::string getDomainName()const;
|
||||||
|
void setDomainName(const std::string& domainName);
|
||||||
|
std::string getRemark()const;
|
||||||
|
void setRemark(const std::string& remark);
|
||||||
|
std::string getAccessKeyId()const;
|
||||||
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getUserClientIp()const;
|
||||||
|
void setUserClientIp(const std::string& userClientIp);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string domainName_;
|
||||||
|
std::string remark_;
|
||||||
|
std::string accessKeyId_;
|
||||||
|
std::string userClientIp_;
|
||||||
|
std::string lang_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSCACHEDOMAINREMARKREQUEST_H_
|
||||||
@@ -14,29 +14,29 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_RDS_MODEL_DELETEDEDICATEDHOSTACCOUNTRESULT_H_
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSCACHEDOMAINREMARKRESULT_H_
|
||||||
#define ALIBABACLOUD_RDS_MODEL_DELETEDEDICATEDHOSTACCOUNTRESULT_H_
|
#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSCACHEDOMAINREMARKRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
#include <alibabacloud/rds/RdsExport.h>
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Rds
|
namespace Alidns
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_RDS_EXPORT DeleteDedicatedHostAccountResult : public ServiceResult
|
class ALIBABACLOUD_ALIDNS_EXPORT UpdateDnsCacheDomainRemarkResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
DeleteDedicatedHostAccountResult();
|
UpdateDnsCacheDomainRemarkResult();
|
||||||
explicit DeleteDedicatedHostAccountResult(const std::string &payload);
|
explicit UpdateDnsCacheDomainRemarkResult(const std::string &payload);
|
||||||
~DeleteDedicatedHostAccountResult();
|
~UpdateDnsCacheDomainRemarkResult();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEDEDICATEDHOSTACCOUNTRESULT_H_
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSCACHEDOMAINREMARKRESULT_H_
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSCACHEDOMAINREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSCACHEDOMAINREQUEST_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 UpdateDnsCacheDomainRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct SourceDnsServer
|
||||||
|
{
|
||||||
|
std::string port;
|
||||||
|
std::string host;
|
||||||
|
};
|
||||||
|
|
||||||
|
public:
|
||||||
|
UpdateDnsCacheDomainRequest();
|
||||||
|
~UpdateDnsCacheDomainRequest();
|
||||||
|
|
||||||
|
std::string getAccessKeyId()const;
|
||||||
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getSourceProtocol()const;
|
||||||
|
void setSourceProtocol(const std::string& sourceProtocol);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
std::string getDomainName()const;
|
||||||
|
void setDomainName(const std::string& domainName);
|
||||||
|
int getCacheTtlMax()const;
|
||||||
|
void setCacheTtlMax(int cacheTtlMax);
|
||||||
|
std::string getInstanceId()const;
|
||||||
|
void setInstanceId(const std::string& instanceId);
|
||||||
|
std::string getSourceEdns()const;
|
||||||
|
void setSourceEdns(const std::string& sourceEdns);
|
||||||
|
std::string getUserClientIp()const;
|
||||||
|
void setUserClientIp(const std::string& userClientIp);
|
||||||
|
int getCacheTtlMin()const;
|
||||||
|
void setCacheTtlMin(int cacheTtlMin);
|
||||||
|
std::vector<SourceDnsServer> getSourceDnsServer()const;
|
||||||
|
void setSourceDnsServer(const std::vector<SourceDnsServer>& sourceDnsServer);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string accessKeyId_;
|
||||||
|
std::string sourceProtocol_;
|
||||||
|
std::string lang_;
|
||||||
|
std::string domainName_;
|
||||||
|
int cacheTtlMax_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string sourceEdns_;
|
||||||
|
std::string userClientIp_;
|
||||||
|
int cacheTtlMin_;
|
||||||
|
std::vector<SourceDnsServer> sourceDnsServer_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSCACHEDOMAINREQUEST_H_
|
||||||
@@ -14,29 +14,29 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTUSERRESULT_H_
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSCACHEDOMAINRESULT_H_
|
||||||
#define ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTUSERRESULT_H_
|
#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSCACHEDOMAINRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
#include <alibabacloud/rds/RdsExport.h>
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Rds
|
namespace Alidns
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_RDS_EXPORT CreateDedicatedHostUserResult : public ServiceResult
|
class ALIBABACLOUD_ALIDNS_EXPORT UpdateDnsCacheDomainResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
CreateDedicatedHostUserResult();
|
UpdateDnsCacheDomainResult();
|
||||||
explicit CreateDedicatedHostUserResult(const std::string &payload);
|
explicit UpdateDnsCacheDomainResult(const std::string &payload);
|
||||||
~CreateDedicatedHostUserResult();
|
~UpdateDnsCacheDomainResult();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTUSERRESULT_H_
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSCACHEDOMAINRESULT_H_
|
||||||
@@ -87,6 +87,42 @@ AlidnsClient::AddCustomLineOutcomeCallable AlidnsClient::addCustomLineCallable(c
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlidnsClient::AddDnsCacheDomainOutcome AlidnsClient::addDnsCacheDomain(const AddDnsCacheDomainRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return AddDnsCacheDomainOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return AddDnsCacheDomainOutcome(AddDnsCacheDomainResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return AddDnsCacheDomainOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::addDnsCacheDomainAsync(const AddDnsCacheDomainRequest& request, const AddDnsCacheDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, addDnsCacheDomain(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::AddDnsCacheDomainOutcomeCallable AlidnsClient::addDnsCacheDomainCallable(const AddDnsCacheDomainRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<AddDnsCacheDomainOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->addDnsCacheDomain(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AlidnsClient::AddDnsGtmAccessStrategyOutcome AlidnsClient::addDnsGtmAccessStrategy(const AddDnsGtmAccessStrategyRequest &request) const
|
AlidnsClient::AddDnsGtmAccessStrategyOutcome AlidnsClient::addDnsGtmAccessStrategy(const AddDnsGtmAccessStrategyRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -663,6 +699,42 @@ AlidnsClient::DeleteCustomLinesOutcomeCallable AlidnsClient::deleteCustomLinesCa
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DeleteDnsCacheDomainOutcome AlidnsClient::deleteDnsCacheDomain(const DeleteDnsCacheDomainRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DeleteDnsCacheDomainOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DeleteDnsCacheDomainOutcome(DeleteDnsCacheDomainResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DeleteDnsCacheDomainOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::deleteDnsCacheDomainAsync(const DeleteDnsCacheDomainRequest& request, const DeleteDnsCacheDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, deleteDnsCacheDomain(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DeleteDnsCacheDomainOutcomeCallable AlidnsClient::deleteDnsCacheDomainCallable(const DeleteDnsCacheDomainRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DeleteDnsCacheDomainOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->deleteDnsCacheDomain(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AlidnsClient::DeleteDnsGtmAccessStrategyOutcome AlidnsClient::deleteDnsGtmAccessStrategy(const DeleteDnsGtmAccessStrategyRequest &request) const
|
AlidnsClient::DeleteDnsGtmAccessStrategyOutcome AlidnsClient::deleteDnsGtmAccessStrategy(const DeleteDnsGtmAccessStrategyRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1167,6 +1239,42 @@ AlidnsClient::DescribeDNSSLBSubDomainsOutcomeCallable AlidnsClient::describeDNSS
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDnsCacheDomainsOutcome AlidnsClient::describeDnsCacheDomains(const DescribeDnsCacheDomainsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDnsCacheDomainsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDnsCacheDomainsOutcome(DescribeDnsCacheDomainsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDnsCacheDomainsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDnsCacheDomainsAsync(const DescribeDnsCacheDomainsRequest& request, const DescribeDnsCacheDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDnsCacheDomains(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDnsCacheDomainsOutcomeCallable AlidnsClient::describeDnsCacheDomainsCallable(const DescribeDnsCacheDomainsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDnsCacheDomainsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDnsCacheDomains(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AlidnsClient::DescribeDnsGtmAccessStrategiesOutcome AlidnsClient::describeDnsGtmAccessStrategies(const DescribeDnsGtmAccessStrategiesRequest &request) const
|
AlidnsClient::DescribeDnsGtmAccessStrategiesOutcome AlidnsClient::describeDnsGtmAccessStrategies(const DescribeDnsGtmAccessStrategiesRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -4119,6 +4227,78 @@ AlidnsClient::UpdateDNSSLBWeightOutcomeCallable AlidnsClient::updateDNSSLBWeight
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlidnsClient::UpdateDnsCacheDomainOutcome AlidnsClient::updateDnsCacheDomain(const UpdateDnsCacheDomainRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UpdateDnsCacheDomainOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UpdateDnsCacheDomainOutcome(UpdateDnsCacheDomainResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UpdateDnsCacheDomainOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::updateDnsCacheDomainAsync(const UpdateDnsCacheDomainRequest& request, const UpdateDnsCacheDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, updateDnsCacheDomain(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::UpdateDnsCacheDomainOutcomeCallable AlidnsClient::updateDnsCacheDomainCallable(const UpdateDnsCacheDomainRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UpdateDnsCacheDomainOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->updateDnsCacheDomain(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::UpdateDnsCacheDomainRemarkOutcome AlidnsClient::updateDnsCacheDomainRemark(const UpdateDnsCacheDomainRemarkRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UpdateDnsCacheDomainRemarkOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UpdateDnsCacheDomainRemarkOutcome(UpdateDnsCacheDomainRemarkResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UpdateDnsCacheDomainRemarkOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::updateDnsCacheDomainRemarkAsync(const UpdateDnsCacheDomainRemarkRequest& request, const UpdateDnsCacheDomainRemarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, updateDnsCacheDomainRemark(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::UpdateDnsCacheDomainRemarkOutcomeCallable AlidnsClient::updateDnsCacheDomainRemarkCallable(const UpdateDnsCacheDomainRemarkRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UpdateDnsCacheDomainRemarkOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->updateDnsCacheDomainRemark(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AlidnsClient::UpdateDnsGtmAccessStrategyOutcome AlidnsClient::updateDnsGtmAccessStrategy(const UpdateDnsGtmAccessStrategyRequest &request) const
|
AlidnsClient::UpdateDnsGtmAccessStrategyOutcome AlidnsClient::updateDnsGtmAccessStrategy(const UpdateDnsGtmAccessStrategyRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
155
alidns/src/model/AddDnsCacheDomainRequest.cc
Normal file
155
alidns/src/model/AddDnsCacheDomainRequest.cc
Normal file
@@ -0,0 +1,155 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/AddDnsCacheDomainRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::AddDnsCacheDomainRequest;
|
||||||
|
|
||||||
|
AddDnsCacheDomainRequest::AddDnsCacheDomainRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "AddDnsCacheDomain")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
AddDnsCacheDomainRequest::~AddDnsCacheDomainRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string AddDnsCacheDomainRequest::getRemark()const
|
||||||
|
{
|
||||||
|
return remark_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AddDnsCacheDomainRequest::setRemark(const std::string& remark)
|
||||||
|
{
|
||||||
|
remark_ = remark;
|
||||||
|
setParameter("Remark", remark);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string AddDnsCacheDomainRequest::getAccessKeyId()const
|
||||||
|
{
|
||||||
|
return accessKeyId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AddDnsCacheDomainRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||||
|
{
|
||||||
|
accessKeyId_ = accessKeyId;
|
||||||
|
setParameter("AccessKeyId", accessKeyId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string AddDnsCacheDomainRequest::getSourceProtocol()const
|
||||||
|
{
|
||||||
|
return sourceProtocol_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AddDnsCacheDomainRequest::setSourceProtocol(const std::string& sourceProtocol)
|
||||||
|
{
|
||||||
|
sourceProtocol_ = sourceProtocol;
|
||||||
|
setParameter("SourceProtocol", sourceProtocol);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string AddDnsCacheDomainRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AddDnsCacheDomainRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string AddDnsCacheDomainRequest::getDomainName()const
|
||||||
|
{
|
||||||
|
return domainName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AddDnsCacheDomainRequest::setDomainName(const std::string& domainName)
|
||||||
|
{
|
||||||
|
domainName_ = domainName;
|
||||||
|
setParameter("DomainName", domainName);
|
||||||
|
}
|
||||||
|
|
||||||
|
int AddDnsCacheDomainRequest::getCacheTtlMax()const
|
||||||
|
{
|
||||||
|
return cacheTtlMax_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AddDnsCacheDomainRequest::setCacheTtlMax(int cacheTtlMax)
|
||||||
|
{
|
||||||
|
cacheTtlMax_ = cacheTtlMax;
|
||||||
|
setParameter("CacheTtlMax", std::to_string(cacheTtlMax));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string AddDnsCacheDomainRequest::getInstanceId()const
|
||||||
|
{
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AddDnsCacheDomainRequest::setInstanceId(const std::string& instanceId)
|
||||||
|
{
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter("InstanceId", instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string AddDnsCacheDomainRequest::getSourceEdns()const
|
||||||
|
{
|
||||||
|
return sourceEdns_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AddDnsCacheDomainRequest::setSourceEdns(const std::string& sourceEdns)
|
||||||
|
{
|
||||||
|
sourceEdns_ = sourceEdns;
|
||||||
|
setParameter("SourceEdns", sourceEdns);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string AddDnsCacheDomainRequest::getUserClientIp()const
|
||||||
|
{
|
||||||
|
return userClientIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AddDnsCacheDomainRequest::setUserClientIp(const std::string& userClientIp)
|
||||||
|
{
|
||||||
|
userClientIp_ = userClientIp;
|
||||||
|
setParameter("UserClientIp", userClientIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
int AddDnsCacheDomainRequest::getCacheTtlMin()const
|
||||||
|
{
|
||||||
|
return cacheTtlMin_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AddDnsCacheDomainRequest::setCacheTtlMin(int cacheTtlMin)
|
||||||
|
{
|
||||||
|
cacheTtlMin_ = cacheTtlMin;
|
||||||
|
setParameter("CacheTtlMin", std::to_string(cacheTtlMin));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<AddDnsCacheDomainRequest::SourceDnsServer> AddDnsCacheDomainRequest::getSourceDnsServer()const
|
||||||
|
{
|
||||||
|
return sourceDnsServer_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AddDnsCacheDomainRequest::setSourceDnsServer(const std::vector<SourceDnsServer>& sourceDnsServer)
|
||||||
|
{
|
||||||
|
sourceDnsServer_ = sourceDnsServer;
|
||||||
|
for(int dep1 = 0; dep1!= sourceDnsServer.size(); dep1++) {
|
||||||
|
auto sourceDnsServerObj = sourceDnsServer.at(dep1);
|
||||||
|
std::string sourceDnsServerObjStr = "SourceDnsServer." + std::to_string(dep1 + 1);
|
||||||
|
setParameter(sourceDnsServerObjStr + ".Port", sourceDnsServerObj.port);
|
||||||
|
setParameter(sourceDnsServerObjStr + ".Host", sourceDnsServerObj.host);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -14,26 +14,26 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/rds/model/ModifyLicenseInfoResult.h>
|
#include <alibabacloud/alidns/model/AddDnsCacheDomainResult.h>
|
||||||
#include <json/json.h>
|
#include <json/json.h>
|
||||||
|
|
||||||
using namespace AlibabaCloud::Rds;
|
using namespace AlibabaCloud::Alidns;
|
||||||
using namespace AlibabaCloud::Rds::Model;
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
ModifyLicenseInfoResult::ModifyLicenseInfoResult() :
|
AddDnsCacheDomainResult::AddDnsCacheDomainResult() :
|
||||||
ServiceResult()
|
ServiceResult()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
ModifyLicenseInfoResult::ModifyLicenseInfoResult(const std::string &payload) :
|
AddDnsCacheDomainResult::AddDnsCacheDomainResult(const std::string &payload) :
|
||||||
ServiceResult()
|
ServiceResult()
|
||||||
{
|
{
|
||||||
parse(payload);
|
parse(payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
ModifyLicenseInfoResult::~ModifyLicenseInfoResult()
|
AddDnsCacheDomainResult::~AddDnsCacheDomainResult()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
void ModifyLicenseInfoResult::parse(const std::string &payload)
|
void AddDnsCacheDomainResult::parse(const std::string &payload)
|
||||||
{
|
{
|
||||||
Json::Reader reader;
|
Json::Reader reader;
|
||||||
Json::Value value;
|
Json::Value value;
|
||||||
73
alidns/src/model/DeleteDnsCacheDomainRequest.cc
Normal file
73
alidns/src/model/DeleteDnsCacheDomainRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DeleteDnsCacheDomainRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DeleteDnsCacheDomainRequest;
|
||||||
|
|
||||||
|
DeleteDnsCacheDomainRequest::DeleteDnsCacheDomainRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DeleteDnsCacheDomain")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteDnsCacheDomainRequest::~DeleteDnsCacheDomainRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DeleteDnsCacheDomainRequest::getDomainName()const
|
||||||
|
{
|
||||||
|
return domainName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteDnsCacheDomainRequest::setDomainName(const std::string& domainName)
|
||||||
|
{
|
||||||
|
domainName_ = domainName;
|
||||||
|
setParameter("DomainName", domainName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteDnsCacheDomainRequest::getAccessKeyId()const
|
||||||
|
{
|
||||||
|
return accessKeyId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteDnsCacheDomainRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||||
|
{
|
||||||
|
accessKeyId_ = accessKeyId;
|
||||||
|
setParameter("AccessKeyId", accessKeyId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteDnsCacheDomainRequest::getUserClientIp()const
|
||||||
|
{
|
||||||
|
return userClientIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteDnsCacheDomainRequest::setUserClientIp(const std::string& userClientIp)
|
||||||
|
{
|
||||||
|
userClientIp_ = userClientIp;
|
||||||
|
setParameter("UserClientIp", userClientIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteDnsCacheDomainRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteDnsCacheDomainRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
44
alidns/src/model/DeleteDnsCacheDomainResult.cc
Normal file
44
alidns/src/model/DeleteDnsCacheDomainResult.cc
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DeleteDnsCacheDomainResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DeleteDnsCacheDomainResult::DeleteDnsCacheDomainResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DeleteDnsCacheDomainResult::DeleteDnsCacheDomainResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteDnsCacheDomainResult::~DeleteDnsCacheDomainResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DeleteDnsCacheDomainResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@@ -27,6 +27,17 @@ DescribeDNSSLBSubDomainsRequest::DescribeDNSSLBSubDomainsRequest() :
|
|||||||
DescribeDNSSLBSubDomainsRequest::~DescribeDNSSLBSubDomainsRequest()
|
DescribeDNSSLBSubDomainsRequest::~DescribeDNSSLBSubDomainsRequest()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDNSSLBSubDomainsRequest::getRr()const
|
||||||
|
{
|
||||||
|
return rr_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDNSSLBSubDomainsRequest::setRr(const std::string& rr)
|
||||||
|
{
|
||||||
|
rr_ = rr;
|
||||||
|
setParameter("Rr", rr);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeDNSSLBSubDomainsRequest::getDomainName()const
|
std::string DescribeDNSSLBSubDomainsRequest::getDomainName()const
|
||||||
{
|
{
|
||||||
return domainName_;
|
return domainName_;
|
||||||
|
|||||||
@@ -51,6 +51,16 @@ void DescribeDNSSLBSubDomainsResult::parse(const std::string &payload)
|
|||||||
slbSubDomainsObject.open = valueSlbSubDomainsSlbSubDomain["Open"].asString() == "true";
|
slbSubDomainsObject.open = valueSlbSubDomainsSlbSubDomain["Open"].asString() == "true";
|
||||||
if(!valueSlbSubDomainsSlbSubDomain["Type"].isNull())
|
if(!valueSlbSubDomainsSlbSubDomain["Type"].isNull())
|
||||||
slbSubDomainsObject.type = valueSlbSubDomainsSlbSubDomain["Type"].asString();
|
slbSubDomainsObject.type = valueSlbSubDomainsSlbSubDomain["Type"].asString();
|
||||||
|
auto allLineAlgorithmsNode = valueSlbSubDomainsSlbSubDomain["LineAlgorithms"]["LineAlgorithm"];
|
||||||
|
for (auto valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm : allLineAlgorithmsNode)
|
||||||
|
{
|
||||||
|
SlbSubDomain::LineAlgorithm lineAlgorithmsObject;
|
||||||
|
if(!valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm["Line"].isNull())
|
||||||
|
lineAlgorithmsObject.line = valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm["Line"].asString();
|
||||||
|
if(!valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm["Open"].isNull())
|
||||||
|
lineAlgorithmsObject.open = valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm["Open"].asString() == "true";
|
||||||
|
slbSubDomainsObject.lineAlgorithms.push_back(lineAlgorithmsObject);
|
||||||
|
}
|
||||||
slbSubDomains_.push_back(slbSubDomainsObject);
|
slbSubDomains_.push_back(slbSubDomainsObject);
|
||||||
}
|
}
|
||||||
if(!value["TotalCount"].isNull())
|
if(!value["TotalCount"].isNull())
|
||||||
|
|||||||
84
alidns/src/model/DescribeDnsCacheDomainsRequest.cc
Normal file
84
alidns/src/model/DescribeDnsCacheDomainsRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDnsCacheDomainsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDnsCacheDomainsRequest;
|
||||||
|
|
||||||
|
DescribeDnsCacheDomainsRequest::DescribeDnsCacheDomainsRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsCacheDomains")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDnsCacheDomainsRequest::~DescribeDnsCacheDomainsRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
long DescribeDnsCacheDomainsRequest::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDnsCacheDomainsRequest::setPageNumber(long pageNumber)
|
||||||
|
{
|
||||||
|
pageNumber_ = pageNumber;
|
||||||
|
setParameter("PageNumber", std::to_string(pageNumber));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDnsCacheDomainsRequest::getUserClientIp()const
|
||||||
|
{
|
||||||
|
return userClientIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDnsCacheDomainsRequest::setUserClientIp(const std::string& userClientIp)
|
||||||
|
{
|
||||||
|
userClientIp_ = userClientIp;
|
||||||
|
setParameter("UserClientIp", userClientIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDnsCacheDomainsRequest::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDnsCacheDomainsRequest::setPageSize(long pageSize)
|
||||||
|
{
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter("PageSize", std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDnsCacheDomainsRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDnsCacheDomainsRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDnsCacheDomainsRequest::getKeyword()const
|
||||||
|
{
|
||||||
|
return keyword_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDnsCacheDomainsRequest::setKeyword(const std::string& keyword)
|
||||||
|
{
|
||||||
|
keyword_ = keyword;
|
||||||
|
setParameter("Keyword", keyword);
|
||||||
|
}
|
||||||
|
|
||||||
116
alidns/src/model/DescribeDnsCacheDomainsResult.cc
Normal file
116
alidns/src/model/DescribeDnsCacheDomainsResult.cc
Normal file
@@ -0,0 +1,116 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDnsCacheDomainsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDnsCacheDomainsResult::DescribeDnsCacheDomainsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDnsCacheDomainsResult::DescribeDnsCacheDomainsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDnsCacheDomainsResult::~DescribeDnsCacheDomainsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDnsCacheDomainsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allDomainsNode = value["Domains"]["Domain"];
|
||||||
|
for (auto valueDomainsDomain : allDomainsNode)
|
||||||
|
{
|
||||||
|
Domain domainsObject;
|
||||||
|
if(!valueDomainsDomain["DomainId"].isNull())
|
||||||
|
domainsObject.domainId = valueDomainsDomain["DomainId"].asString();
|
||||||
|
if(!valueDomainsDomain["DomainName"].isNull())
|
||||||
|
domainsObject.domainName = valueDomainsDomain["DomainName"].asString();
|
||||||
|
if(!valueDomainsDomain["InstanceId"].isNull())
|
||||||
|
domainsObject.instanceId = valueDomainsDomain["InstanceId"].asString();
|
||||||
|
if(!valueDomainsDomain["VersionCode"].isNull())
|
||||||
|
domainsObject.versionCode = valueDomainsDomain["VersionCode"].asString();
|
||||||
|
if(!valueDomainsDomain["Remark"].isNull())
|
||||||
|
domainsObject.remark = valueDomainsDomain["Remark"].asString();
|
||||||
|
if(!valueDomainsDomain["UpdateTime"].isNull())
|
||||||
|
domainsObject.updateTime = valueDomainsDomain["UpdateTime"].asString();
|
||||||
|
if(!valueDomainsDomain["UpdateTimestamp"].isNull())
|
||||||
|
domainsObject.updateTimestamp = std::stol(valueDomainsDomain["UpdateTimestamp"].asString());
|
||||||
|
if(!valueDomainsDomain["CreateTime"].isNull())
|
||||||
|
domainsObject.createTime = valueDomainsDomain["CreateTime"].asString();
|
||||||
|
if(!valueDomainsDomain["CreateTimestamp"].isNull())
|
||||||
|
domainsObject.createTimestamp = std::stol(valueDomainsDomain["CreateTimestamp"].asString());
|
||||||
|
if(!valueDomainsDomain["CacheTtlMin"].isNull())
|
||||||
|
domainsObject.cacheTtlMin = std::stoi(valueDomainsDomain["CacheTtlMin"].asString());
|
||||||
|
if(!valueDomainsDomain["CacheTtlMax"].isNull())
|
||||||
|
domainsObject.cacheTtlMax = std::stoi(valueDomainsDomain["CacheTtlMax"].asString());
|
||||||
|
if(!valueDomainsDomain["SourceProtocol"].isNull())
|
||||||
|
domainsObject.sourceProtocol = valueDomainsDomain["SourceProtocol"].asString();
|
||||||
|
if(!valueDomainsDomain["SourceEdns"].isNull())
|
||||||
|
domainsObject.sourceEdns = valueDomainsDomain["SourceEdns"].asString();
|
||||||
|
if(!valueDomainsDomain["ExpireTime"].isNull())
|
||||||
|
domainsObject.expireTime = valueDomainsDomain["ExpireTime"].asString();
|
||||||
|
if(!valueDomainsDomain["ExpireTimestamp"].isNull())
|
||||||
|
domainsObject.expireTimestamp = std::stol(valueDomainsDomain["ExpireTimestamp"].asString());
|
||||||
|
auto allSourceDnsServersNode = valueDomainsDomain["SourceDnsServers"]["SourceDnsServer"];
|
||||||
|
for (auto valueDomainsDomainSourceDnsServersSourceDnsServer : allSourceDnsServersNode)
|
||||||
|
{
|
||||||
|
Domain::SourceDnsServer sourceDnsServersObject;
|
||||||
|
if(!valueDomainsDomainSourceDnsServersSourceDnsServer["Host"].isNull())
|
||||||
|
sourceDnsServersObject.host = valueDomainsDomainSourceDnsServersSourceDnsServer["Host"].asString();
|
||||||
|
if(!valueDomainsDomainSourceDnsServersSourceDnsServer["Port"].isNull())
|
||||||
|
sourceDnsServersObject.port = valueDomainsDomainSourceDnsServersSourceDnsServer["Port"].asString();
|
||||||
|
domainsObject.sourceDnsServers.push_back(sourceDnsServersObject);
|
||||||
|
}
|
||||||
|
domains_.push_back(domainsObject);
|
||||||
|
}
|
||||||
|
if(!value["TotalCount"].isNull())
|
||||||
|
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||||
|
if(!value["PageNumber"].isNull())
|
||||||
|
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||||
|
if(!value["PageSize"].isNull())
|
||||||
|
pageSize_ = std::stol(value["PageSize"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDnsCacheDomainsResult::Domain> DescribeDnsCacheDomainsResult::getDomains()const
|
||||||
|
{
|
||||||
|
return domains_;
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDnsCacheDomainsResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDnsCacheDomainsResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDnsCacheDomainsResult::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -91,6 +91,15 @@ void DescribeDnsGtmAccessStrategyAvailableConfigResult::parse(const std::string
|
|||||||
domainAddrPoolsObject.addrCount = std::stoi(valueDomainAddrPoolsDomainAddrPool["AddrCount"].asString());
|
domainAddrPoolsObject.addrCount = std::stoi(valueDomainAddrPoolsDomainAddrPool["AddrCount"].asString());
|
||||||
domainAddrPools_.push_back(domainAddrPoolsObject);
|
domainAddrPools_.push_back(domainAddrPoolsObject);
|
||||||
}
|
}
|
||||||
|
auto allSelectedIpv4Lines = value["SelectedIpv4Lines"]["SelectedIpv4Line"];
|
||||||
|
for (const auto &item : allSelectedIpv4Lines)
|
||||||
|
selectedIpv4Lines_.push_back(item.asString());
|
||||||
|
auto allSelectedIpv6Lines = value["SelectedIpv6Lines"]["SelectedIpv6Line"];
|
||||||
|
for (const auto &item : allSelectedIpv6Lines)
|
||||||
|
selectedIpv6Lines_.push_back(item.asString());
|
||||||
|
auto allSelectedDomainLines = value["SelectedDomainLines"]["SelectedDomainLine"];
|
||||||
|
for (const auto &item : allSelectedDomainLines)
|
||||||
|
selectedDomainLines_.push_back(item.asString());
|
||||||
if(!value["SuggestSetDefaultLine"].isNull())
|
if(!value["SuggestSetDefaultLine"].isNull())
|
||||||
suggestSetDefaultLine_ = value["SuggestSetDefaultLine"].asString() == "true";
|
suggestSetDefaultLine_ = value["SuggestSetDefaultLine"].asString() == "true";
|
||||||
|
|
||||||
@@ -106,6 +115,16 @@ std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::DomainAddrPool> D
|
|||||||
return domainAddrPools_;
|
return domainAddrPools_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeDnsGtmAccessStrategyAvailableConfigResult::getSelectedDomainLines()const
|
||||||
|
{
|
||||||
|
return selectedDomainLines_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeDnsGtmAccessStrategyAvailableConfigResult::getSelectedIpv4Lines()const
|
||||||
|
{
|
||||||
|
return selectedIpv4Lines_;
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::Ipv6AddrPool> DescribeDnsGtmAccessStrategyAvailableConfigResult::getIpv6AddrPools()const
|
std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::Ipv6AddrPool> DescribeDnsGtmAccessStrategyAvailableConfigResult::getIpv6AddrPools()const
|
||||||
{
|
{
|
||||||
return ipv6AddrPools_;
|
return ipv6AddrPools_;
|
||||||
@@ -116,6 +135,11 @@ std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::Line> DescribeDns
|
|||||||
return lines_;
|
return lines_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeDnsGtmAccessStrategyAvailableConfigResult::getSelectedIpv6Lines()const
|
||||||
|
{
|
||||||
|
return selectedIpv6Lines_;
|
||||||
|
}
|
||||||
|
|
||||||
bool DescribeDnsGtmAccessStrategyAvailableConfigResult::getSuggestSetDefaultLine()const
|
bool DescribeDnsGtmAccessStrategyAvailableConfigResult::getSuggestSetDefaultLine()const
|
||||||
{
|
{
|
||||||
return suggestSetDefaultLine_;
|
return suggestSetDefaultLine_;
|
||||||
|
|||||||
@@ -43,82 +43,94 @@ void DescribeDnsGtmMonitorAvailableConfigResult::parse(const std::string &payloa
|
|||||||
for (auto valueIpv4IspCityNodesIpv4IspCityNode : allIpv4IspCityNodesNode)
|
for (auto valueIpv4IspCityNodesIpv4IspCityNode : allIpv4IspCityNodesNode)
|
||||||
{
|
{
|
||||||
Ipv4IspCityNode ipv4IspCityNodesObject;
|
Ipv4IspCityNode ipv4IspCityNodesObject;
|
||||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["IspName"].isNull())
|
|
||||||
ipv4IspCityNodesObject.ispName = valueIpv4IspCityNodesIpv4IspCityNode["IspName"].asString();
|
|
||||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["IspCode"].isNull())
|
|
||||||
ipv4IspCityNodesObject.ispCode = valueIpv4IspCityNodesIpv4IspCityNode["IspCode"].asString();
|
|
||||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["CityName"].isNull())
|
|
||||||
ipv4IspCityNodesObject.cityName = valueIpv4IspCityNodesIpv4IspCityNode["CityName"].asString();
|
|
||||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["CityCode"].isNull())
|
|
||||||
ipv4IspCityNodesObject.cityCode = valueIpv4IspCityNodesIpv4IspCityNode["CityCode"].asString();
|
|
||||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["DefaultSelected"].isNull())
|
|
||||||
ipv4IspCityNodesObject.defaultSelected = valueIpv4IspCityNodesIpv4IspCityNode["DefaultSelected"].asString() == "true";
|
|
||||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["GroupType"].isNull())
|
|
||||||
ipv4IspCityNodesObject.groupType = valueIpv4IspCityNodesIpv4IspCityNode["GroupType"].asString();
|
|
||||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["GroupName"].isNull())
|
if(!valueIpv4IspCityNodesIpv4IspCityNode["GroupName"].isNull())
|
||||||
ipv4IspCityNodesObject.groupName = valueIpv4IspCityNodesIpv4IspCityNode["GroupName"].asString();
|
ipv4IspCityNodesObject.groupName = valueIpv4IspCityNodesIpv4IspCityNode["GroupName"].asString();
|
||||||
|
if(!valueIpv4IspCityNodesIpv4IspCityNode["CityCode"].isNull())
|
||||||
|
ipv4IspCityNodesObject.cityCode = valueIpv4IspCityNodesIpv4IspCityNode["CityCode"].asString();
|
||||||
|
if(!valueIpv4IspCityNodesIpv4IspCityNode["IspName"].isNull())
|
||||||
|
ipv4IspCityNodesObject.ispName = valueIpv4IspCityNodesIpv4IspCityNode["IspName"].asString();
|
||||||
|
if(!valueIpv4IspCityNodesIpv4IspCityNode["GroupType"].isNull())
|
||||||
|
ipv4IspCityNodesObject.groupType = valueIpv4IspCityNodesIpv4IspCityNode["GroupType"].asString();
|
||||||
|
if(!valueIpv4IspCityNodesIpv4IspCityNode["CityName"].isNull())
|
||||||
|
ipv4IspCityNodesObject.cityName = valueIpv4IspCityNodesIpv4IspCityNode["CityName"].asString();
|
||||||
|
if(!valueIpv4IspCityNodesIpv4IspCityNode["DefaultSelected"].isNull())
|
||||||
|
ipv4IspCityNodesObject.defaultSelected = valueIpv4IspCityNodesIpv4IspCityNode["DefaultSelected"].asString() == "true";
|
||||||
|
if(!valueIpv4IspCityNodesIpv4IspCityNode["IspCode"].isNull())
|
||||||
|
ipv4IspCityNodesObject.ispCode = valueIpv4IspCityNodesIpv4IspCityNode["IspCode"].asString();
|
||||||
|
auto allIps = value["Ips"]["Ip"];
|
||||||
|
for (auto value : allIps)
|
||||||
|
ipv4IspCityNodesObject.ips.push_back(value.asString());
|
||||||
ipv4IspCityNodes_.push_back(ipv4IspCityNodesObject);
|
ipv4IspCityNodes_.push_back(ipv4IspCityNodesObject);
|
||||||
}
|
}
|
||||||
auto allIpv6IspCityNodesNode = value["Ipv6IspCityNodes"]["Ipv6IspCityNode"];
|
|
||||||
for (auto valueIpv6IspCityNodesIpv6IspCityNode : allIpv6IspCityNodesNode)
|
|
||||||
{
|
|
||||||
Ipv6IspCityNode ipv6IspCityNodesObject;
|
|
||||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["IspName"].isNull())
|
|
||||||
ipv6IspCityNodesObject.ispName = valueIpv6IspCityNodesIpv6IspCityNode["IspName"].asString();
|
|
||||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["IspCode"].isNull())
|
|
||||||
ipv6IspCityNodesObject.ispCode = valueIpv6IspCityNodesIpv6IspCityNode["IspCode"].asString();
|
|
||||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["CityName"].isNull())
|
|
||||||
ipv6IspCityNodesObject.cityName = valueIpv6IspCityNodesIpv6IspCityNode["CityName"].asString();
|
|
||||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["CityCode"].isNull())
|
|
||||||
ipv6IspCityNodesObject.cityCode = valueIpv6IspCityNodesIpv6IspCityNode["CityCode"].asString();
|
|
||||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["DefaultSelected"].isNull())
|
|
||||||
ipv6IspCityNodesObject.defaultSelected = valueIpv6IspCityNodesIpv6IspCityNode["DefaultSelected"].asString() == "true";
|
|
||||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["GroupType"].isNull())
|
|
||||||
ipv6IspCityNodesObject.groupType = valueIpv6IspCityNodesIpv6IspCityNode["GroupType"].asString();
|
|
||||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["GroupName"].isNull())
|
|
||||||
ipv6IspCityNodesObject.groupName = valueIpv6IspCityNodesIpv6IspCityNode["GroupName"].asString();
|
|
||||||
ipv6IspCityNodes_.push_back(ipv6IspCityNodesObject);
|
|
||||||
}
|
|
||||||
auto allDomainIpv4IspCityNodesNode = value["DomainIpv4IspCityNodes"]["DomainIpv4IspCityNode"];
|
auto allDomainIpv4IspCityNodesNode = value["DomainIpv4IspCityNodes"]["DomainIpv4IspCityNode"];
|
||||||
for (auto valueDomainIpv4IspCityNodesDomainIpv4IspCityNode : allDomainIpv4IspCityNodesNode)
|
for (auto valueDomainIpv4IspCityNodesDomainIpv4IspCityNode : allDomainIpv4IspCityNodesNode)
|
||||||
{
|
{
|
||||||
DomainIpv4IspCityNode domainIpv4IspCityNodesObject;
|
DomainIpv4IspCityNode domainIpv4IspCityNodesObject;
|
||||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspName"].isNull())
|
|
||||||
domainIpv4IspCityNodesObject.ispName = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspName"].asString();
|
|
||||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspCode"].isNull())
|
|
||||||
domainIpv4IspCityNodesObject.ispCode = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspCode"].asString();
|
|
||||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityName"].isNull())
|
|
||||||
domainIpv4IspCityNodesObject.cityName = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityName"].asString();
|
|
||||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityCode"].isNull())
|
|
||||||
domainIpv4IspCityNodesObject.cityCode = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityCode"].asString();
|
|
||||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["DefaultSelected"].isNull())
|
|
||||||
domainIpv4IspCityNodesObject.defaultSelected = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["DefaultSelected"].asString() == "true";
|
|
||||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupType"].isNull())
|
|
||||||
domainIpv4IspCityNodesObject.groupType = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupType"].asString();
|
|
||||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupName"].isNull())
|
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupName"].isNull())
|
||||||
domainIpv4IspCityNodesObject.groupName = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupName"].asString();
|
domainIpv4IspCityNodesObject.groupName = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupName"].asString();
|
||||||
|
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityCode"].isNull())
|
||||||
|
domainIpv4IspCityNodesObject.cityCode = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityCode"].asString();
|
||||||
|
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspName"].isNull())
|
||||||
|
domainIpv4IspCityNodesObject.ispName = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspName"].asString();
|
||||||
|
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupType"].isNull())
|
||||||
|
domainIpv4IspCityNodesObject.groupType = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupType"].asString();
|
||||||
|
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityName"].isNull())
|
||||||
|
domainIpv4IspCityNodesObject.cityName = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityName"].asString();
|
||||||
|
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["DefaultSelected"].isNull())
|
||||||
|
domainIpv4IspCityNodesObject.defaultSelected = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["DefaultSelected"].asString() == "true";
|
||||||
|
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspCode"].isNull())
|
||||||
|
domainIpv4IspCityNodesObject.ispCode = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspCode"].asString();
|
||||||
|
auto allIps1 = value["Ips"]["Ip"];
|
||||||
|
for (auto value : allIps1)
|
||||||
|
domainIpv4IspCityNodesObject.ips1.push_back(value.asString());
|
||||||
domainIpv4IspCityNodes_.push_back(domainIpv4IspCityNodesObject);
|
domainIpv4IspCityNodes_.push_back(domainIpv4IspCityNodesObject);
|
||||||
}
|
}
|
||||||
auto allDomainIpv6IspCityNodesNode = value["DomainIpv6IspCityNodes"]["DomainIpv6IspCityNode"];
|
auto allDomainIpv6IspCityNodesNode = value["DomainIpv6IspCityNodes"]["DomainIpv6IspCityNode"];
|
||||||
for (auto valueDomainIpv6IspCityNodesDomainIpv6IspCityNode : allDomainIpv6IspCityNodesNode)
|
for (auto valueDomainIpv6IspCityNodesDomainIpv6IspCityNode : allDomainIpv6IspCityNodesNode)
|
||||||
{
|
{
|
||||||
DomainIpv6IspCityNode domainIpv6IspCityNodesObject;
|
DomainIpv6IspCityNode domainIpv6IspCityNodesObject;
|
||||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspName"].isNull())
|
|
||||||
domainIpv6IspCityNodesObject.ispName = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspName"].asString();
|
|
||||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspCode"].isNull())
|
|
||||||
domainIpv6IspCityNodesObject.ispCode = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspCode"].asString();
|
|
||||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityName"].isNull())
|
|
||||||
domainIpv6IspCityNodesObject.cityName = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityName"].asString();
|
|
||||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityCode"].isNull())
|
|
||||||
domainIpv6IspCityNodesObject.cityCode = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityCode"].asString();
|
|
||||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["DefaultSelected"].isNull())
|
|
||||||
domainIpv6IspCityNodesObject.defaultSelected = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["DefaultSelected"].asString() == "true";
|
|
||||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupType"].isNull())
|
|
||||||
domainIpv6IspCityNodesObject.groupType = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupType"].asString();
|
|
||||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupName"].isNull())
|
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupName"].isNull())
|
||||||
domainIpv6IspCityNodesObject.groupName = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupName"].asString();
|
domainIpv6IspCityNodesObject.groupName = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupName"].asString();
|
||||||
|
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityCode"].isNull())
|
||||||
|
domainIpv6IspCityNodesObject.cityCode = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityCode"].asString();
|
||||||
|
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspName"].isNull())
|
||||||
|
domainIpv6IspCityNodesObject.ispName = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspName"].asString();
|
||||||
|
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupType"].isNull())
|
||||||
|
domainIpv6IspCityNodesObject.groupType = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupType"].asString();
|
||||||
|
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityName"].isNull())
|
||||||
|
domainIpv6IspCityNodesObject.cityName = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityName"].asString();
|
||||||
|
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["DefaultSelected"].isNull())
|
||||||
|
domainIpv6IspCityNodesObject.defaultSelected = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["DefaultSelected"].asString() == "true";
|
||||||
|
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspCode"].isNull())
|
||||||
|
domainIpv6IspCityNodesObject.ispCode = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspCode"].asString();
|
||||||
|
auto allIps2 = value["Ips"]["Ip"];
|
||||||
|
for (auto value : allIps2)
|
||||||
|
domainIpv6IspCityNodesObject.ips2.push_back(value.asString());
|
||||||
domainIpv6IspCityNodes_.push_back(domainIpv6IspCityNodesObject);
|
domainIpv6IspCityNodes_.push_back(domainIpv6IspCityNodesObject);
|
||||||
}
|
}
|
||||||
|
auto allIpv6IspCityNodesNode = value["Ipv6IspCityNodes"]["Ipv6IspCityNode"];
|
||||||
|
for (auto valueIpv6IspCityNodesIpv6IspCityNode : allIpv6IspCityNodesNode)
|
||||||
|
{
|
||||||
|
Ipv6IspCityNode ipv6IspCityNodesObject;
|
||||||
|
if(!valueIpv6IspCityNodesIpv6IspCityNode["GroupName"].isNull())
|
||||||
|
ipv6IspCityNodesObject.groupName = valueIpv6IspCityNodesIpv6IspCityNode["GroupName"].asString();
|
||||||
|
if(!valueIpv6IspCityNodesIpv6IspCityNode["CityCode"].isNull())
|
||||||
|
ipv6IspCityNodesObject.cityCode = valueIpv6IspCityNodesIpv6IspCityNode["CityCode"].asString();
|
||||||
|
if(!valueIpv6IspCityNodesIpv6IspCityNode["IspName"].isNull())
|
||||||
|
ipv6IspCityNodesObject.ispName = valueIpv6IspCityNodesIpv6IspCityNode["IspName"].asString();
|
||||||
|
if(!valueIpv6IspCityNodesIpv6IspCityNode["GroupType"].isNull())
|
||||||
|
ipv6IspCityNodesObject.groupType = valueIpv6IspCityNodesIpv6IspCityNode["GroupType"].asString();
|
||||||
|
if(!valueIpv6IspCityNodesIpv6IspCityNode["CityName"].isNull())
|
||||||
|
ipv6IspCityNodesObject.cityName = valueIpv6IspCityNodesIpv6IspCityNode["CityName"].asString();
|
||||||
|
if(!valueIpv6IspCityNodesIpv6IspCityNode["DefaultSelected"].isNull())
|
||||||
|
ipv6IspCityNodesObject.defaultSelected = valueIpv6IspCityNodesIpv6IspCityNode["DefaultSelected"].asString() == "true";
|
||||||
|
if(!valueIpv6IspCityNodesIpv6IspCityNode["IspCode"].isNull())
|
||||||
|
ipv6IspCityNodesObject.ispCode = valueIpv6IspCityNodesIpv6IspCityNode["IspCode"].asString();
|
||||||
|
auto allIps3 = value["Ips"]["Ip"];
|
||||||
|
for (auto value : allIps3)
|
||||||
|
ipv6IspCityNodesObject.ips3.push_back(value.asString());
|
||||||
|
ipv6IspCityNodes_.push_back(ipv6IspCityNodesObject);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,17 @@ SetDNSSLBStatusRequest::SetDNSSLBStatusRequest() :
|
|||||||
SetDNSSLBStatusRequest::~SetDNSSLBStatusRequest()
|
SetDNSSLBStatusRequest::~SetDNSSLBStatusRequest()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
std::string SetDNSSLBStatusRequest::getLine()const
|
||||||
|
{
|
||||||
|
return line_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetDNSSLBStatusRequest::setLine(const std::string& line)
|
||||||
|
{
|
||||||
|
line_ = line;
|
||||||
|
setParameter("Line", line);
|
||||||
|
}
|
||||||
|
|
||||||
std::string SetDNSSLBStatusRequest::getDomainName()const
|
std::string SetDNSSLBStatusRequest::getDomainName()const
|
||||||
{
|
{
|
||||||
return domainName_;
|
return domainName_;
|
||||||
|
|||||||
84
alidns/src/model/UpdateDnsCacheDomainRemarkRequest.cc
Normal file
84
alidns/src/model/UpdateDnsCacheDomainRemarkRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/UpdateDnsCacheDomainRemarkRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::UpdateDnsCacheDomainRemarkRequest;
|
||||||
|
|
||||||
|
UpdateDnsCacheDomainRemarkRequest::UpdateDnsCacheDomainRemarkRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "UpdateDnsCacheDomainRemark")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateDnsCacheDomainRemarkRequest::~UpdateDnsCacheDomainRemarkRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string UpdateDnsCacheDomainRemarkRequest::getDomainName()const
|
||||||
|
{
|
||||||
|
return domainName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRemarkRequest::setDomainName(const std::string& domainName)
|
||||||
|
{
|
||||||
|
domainName_ = domainName;
|
||||||
|
setParameter("DomainName", domainName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateDnsCacheDomainRemarkRequest::getRemark()const
|
||||||
|
{
|
||||||
|
return remark_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRemarkRequest::setRemark(const std::string& remark)
|
||||||
|
{
|
||||||
|
remark_ = remark;
|
||||||
|
setParameter("Remark", remark);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateDnsCacheDomainRemarkRequest::getAccessKeyId()const
|
||||||
|
{
|
||||||
|
return accessKeyId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRemarkRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||||
|
{
|
||||||
|
accessKeyId_ = accessKeyId;
|
||||||
|
setParameter("AccessKeyId", accessKeyId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateDnsCacheDomainRemarkRequest::getUserClientIp()const
|
||||||
|
{
|
||||||
|
return userClientIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRemarkRequest::setUserClientIp(const std::string& userClientIp)
|
||||||
|
{
|
||||||
|
userClientIp_ = userClientIp;
|
||||||
|
setParameter("UserClientIp", userClientIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateDnsCacheDomainRemarkRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRemarkRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
@@ -14,26 +14,26 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/rds/model/DeleteDedicatedHostAccountResult.h>
|
#include <alibabacloud/alidns/model/UpdateDnsCacheDomainRemarkResult.h>
|
||||||
#include <json/json.h>
|
#include <json/json.h>
|
||||||
|
|
||||||
using namespace AlibabaCloud::Rds;
|
using namespace AlibabaCloud::Alidns;
|
||||||
using namespace AlibabaCloud::Rds::Model;
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
DeleteDedicatedHostAccountResult::DeleteDedicatedHostAccountResult() :
|
UpdateDnsCacheDomainRemarkResult::UpdateDnsCacheDomainRemarkResult() :
|
||||||
ServiceResult()
|
ServiceResult()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
DeleteDedicatedHostAccountResult::DeleteDedicatedHostAccountResult(const std::string &payload) :
|
UpdateDnsCacheDomainRemarkResult::UpdateDnsCacheDomainRemarkResult(const std::string &payload) :
|
||||||
ServiceResult()
|
ServiceResult()
|
||||||
{
|
{
|
||||||
parse(payload);
|
parse(payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
DeleteDedicatedHostAccountResult::~DeleteDedicatedHostAccountResult()
|
UpdateDnsCacheDomainRemarkResult::~UpdateDnsCacheDomainRemarkResult()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
void DeleteDedicatedHostAccountResult::parse(const std::string &payload)
|
void UpdateDnsCacheDomainRemarkResult::parse(const std::string &payload)
|
||||||
{
|
{
|
||||||
Json::Reader reader;
|
Json::Reader reader;
|
||||||
Json::Value value;
|
Json::Value value;
|
||||||
144
alidns/src/model/UpdateDnsCacheDomainRequest.cc
Normal file
144
alidns/src/model/UpdateDnsCacheDomainRequest.cc
Normal file
@@ -0,0 +1,144 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/UpdateDnsCacheDomainRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::UpdateDnsCacheDomainRequest;
|
||||||
|
|
||||||
|
UpdateDnsCacheDomainRequest::UpdateDnsCacheDomainRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "UpdateDnsCacheDomain")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateDnsCacheDomainRequest::~UpdateDnsCacheDomainRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string UpdateDnsCacheDomainRequest::getAccessKeyId()const
|
||||||
|
{
|
||||||
|
return accessKeyId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||||
|
{
|
||||||
|
accessKeyId_ = accessKeyId;
|
||||||
|
setParameter("AccessKeyId", accessKeyId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateDnsCacheDomainRequest::getSourceProtocol()const
|
||||||
|
{
|
||||||
|
return sourceProtocol_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRequest::setSourceProtocol(const std::string& sourceProtocol)
|
||||||
|
{
|
||||||
|
sourceProtocol_ = sourceProtocol;
|
||||||
|
setParameter("SourceProtocol", sourceProtocol);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateDnsCacheDomainRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateDnsCacheDomainRequest::getDomainName()const
|
||||||
|
{
|
||||||
|
return domainName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRequest::setDomainName(const std::string& domainName)
|
||||||
|
{
|
||||||
|
domainName_ = domainName;
|
||||||
|
setParameter("DomainName", domainName);
|
||||||
|
}
|
||||||
|
|
||||||
|
int UpdateDnsCacheDomainRequest::getCacheTtlMax()const
|
||||||
|
{
|
||||||
|
return cacheTtlMax_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRequest::setCacheTtlMax(int cacheTtlMax)
|
||||||
|
{
|
||||||
|
cacheTtlMax_ = cacheTtlMax;
|
||||||
|
setParameter("CacheTtlMax", std::to_string(cacheTtlMax));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateDnsCacheDomainRequest::getInstanceId()const
|
||||||
|
{
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRequest::setInstanceId(const std::string& instanceId)
|
||||||
|
{
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter("InstanceId", instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateDnsCacheDomainRequest::getSourceEdns()const
|
||||||
|
{
|
||||||
|
return sourceEdns_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRequest::setSourceEdns(const std::string& sourceEdns)
|
||||||
|
{
|
||||||
|
sourceEdns_ = sourceEdns;
|
||||||
|
setParameter("SourceEdns", sourceEdns);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateDnsCacheDomainRequest::getUserClientIp()const
|
||||||
|
{
|
||||||
|
return userClientIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRequest::setUserClientIp(const std::string& userClientIp)
|
||||||
|
{
|
||||||
|
userClientIp_ = userClientIp;
|
||||||
|
setParameter("UserClientIp", userClientIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
int UpdateDnsCacheDomainRequest::getCacheTtlMin()const
|
||||||
|
{
|
||||||
|
return cacheTtlMin_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRequest::setCacheTtlMin(int cacheTtlMin)
|
||||||
|
{
|
||||||
|
cacheTtlMin_ = cacheTtlMin;
|
||||||
|
setParameter("CacheTtlMin", std::to_string(cacheTtlMin));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<UpdateDnsCacheDomainRequest::SourceDnsServer> UpdateDnsCacheDomainRequest::getSourceDnsServer()const
|
||||||
|
{
|
||||||
|
return sourceDnsServer_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainRequest::setSourceDnsServer(const std::vector<SourceDnsServer>& sourceDnsServer)
|
||||||
|
{
|
||||||
|
sourceDnsServer_ = sourceDnsServer;
|
||||||
|
for(int dep1 = 0; dep1!= sourceDnsServer.size(); dep1++) {
|
||||||
|
auto sourceDnsServerObj = sourceDnsServer.at(dep1);
|
||||||
|
std::string sourceDnsServerObjStr = "SourceDnsServer." + std::to_string(dep1 + 1);
|
||||||
|
setParameter(sourceDnsServerObjStr + ".Port", sourceDnsServerObj.port);
|
||||||
|
setParameter(sourceDnsServerObjStr + ".Host", sourceDnsServerObj.host);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
44
alidns/src/model/UpdateDnsCacheDomainResult.cc
Normal file
44
alidns/src/model/UpdateDnsCacheDomainResult.cc
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/UpdateDnsCacheDomainResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
UpdateDnsCacheDomainResult::UpdateDnsCacheDomainResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
UpdateDnsCacheDomainResult::UpdateDnsCacheDomainResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateDnsCacheDomainResult::~UpdateDnsCacheDomainResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void UpdateDnsCacheDomainResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@@ -25,6 +25,8 @@ set(alimt_public_header_model
|
|||||||
include/alibabacloud/alimt/model/CreateDocTranslateTaskResult.h
|
include/alibabacloud/alimt/model/CreateDocTranslateTaskResult.h
|
||||||
include/alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h
|
include/alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h
|
||||||
include/alibabacloud/alimt/model/CreateImageTranslateTaskResult.h
|
include/alibabacloud/alimt/model/CreateImageTranslateTaskResult.h
|
||||||
|
include/alibabacloud/alimt/model/GetBatchTranslateRequest.h
|
||||||
|
include/alibabacloud/alimt/model/GetBatchTranslateResult.h
|
||||||
include/alibabacloud/alimt/model/GetDetectLanguageRequest.h
|
include/alibabacloud/alimt/model/GetDetectLanguageRequest.h
|
||||||
include/alibabacloud/alimt/model/GetDetectLanguageResult.h
|
include/alibabacloud/alimt/model/GetDetectLanguageResult.h
|
||||||
include/alibabacloud/alimt/model/GetDocTranslateTaskRequest.h
|
include/alibabacloud/alimt/model/GetDocTranslateTaskRequest.h
|
||||||
@@ -58,6 +60,8 @@ set(alimt_src
|
|||||||
src/model/CreateDocTranslateTaskResult.cc
|
src/model/CreateDocTranslateTaskResult.cc
|
||||||
src/model/CreateImageTranslateTaskRequest.cc
|
src/model/CreateImageTranslateTaskRequest.cc
|
||||||
src/model/CreateImageTranslateTaskResult.cc
|
src/model/CreateImageTranslateTaskResult.cc
|
||||||
|
src/model/GetBatchTranslateRequest.cc
|
||||||
|
src/model/GetBatchTranslateResult.cc
|
||||||
src/model/GetDetectLanguageRequest.cc
|
src/model/GetDetectLanguageRequest.cc
|
||||||
src/model/GetDetectLanguageResult.cc
|
src/model/GetDetectLanguageResult.cc
|
||||||
src/model/GetDocTranslateTaskRequest.cc
|
src/model/GetDocTranslateTaskRequest.cc
|
||||||
|
|||||||
@@ -26,6 +26,8 @@
|
|||||||
#include "model/CreateDocTranslateTaskResult.h"
|
#include "model/CreateDocTranslateTaskResult.h"
|
||||||
#include "model/CreateImageTranslateTaskRequest.h"
|
#include "model/CreateImageTranslateTaskRequest.h"
|
||||||
#include "model/CreateImageTranslateTaskResult.h"
|
#include "model/CreateImageTranslateTaskResult.h"
|
||||||
|
#include "model/GetBatchTranslateRequest.h"
|
||||||
|
#include "model/GetBatchTranslateResult.h"
|
||||||
#include "model/GetDetectLanguageRequest.h"
|
#include "model/GetDetectLanguageRequest.h"
|
||||||
#include "model/GetDetectLanguageResult.h"
|
#include "model/GetDetectLanguageResult.h"
|
||||||
#include "model/GetDocTranslateTaskRequest.h"
|
#include "model/GetDocTranslateTaskRequest.h"
|
||||||
@@ -67,6 +69,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::CreateImageTranslateTaskResult> CreateImageTranslateTaskOutcome;
|
typedef Outcome<Error, Model::CreateImageTranslateTaskResult> CreateImageTranslateTaskOutcome;
|
||||||
typedef std::future<CreateImageTranslateTaskOutcome> CreateImageTranslateTaskOutcomeCallable;
|
typedef std::future<CreateImageTranslateTaskOutcome> CreateImageTranslateTaskOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::CreateImageTranslateTaskRequest&, const CreateImageTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateImageTranslateTaskAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::CreateImageTranslateTaskRequest&, const CreateImageTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateImageTranslateTaskAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetBatchTranslateResult> GetBatchTranslateOutcome;
|
||||||
|
typedef std::future<GetBatchTranslateOutcome> GetBatchTranslateOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlimtClient*, const Model::GetBatchTranslateRequest&, const GetBatchTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBatchTranslateAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetDetectLanguageResult> GetDetectLanguageOutcome;
|
typedef Outcome<Error, Model::GetDetectLanguageResult> GetDetectLanguageOutcome;
|
||||||
typedef std::future<GetDetectLanguageOutcome> GetDetectLanguageOutcomeCallable;
|
typedef std::future<GetDetectLanguageOutcome> GetDetectLanguageOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::GetDetectLanguageRequest&, const GetDetectLanguageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDetectLanguageAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::GetDetectLanguageRequest&, const GetDetectLanguageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDetectLanguageAsyncHandler;
|
||||||
@@ -117,6 +122,9 @@ namespace AlibabaCloud
|
|||||||
CreateImageTranslateTaskOutcome createImageTranslateTask(const Model::CreateImageTranslateTaskRequest &request)const;
|
CreateImageTranslateTaskOutcome createImageTranslateTask(const Model::CreateImageTranslateTaskRequest &request)const;
|
||||||
void createImageTranslateTaskAsync(const Model::CreateImageTranslateTaskRequest& request, const CreateImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createImageTranslateTaskAsync(const Model::CreateImageTranslateTaskRequest& request, const CreateImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateImageTranslateTaskOutcomeCallable createImageTranslateTaskCallable(const Model::CreateImageTranslateTaskRequest& request) const;
|
CreateImageTranslateTaskOutcomeCallable createImageTranslateTaskCallable(const Model::CreateImageTranslateTaskRequest& request) const;
|
||||||
|
GetBatchTranslateOutcome getBatchTranslate(const Model::GetBatchTranslateRequest &request)const;
|
||||||
|
void getBatchTranslateAsync(const Model::GetBatchTranslateRequest& request, const GetBatchTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetBatchTranslateOutcomeCallable getBatchTranslateCallable(const Model::GetBatchTranslateRequest& request) const;
|
||||||
GetDetectLanguageOutcome getDetectLanguage(const Model::GetDetectLanguageRequest &request)const;
|
GetDetectLanguageOutcome getDetectLanguage(const Model::GetDetectLanguageRequest &request)const;
|
||||||
void getDetectLanguageAsync(const Model::GetDetectLanguageRequest& request, const GetDetectLanguageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getDetectLanguageAsync(const Model::GetDetectLanguageRequest& request, const GetDetectLanguageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetDetectLanguageOutcomeCallable getDetectLanguageCallable(const Model::GetDetectLanguageRequest& request) const;
|
GetDetectLanguageOutcomeCallable getDetectLanguageCallable(const Model::GetDetectLanguageRequest& request) const;
|
||||||
|
|||||||
@@ -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_ALIMT_MODEL_GETBATCHTRANSLATEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alimt
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIMT_EXPORT GetBatchTranslateRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
GetBatchTranslateRequest();
|
||||||
|
~GetBatchTranslateRequest();
|
||||||
|
|
||||||
|
std::string getSourceLanguage()const;
|
||||||
|
void setSourceLanguage(const std::string& sourceLanguage);
|
||||||
|
std::string getSourceText()const;
|
||||||
|
void setSourceText(const std::string& sourceText);
|
||||||
|
std::string getFormatType()const;
|
||||||
|
void setFormatType(const std::string& formatType);
|
||||||
|
std::string getApiType()const;
|
||||||
|
void setApiType(const std::string& apiType);
|
||||||
|
std::string getScene()const;
|
||||||
|
void setScene(const std::string& scene);
|
||||||
|
std::string getTargetLanguage()const;
|
||||||
|
void setTargetLanguage(const std::string& targetLanguage);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string sourceLanguage_;
|
||||||
|
std::string sourceText_;
|
||||||
|
std::string formatType_;
|
||||||
|
std::string apiType_;
|
||||||
|
std::string scene_;
|
||||||
|
std::string targetLanguage_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATEREQUEST_H_
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATERESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alimt
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIMT_EXPORT GetBatchTranslateResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
GetBatchTranslateResult();
|
||||||
|
explicit GetBatchTranslateResult(const std::string &payload);
|
||||||
|
~GetBatchTranslateResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::vector<std::string> getTranslatedList()const;
|
||||||
|
int getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::vector<std::string> translatedList_;
|
||||||
|
int code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATERESULT_H_
|
||||||
@@ -123,6 +123,42 @@ AlimtClient::CreateImageTranslateTaskOutcomeCallable AlimtClient::createImageTra
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlimtClient::GetBatchTranslateOutcome AlimtClient::getBatchTranslate(const GetBatchTranslateRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return GetBatchTranslateOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return GetBatchTranslateOutcome(GetBatchTranslateResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return GetBatchTranslateOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlimtClient::getBatchTranslateAsync(const GetBatchTranslateRequest& request, const GetBatchTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, getBatchTranslate(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlimtClient::GetBatchTranslateOutcomeCallable AlimtClient::getBatchTranslateCallable(const GetBatchTranslateRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<GetBatchTranslateOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->getBatchTranslate(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AlimtClient::GetDetectLanguageOutcome AlimtClient::getDetectLanguage(const GetDetectLanguageRequest &request) const
|
AlimtClient::GetDetectLanguageOutcome AlimtClient::getDetectLanguage(const GetDetectLanguageRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
95
alimt/src/model/GetBatchTranslateRequest.cc
Normal file
95
alimt/src/model/GetBatchTranslateRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/alimt/model/GetBatchTranslateRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alimt::Model::GetBatchTranslateRequest;
|
||||||
|
|
||||||
|
GetBatchTranslateRequest::GetBatchTranslateRequest() :
|
||||||
|
RpcServiceRequest("alimt", "2018-10-12", "GetBatchTranslate")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetBatchTranslateRequest::~GetBatchTranslateRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string GetBatchTranslateRequest::getSourceLanguage()const
|
||||||
|
{
|
||||||
|
return sourceLanguage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetBatchTranslateRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||||
|
{
|
||||||
|
sourceLanguage_ = sourceLanguage;
|
||||||
|
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetBatchTranslateRequest::getSourceText()const
|
||||||
|
{
|
||||||
|
return sourceText_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetBatchTranslateRequest::setSourceText(const std::string& sourceText)
|
||||||
|
{
|
||||||
|
sourceText_ = sourceText;
|
||||||
|
setBodyParameter("SourceText", sourceText);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetBatchTranslateRequest::getFormatType()const
|
||||||
|
{
|
||||||
|
return formatType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetBatchTranslateRequest::setFormatType(const std::string& formatType)
|
||||||
|
{
|
||||||
|
formatType_ = formatType;
|
||||||
|
setBodyParameter("FormatType", formatType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetBatchTranslateRequest::getApiType()const
|
||||||
|
{
|
||||||
|
return apiType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetBatchTranslateRequest::setApiType(const std::string& apiType)
|
||||||
|
{
|
||||||
|
apiType_ = apiType;
|
||||||
|
setBodyParameter("ApiType", apiType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetBatchTranslateRequest::getScene()const
|
||||||
|
{
|
||||||
|
return scene_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetBatchTranslateRequest::setScene(const std::string& scene)
|
||||||
|
{
|
||||||
|
scene_ = scene;
|
||||||
|
setBodyParameter("Scene", scene);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetBatchTranslateRequest::getTargetLanguage()const
|
||||||
|
{
|
||||||
|
return targetLanguage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetBatchTranslateRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||||
|
{
|
||||||
|
targetLanguage_ = targetLanguage;
|
||||||
|
setBodyParameter("TargetLanguage", targetLanguage);
|
||||||
|
}
|
||||||
|
|
||||||
66
alimt/src/model/GetBatchTranslateResult.cc
Normal file
66
alimt/src/model/GetBatchTranslateResult.cc
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alimt/model/GetBatchTranslateResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alimt;
|
||||||
|
using namespace AlibabaCloud::Alimt::Model;
|
||||||
|
|
||||||
|
GetBatchTranslateResult::GetBatchTranslateResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetBatchTranslateResult::GetBatchTranslateResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetBatchTranslateResult::~GetBatchTranslateResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetBatchTranslateResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allTranslatedList = value["TranslatedList"]["Translated"];
|
||||||
|
for (const auto &item : allTranslatedList)
|
||||||
|
translatedList_.push_back(item.asString());
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = std::stoi(value["Code"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetBatchTranslateResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> GetBatchTranslateResult::getTranslatedList()const
|
||||||
|
{
|
||||||
|
return translatedList_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GetBatchTranslateResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -115,6 +115,10 @@ set(bssopenapi_public_header_model
|
|||||||
include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaResult.h
|
include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaResult.h
|
||||||
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesRequest.h
|
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesRequest.h
|
||||||
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesResult.h
|
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesResult.h
|
||||||
|
include/alibabacloud/bssopenapi/model/QuerySavingsPlansDeductLogRequest.h
|
||||||
|
include/alibabacloud/bssopenapi/model/QuerySavingsPlansDeductLogResult.h
|
||||||
|
include/alibabacloud/bssopenapi/model/QuerySavingsPlansInstanceRequest.h
|
||||||
|
include/alibabacloud/bssopenapi/model/QuerySavingsPlansInstanceResult.h
|
||||||
include/alibabacloud/bssopenapi/model/QuerySettleBillRequest.h
|
include/alibabacloud/bssopenapi/model/QuerySettleBillRequest.h
|
||||||
include/alibabacloud/bssopenapi/model/QuerySettleBillResult.h
|
include/alibabacloud/bssopenapi/model/QuerySettleBillResult.h
|
||||||
include/alibabacloud/bssopenapi/model/QuerySettlementBillRequest.h
|
include/alibabacloud/bssopenapi/model/QuerySettlementBillRequest.h
|
||||||
@@ -127,6 +131,10 @@ set(bssopenapi_public_header_model
|
|||||||
include/alibabacloud/bssopenapi/model/RenewInstanceResult.h
|
include/alibabacloud/bssopenapi/model/RenewInstanceResult.h
|
||||||
include/alibabacloud/bssopenapi/model/RenewResourcePackageRequest.h
|
include/alibabacloud/bssopenapi/model/RenewResourcePackageRequest.h
|
||||||
include/alibabacloud/bssopenapi/model/RenewResourcePackageResult.h
|
include/alibabacloud/bssopenapi/model/RenewResourcePackageResult.h
|
||||||
|
include/alibabacloud/bssopenapi/model/SaveUserCreditRequest.h
|
||||||
|
include/alibabacloud/bssopenapi/model/SaveUserCreditResult.h
|
||||||
|
include/alibabacloud/bssopenapi/model/SetCreditLabelActionRequest.h
|
||||||
|
include/alibabacloud/bssopenapi/model/SetCreditLabelActionResult.h
|
||||||
include/alibabacloud/bssopenapi/model/SetRenewalRequest.h
|
include/alibabacloud/bssopenapi/model/SetRenewalRequest.h
|
||||||
include/alibabacloud/bssopenapi/model/SetRenewalResult.h
|
include/alibabacloud/bssopenapi/model/SetRenewalResult.h
|
||||||
include/alibabacloud/bssopenapi/model/SetResellerUserAlarmThresholdRequest.h
|
include/alibabacloud/bssopenapi/model/SetResellerUserAlarmThresholdRequest.h
|
||||||
@@ -238,6 +246,10 @@ set(bssopenapi_src
|
|||||||
src/model/QueryResellerAvailableQuotaResult.cc
|
src/model/QueryResellerAvailableQuotaResult.cc
|
||||||
src/model/QueryResourcePackageInstancesRequest.cc
|
src/model/QueryResourcePackageInstancesRequest.cc
|
||||||
src/model/QueryResourcePackageInstancesResult.cc
|
src/model/QueryResourcePackageInstancesResult.cc
|
||||||
|
src/model/QuerySavingsPlansDeductLogRequest.cc
|
||||||
|
src/model/QuerySavingsPlansDeductLogResult.cc
|
||||||
|
src/model/QuerySavingsPlansInstanceRequest.cc
|
||||||
|
src/model/QuerySavingsPlansInstanceResult.cc
|
||||||
src/model/QuerySettleBillRequest.cc
|
src/model/QuerySettleBillRequest.cc
|
||||||
src/model/QuerySettleBillResult.cc
|
src/model/QuerySettleBillResult.cc
|
||||||
src/model/QuerySettlementBillRequest.cc
|
src/model/QuerySettlementBillRequest.cc
|
||||||
@@ -250,6 +262,10 @@ set(bssopenapi_src
|
|||||||
src/model/RenewInstanceResult.cc
|
src/model/RenewInstanceResult.cc
|
||||||
src/model/RenewResourcePackageRequest.cc
|
src/model/RenewResourcePackageRequest.cc
|
||||||
src/model/RenewResourcePackageResult.cc
|
src/model/RenewResourcePackageResult.cc
|
||||||
|
src/model/SaveUserCreditRequest.cc
|
||||||
|
src/model/SaveUserCreditResult.cc
|
||||||
|
src/model/SetCreditLabelActionRequest.cc
|
||||||
|
src/model/SetCreditLabelActionResult.cc
|
||||||
src/model/SetRenewalRequest.cc
|
src/model/SetRenewalRequest.cc
|
||||||
src/model/SetRenewalResult.cc
|
src/model/SetRenewalResult.cc
|
||||||
src/model/SetResellerUserAlarmThresholdRequest.cc
|
src/model/SetResellerUserAlarmThresholdRequest.cc
|
||||||
|
|||||||
@@ -116,6 +116,10 @@
|
|||||||
#include "model/QueryResellerAvailableQuotaResult.h"
|
#include "model/QueryResellerAvailableQuotaResult.h"
|
||||||
#include "model/QueryResourcePackageInstancesRequest.h"
|
#include "model/QueryResourcePackageInstancesRequest.h"
|
||||||
#include "model/QueryResourcePackageInstancesResult.h"
|
#include "model/QueryResourcePackageInstancesResult.h"
|
||||||
|
#include "model/QuerySavingsPlansDeductLogRequest.h"
|
||||||
|
#include "model/QuerySavingsPlansDeductLogResult.h"
|
||||||
|
#include "model/QuerySavingsPlansInstanceRequest.h"
|
||||||
|
#include "model/QuerySavingsPlansInstanceResult.h"
|
||||||
#include "model/QuerySettleBillRequest.h"
|
#include "model/QuerySettleBillRequest.h"
|
||||||
#include "model/QuerySettleBillResult.h"
|
#include "model/QuerySettleBillResult.h"
|
||||||
#include "model/QuerySettlementBillRequest.h"
|
#include "model/QuerySettlementBillRequest.h"
|
||||||
@@ -128,6 +132,10 @@
|
|||||||
#include "model/RenewInstanceResult.h"
|
#include "model/RenewInstanceResult.h"
|
||||||
#include "model/RenewResourcePackageRequest.h"
|
#include "model/RenewResourcePackageRequest.h"
|
||||||
#include "model/RenewResourcePackageResult.h"
|
#include "model/RenewResourcePackageResult.h"
|
||||||
|
#include "model/SaveUserCreditRequest.h"
|
||||||
|
#include "model/SaveUserCreditResult.h"
|
||||||
|
#include "model/SetCreditLabelActionRequest.h"
|
||||||
|
#include "model/SetCreditLabelActionResult.h"
|
||||||
#include "model/SetRenewalRequest.h"
|
#include "model/SetRenewalRequest.h"
|
||||||
#include "model/SetRenewalResult.h"
|
#include "model/SetRenewalResult.h"
|
||||||
#include "model/SetResellerUserAlarmThresholdRequest.h"
|
#include "model/SetResellerUserAlarmThresholdRequest.h"
|
||||||
@@ -292,6 +300,12 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::QueryResourcePackageInstancesResult> QueryResourcePackageInstancesOutcome;
|
typedef Outcome<Error, Model::QueryResourcePackageInstancesResult> QueryResourcePackageInstancesOutcome;
|
||||||
typedef std::future<QueryResourcePackageInstancesOutcome> QueryResourcePackageInstancesOutcomeCallable;
|
typedef std::future<QueryResourcePackageInstancesOutcome> QueryResourcePackageInstancesOutcomeCallable;
|
||||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryResourcePackageInstancesRequest&, const QueryResourcePackageInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryResourcePackageInstancesAsyncHandler;
|
typedef std::function<void(const BssOpenApiClient*, const Model::QueryResourcePackageInstancesRequest&, const QueryResourcePackageInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryResourcePackageInstancesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::QuerySavingsPlansDeductLogResult> QuerySavingsPlansDeductLogOutcome;
|
||||||
|
typedef std::future<QuerySavingsPlansDeductLogOutcome> QuerySavingsPlansDeductLogOutcomeCallable;
|
||||||
|
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySavingsPlansDeductLogRequest&, const QuerySavingsPlansDeductLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySavingsPlansDeductLogAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::QuerySavingsPlansInstanceResult> QuerySavingsPlansInstanceOutcome;
|
||||||
|
typedef std::future<QuerySavingsPlansInstanceOutcome> QuerySavingsPlansInstanceOutcomeCallable;
|
||||||
|
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySavingsPlansInstanceRequest&, const QuerySavingsPlansInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySavingsPlansInstanceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::QuerySettleBillResult> QuerySettleBillOutcome;
|
typedef Outcome<Error, Model::QuerySettleBillResult> QuerySettleBillOutcome;
|
||||||
typedef std::future<QuerySettleBillOutcome> QuerySettleBillOutcomeCallable;
|
typedef std::future<QuerySettleBillOutcome> QuerySettleBillOutcomeCallable;
|
||||||
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySettleBillRequest&, const QuerySettleBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySettleBillAsyncHandler;
|
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySettleBillRequest&, const QuerySettleBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySettleBillAsyncHandler;
|
||||||
@@ -310,6 +324,12 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::RenewResourcePackageResult> RenewResourcePackageOutcome;
|
typedef Outcome<Error, Model::RenewResourcePackageResult> RenewResourcePackageOutcome;
|
||||||
typedef std::future<RenewResourcePackageOutcome> RenewResourcePackageOutcomeCallable;
|
typedef std::future<RenewResourcePackageOutcome> RenewResourcePackageOutcomeCallable;
|
||||||
typedef std::function<void(const BssOpenApiClient*, const Model::RenewResourcePackageRequest&, const RenewResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewResourcePackageAsyncHandler;
|
typedef std::function<void(const BssOpenApiClient*, const Model::RenewResourcePackageRequest&, const RenewResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewResourcePackageAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SaveUserCreditResult> SaveUserCreditOutcome;
|
||||||
|
typedef std::future<SaveUserCreditOutcome> SaveUserCreditOutcomeCallable;
|
||||||
|
typedef std::function<void(const BssOpenApiClient*, const Model::SaveUserCreditRequest&, const SaveUserCreditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveUserCreditAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SetCreditLabelActionResult> SetCreditLabelActionOutcome;
|
||||||
|
typedef std::future<SetCreditLabelActionOutcome> SetCreditLabelActionOutcomeCallable;
|
||||||
|
typedef std::function<void(const BssOpenApiClient*, const Model::SetCreditLabelActionRequest&, const SetCreditLabelActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetCreditLabelActionAsyncHandler;
|
||||||
typedef Outcome<Error, Model::SetRenewalResult> SetRenewalOutcome;
|
typedef Outcome<Error, Model::SetRenewalResult> SetRenewalOutcome;
|
||||||
typedef std::future<SetRenewalOutcome> SetRenewalOutcomeCallable;
|
typedef std::future<SetRenewalOutcome> SetRenewalOutcomeCallable;
|
||||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetRenewalRequest&, const SetRenewalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetRenewalAsyncHandler;
|
typedef std::function<void(const BssOpenApiClient*, const Model::SetRenewalRequest&, const SetRenewalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetRenewalAsyncHandler;
|
||||||
@@ -477,6 +497,12 @@ namespace AlibabaCloud
|
|||||||
QueryResourcePackageInstancesOutcome queryResourcePackageInstances(const Model::QueryResourcePackageInstancesRequest &request)const;
|
QueryResourcePackageInstancesOutcome queryResourcePackageInstances(const Model::QueryResourcePackageInstancesRequest &request)const;
|
||||||
void queryResourcePackageInstancesAsync(const Model::QueryResourcePackageInstancesRequest& request, const QueryResourcePackageInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void queryResourcePackageInstancesAsync(const Model::QueryResourcePackageInstancesRequest& request, const QueryResourcePackageInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
QueryResourcePackageInstancesOutcomeCallable queryResourcePackageInstancesCallable(const Model::QueryResourcePackageInstancesRequest& request) const;
|
QueryResourcePackageInstancesOutcomeCallable queryResourcePackageInstancesCallable(const Model::QueryResourcePackageInstancesRequest& request) const;
|
||||||
|
QuerySavingsPlansDeductLogOutcome querySavingsPlansDeductLog(const Model::QuerySavingsPlansDeductLogRequest &request)const;
|
||||||
|
void querySavingsPlansDeductLogAsync(const Model::QuerySavingsPlansDeductLogRequest& request, const QuerySavingsPlansDeductLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
QuerySavingsPlansDeductLogOutcomeCallable querySavingsPlansDeductLogCallable(const Model::QuerySavingsPlansDeductLogRequest& request) const;
|
||||||
|
QuerySavingsPlansInstanceOutcome querySavingsPlansInstance(const Model::QuerySavingsPlansInstanceRequest &request)const;
|
||||||
|
void querySavingsPlansInstanceAsync(const Model::QuerySavingsPlansInstanceRequest& request, const QuerySavingsPlansInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
QuerySavingsPlansInstanceOutcomeCallable querySavingsPlansInstanceCallable(const Model::QuerySavingsPlansInstanceRequest& request) const;
|
||||||
QuerySettleBillOutcome querySettleBill(const Model::QuerySettleBillRequest &request)const;
|
QuerySettleBillOutcome querySettleBill(const Model::QuerySettleBillRequest &request)const;
|
||||||
void querySettleBillAsync(const Model::QuerySettleBillRequest& request, const QuerySettleBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void querySettleBillAsync(const Model::QuerySettleBillRequest& request, const QuerySettleBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
QuerySettleBillOutcomeCallable querySettleBillCallable(const Model::QuerySettleBillRequest& request) const;
|
QuerySettleBillOutcomeCallable querySettleBillCallable(const Model::QuerySettleBillRequest& request) const;
|
||||||
@@ -495,6 +521,12 @@ namespace AlibabaCloud
|
|||||||
RenewResourcePackageOutcome renewResourcePackage(const Model::RenewResourcePackageRequest &request)const;
|
RenewResourcePackageOutcome renewResourcePackage(const Model::RenewResourcePackageRequest &request)const;
|
||||||
void renewResourcePackageAsync(const Model::RenewResourcePackageRequest& request, const RenewResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void renewResourcePackageAsync(const Model::RenewResourcePackageRequest& request, const RenewResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
RenewResourcePackageOutcomeCallable renewResourcePackageCallable(const Model::RenewResourcePackageRequest& request) const;
|
RenewResourcePackageOutcomeCallable renewResourcePackageCallable(const Model::RenewResourcePackageRequest& request) const;
|
||||||
|
SaveUserCreditOutcome saveUserCredit(const Model::SaveUserCreditRequest &request)const;
|
||||||
|
void saveUserCreditAsync(const Model::SaveUserCreditRequest& request, const SaveUserCreditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SaveUserCreditOutcomeCallable saveUserCreditCallable(const Model::SaveUserCreditRequest& request) const;
|
||||||
|
SetCreditLabelActionOutcome setCreditLabelAction(const Model::SetCreditLabelActionRequest &request)const;
|
||||||
|
void setCreditLabelActionAsync(const Model::SetCreditLabelActionRequest& request, const SetCreditLabelActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SetCreditLabelActionOutcomeCallable setCreditLabelActionCallable(const Model::SetCreditLabelActionRequest& request) const;
|
||||||
SetRenewalOutcome setRenewal(const Model::SetRenewalRequest &request)const;
|
SetRenewalOutcome setRenewal(const Model::SetRenewalRequest &request)const;
|
||||||
void setRenewalAsync(const Model::SetRenewalRequest& request, const SetRenewalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void setRenewalAsync(const Model::SetRenewalRequest& request, const SetRenewalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SetRenewalOutcomeCallable setRenewalCallable(const Model::SetRenewalRequest& request) const;
|
SetRenewalOutcomeCallable setRenewalCallable(const Model::SetRenewalRequest& request) const;
|
||||||
|
|||||||
@@ -45,8 +45,12 @@ namespace AlibabaCloud
|
|||||||
void setOwnerID(long ownerID);
|
void setOwnerID(long ownerID);
|
||||||
long getBillOwnerId()const;
|
long getBillOwnerId()const;
|
||||||
void setBillOwnerId(long billOwnerId);
|
void setBillOwnerId(long billOwnerId);
|
||||||
|
std::string getBillingDate()const;
|
||||||
|
void setBillingDate(const std::string& billingDate);
|
||||||
bool getIsGroupByProduct()const;
|
bool getIsGroupByProduct()const;
|
||||||
void setIsGroupByProduct(bool isGroupByProduct);
|
void setIsGroupByProduct(bool isGroupByProduct);
|
||||||
|
std::string getGranularity()const;
|
||||||
|
void setGranularity(const std::string& granularity);
|
||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
|
|
||||||
@@ -56,7 +60,9 @@ namespace AlibabaCloud
|
|||||||
int pageNum_;
|
int pageNum_;
|
||||||
long ownerID_;
|
long ownerID_;
|
||||||
long billOwnerId_;
|
long billOwnerId_;
|
||||||
|
std::string billingDate_;
|
||||||
bool isGroupByProduct_;
|
bool isGroupByProduct_;
|
||||||
|
std::string granularity_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ namespace AlibabaCloud
|
|||||||
std::string productCode;
|
std::string productCode;
|
||||||
float deductedByCashCoupons;
|
float deductedByCashCoupons;
|
||||||
float outstandingAmount;
|
float outstandingAmount;
|
||||||
|
std::string billingDate;
|
||||||
float paymentAmount;
|
float paymentAmount;
|
||||||
float deductedByPrepaidCard;
|
float deductedByPrepaidCard;
|
||||||
std::string pipCode;
|
std::string pipCode;
|
||||||
|
|||||||
@@ -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_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace BssOpenApi
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySavingsPlansDeductLogRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
QuerySavingsPlansDeductLogRequest();
|
||||||
|
~QuerySavingsPlansDeductLogRequest();
|
||||||
|
|
||||||
|
std::string getEndTime()const;
|
||||||
|
void setEndTime(const std::string& endTime);
|
||||||
|
std::string getStartTime()const;
|
||||||
|
void setStartTime(const std::string& startTime);
|
||||||
|
std::string getLocale()const;
|
||||||
|
void setLocale(const std::string& locale);
|
||||||
|
int getPageNum()const;
|
||||||
|
void setPageNum(int pageNum);
|
||||||
|
std::string getInstanceId()const;
|
||||||
|
void setInstanceId(const std::string& instanceId);
|
||||||
|
std::string getRequestId()const;
|
||||||
|
void setRequestId(const std::string& requestId);
|
||||||
|
int getPageSize()const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getInstanceType()const;
|
||||||
|
void setInstanceType(const std::string& instanceType);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string endTime_;
|
||||||
|
std::string startTime_;
|
||||||
|
std::string locale_;
|
||||||
|
int pageNum_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string requestId_;
|
||||||
|
int pageSize_;
|
||||||
|
std::string instanceType_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGREQUEST_H_
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace BssOpenApi
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySavingsPlansDeductLogResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
struct SavingsPlansDeductDetailResponse
|
||||||
|
{
|
||||||
|
std::string deductFee;
|
||||||
|
std::string billModule;
|
||||||
|
std::string endTime;
|
||||||
|
std::string deductCommodity;
|
||||||
|
std::string instanceId;
|
||||||
|
long userId;
|
||||||
|
std::string startTime;
|
||||||
|
std::string deductRate;
|
||||||
|
std::string deductInstanceId;
|
||||||
|
std::string discountRate;
|
||||||
|
std::string savingsType;
|
||||||
|
};
|
||||||
|
int totalCount;
|
||||||
|
int pageNum;
|
||||||
|
int pageSize;
|
||||||
|
std::vector<SavingsPlansDeductDetailResponse> items;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
QuerySavingsPlansDeductLogResult();
|
||||||
|
explicit QuerySavingsPlansDeductLogResult(const std::string &payload);
|
||||||
|
~QuerySavingsPlansDeductLogResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGRESULT_H_
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace BssOpenApi
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySavingsPlansInstanceRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
QuerySavingsPlansInstanceRequest();
|
||||||
|
~QuerySavingsPlansInstanceRequest();
|
||||||
|
|
||||||
|
std::string getEndTime()const;
|
||||||
|
void setEndTime(const std::string& endTime);
|
||||||
|
std::string getStartTime()const;
|
||||||
|
void setStartTime(const std::string& startTime);
|
||||||
|
std::string getLocale()const;
|
||||||
|
void setLocale(const std::string& locale);
|
||||||
|
int getPageNum()const;
|
||||||
|
void setPageNum(int pageNum);
|
||||||
|
std::string getInstanceId()const;
|
||||||
|
void setInstanceId(const std::string& instanceId);
|
||||||
|
std::string getRequestId()const;
|
||||||
|
void setRequestId(const std::string& requestId);
|
||||||
|
int getPageSize()const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string endTime_;
|
||||||
|
std::string startTime_;
|
||||||
|
std::string locale_;
|
||||||
|
int pageNum_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string requestId_;
|
||||||
|
int pageSize_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCEREQUEST_H_
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCERESULT_H_
|
||||||
|
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace BssOpenApi
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySavingsPlansInstanceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
struct SavingsPlansDetailResponse
|
||||||
|
{
|
||||||
|
std::string status;
|
||||||
|
std::string endTime;
|
||||||
|
std::string instanceId;
|
||||||
|
std::string instanceFamily;
|
||||||
|
std::string startTime;
|
||||||
|
std::string totalSave;
|
||||||
|
std::string prepayFee;
|
||||||
|
std::string payMode;
|
||||||
|
std::string utilization;
|
||||||
|
std::string currency;
|
||||||
|
std::string poolValue;
|
||||||
|
std::string region;
|
||||||
|
bool share;
|
||||||
|
std::string savingsType;
|
||||||
|
};
|
||||||
|
int totalCount;
|
||||||
|
int pageNum;
|
||||||
|
int pageSize;
|
||||||
|
std::vector<SavingsPlansDetailResponse> items;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
QuerySavingsPlansInstanceResult();
|
||||||
|
explicit QuerySavingsPlansInstanceResult(const std::string &payload);
|
||||||
|
~QuerySavingsPlansInstanceResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCERESULT_H_
|
||||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
|||||||
std::string instanceSpec;
|
std::string instanceSpec;
|
||||||
std::string productName;
|
std::string productName;
|
||||||
std::string instanceID;
|
std::string instanceID;
|
||||||
|
std::string splitCommodityCode;
|
||||||
float deductedByCashCoupons;
|
float deductedByCashCoupons;
|
||||||
std::string listPriceUnit;
|
std::string listPriceUnit;
|
||||||
std::string billingDate;
|
std::string billingDate;
|
||||||
@@ -47,6 +48,7 @@ namespace AlibabaCloud
|
|||||||
float deductedByPrepaidCard;
|
float deductedByPrepaidCard;
|
||||||
float invoiceDiscount;
|
float invoiceDiscount;
|
||||||
std::string splitItemName;
|
std::string splitItemName;
|
||||||
|
std::string splitProductDetail;
|
||||||
std::string subscriptionType;
|
std::string subscriptionType;
|
||||||
std::string item;
|
std::string item;
|
||||||
float pretaxGrossAmount;
|
float pretaxGrossAmount;
|
||||||
@@ -56,8 +58,10 @@ namespace AlibabaCloud
|
|||||||
std::string costUnit;
|
std::string costUnit;
|
||||||
std::string resourceGroup;
|
std::string resourceGroup;
|
||||||
std::string billingType;
|
std::string billingType;
|
||||||
|
std::string splitAccountName;
|
||||||
std::string usage;
|
std::string usage;
|
||||||
float deductedByCoupons;
|
float deductedByCoupons;
|
||||||
|
std::string splitAccountID;
|
||||||
std::string productDetail;
|
std::string productDetail;
|
||||||
std::string productCode;
|
std::string productCode;
|
||||||
std::string zone;
|
std::string zone;
|
||||||
@@ -67,9 +71,11 @@ namespace AlibabaCloud
|
|||||||
std::string nickName;
|
std::string nickName;
|
||||||
std::string intranetIP;
|
std::string intranetIP;
|
||||||
std::string pipCode;
|
std::string pipCode;
|
||||||
|
std::string servicePeriodUnit;
|
||||||
std::string servicePeriod;
|
std::string servicePeriod;
|
||||||
std::string splitItemID;
|
std::string splitItemID;
|
||||||
std::string deductedByResourcePackage;
|
std::string deductedByResourcePackage;
|
||||||
|
std::string splitBillingCycle;
|
||||||
std::string usageUnit;
|
std::string usageUnit;
|
||||||
std::string ownerID;
|
std::string ownerID;
|
||||||
float pretaxAmount;
|
float pretaxAmount;
|
||||||
|
|||||||
@@ -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_BSSOPENAPI_MODEL_SAVEUSERCREDITREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace BssOpenApi
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_BSSOPENAPI_EXPORT SaveUserCreditRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
SaveUserCreditRequest();
|
||||||
|
~SaveUserCreditRequest();
|
||||||
|
|
||||||
|
bool getAvoidExpiration()const;
|
||||||
|
void setAvoidExpiration(bool avoidExpiration);
|
||||||
|
std::string getDescription()const;
|
||||||
|
void setDescription(const std::string& description);
|
||||||
|
bool getAvoidPrepaidNotification()const;
|
||||||
|
void setAvoidPrepaidNotification(bool avoidPrepaidNotification);
|
||||||
|
bool getAvoidPrepaidExpiration()const;
|
||||||
|
void setAvoidPrepaidExpiration(bool avoidPrepaidExpiration);
|
||||||
|
bool getAvoidNotification()const;
|
||||||
|
void setAvoidNotification(bool avoidNotification);
|
||||||
|
std::string get_Operator()const;
|
||||||
|
void set_Operator(const std::string& _operator);
|
||||||
|
std::string getCreditValue()const;
|
||||||
|
void setCreditValue(const std::string& creditValue);
|
||||||
|
std::string getCreditType()const;
|
||||||
|
void setCreditType(const std::string& creditType);
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool avoidExpiration_;
|
||||||
|
std::string description_;
|
||||||
|
bool avoidPrepaidNotification_;
|
||||||
|
bool avoidPrepaidExpiration_;
|
||||||
|
bool avoidNotification_;
|
||||||
|
std::string _operator_;
|
||||||
|
std::string creditValue_;
|
||||||
|
std::string creditType_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITREQUEST_H_
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITRESULT_H_
|
||||||
|
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace BssOpenApi
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_BSSOPENAPI_EXPORT SaveUserCreditResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
SaveUserCreditResult();
|
||||||
|
explicit SaveUserCreditResult(const std::string &payload);
|
||||||
|
~SaveUserCreditResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITRESULT_H_
|
||||||
@@ -0,0 +1,96 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace BssOpenApi
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_BSSOPENAPI_EXPORT SetCreditLabelActionRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
SetCreditLabelActionRequest();
|
||||||
|
~SetCreditLabelActionRequest();
|
||||||
|
|
||||||
|
std::string getActionType()const;
|
||||||
|
void setActionType(const std::string& actionType);
|
||||||
|
std::string getIsNeedSaveNotifyRule()const;
|
||||||
|
void setIsNeedSaveNotifyRule(const std::string& isNeedSaveNotifyRule);
|
||||||
|
std::string getIsNeedAdjustCreditAccount()const;
|
||||||
|
void setIsNeedAdjustCreditAccount(const std::string& isNeedAdjustCreditAccount);
|
||||||
|
bool getNewCreateMode()const;
|
||||||
|
void setNewCreateMode(bool newCreateMode);
|
||||||
|
std::string getDescription()const;
|
||||||
|
void setDescription(const std::string& description);
|
||||||
|
std::string getSource()const;
|
||||||
|
void setSource(const std::string& source);
|
||||||
|
std::string getCurrencyCode()const;
|
||||||
|
void setCurrencyCode(const std::string& currencyCode);
|
||||||
|
std::string getDailyCycle()const;
|
||||||
|
void setDailyCycle(const std::string& dailyCycle);
|
||||||
|
std::string get_Operator()const;
|
||||||
|
void set_Operator(const std::string& _operator);
|
||||||
|
std::string getUid()const;
|
||||||
|
void setUid(const std::string& uid);
|
||||||
|
std::string getSiteCode()const;
|
||||||
|
void setSiteCode(const std::string& siteCode);
|
||||||
|
std::string getClearCycle()const;
|
||||||
|
void setClearCycle(const std::string& clearCycle);
|
||||||
|
bool getNeedNotice()const;
|
||||||
|
void setNeedNotice(bool needNotice);
|
||||||
|
std::string getRequestId()const;
|
||||||
|
void setRequestId(const std::string& requestId);
|
||||||
|
std::string getIsNeedSetCreditAmount()const;
|
||||||
|
void setIsNeedSetCreditAmount(const std::string& isNeedSetCreditAmount);
|
||||||
|
std::string getCreditAmount()const;
|
||||||
|
void setCreditAmount(const std::string& creditAmount);
|
||||||
|
std::string getIsNeedAddSettleLabel()const;
|
||||||
|
void setIsNeedAddSettleLabel(const std::string& isNeedAddSettleLabel);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string actionType_;
|
||||||
|
std::string isNeedSaveNotifyRule_;
|
||||||
|
std::string isNeedAdjustCreditAccount_;
|
||||||
|
bool newCreateMode_;
|
||||||
|
std::string description_;
|
||||||
|
std::string source_;
|
||||||
|
std::string currencyCode_;
|
||||||
|
std::string dailyCycle_;
|
||||||
|
std::string _operator_;
|
||||||
|
std::string uid_;
|
||||||
|
std::string siteCode_;
|
||||||
|
std::string clearCycle_;
|
||||||
|
bool needNotice_;
|
||||||
|
std::string requestId_;
|
||||||
|
std::string isNeedSetCreditAmount_;
|
||||||
|
std::string creditAmount_;
|
||||||
|
std::string isNeedAddSettleLabel_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONREQUEST_H_
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONRESULT_H_
|
||||||
|
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace BssOpenApi
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_BSSOPENAPI_EXPORT SetCreditLabelActionResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
SetCreditLabelActionResult();
|
||||||
|
explicit SetCreditLabelActionResult(const std::string &payload);
|
||||||
|
~SetCreditLabelActionResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
bool getData()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
bool data_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONRESULT_H_
|
||||||
@@ -1743,6 +1743,78 @@ BssOpenApiClient::QueryResourcePackageInstancesOutcomeCallable BssOpenApiClient:
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BssOpenApiClient::QuerySavingsPlansDeductLogOutcome BssOpenApiClient::querySavingsPlansDeductLog(const QuerySavingsPlansDeductLogRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return QuerySavingsPlansDeductLogOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return QuerySavingsPlansDeductLogOutcome(QuerySavingsPlansDeductLogResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return QuerySavingsPlansDeductLogOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void BssOpenApiClient::querySavingsPlansDeductLogAsync(const QuerySavingsPlansDeductLogRequest& request, const QuerySavingsPlansDeductLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, querySavingsPlansDeductLog(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
BssOpenApiClient::QuerySavingsPlansDeductLogOutcomeCallable BssOpenApiClient::querySavingsPlansDeductLogCallable(const QuerySavingsPlansDeductLogRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<QuerySavingsPlansDeductLogOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->querySavingsPlansDeductLog(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
BssOpenApiClient::QuerySavingsPlansInstanceOutcome BssOpenApiClient::querySavingsPlansInstance(const QuerySavingsPlansInstanceRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return QuerySavingsPlansInstanceOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return QuerySavingsPlansInstanceOutcome(QuerySavingsPlansInstanceResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return QuerySavingsPlansInstanceOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void BssOpenApiClient::querySavingsPlansInstanceAsync(const QuerySavingsPlansInstanceRequest& request, const QuerySavingsPlansInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, querySavingsPlansInstance(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
BssOpenApiClient::QuerySavingsPlansInstanceOutcomeCallable BssOpenApiClient::querySavingsPlansInstanceCallable(const QuerySavingsPlansInstanceRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<QuerySavingsPlansInstanceOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->querySavingsPlansInstance(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
BssOpenApiClient::QuerySettleBillOutcome BssOpenApiClient::querySettleBill(const QuerySettleBillRequest &request) const
|
BssOpenApiClient::QuerySettleBillOutcome BssOpenApiClient::querySettleBill(const QuerySettleBillRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1959,6 +2031,78 @@ BssOpenApiClient::RenewResourcePackageOutcomeCallable BssOpenApiClient::renewRes
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BssOpenApiClient::SaveUserCreditOutcome BssOpenApiClient::saveUserCredit(const SaveUserCreditRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return SaveUserCreditOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return SaveUserCreditOutcome(SaveUserCreditResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return SaveUserCreditOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void BssOpenApiClient::saveUserCreditAsync(const SaveUserCreditRequest& request, const SaveUserCreditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, saveUserCredit(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
BssOpenApiClient::SaveUserCreditOutcomeCallable BssOpenApiClient::saveUserCreditCallable(const SaveUserCreditRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<SaveUserCreditOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->saveUserCredit(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
BssOpenApiClient::SetCreditLabelActionOutcome BssOpenApiClient::setCreditLabelAction(const SetCreditLabelActionRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return SetCreditLabelActionOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return SetCreditLabelActionOutcome(SetCreditLabelActionResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return SetCreditLabelActionOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void BssOpenApiClient::setCreditLabelActionAsync(const SetCreditLabelActionRequest& request, const SetCreditLabelActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, setCreditLabelAction(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
BssOpenApiClient::SetCreditLabelActionOutcomeCallable BssOpenApiClient::setCreditLabelActionCallable(const SetCreditLabelActionRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<SetCreditLabelActionOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->setCreditLabelAction(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
BssOpenApiClient::SetRenewalOutcome BssOpenApiClient::setRenewal(const SetRenewalRequest &request) const
|
BssOpenApiClient::SetRenewalOutcome BssOpenApiClient::setRenewal(const SetRenewalRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
@@ -82,6 +82,17 @@ void QueryAccountBillRequest::setBillOwnerId(long billOwnerId)
|
|||||||
setParameter("BillOwnerId", std::to_string(billOwnerId));
|
setParameter("BillOwnerId", std::to_string(billOwnerId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string QueryAccountBillRequest::getBillingDate()const
|
||||||
|
{
|
||||||
|
return billingDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QueryAccountBillRequest::setBillingDate(const std::string& billingDate)
|
||||||
|
{
|
||||||
|
billingDate_ = billingDate;
|
||||||
|
setParameter("BillingDate", billingDate);
|
||||||
|
}
|
||||||
|
|
||||||
bool QueryAccountBillRequest::getIsGroupByProduct()const
|
bool QueryAccountBillRequest::getIsGroupByProduct()const
|
||||||
{
|
{
|
||||||
return isGroupByProduct_;
|
return isGroupByProduct_;
|
||||||
@@ -93,6 +104,17 @@ void QueryAccountBillRequest::setIsGroupByProduct(bool isGroupByProduct)
|
|||||||
setParameter("IsGroupByProduct", isGroupByProduct ? "true" : "false");
|
setParameter("IsGroupByProduct", isGroupByProduct ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string QueryAccountBillRequest::getGranularity()const
|
||||||
|
{
|
||||||
|
return granularity_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QueryAccountBillRequest::setGranularity(const std::string& granularity)
|
||||||
|
{
|
||||||
|
granularity_ = granularity;
|
||||||
|
setParameter("Granularity", granularity);
|
||||||
|
}
|
||||||
|
|
||||||
int QueryAccountBillRequest::getPageSize()const
|
int QueryAccountBillRequest::getPageSize()const
|
||||||
{
|
{
|
||||||
return pageSize_;
|
return pageSize_;
|
||||||
|
|||||||
@@ -88,6 +88,8 @@ void QueryAccountBillResult::parse(const std::string &payload)
|
|||||||
itemObject.subscriptionType = dataNodeItemsItem["SubscriptionType"].asString();
|
itemObject.subscriptionType = dataNodeItemsItem["SubscriptionType"].asString();
|
||||||
if(!dataNodeItemsItem["PipCode"].isNull())
|
if(!dataNodeItemsItem["PipCode"].isNull())
|
||||||
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
|
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
|
||||||
|
if(!dataNodeItemsItem["BillingDate"].isNull())
|
||||||
|
itemObject.billingDate = dataNodeItemsItem["BillingDate"].asString();
|
||||||
data_.items.push_back(itemObject);
|
data_.items.push_back(itemObject);
|
||||||
}
|
}
|
||||||
if(!value["Success"].isNull())
|
if(!value["Success"].isNull())
|
||||||
|
|||||||
117
bssopenapi/src/model/QuerySavingsPlansDeductLogRequest.cc
Normal file
117
bssopenapi/src/model/QuerySavingsPlansDeductLogRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/bssopenapi/model/QuerySavingsPlansDeductLogRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::BssOpenApi::Model::QuerySavingsPlansDeductLogRequest;
|
||||||
|
|
||||||
|
QuerySavingsPlansDeductLogRequest::QuerySavingsPlansDeductLogRequest() :
|
||||||
|
RpcServiceRequest("bssopenapi", "2017-12-14", "QuerySavingsPlansDeductLog")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
QuerySavingsPlansDeductLogRequest::~QuerySavingsPlansDeductLogRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansDeductLogRequest::getEndTime()const
|
||||||
|
{
|
||||||
|
return endTime_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansDeductLogRequest::setEndTime(const std::string& endTime)
|
||||||
|
{
|
||||||
|
endTime_ = endTime;
|
||||||
|
setParameter("EndTime", endTime);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansDeductLogRequest::getStartTime()const
|
||||||
|
{
|
||||||
|
return startTime_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansDeductLogRequest::setStartTime(const std::string& startTime)
|
||||||
|
{
|
||||||
|
startTime_ = startTime;
|
||||||
|
setParameter("StartTime", startTime);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansDeductLogRequest::getLocale()const
|
||||||
|
{
|
||||||
|
return locale_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansDeductLogRequest::setLocale(const std::string& locale)
|
||||||
|
{
|
||||||
|
locale_ = locale;
|
||||||
|
setParameter("Locale", locale);
|
||||||
|
}
|
||||||
|
|
||||||
|
int QuerySavingsPlansDeductLogRequest::getPageNum()const
|
||||||
|
{
|
||||||
|
return pageNum_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansDeductLogRequest::setPageNum(int pageNum)
|
||||||
|
{
|
||||||
|
pageNum_ = pageNum;
|
||||||
|
setParameter("PageNum", std::to_string(pageNum));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansDeductLogRequest::getInstanceId()const
|
||||||
|
{
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansDeductLogRequest::setInstanceId(const std::string& instanceId)
|
||||||
|
{
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter("InstanceId", instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansDeductLogRequest::getRequestId()const
|
||||||
|
{
|
||||||
|
return requestId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansDeductLogRequest::setRequestId(const std::string& requestId)
|
||||||
|
{
|
||||||
|
requestId_ = requestId;
|
||||||
|
setParameter("RequestId", requestId);
|
||||||
|
}
|
||||||
|
|
||||||
|
int QuerySavingsPlansDeductLogRequest::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansDeductLogRequest::setPageSize(int pageSize)
|
||||||
|
{
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter("PageSize", std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansDeductLogRequest::getInstanceType()const
|
||||||
|
{
|
||||||
|
return instanceType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansDeductLogRequest::setInstanceType(const std::string& instanceType)
|
||||||
|
{
|
||||||
|
instanceType_ = instanceType;
|
||||||
|
setParameter("InstanceType", instanceType);
|
||||||
|
}
|
||||||
|
|
||||||
105
bssopenapi/src/model/QuerySavingsPlansDeductLogResult.cc
Normal file
105
bssopenapi/src/model/QuerySavingsPlansDeductLogResult.cc
Normal file
@@ -0,0 +1,105 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/bssopenapi/model/QuerySavingsPlansDeductLogResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::BssOpenApi;
|
||||||
|
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||||
|
|
||||||
|
QuerySavingsPlansDeductLogResult::QuerySavingsPlansDeductLogResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
QuerySavingsPlansDeductLogResult::QuerySavingsPlansDeductLogResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
QuerySavingsPlansDeductLogResult::~QuerySavingsPlansDeductLogResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void QuerySavingsPlansDeductLogResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto dataNode = value["Data"];
|
||||||
|
if(!dataNode["PageNum"].isNull())
|
||||||
|
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
|
||||||
|
if(!dataNode["PageSize"].isNull())
|
||||||
|
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||||
|
if(!dataNode["TotalCount"].isNull())
|
||||||
|
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
|
||||||
|
auto allItemsNode = dataNode["Items"]["SavingsPlansDeductDetailResponse"];
|
||||||
|
for (auto dataNodeItemsSavingsPlansDeductDetailResponse : allItemsNode)
|
||||||
|
{
|
||||||
|
Data::SavingsPlansDeductDetailResponse savingsPlansDeductDetailResponseObject;
|
||||||
|
if(!dataNodeItemsSavingsPlansDeductDetailResponse["InstanceId"].isNull())
|
||||||
|
savingsPlansDeductDetailResponseObject.instanceId = dataNodeItemsSavingsPlansDeductDetailResponse["InstanceId"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDeductDetailResponse["StartTime"].isNull())
|
||||||
|
savingsPlansDeductDetailResponseObject.startTime = dataNodeItemsSavingsPlansDeductDetailResponse["StartTime"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDeductDetailResponse["EndTime"].isNull())
|
||||||
|
savingsPlansDeductDetailResponseObject.endTime = dataNodeItemsSavingsPlansDeductDetailResponse["EndTime"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDeductDetailResponse["SavingsType"].isNull())
|
||||||
|
savingsPlansDeductDetailResponseObject.savingsType = dataNodeItemsSavingsPlansDeductDetailResponse["SavingsType"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDeductDetailResponse["BillModule"].isNull())
|
||||||
|
savingsPlansDeductDetailResponseObject.billModule = dataNodeItemsSavingsPlansDeductDetailResponse["BillModule"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDeductDetailResponse["DeductFee"].isNull())
|
||||||
|
savingsPlansDeductDetailResponseObject.deductFee = dataNodeItemsSavingsPlansDeductDetailResponse["DeductFee"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDeductDetailResponse["DeductRate"].isNull())
|
||||||
|
savingsPlansDeductDetailResponseObject.deductRate = dataNodeItemsSavingsPlansDeductDetailResponse["DeductRate"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDeductDetailResponse["UserId"].isNull())
|
||||||
|
savingsPlansDeductDetailResponseObject.userId = std::stol(dataNodeItemsSavingsPlansDeductDetailResponse["UserId"].asString());
|
||||||
|
if(!dataNodeItemsSavingsPlansDeductDetailResponse["DeductCommodity"].isNull())
|
||||||
|
savingsPlansDeductDetailResponseObject.deductCommodity = dataNodeItemsSavingsPlansDeductDetailResponse["DeductCommodity"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDeductDetailResponse["DeductInstanceId"].isNull())
|
||||||
|
savingsPlansDeductDetailResponseObject.deductInstanceId = dataNodeItemsSavingsPlansDeductDetailResponse["DeductInstanceId"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDeductDetailResponse["DiscountRate"].isNull())
|
||||||
|
savingsPlansDeductDetailResponseObject.discountRate = dataNodeItemsSavingsPlansDeductDetailResponse["DiscountRate"].asString();
|
||||||
|
data_.items.push_back(savingsPlansDeductDetailResponseObject);
|
||||||
|
}
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansDeductLogResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
QuerySavingsPlansDeductLogResult::Data QuerySavingsPlansDeductLogResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansDeductLogResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool QuerySavingsPlansDeductLogResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
106
bssopenapi/src/model/QuerySavingsPlansInstanceRequest.cc
Normal file
106
bssopenapi/src/model/QuerySavingsPlansInstanceRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/bssopenapi/model/QuerySavingsPlansInstanceRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::BssOpenApi::Model::QuerySavingsPlansInstanceRequest;
|
||||||
|
|
||||||
|
QuerySavingsPlansInstanceRequest::QuerySavingsPlansInstanceRequest() :
|
||||||
|
RpcServiceRequest("bssopenapi", "2017-12-14", "QuerySavingsPlansInstance")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
QuerySavingsPlansInstanceRequest::~QuerySavingsPlansInstanceRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansInstanceRequest::getEndTime()const
|
||||||
|
{
|
||||||
|
return endTime_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansInstanceRequest::setEndTime(const std::string& endTime)
|
||||||
|
{
|
||||||
|
endTime_ = endTime;
|
||||||
|
setParameter("EndTime", endTime);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansInstanceRequest::getStartTime()const
|
||||||
|
{
|
||||||
|
return startTime_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansInstanceRequest::setStartTime(const std::string& startTime)
|
||||||
|
{
|
||||||
|
startTime_ = startTime;
|
||||||
|
setParameter("StartTime", startTime);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansInstanceRequest::getLocale()const
|
||||||
|
{
|
||||||
|
return locale_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansInstanceRequest::setLocale(const std::string& locale)
|
||||||
|
{
|
||||||
|
locale_ = locale;
|
||||||
|
setParameter("Locale", locale);
|
||||||
|
}
|
||||||
|
|
||||||
|
int QuerySavingsPlansInstanceRequest::getPageNum()const
|
||||||
|
{
|
||||||
|
return pageNum_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansInstanceRequest::setPageNum(int pageNum)
|
||||||
|
{
|
||||||
|
pageNum_ = pageNum;
|
||||||
|
setParameter("PageNum", std::to_string(pageNum));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansInstanceRequest::getInstanceId()const
|
||||||
|
{
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||||
|
{
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter("InstanceId", instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansInstanceRequest::getRequestId()const
|
||||||
|
{
|
||||||
|
return requestId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansInstanceRequest::setRequestId(const std::string& requestId)
|
||||||
|
{
|
||||||
|
requestId_ = requestId;
|
||||||
|
setParameter("RequestId", requestId);
|
||||||
|
}
|
||||||
|
|
||||||
|
int QuerySavingsPlansInstanceRequest::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuerySavingsPlansInstanceRequest::setPageSize(int pageSize)
|
||||||
|
{
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter("PageSize", std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
111
bssopenapi/src/model/QuerySavingsPlansInstanceResult.cc
Normal file
111
bssopenapi/src/model/QuerySavingsPlansInstanceResult.cc
Normal file
@@ -0,0 +1,111 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/bssopenapi/model/QuerySavingsPlansInstanceResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::BssOpenApi;
|
||||||
|
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||||
|
|
||||||
|
QuerySavingsPlansInstanceResult::QuerySavingsPlansInstanceResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
QuerySavingsPlansInstanceResult::QuerySavingsPlansInstanceResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
QuerySavingsPlansInstanceResult::~QuerySavingsPlansInstanceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void QuerySavingsPlansInstanceResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto dataNode = value["Data"];
|
||||||
|
if(!dataNode["PageNum"].isNull())
|
||||||
|
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
|
||||||
|
if(!dataNode["PageSize"].isNull())
|
||||||
|
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||||
|
if(!dataNode["TotalCount"].isNull())
|
||||||
|
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
|
||||||
|
auto allItemsNode = dataNode["Items"]["SavingsPlansDetailResponse"];
|
||||||
|
for (auto dataNodeItemsSavingsPlansDetailResponse : allItemsNode)
|
||||||
|
{
|
||||||
|
Data::SavingsPlansDetailResponse savingsPlansDetailResponseObject;
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["InstanceId"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.instanceId = dataNodeItemsSavingsPlansDetailResponse["InstanceId"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["SavingsType"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.savingsType = dataNodeItemsSavingsPlansDetailResponse["SavingsType"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["InstanceFamily"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.instanceFamily = dataNodeItemsSavingsPlansDetailResponse["InstanceFamily"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["Region"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.region = dataNodeItemsSavingsPlansDetailResponse["Region"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["PoolValue"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.poolValue = dataNodeItemsSavingsPlansDetailResponse["PoolValue"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["Currency"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.currency = dataNodeItemsSavingsPlansDetailResponse["Currency"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["Status"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.status = dataNodeItemsSavingsPlansDetailResponse["Status"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["StartTime"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.startTime = dataNodeItemsSavingsPlansDetailResponse["StartTime"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["EndTime"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.endTime = dataNodeItemsSavingsPlansDetailResponse["EndTime"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["PayMode"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.payMode = dataNodeItemsSavingsPlansDetailResponse["PayMode"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["PrepayFee"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.prepayFee = dataNodeItemsSavingsPlansDetailResponse["PrepayFee"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["TotalSave"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.totalSave = dataNodeItemsSavingsPlansDetailResponse["TotalSave"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["Utilization"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.utilization = dataNodeItemsSavingsPlansDetailResponse["Utilization"].asString();
|
||||||
|
if(!dataNodeItemsSavingsPlansDetailResponse["Share"].isNull())
|
||||||
|
savingsPlansDetailResponseObject.share = dataNodeItemsSavingsPlansDetailResponse["Share"].asString() == "true";
|
||||||
|
data_.items.push_back(savingsPlansDetailResponseObject);
|
||||||
|
}
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansInstanceResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
QuerySavingsPlansInstanceResult::Data QuerySavingsPlansInstanceResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QuerySavingsPlansInstanceResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool QuerySavingsPlansInstanceResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -136,6 +136,18 @@ void QuerySplitItemBillResult::parse(const std::string &payload)
|
|||||||
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
|
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
|
||||||
if(!dataNodeItemsItem["CommodityCode"].isNull())
|
if(!dataNodeItemsItem["CommodityCode"].isNull())
|
||||||
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
|
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
|
||||||
|
if(!dataNodeItemsItem["ServicePeriodUnit"].isNull())
|
||||||
|
itemObject.servicePeriodUnit = dataNodeItemsItem["ServicePeriodUnit"].asString();
|
||||||
|
if(!dataNodeItemsItem["SplitCommodityCode"].isNull())
|
||||||
|
itemObject.splitCommodityCode = dataNodeItemsItem["SplitCommodityCode"].asString();
|
||||||
|
if(!dataNodeItemsItem["SplitProductDetail"].isNull())
|
||||||
|
itemObject.splitProductDetail = dataNodeItemsItem["SplitProductDetail"].asString();
|
||||||
|
if(!dataNodeItemsItem["SplitAccountID"].isNull())
|
||||||
|
itemObject.splitAccountID = dataNodeItemsItem["SplitAccountID"].asString();
|
||||||
|
if(!dataNodeItemsItem["SplitAccountName"].isNull())
|
||||||
|
itemObject.splitAccountName = dataNodeItemsItem["SplitAccountName"].asString();
|
||||||
|
if(!dataNodeItemsItem["SplitBillingCycle"].isNull())
|
||||||
|
itemObject.splitBillingCycle = dataNodeItemsItem["SplitBillingCycle"].asString();
|
||||||
data_.items.push_back(itemObject);
|
data_.items.push_back(itemObject);
|
||||||
}
|
}
|
||||||
if(!value["Success"].isNull())
|
if(!value["Success"].isNull())
|
||||||
|
|||||||
117
bssopenapi/src/model/SaveUserCreditRequest.cc
Normal file
117
bssopenapi/src/model/SaveUserCreditRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/bssopenapi/model/SaveUserCreditRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::BssOpenApi::Model::SaveUserCreditRequest;
|
||||||
|
|
||||||
|
SaveUserCreditRequest::SaveUserCreditRequest() :
|
||||||
|
RpcServiceRequest("bssopenapi", "2017-12-14", "SaveUserCredit")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
SaveUserCreditRequest::~SaveUserCreditRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
bool SaveUserCreditRequest::getAvoidExpiration()const
|
||||||
|
{
|
||||||
|
return avoidExpiration_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SaveUserCreditRequest::setAvoidExpiration(bool avoidExpiration)
|
||||||
|
{
|
||||||
|
avoidExpiration_ = avoidExpiration;
|
||||||
|
setParameter("AvoidExpiration", avoidExpiration ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SaveUserCreditRequest::getDescription()const
|
||||||
|
{
|
||||||
|
return description_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SaveUserCreditRequest::setDescription(const std::string& description)
|
||||||
|
{
|
||||||
|
description_ = description;
|
||||||
|
setParameter("Description", description);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SaveUserCreditRequest::getAvoidPrepaidNotification()const
|
||||||
|
{
|
||||||
|
return avoidPrepaidNotification_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SaveUserCreditRequest::setAvoidPrepaidNotification(bool avoidPrepaidNotification)
|
||||||
|
{
|
||||||
|
avoidPrepaidNotification_ = avoidPrepaidNotification;
|
||||||
|
setParameter("AvoidPrepaidNotification", avoidPrepaidNotification ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SaveUserCreditRequest::getAvoidPrepaidExpiration()const
|
||||||
|
{
|
||||||
|
return avoidPrepaidExpiration_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SaveUserCreditRequest::setAvoidPrepaidExpiration(bool avoidPrepaidExpiration)
|
||||||
|
{
|
||||||
|
avoidPrepaidExpiration_ = avoidPrepaidExpiration;
|
||||||
|
setParameter("AvoidPrepaidExpiration", avoidPrepaidExpiration ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SaveUserCreditRequest::getAvoidNotification()const
|
||||||
|
{
|
||||||
|
return avoidNotification_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SaveUserCreditRequest::setAvoidNotification(bool avoidNotification)
|
||||||
|
{
|
||||||
|
avoidNotification_ = avoidNotification;
|
||||||
|
setParameter("AvoidNotification", avoidNotification ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SaveUserCreditRequest::get_Operator()const
|
||||||
|
{
|
||||||
|
return _operator_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SaveUserCreditRequest::set_Operator(const std::string& _operator)
|
||||||
|
{
|
||||||
|
_operator_ = _operator;
|
||||||
|
setParameter("_Operator", _operator);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SaveUserCreditRequest::getCreditValue()const
|
||||||
|
{
|
||||||
|
return creditValue_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SaveUserCreditRequest::setCreditValue(const std::string& creditValue)
|
||||||
|
{
|
||||||
|
creditValue_ = creditValue;
|
||||||
|
setParameter("CreditValue", creditValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SaveUserCreditRequest::getCreditType()const
|
||||||
|
{
|
||||||
|
return creditType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SaveUserCreditRequest::setCreditType(const std::string& creditType)
|
||||||
|
{
|
||||||
|
creditType_ = creditType;
|
||||||
|
setParameter("CreditType", creditType);
|
||||||
|
}
|
||||||
|
|
||||||
65
bssopenapi/src/model/SaveUserCreditResult.cc
Normal file
65
bssopenapi/src/model/SaveUserCreditResult.cc
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/bssopenapi/model/SaveUserCreditResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::BssOpenApi;
|
||||||
|
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||||
|
|
||||||
|
SaveUserCreditResult::SaveUserCreditResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
SaveUserCreditResult::SaveUserCreditResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
SaveUserCreditResult::~SaveUserCreditResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void SaveUserCreditResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SaveUserCreditResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SaveUserCreditResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SaveUserCreditResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
216
bssopenapi/src/model/SetCreditLabelActionRequest.cc
Normal file
216
bssopenapi/src/model/SetCreditLabelActionRequest.cc
Normal file
@@ -0,0 +1,216 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/bssopenapi/model/SetCreditLabelActionRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::BssOpenApi::Model::SetCreditLabelActionRequest;
|
||||||
|
|
||||||
|
SetCreditLabelActionRequest::SetCreditLabelActionRequest() :
|
||||||
|
RpcServiceRequest("bssopenapi", "2017-12-14", "SetCreditLabelAction")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
SetCreditLabelActionRequest::~SetCreditLabelActionRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getActionType()const
|
||||||
|
{
|
||||||
|
return actionType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setActionType(const std::string& actionType)
|
||||||
|
{
|
||||||
|
actionType_ = actionType;
|
||||||
|
setParameter("ActionType", actionType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getIsNeedSaveNotifyRule()const
|
||||||
|
{
|
||||||
|
return isNeedSaveNotifyRule_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setIsNeedSaveNotifyRule(const std::string& isNeedSaveNotifyRule)
|
||||||
|
{
|
||||||
|
isNeedSaveNotifyRule_ = isNeedSaveNotifyRule;
|
||||||
|
setParameter("IsNeedSaveNotifyRule", isNeedSaveNotifyRule);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getIsNeedAdjustCreditAccount()const
|
||||||
|
{
|
||||||
|
return isNeedAdjustCreditAccount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setIsNeedAdjustCreditAccount(const std::string& isNeedAdjustCreditAccount)
|
||||||
|
{
|
||||||
|
isNeedAdjustCreditAccount_ = isNeedAdjustCreditAccount;
|
||||||
|
setParameter("IsNeedAdjustCreditAccount", isNeedAdjustCreditAccount);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SetCreditLabelActionRequest::getNewCreateMode()const
|
||||||
|
{
|
||||||
|
return newCreateMode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setNewCreateMode(bool newCreateMode)
|
||||||
|
{
|
||||||
|
newCreateMode_ = newCreateMode;
|
||||||
|
setParameter("NewCreateMode", newCreateMode ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getDescription()const
|
||||||
|
{
|
||||||
|
return description_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setDescription(const std::string& description)
|
||||||
|
{
|
||||||
|
description_ = description;
|
||||||
|
setParameter("Description", description);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getSource()const
|
||||||
|
{
|
||||||
|
return source_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setSource(const std::string& source)
|
||||||
|
{
|
||||||
|
source_ = source;
|
||||||
|
setParameter("Source", source);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getCurrencyCode()const
|
||||||
|
{
|
||||||
|
return currencyCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setCurrencyCode(const std::string& currencyCode)
|
||||||
|
{
|
||||||
|
currencyCode_ = currencyCode;
|
||||||
|
setParameter("CurrencyCode", currencyCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getDailyCycle()const
|
||||||
|
{
|
||||||
|
return dailyCycle_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setDailyCycle(const std::string& dailyCycle)
|
||||||
|
{
|
||||||
|
dailyCycle_ = dailyCycle;
|
||||||
|
setParameter("DailyCycle", dailyCycle);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::get_Operator()const
|
||||||
|
{
|
||||||
|
return _operator_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::set_Operator(const std::string& _operator)
|
||||||
|
{
|
||||||
|
_operator_ = _operator;
|
||||||
|
setParameter("_Operator", _operator);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getUid()const
|
||||||
|
{
|
||||||
|
return uid_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setUid(const std::string& uid)
|
||||||
|
{
|
||||||
|
uid_ = uid;
|
||||||
|
setParameter("Uid", uid);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getSiteCode()const
|
||||||
|
{
|
||||||
|
return siteCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setSiteCode(const std::string& siteCode)
|
||||||
|
{
|
||||||
|
siteCode_ = siteCode;
|
||||||
|
setParameter("SiteCode", siteCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getClearCycle()const
|
||||||
|
{
|
||||||
|
return clearCycle_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setClearCycle(const std::string& clearCycle)
|
||||||
|
{
|
||||||
|
clearCycle_ = clearCycle;
|
||||||
|
setParameter("ClearCycle", clearCycle);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SetCreditLabelActionRequest::getNeedNotice()const
|
||||||
|
{
|
||||||
|
return needNotice_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setNeedNotice(bool needNotice)
|
||||||
|
{
|
||||||
|
needNotice_ = needNotice;
|
||||||
|
setParameter("NeedNotice", needNotice ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getRequestId()const
|
||||||
|
{
|
||||||
|
return requestId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setRequestId(const std::string& requestId)
|
||||||
|
{
|
||||||
|
requestId_ = requestId;
|
||||||
|
setParameter("RequestId", requestId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getIsNeedSetCreditAmount()const
|
||||||
|
{
|
||||||
|
return isNeedSetCreditAmount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setIsNeedSetCreditAmount(const std::string& isNeedSetCreditAmount)
|
||||||
|
{
|
||||||
|
isNeedSetCreditAmount_ = isNeedSetCreditAmount;
|
||||||
|
setParameter("IsNeedSetCreditAmount", isNeedSetCreditAmount);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getCreditAmount()const
|
||||||
|
{
|
||||||
|
return creditAmount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setCreditAmount(const std::string& creditAmount)
|
||||||
|
{
|
||||||
|
creditAmount_ = creditAmount;
|
||||||
|
setParameter("CreditAmount", creditAmount);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionRequest::getIsNeedAddSettleLabel()const
|
||||||
|
{
|
||||||
|
return isNeedAddSettleLabel_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetCreditLabelActionRequest::setIsNeedAddSettleLabel(const std::string& isNeedAddSettleLabel)
|
||||||
|
{
|
||||||
|
isNeedAddSettleLabel_ = isNeedAddSettleLabel;
|
||||||
|
setParameter("IsNeedAddSettleLabel", isNeedAddSettleLabel);
|
||||||
|
}
|
||||||
|
|
||||||
72
bssopenapi/src/model/SetCreditLabelActionResult.cc
Normal file
72
bssopenapi/src/model/SetCreditLabelActionResult.cc
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/bssopenapi/model/SetCreditLabelActionResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::BssOpenApi;
|
||||||
|
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||||
|
|
||||||
|
SetCreditLabelActionResult::SetCreditLabelActionResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
SetCreditLabelActionResult::SetCreditLabelActionResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
SetCreditLabelActionResult::~SetCreditLabelActionResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void SetCreditLabelActionResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Data"].isNull())
|
||||||
|
data_ = value["Data"].asString() == "true";
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SetCreditLabelActionResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetCreditLabelActionResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SetCreditLabelActionResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -48,16 +48,16 @@ void DescribeClusterDashboardResult::parse(const std::string &payload)
|
|||||||
Dashboard::DataCenter dataCenterObject;
|
Dashboard::DataCenter dataCenterObject;
|
||||||
if(!dashboardNodeDataCentersDataCenter["DataCenterId"].isNull())
|
if(!dashboardNodeDataCentersDataCenter["DataCenterId"].isNull())
|
||||||
dataCenterObject.dataCenterId = dashboardNodeDataCentersDataCenter["DataCenterId"].asString();
|
dataCenterObject.dataCenterId = dashboardNodeDataCentersDataCenter["DataCenterId"].asString();
|
||||||
auto allNodesNode = allDataCentersNode["Nodes"]["Node"];
|
auto allNodesNode = dashboardNodeDataCentersDataCenter["Nodes"]["Node"];
|
||||||
for (auto allDataCentersNodeNodesNode : allNodesNode)
|
for (auto dashboardNodeDataCentersDataCenterNodesNode : allNodesNode)
|
||||||
{
|
{
|
||||||
Dashboard::DataCenter::Node nodesObject;
|
Dashboard::DataCenter::Node nodesObject;
|
||||||
if(!allDataCentersNodeNodesNode["Address"].isNull())
|
if(!dashboardNodeDataCentersDataCenterNodesNode["Address"].isNull())
|
||||||
nodesObject.address = allDataCentersNodeNodesNode["Address"].asString();
|
nodesObject.address = dashboardNodeDataCentersDataCenterNodesNode["Address"].asString();
|
||||||
if(!allDataCentersNodeNodesNode["Status"].isNull())
|
if(!dashboardNodeDataCentersDataCenterNodesNode["Status"].isNull())
|
||||||
nodesObject.status = allDataCentersNodeNodesNode["Status"].asString();
|
nodesObject.status = dashboardNodeDataCentersDataCenterNodesNode["Status"].asString();
|
||||||
if(!allDataCentersNodeNodesNode["Load"].isNull())
|
if(!dashboardNodeDataCentersDataCenterNodesNode["Load"].isNull())
|
||||||
nodesObject.load = allDataCentersNodeNodesNode["Load"].asString();
|
nodesObject.load = dashboardNodeDataCentersDataCenterNodesNode["Load"].asString();
|
||||||
dataCenterObject.nodes.push_back(nodesObject);
|
dataCenterObject.nodes.push_back(nodesObject);
|
||||||
}
|
}
|
||||||
dashboard_.dataCenters.push_back(dataCenterObject);
|
dashboard_.dataCenters.push_back(dataCenterObject);
|
||||||
|
|||||||
@@ -67,14 +67,14 @@ void DescribeClustersResult::parse(const std::string &payload)
|
|||||||
clustersObject.autoRenewal = valueClustersCluster["AutoRenewal"].asString() == "true";
|
clustersObject.autoRenewal = valueClustersCluster["AutoRenewal"].asString() == "true";
|
||||||
if(!valueClustersCluster["AutoRenewPeriod"].isNull())
|
if(!valueClustersCluster["AutoRenewPeriod"].isNull())
|
||||||
clustersObject.autoRenewPeriod = std::stoi(valueClustersCluster["AutoRenewPeriod"].asString());
|
clustersObject.autoRenewPeriod = std::stoi(valueClustersCluster["AutoRenewPeriod"].asString());
|
||||||
auto allTagsNode = allClustersNode["Tags"]["Tag"];
|
auto allTagsNode = valueClustersCluster["Tags"]["Tag"];
|
||||||
for (auto allClustersNodeTagsTag : allTagsNode)
|
for (auto valueClustersClusterTagsTag : allTagsNode)
|
||||||
{
|
{
|
||||||
Cluster::Tag tagsObject;
|
Cluster::Tag tagsObject;
|
||||||
if(!allClustersNodeTagsTag["Key"].isNull())
|
if(!valueClustersClusterTagsTag["Key"].isNull())
|
||||||
tagsObject.key = allClustersNodeTagsTag["Key"].asString();
|
tagsObject.key = valueClustersClusterTagsTag["Key"].asString();
|
||||||
if(!allClustersNodeTagsTag["Value"].isNull())
|
if(!valueClustersClusterTagsTag["Value"].isNull())
|
||||||
tagsObject.value = allClustersNodeTagsTag["Value"].asString();
|
tagsObject.value = valueClustersClusterTagsTag["Value"].asString();
|
||||||
clustersObject.tags.push_back(tagsObject);
|
clustersObject.tags.push_back(tagsObject);
|
||||||
}
|
}
|
||||||
clusters_.push_back(clustersObject);
|
clusters_.push_back(clustersObject);
|
||||||
|
|||||||
@@ -49,12 +49,12 @@ void DescribeRegionsResult::parse(const std::string &payload)
|
|||||||
regionsObject.localName = valueRegionsRegion["LocalName"].asString();
|
regionsObject.localName = valueRegionsRegion["LocalName"].asString();
|
||||||
if(!valueRegionsRegion["RegionEndpoint"].isNull())
|
if(!valueRegionsRegion["RegionEndpoint"].isNull())
|
||||||
regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString();
|
regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString();
|
||||||
auto allZonesNode = allRegionsNode["Zones"]["Zone"];
|
auto allZonesNode = valueRegionsRegion["Zones"]["Zone"];
|
||||||
for (auto allRegionsNodeZonesZone : allZonesNode)
|
for (auto valueRegionsRegionZonesZone : allZonesNode)
|
||||||
{
|
{
|
||||||
Region::Zone zonesObject;
|
Region::Zone zonesObject;
|
||||||
if(!allRegionsNodeZonesZone["Id"].isNull())
|
if(!valueRegionsRegionZonesZone["Id"].isNull())
|
||||||
zonesObject.id = allRegionsNodeZonesZone["Id"].asString();
|
zonesObject.id = valueRegionsRegionZonesZone["Id"].asString();
|
||||||
regionsObject.zones.push_back(zonesObject);
|
regionsObject.zones.push_back(zonesObject);
|
||||||
}
|
}
|
||||||
regions_.push_back(regionsObject);
|
regions_.push_back(regionsObject);
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ set(cdrs_public_header
|
|||||||
set(cdrs_public_header_model
|
set(cdrs_public_header_model
|
||||||
include/alibabacloud/cdrs/model/AddCdrsMonitorRequest.h
|
include/alibabacloud/cdrs/model/AddCdrsMonitorRequest.h
|
||||||
include/alibabacloud/cdrs/model/AddCdrsMonitorResult.h
|
include/alibabacloud/cdrs/model/AddCdrsMonitorResult.h
|
||||||
|
include/alibabacloud/cdrs/model/AddMonitorRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/AddMonitorResult.h
|
||||||
include/alibabacloud/cdrs/model/BindDeviceRequest.h
|
include/alibabacloud/cdrs/model/BindDeviceRequest.h
|
||||||
include/alibabacloud/cdrs/model/BindDeviceResult.h
|
include/alibabacloud/cdrs/model/BindDeviceResult.h
|
||||||
include/alibabacloud/cdrs/model/CreateProjectRequest.h
|
include/alibabacloud/cdrs/model/CreateProjectRequest.h
|
||||||
@@ -31,6 +33,12 @@ set(cdrs_public_header_model
|
|||||||
include/alibabacloud/cdrs/model/GetCdrsMonitorListResult.h
|
include/alibabacloud/cdrs/model/GetCdrsMonitorListResult.h
|
||||||
include/alibabacloud/cdrs/model/GetCdrsMonitorResultRequest.h
|
include/alibabacloud/cdrs/model/GetCdrsMonitorResultRequest.h
|
||||||
include/alibabacloud/cdrs/model/GetCdrsMonitorResultResult.h
|
include/alibabacloud/cdrs/model/GetCdrsMonitorResultResult.h
|
||||||
|
include/alibabacloud/cdrs/model/GetMonitorListRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/GetMonitorListResult.h
|
||||||
|
include/alibabacloud/cdrs/model/GetMonitorResultRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/GetMonitorResultResult.h
|
||||||
|
include/alibabacloud/cdrs/model/ListAreaHotSpotMetricsRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/ListAreaHotSpotMetricsResult.h
|
||||||
include/alibabacloud/cdrs/model/ListCityMapAoisRequest.h
|
include/alibabacloud/cdrs/model/ListCityMapAoisRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListCityMapAoisResult.h
|
include/alibabacloud/cdrs/model/ListCityMapAoisResult.h
|
||||||
include/alibabacloud/cdrs/model/ListCityMapCameraResultsRequest.h
|
include/alibabacloud/cdrs/model/ListCityMapCameraResultsRequest.h
|
||||||
@@ -43,8 +51,8 @@ set(cdrs_public_header_model
|
|||||||
include/alibabacloud/cdrs/model/ListCityMapPersonFlowResult.h
|
include/alibabacloud/cdrs/model/ListCityMapPersonFlowResult.h
|
||||||
include/alibabacloud/cdrs/model/ListCityMapRangeStatisticRequest.h
|
include/alibabacloud/cdrs/model/ListCityMapRangeStatisticRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListCityMapRangeStatisticResult.h
|
include/alibabacloud/cdrs/model/ListCityMapRangeStatisticResult.h
|
||||||
include/alibabacloud/cdrs/model/ListCorpMetricsRequest.h
|
include/alibabacloud/cdrs/model/ListCorpMetricsStatisticRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListCorpMetricsResult.h
|
include/alibabacloud/cdrs/model/ListCorpMetricsStatisticResult.h
|
||||||
include/alibabacloud/cdrs/model/ListDataStatisticsRequest.h
|
include/alibabacloud/cdrs/model/ListDataStatisticsRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListDataStatisticsResult.h
|
include/alibabacloud/cdrs/model/ListDataStatisticsResult.h
|
||||||
include/alibabacloud/cdrs/model/ListDataStatisticsByDayRequest.h
|
include/alibabacloud/cdrs/model/ListDataStatisticsByDayRequest.h
|
||||||
@@ -57,10 +65,10 @@ set(cdrs_public_header_model
|
|||||||
include/alibabacloud/cdrs/model/ListDevicePersonResult.h
|
include/alibabacloud/cdrs/model/ListDevicePersonResult.h
|
||||||
include/alibabacloud/cdrs/model/ListDevicePersonStatisticsRequest.h
|
include/alibabacloud/cdrs/model/ListDevicePersonStatisticsRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListDevicePersonStatisticsResult.h
|
include/alibabacloud/cdrs/model/ListDevicePersonStatisticsResult.h
|
||||||
|
include/alibabacloud/cdrs/model/ListDeviceRelationRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/ListDeviceRelationResult.h
|
||||||
include/alibabacloud/cdrs/model/ListMapRouteDetailsRequest.h
|
include/alibabacloud/cdrs/model/ListMapRouteDetailsRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListMapRouteDetailsResult.h
|
include/alibabacloud/cdrs/model/ListMapRouteDetailsResult.h
|
||||||
include/alibabacloud/cdrs/model/ListMetricsRequest.h
|
|
||||||
include/alibabacloud/cdrs/model/ListMetricsResult.h
|
|
||||||
include/alibabacloud/cdrs/model/ListPersonDetailsRequest.h
|
include/alibabacloud/cdrs/model/ListPersonDetailsRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListPersonDetailsResult.h
|
include/alibabacloud/cdrs/model/ListPersonDetailsResult.h
|
||||||
include/alibabacloud/cdrs/model/ListPersonResultRequest.h
|
include/alibabacloud/cdrs/model/ListPersonResultRequest.h
|
||||||
@@ -69,8 +77,6 @@ set(cdrs_public_header_model
|
|||||||
include/alibabacloud/cdrs/model/ListPersonTagResult.h
|
include/alibabacloud/cdrs/model/ListPersonTagResult.h
|
||||||
include/alibabacloud/cdrs/model/ListPersonTopRequest.h
|
include/alibabacloud/cdrs/model/ListPersonTopRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListPersonTopResult.h
|
include/alibabacloud/cdrs/model/ListPersonTopResult.h
|
||||||
include/alibabacloud/cdrs/model/ListPersonTraceRequest.h
|
|
||||||
include/alibabacloud/cdrs/model/ListPersonTraceResult.h
|
|
||||||
include/alibabacloud/cdrs/model/ListPersonTrackRequest.h
|
include/alibabacloud/cdrs/model/ListPersonTrackRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListPersonTrackResult.h
|
include/alibabacloud/cdrs/model/ListPersonTrackResult.h
|
||||||
include/alibabacloud/cdrs/model/ListRangeDeviceRequest.h
|
include/alibabacloud/cdrs/model/ListRangeDeviceRequest.h
|
||||||
@@ -79,6 +85,8 @@ set(cdrs_public_header_model
|
|||||||
include/alibabacloud/cdrs/model/ListStorageStatisticsResult.h
|
include/alibabacloud/cdrs/model/ListStorageStatisticsResult.h
|
||||||
include/alibabacloud/cdrs/model/ListStructureStatisticsRequest.h
|
include/alibabacloud/cdrs/model/ListStructureStatisticsRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListStructureStatisticsResult.h
|
include/alibabacloud/cdrs/model/ListStructureStatisticsResult.h
|
||||||
|
include/alibabacloud/cdrs/model/ListTagMetricsRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/ListTagMetricsResult.h
|
||||||
include/alibabacloud/cdrs/model/ListVehicleDetailsRequest.h
|
include/alibabacloud/cdrs/model/ListVehicleDetailsRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListVehicleDetailsResult.h
|
include/alibabacloud/cdrs/model/ListVehicleDetailsResult.h
|
||||||
include/alibabacloud/cdrs/model/ListVehicleResultsRequest.h
|
include/alibabacloud/cdrs/model/ListVehicleResultsRequest.h
|
||||||
@@ -89,16 +97,26 @@ set(cdrs_public_header_model
|
|||||||
include/alibabacloud/cdrs/model/ListVehicleTopResult.h
|
include/alibabacloud/cdrs/model/ListVehicleTopResult.h
|
||||||
include/alibabacloud/cdrs/model/ListVehicleTrackRequest.h
|
include/alibabacloud/cdrs/model/ListVehicleTrackRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListVehicleTrackResult.h
|
include/alibabacloud/cdrs/model/ListVehicleTrackResult.h
|
||||||
|
include/alibabacloud/cdrs/model/PaginateDeviceRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/PaginateDeviceResult.h
|
||||||
|
include/alibabacloud/cdrs/model/PaginateProjectRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/PaginateProjectResult.h
|
||||||
include/alibabacloud/cdrs/model/RecognizeImageRequest.h
|
include/alibabacloud/cdrs/model/RecognizeImageRequest.h
|
||||||
include/alibabacloud/cdrs/model/RecognizeImageResult.h
|
include/alibabacloud/cdrs/model/RecognizeImageResult.h
|
||||||
|
include/alibabacloud/cdrs/model/SearchAggregateObjectRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/SearchAggregateObjectResult.h
|
||||||
include/alibabacloud/cdrs/model/SearchObjectRequest.h
|
include/alibabacloud/cdrs/model/SearchObjectRequest.h
|
||||||
include/alibabacloud/cdrs/model/SearchObjectResult.h
|
include/alibabacloud/cdrs/model/SearchObjectResult.h
|
||||||
include/alibabacloud/cdrs/model/StopCdrsMonitorRequest.h
|
include/alibabacloud/cdrs/model/StopCdrsMonitorRequest.h
|
||||||
include/alibabacloud/cdrs/model/StopCdrsMonitorResult.h
|
include/alibabacloud/cdrs/model/StopCdrsMonitorResult.h
|
||||||
|
include/alibabacloud/cdrs/model/StopMonitorRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/StopMonitorResult.h
|
||||||
include/alibabacloud/cdrs/model/UnbindDeviceRequest.h
|
include/alibabacloud/cdrs/model/UnbindDeviceRequest.h
|
||||||
include/alibabacloud/cdrs/model/UnbindDeviceResult.h
|
include/alibabacloud/cdrs/model/UnbindDeviceResult.h
|
||||||
include/alibabacloud/cdrs/model/UpdateCdrsMonitorRequest.h
|
include/alibabacloud/cdrs/model/UpdateCdrsMonitorRequest.h
|
||||||
include/alibabacloud/cdrs/model/UpdateCdrsMonitorResult.h
|
include/alibabacloud/cdrs/model/UpdateCdrsMonitorResult.h
|
||||||
|
include/alibabacloud/cdrs/model/UpdateMonitorRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/UpdateMonitorResult.h
|
||||||
include/alibabacloud/cdrs/model/UpdateProjectRequest.h
|
include/alibabacloud/cdrs/model/UpdateProjectRequest.h
|
||||||
include/alibabacloud/cdrs/model/UpdateProjectResult.h )
|
include/alibabacloud/cdrs/model/UpdateProjectResult.h )
|
||||||
|
|
||||||
@@ -106,6 +124,8 @@ set(cdrs_src
|
|||||||
src/CDRSClient.cc
|
src/CDRSClient.cc
|
||||||
src/model/AddCdrsMonitorRequest.cc
|
src/model/AddCdrsMonitorRequest.cc
|
||||||
src/model/AddCdrsMonitorResult.cc
|
src/model/AddCdrsMonitorResult.cc
|
||||||
|
src/model/AddMonitorRequest.cc
|
||||||
|
src/model/AddMonitorResult.cc
|
||||||
src/model/BindDeviceRequest.cc
|
src/model/BindDeviceRequest.cc
|
||||||
src/model/BindDeviceResult.cc
|
src/model/BindDeviceResult.cc
|
||||||
src/model/CreateProjectRequest.cc
|
src/model/CreateProjectRequest.cc
|
||||||
@@ -114,6 +134,12 @@ set(cdrs_src
|
|||||||
src/model/GetCdrsMonitorListResult.cc
|
src/model/GetCdrsMonitorListResult.cc
|
||||||
src/model/GetCdrsMonitorResultRequest.cc
|
src/model/GetCdrsMonitorResultRequest.cc
|
||||||
src/model/GetCdrsMonitorResultResult.cc
|
src/model/GetCdrsMonitorResultResult.cc
|
||||||
|
src/model/GetMonitorListRequest.cc
|
||||||
|
src/model/GetMonitorListResult.cc
|
||||||
|
src/model/GetMonitorResultRequest.cc
|
||||||
|
src/model/GetMonitorResultResult.cc
|
||||||
|
src/model/ListAreaHotSpotMetricsRequest.cc
|
||||||
|
src/model/ListAreaHotSpotMetricsResult.cc
|
||||||
src/model/ListCityMapAoisRequest.cc
|
src/model/ListCityMapAoisRequest.cc
|
||||||
src/model/ListCityMapAoisResult.cc
|
src/model/ListCityMapAoisResult.cc
|
||||||
src/model/ListCityMapCameraResultsRequest.cc
|
src/model/ListCityMapCameraResultsRequest.cc
|
||||||
@@ -126,8 +152,8 @@ set(cdrs_src
|
|||||||
src/model/ListCityMapPersonFlowResult.cc
|
src/model/ListCityMapPersonFlowResult.cc
|
||||||
src/model/ListCityMapRangeStatisticRequest.cc
|
src/model/ListCityMapRangeStatisticRequest.cc
|
||||||
src/model/ListCityMapRangeStatisticResult.cc
|
src/model/ListCityMapRangeStatisticResult.cc
|
||||||
src/model/ListCorpMetricsRequest.cc
|
src/model/ListCorpMetricsStatisticRequest.cc
|
||||||
src/model/ListCorpMetricsResult.cc
|
src/model/ListCorpMetricsStatisticResult.cc
|
||||||
src/model/ListDataStatisticsRequest.cc
|
src/model/ListDataStatisticsRequest.cc
|
||||||
src/model/ListDataStatisticsResult.cc
|
src/model/ListDataStatisticsResult.cc
|
||||||
src/model/ListDataStatisticsByDayRequest.cc
|
src/model/ListDataStatisticsByDayRequest.cc
|
||||||
@@ -140,10 +166,10 @@ set(cdrs_src
|
|||||||
src/model/ListDevicePersonResult.cc
|
src/model/ListDevicePersonResult.cc
|
||||||
src/model/ListDevicePersonStatisticsRequest.cc
|
src/model/ListDevicePersonStatisticsRequest.cc
|
||||||
src/model/ListDevicePersonStatisticsResult.cc
|
src/model/ListDevicePersonStatisticsResult.cc
|
||||||
|
src/model/ListDeviceRelationRequest.cc
|
||||||
|
src/model/ListDeviceRelationResult.cc
|
||||||
src/model/ListMapRouteDetailsRequest.cc
|
src/model/ListMapRouteDetailsRequest.cc
|
||||||
src/model/ListMapRouteDetailsResult.cc
|
src/model/ListMapRouteDetailsResult.cc
|
||||||
src/model/ListMetricsRequest.cc
|
|
||||||
src/model/ListMetricsResult.cc
|
|
||||||
src/model/ListPersonDetailsRequest.cc
|
src/model/ListPersonDetailsRequest.cc
|
||||||
src/model/ListPersonDetailsResult.cc
|
src/model/ListPersonDetailsResult.cc
|
||||||
src/model/ListPersonResultRequest.cc
|
src/model/ListPersonResultRequest.cc
|
||||||
@@ -152,8 +178,6 @@ set(cdrs_src
|
|||||||
src/model/ListPersonTagResult.cc
|
src/model/ListPersonTagResult.cc
|
||||||
src/model/ListPersonTopRequest.cc
|
src/model/ListPersonTopRequest.cc
|
||||||
src/model/ListPersonTopResult.cc
|
src/model/ListPersonTopResult.cc
|
||||||
src/model/ListPersonTraceRequest.cc
|
|
||||||
src/model/ListPersonTraceResult.cc
|
|
||||||
src/model/ListPersonTrackRequest.cc
|
src/model/ListPersonTrackRequest.cc
|
||||||
src/model/ListPersonTrackResult.cc
|
src/model/ListPersonTrackResult.cc
|
||||||
src/model/ListRangeDeviceRequest.cc
|
src/model/ListRangeDeviceRequest.cc
|
||||||
@@ -162,6 +186,8 @@ set(cdrs_src
|
|||||||
src/model/ListStorageStatisticsResult.cc
|
src/model/ListStorageStatisticsResult.cc
|
||||||
src/model/ListStructureStatisticsRequest.cc
|
src/model/ListStructureStatisticsRequest.cc
|
||||||
src/model/ListStructureStatisticsResult.cc
|
src/model/ListStructureStatisticsResult.cc
|
||||||
|
src/model/ListTagMetricsRequest.cc
|
||||||
|
src/model/ListTagMetricsResult.cc
|
||||||
src/model/ListVehicleDetailsRequest.cc
|
src/model/ListVehicleDetailsRequest.cc
|
||||||
src/model/ListVehicleDetailsResult.cc
|
src/model/ListVehicleDetailsResult.cc
|
||||||
src/model/ListVehicleResultsRequest.cc
|
src/model/ListVehicleResultsRequest.cc
|
||||||
@@ -172,16 +198,26 @@ set(cdrs_src
|
|||||||
src/model/ListVehicleTopResult.cc
|
src/model/ListVehicleTopResult.cc
|
||||||
src/model/ListVehicleTrackRequest.cc
|
src/model/ListVehicleTrackRequest.cc
|
||||||
src/model/ListVehicleTrackResult.cc
|
src/model/ListVehicleTrackResult.cc
|
||||||
|
src/model/PaginateDeviceRequest.cc
|
||||||
|
src/model/PaginateDeviceResult.cc
|
||||||
|
src/model/PaginateProjectRequest.cc
|
||||||
|
src/model/PaginateProjectResult.cc
|
||||||
src/model/RecognizeImageRequest.cc
|
src/model/RecognizeImageRequest.cc
|
||||||
src/model/RecognizeImageResult.cc
|
src/model/RecognizeImageResult.cc
|
||||||
|
src/model/SearchAggregateObjectRequest.cc
|
||||||
|
src/model/SearchAggregateObjectResult.cc
|
||||||
src/model/SearchObjectRequest.cc
|
src/model/SearchObjectRequest.cc
|
||||||
src/model/SearchObjectResult.cc
|
src/model/SearchObjectResult.cc
|
||||||
src/model/StopCdrsMonitorRequest.cc
|
src/model/StopCdrsMonitorRequest.cc
|
||||||
src/model/StopCdrsMonitorResult.cc
|
src/model/StopCdrsMonitorResult.cc
|
||||||
|
src/model/StopMonitorRequest.cc
|
||||||
|
src/model/StopMonitorResult.cc
|
||||||
src/model/UnbindDeviceRequest.cc
|
src/model/UnbindDeviceRequest.cc
|
||||||
src/model/UnbindDeviceResult.cc
|
src/model/UnbindDeviceResult.cc
|
||||||
src/model/UpdateCdrsMonitorRequest.cc
|
src/model/UpdateCdrsMonitorRequest.cc
|
||||||
src/model/UpdateCdrsMonitorResult.cc
|
src/model/UpdateCdrsMonitorResult.cc
|
||||||
|
src/model/UpdateMonitorRequest.cc
|
||||||
|
src/model/UpdateMonitorResult.cc
|
||||||
src/model/UpdateProjectRequest.cc
|
src/model/UpdateProjectRequest.cc
|
||||||
src/model/UpdateProjectResult.cc )
|
src/model/UpdateProjectResult.cc )
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,8 @@
|
|||||||
#include "CDRSExport.h"
|
#include "CDRSExport.h"
|
||||||
#include "model/AddCdrsMonitorRequest.h"
|
#include "model/AddCdrsMonitorRequest.h"
|
||||||
#include "model/AddCdrsMonitorResult.h"
|
#include "model/AddCdrsMonitorResult.h"
|
||||||
|
#include "model/AddMonitorRequest.h"
|
||||||
|
#include "model/AddMonitorResult.h"
|
||||||
#include "model/BindDeviceRequest.h"
|
#include "model/BindDeviceRequest.h"
|
||||||
#include "model/BindDeviceResult.h"
|
#include "model/BindDeviceResult.h"
|
||||||
#include "model/CreateProjectRequest.h"
|
#include "model/CreateProjectRequest.h"
|
||||||
@@ -32,6 +34,12 @@
|
|||||||
#include "model/GetCdrsMonitorListResult.h"
|
#include "model/GetCdrsMonitorListResult.h"
|
||||||
#include "model/GetCdrsMonitorResultRequest.h"
|
#include "model/GetCdrsMonitorResultRequest.h"
|
||||||
#include "model/GetCdrsMonitorResultResult.h"
|
#include "model/GetCdrsMonitorResultResult.h"
|
||||||
|
#include "model/GetMonitorListRequest.h"
|
||||||
|
#include "model/GetMonitorListResult.h"
|
||||||
|
#include "model/GetMonitorResultRequest.h"
|
||||||
|
#include "model/GetMonitorResultResult.h"
|
||||||
|
#include "model/ListAreaHotSpotMetricsRequest.h"
|
||||||
|
#include "model/ListAreaHotSpotMetricsResult.h"
|
||||||
#include "model/ListCityMapAoisRequest.h"
|
#include "model/ListCityMapAoisRequest.h"
|
||||||
#include "model/ListCityMapAoisResult.h"
|
#include "model/ListCityMapAoisResult.h"
|
||||||
#include "model/ListCityMapCameraResultsRequest.h"
|
#include "model/ListCityMapCameraResultsRequest.h"
|
||||||
@@ -44,8 +52,8 @@
|
|||||||
#include "model/ListCityMapPersonFlowResult.h"
|
#include "model/ListCityMapPersonFlowResult.h"
|
||||||
#include "model/ListCityMapRangeStatisticRequest.h"
|
#include "model/ListCityMapRangeStatisticRequest.h"
|
||||||
#include "model/ListCityMapRangeStatisticResult.h"
|
#include "model/ListCityMapRangeStatisticResult.h"
|
||||||
#include "model/ListCorpMetricsRequest.h"
|
#include "model/ListCorpMetricsStatisticRequest.h"
|
||||||
#include "model/ListCorpMetricsResult.h"
|
#include "model/ListCorpMetricsStatisticResult.h"
|
||||||
#include "model/ListDataStatisticsRequest.h"
|
#include "model/ListDataStatisticsRequest.h"
|
||||||
#include "model/ListDataStatisticsResult.h"
|
#include "model/ListDataStatisticsResult.h"
|
||||||
#include "model/ListDataStatisticsByDayRequest.h"
|
#include "model/ListDataStatisticsByDayRequest.h"
|
||||||
@@ -58,10 +66,10 @@
|
|||||||
#include "model/ListDevicePersonResult.h"
|
#include "model/ListDevicePersonResult.h"
|
||||||
#include "model/ListDevicePersonStatisticsRequest.h"
|
#include "model/ListDevicePersonStatisticsRequest.h"
|
||||||
#include "model/ListDevicePersonStatisticsResult.h"
|
#include "model/ListDevicePersonStatisticsResult.h"
|
||||||
|
#include "model/ListDeviceRelationRequest.h"
|
||||||
|
#include "model/ListDeviceRelationResult.h"
|
||||||
#include "model/ListMapRouteDetailsRequest.h"
|
#include "model/ListMapRouteDetailsRequest.h"
|
||||||
#include "model/ListMapRouteDetailsResult.h"
|
#include "model/ListMapRouteDetailsResult.h"
|
||||||
#include "model/ListMetricsRequest.h"
|
|
||||||
#include "model/ListMetricsResult.h"
|
|
||||||
#include "model/ListPersonDetailsRequest.h"
|
#include "model/ListPersonDetailsRequest.h"
|
||||||
#include "model/ListPersonDetailsResult.h"
|
#include "model/ListPersonDetailsResult.h"
|
||||||
#include "model/ListPersonResultRequest.h"
|
#include "model/ListPersonResultRequest.h"
|
||||||
@@ -70,8 +78,6 @@
|
|||||||
#include "model/ListPersonTagResult.h"
|
#include "model/ListPersonTagResult.h"
|
||||||
#include "model/ListPersonTopRequest.h"
|
#include "model/ListPersonTopRequest.h"
|
||||||
#include "model/ListPersonTopResult.h"
|
#include "model/ListPersonTopResult.h"
|
||||||
#include "model/ListPersonTraceRequest.h"
|
|
||||||
#include "model/ListPersonTraceResult.h"
|
|
||||||
#include "model/ListPersonTrackRequest.h"
|
#include "model/ListPersonTrackRequest.h"
|
||||||
#include "model/ListPersonTrackResult.h"
|
#include "model/ListPersonTrackResult.h"
|
||||||
#include "model/ListRangeDeviceRequest.h"
|
#include "model/ListRangeDeviceRequest.h"
|
||||||
@@ -80,6 +86,8 @@
|
|||||||
#include "model/ListStorageStatisticsResult.h"
|
#include "model/ListStorageStatisticsResult.h"
|
||||||
#include "model/ListStructureStatisticsRequest.h"
|
#include "model/ListStructureStatisticsRequest.h"
|
||||||
#include "model/ListStructureStatisticsResult.h"
|
#include "model/ListStructureStatisticsResult.h"
|
||||||
|
#include "model/ListTagMetricsRequest.h"
|
||||||
|
#include "model/ListTagMetricsResult.h"
|
||||||
#include "model/ListVehicleDetailsRequest.h"
|
#include "model/ListVehicleDetailsRequest.h"
|
||||||
#include "model/ListVehicleDetailsResult.h"
|
#include "model/ListVehicleDetailsResult.h"
|
||||||
#include "model/ListVehicleResultsRequest.h"
|
#include "model/ListVehicleResultsRequest.h"
|
||||||
@@ -90,16 +98,26 @@
|
|||||||
#include "model/ListVehicleTopResult.h"
|
#include "model/ListVehicleTopResult.h"
|
||||||
#include "model/ListVehicleTrackRequest.h"
|
#include "model/ListVehicleTrackRequest.h"
|
||||||
#include "model/ListVehicleTrackResult.h"
|
#include "model/ListVehicleTrackResult.h"
|
||||||
|
#include "model/PaginateDeviceRequest.h"
|
||||||
|
#include "model/PaginateDeviceResult.h"
|
||||||
|
#include "model/PaginateProjectRequest.h"
|
||||||
|
#include "model/PaginateProjectResult.h"
|
||||||
#include "model/RecognizeImageRequest.h"
|
#include "model/RecognizeImageRequest.h"
|
||||||
#include "model/RecognizeImageResult.h"
|
#include "model/RecognizeImageResult.h"
|
||||||
|
#include "model/SearchAggregateObjectRequest.h"
|
||||||
|
#include "model/SearchAggregateObjectResult.h"
|
||||||
#include "model/SearchObjectRequest.h"
|
#include "model/SearchObjectRequest.h"
|
||||||
#include "model/SearchObjectResult.h"
|
#include "model/SearchObjectResult.h"
|
||||||
#include "model/StopCdrsMonitorRequest.h"
|
#include "model/StopCdrsMonitorRequest.h"
|
||||||
#include "model/StopCdrsMonitorResult.h"
|
#include "model/StopCdrsMonitorResult.h"
|
||||||
|
#include "model/StopMonitorRequest.h"
|
||||||
|
#include "model/StopMonitorResult.h"
|
||||||
#include "model/UnbindDeviceRequest.h"
|
#include "model/UnbindDeviceRequest.h"
|
||||||
#include "model/UnbindDeviceResult.h"
|
#include "model/UnbindDeviceResult.h"
|
||||||
#include "model/UpdateCdrsMonitorRequest.h"
|
#include "model/UpdateCdrsMonitorRequest.h"
|
||||||
#include "model/UpdateCdrsMonitorResult.h"
|
#include "model/UpdateCdrsMonitorResult.h"
|
||||||
|
#include "model/UpdateMonitorRequest.h"
|
||||||
|
#include "model/UpdateMonitorResult.h"
|
||||||
#include "model/UpdateProjectRequest.h"
|
#include "model/UpdateProjectRequest.h"
|
||||||
#include "model/UpdateProjectResult.h"
|
#include "model/UpdateProjectResult.h"
|
||||||
|
|
||||||
@@ -114,6 +132,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::AddCdrsMonitorResult> AddCdrsMonitorOutcome;
|
typedef Outcome<Error, Model::AddCdrsMonitorResult> AddCdrsMonitorOutcome;
|
||||||
typedef std::future<AddCdrsMonitorOutcome> AddCdrsMonitorOutcomeCallable;
|
typedef std::future<AddCdrsMonitorOutcome> AddCdrsMonitorOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::AddCdrsMonitorRequest&, const AddCdrsMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCdrsMonitorAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::AddCdrsMonitorRequest&, const AddCdrsMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCdrsMonitorAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::AddMonitorResult> AddMonitorOutcome;
|
||||||
|
typedef std::future<AddMonitorOutcome> AddMonitorOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::AddMonitorRequest&, const AddMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddMonitorAsyncHandler;
|
||||||
typedef Outcome<Error, Model::BindDeviceResult> BindDeviceOutcome;
|
typedef Outcome<Error, Model::BindDeviceResult> BindDeviceOutcome;
|
||||||
typedef std::future<BindDeviceOutcome> BindDeviceOutcomeCallable;
|
typedef std::future<BindDeviceOutcome> BindDeviceOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::BindDeviceRequest&, const BindDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindDeviceAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::BindDeviceRequest&, const BindDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindDeviceAsyncHandler;
|
||||||
@@ -126,6 +147,15 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::GetCdrsMonitorResultResult> GetCdrsMonitorResultOutcome;
|
typedef Outcome<Error, Model::GetCdrsMonitorResultResult> GetCdrsMonitorResultOutcome;
|
||||||
typedef std::future<GetCdrsMonitorResultOutcome> GetCdrsMonitorResultOutcomeCallable;
|
typedef std::future<GetCdrsMonitorResultOutcome> GetCdrsMonitorResultOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::GetCdrsMonitorResultRequest&, const GetCdrsMonitorResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCdrsMonitorResultAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::GetCdrsMonitorResultRequest&, const GetCdrsMonitorResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCdrsMonitorResultAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetMonitorListResult> GetMonitorListOutcome;
|
||||||
|
typedef std::future<GetMonitorListOutcome> GetMonitorListOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::GetMonitorListRequest&, const GetMonitorListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMonitorListAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetMonitorResultResult> GetMonitorResultOutcome;
|
||||||
|
typedef std::future<GetMonitorResultOutcome> GetMonitorResultOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::GetMonitorResultRequest&, const GetMonitorResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMonitorResultAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListAreaHotSpotMetricsResult> ListAreaHotSpotMetricsOutcome;
|
||||||
|
typedef std::future<ListAreaHotSpotMetricsOutcome> ListAreaHotSpotMetricsOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::ListAreaHotSpotMetricsRequest&, const ListAreaHotSpotMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAreaHotSpotMetricsAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListCityMapAoisResult> ListCityMapAoisOutcome;
|
typedef Outcome<Error, Model::ListCityMapAoisResult> ListCityMapAoisOutcome;
|
||||||
typedef std::future<ListCityMapAoisOutcome> ListCityMapAoisOutcomeCallable;
|
typedef std::future<ListCityMapAoisOutcome> ListCityMapAoisOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListCityMapAoisRequest&, const ListCityMapAoisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCityMapAoisAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListCityMapAoisRequest&, const ListCityMapAoisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCityMapAoisAsyncHandler;
|
||||||
@@ -144,9 +174,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ListCityMapRangeStatisticResult> ListCityMapRangeStatisticOutcome;
|
typedef Outcome<Error, Model::ListCityMapRangeStatisticResult> ListCityMapRangeStatisticOutcome;
|
||||||
typedef std::future<ListCityMapRangeStatisticOutcome> ListCityMapRangeStatisticOutcomeCallable;
|
typedef std::future<ListCityMapRangeStatisticOutcome> ListCityMapRangeStatisticOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListCityMapRangeStatisticRequest&, const ListCityMapRangeStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCityMapRangeStatisticAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListCityMapRangeStatisticRequest&, const ListCityMapRangeStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCityMapRangeStatisticAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListCorpMetricsResult> ListCorpMetricsOutcome;
|
typedef Outcome<Error, Model::ListCorpMetricsStatisticResult> ListCorpMetricsStatisticOutcome;
|
||||||
typedef std::future<ListCorpMetricsOutcome> ListCorpMetricsOutcomeCallable;
|
typedef std::future<ListCorpMetricsStatisticOutcome> ListCorpMetricsStatisticOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListCorpMetricsRequest&, const ListCorpMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCorpMetricsAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListCorpMetricsStatisticRequest&, const ListCorpMetricsStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCorpMetricsStatisticAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListDataStatisticsResult> ListDataStatisticsOutcome;
|
typedef Outcome<Error, Model::ListDataStatisticsResult> ListDataStatisticsOutcome;
|
||||||
typedef std::future<ListDataStatisticsOutcome> ListDataStatisticsOutcomeCallable;
|
typedef std::future<ListDataStatisticsOutcome> ListDataStatisticsOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListDataStatisticsRequest&, const ListDataStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDataStatisticsAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListDataStatisticsRequest&, const ListDataStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDataStatisticsAsyncHandler;
|
||||||
@@ -165,12 +195,12 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ListDevicePersonStatisticsResult> ListDevicePersonStatisticsOutcome;
|
typedef Outcome<Error, Model::ListDevicePersonStatisticsResult> ListDevicePersonStatisticsOutcome;
|
||||||
typedef std::future<ListDevicePersonStatisticsOutcome> ListDevicePersonStatisticsOutcomeCallable;
|
typedef std::future<ListDevicePersonStatisticsOutcome> ListDevicePersonStatisticsOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListDevicePersonStatisticsRequest&, const ListDevicePersonStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevicePersonStatisticsAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListDevicePersonStatisticsRequest&, const ListDevicePersonStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevicePersonStatisticsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListDeviceRelationResult> ListDeviceRelationOutcome;
|
||||||
|
typedef std::future<ListDeviceRelationOutcome> ListDeviceRelationOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::ListDeviceRelationRequest&, const ListDeviceRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceRelationAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListMapRouteDetailsResult> ListMapRouteDetailsOutcome;
|
typedef Outcome<Error, Model::ListMapRouteDetailsResult> ListMapRouteDetailsOutcome;
|
||||||
typedef std::future<ListMapRouteDetailsOutcome> ListMapRouteDetailsOutcomeCallable;
|
typedef std::future<ListMapRouteDetailsOutcome> ListMapRouteDetailsOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListMapRouteDetailsRequest&, const ListMapRouteDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMapRouteDetailsAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListMapRouteDetailsRequest&, const ListMapRouteDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMapRouteDetailsAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListMetricsResult> ListMetricsOutcome;
|
|
||||||
typedef std::future<ListMetricsOutcome> ListMetricsOutcomeCallable;
|
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListMetricsRequest&, const ListMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMetricsAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::ListPersonDetailsResult> ListPersonDetailsOutcome;
|
typedef Outcome<Error, Model::ListPersonDetailsResult> ListPersonDetailsOutcome;
|
||||||
typedef std::future<ListPersonDetailsOutcome> ListPersonDetailsOutcomeCallable;
|
typedef std::future<ListPersonDetailsOutcome> ListPersonDetailsOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListPersonDetailsRequest&, const ListPersonDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonDetailsAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListPersonDetailsRequest&, const ListPersonDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonDetailsAsyncHandler;
|
||||||
@@ -183,9 +213,6 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ListPersonTopResult> ListPersonTopOutcome;
|
typedef Outcome<Error, Model::ListPersonTopResult> ListPersonTopOutcome;
|
||||||
typedef std::future<ListPersonTopOutcome> ListPersonTopOutcomeCallable;
|
typedef std::future<ListPersonTopOutcome> ListPersonTopOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListPersonTopRequest&, const ListPersonTopOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonTopAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListPersonTopRequest&, const ListPersonTopOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonTopAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListPersonTraceResult> ListPersonTraceOutcome;
|
|
||||||
typedef std::future<ListPersonTraceOutcome> ListPersonTraceOutcomeCallable;
|
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListPersonTraceRequest&, const ListPersonTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonTraceAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::ListPersonTrackResult> ListPersonTrackOutcome;
|
typedef Outcome<Error, Model::ListPersonTrackResult> ListPersonTrackOutcome;
|
||||||
typedef std::future<ListPersonTrackOutcome> ListPersonTrackOutcomeCallable;
|
typedef std::future<ListPersonTrackOutcome> ListPersonTrackOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListPersonTrackRequest&, const ListPersonTrackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonTrackAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListPersonTrackRequest&, const ListPersonTrackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonTrackAsyncHandler;
|
||||||
@@ -198,6 +225,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ListStructureStatisticsResult> ListStructureStatisticsOutcome;
|
typedef Outcome<Error, Model::ListStructureStatisticsResult> ListStructureStatisticsOutcome;
|
||||||
typedef std::future<ListStructureStatisticsOutcome> ListStructureStatisticsOutcomeCallable;
|
typedef std::future<ListStructureStatisticsOutcome> ListStructureStatisticsOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListStructureStatisticsRequest&, const ListStructureStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListStructureStatisticsAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListStructureStatisticsRequest&, const ListStructureStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListStructureStatisticsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListTagMetricsResult> ListTagMetricsOutcome;
|
||||||
|
typedef std::future<ListTagMetricsOutcome> ListTagMetricsOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::ListTagMetricsRequest&, const ListTagMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagMetricsAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListVehicleDetailsResult> ListVehicleDetailsOutcome;
|
typedef Outcome<Error, Model::ListVehicleDetailsResult> ListVehicleDetailsOutcome;
|
||||||
typedef std::future<ListVehicleDetailsOutcome> ListVehicleDetailsOutcomeCallable;
|
typedef std::future<ListVehicleDetailsOutcome> ListVehicleDetailsOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListVehicleDetailsRequest&, const ListVehicleDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVehicleDetailsAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListVehicleDetailsRequest&, const ListVehicleDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVehicleDetailsAsyncHandler;
|
||||||
@@ -213,21 +243,36 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ListVehicleTrackResult> ListVehicleTrackOutcome;
|
typedef Outcome<Error, Model::ListVehicleTrackResult> ListVehicleTrackOutcome;
|
||||||
typedef std::future<ListVehicleTrackOutcome> ListVehicleTrackOutcomeCallable;
|
typedef std::future<ListVehicleTrackOutcome> ListVehicleTrackOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListVehicleTrackRequest&, const ListVehicleTrackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVehicleTrackAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListVehicleTrackRequest&, const ListVehicleTrackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVehicleTrackAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::PaginateDeviceResult> PaginateDeviceOutcome;
|
||||||
|
typedef std::future<PaginateDeviceOutcome> PaginateDeviceOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::PaginateDeviceRequest&, const PaginateDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PaginateDeviceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::PaginateProjectResult> PaginateProjectOutcome;
|
||||||
|
typedef std::future<PaginateProjectOutcome> PaginateProjectOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::PaginateProjectRequest&, const PaginateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PaginateProjectAsyncHandler;
|
||||||
typedef Outcome<Error, Model::RecognizeImageResult> RecognizeImageOutcome;
|
typedef Outcome<Error, Model::RecognizeImageResult> RecognizeImageOutcome;
|
||||||
typedef std::future<RecognizeImageOutcome> RecognizeImageOutcomeCallable;
|
typedef std::future<RecognizeImageOutcome> RecognizeImageOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::RecognizeImageRequest&, const RecognizeImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecognizeImageAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::RecognizeImageRequest&, const RecognizeImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecognizeImageAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SearchAggregateObjectResult> SearchAggregateObjectOutcome;
|
||||||
|
typedef std::future<SearchAggregateObjectOutcome> SearchAggregateObjectOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::SearchAggregateObjectRequest&, const SearchAggregateObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAggregateObjectAsyncHandler;
|
||||||
typedef Outcome<Error, Model::SearchObjectResult> SearchObjectOutcome;
|
typedef Outcome<Error, Model::SearchObjectResult> SearchObjectOutcome;
|
||||||
typedef std::future<SearchObjectOutcome> SearchObjectOutcomeCallable;
|
typedef std::future<SearchObjectOutcome> SearchObjectOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::SearchObjectRequest&, const SearchObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchObjectAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::SearchObjectRequest&, const SearchObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchObjectAsyncHandler;
|
||||||
typedef Outcome<Error, Model::StopCdrsMonitorResult> StopCdrsMonitorOutcome;
|
typedef Outcome<Error, Model::StopCdrsMonitorResult> StopCdrsMonitorOutcome;
|
||||||
typedef std::future<StopCdrsMonitorOutcome> StopCdrsMonitorOutcomeCallable;
|
typedef std::future<StopCdrsMonitorOutcome> StopCdrsMonitorOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::StopCdrsMonitorRequest&, const StopCdrsMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopCdrsMonitorAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::StopCdrsMonitorRequest&, const StopCdrsMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopCdrsMonitorAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::StopMonitorResult> StopMonitorOutcome;
|
||||||
|
typedef std::future<StopMonitorOutcome> StopMonitorOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::StopMonitorRequest&, const StopMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMonitorAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UnbindDeviceResult> UnbindDeviceOutcome;
|
typedef Outcome<Error, Model::UnbindDeviceResult> UnbindDeviceOutcome;
|
||||||
typedef std::future<UnbindDeviceOutcome> UnbindDeviceOutcomeCallable;
|
typedef std::future<UnbindDeviceOutcome> UnbindDeviceOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::UnbindDeviceRequest&, const UnbindDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindDeviceAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::UnbindDeviceRequest&, const UnbindDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindDeviceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UpdateCdrsMonitorResult> UpdateCdrsMonitorOutcome;
|
typedef Outcome<Error, Model::UpdateCdrsMonitorResult> UpdateCdrsMonitorOutcome;
|
||||||
typedef std::future<UpdateCdrsMonitorOutcome> UpdateCdrsMonitorOutcomeCallable;
|
typedef std::future<UpdateCdrsMonitorOutcome> UpdateCdrsMonitorOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::UpdateCdrsMonitorRequest&, const UpdateCdrsMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCdrsMonitorAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::UpdateCdrsMonitorRequest&, const UpdateCdrsMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCdrsMonitorAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateMonitorResult> UpdateMonitorOutcome;
|
||||||
|
typedef std::future<UpdateMonitorOutcome> UpdateMonitorOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::UpdateMonitorRequest&, const UpdateMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMonitorAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
|
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
|
||||||
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
|
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
|
||||||
@@ -239,6 +284,9 @@ namespace AlibabaCloud
|
|||||||
AddCdrsMonitorOutcome addCdrsMonitor(const Model::AddCdrsMonitorRequest &request)const;
|
AddCdrsMonitorOutcome addCdrsMonitor(const Model::AddCdrsMonitorRequest &request)const;
|
||||||
void addCdrsMonitorAsync(const Model::AddCdrsMonitorRequest& request, const AddCdrsMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void addCdrsMonitorAsync(const Model::AddCdrsMonitorRequest& request, const AddCdrsMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
AddCdrsMonitorOutcomeCallable addCdrsMonitorCallable(const Model::AddCdrsMonitorRequest& request) const;
|
AddCdrsMonitorOutcomeCallable addCdrsMonitorCallable(const Model::AddCdrsMonitorRequest& request) const;
|
||||||
|
AddMonitorOutcome addMonitor(const Model::AddMonitorRequest &request)const;
|
||||||
|
void addMonitorAsync(const Model::AddMonitorRequest& request, const AddMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
AddMonitorOutcomeCallable addMonitorCallable(const Model::AddMonitorRequest& request) const;
|
||||||
BindDeviceOutcome bindDevice(const Model::BindDeviceRequest &request)const;
|
BindDeviceOutcome bindDevice(const Model::BindDeviceRequest &request)const;
|
||||||
void bindDeviceAsync(const Model::BindDeviceRequest& request, const BindDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void bindDeviceAsync(const Model::BindDeviceRequest& request, const BindDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
BindDeviceOutcomeCallable bindDeviceCallable(const Model::BindDeviceRequest& request) const;
|
BindDeviceOutcomeCallable bindDeviceCallable(const Model::BindDeviceRequest& request) const;
|
||||||
@@ -251,6 +299,15 @@ namespace AlibabaCloud
|
|||||||
GetCdrsMonitorResultOutcome getCdrsMonitorResult(const Model::GetCdrsMonitorResultRequest &request)const;
|
GetCdrsMonitorResultOutcome getCdrsMonitorResult(const Model::GetCdrsMonitorResultRequest &request)const;
|
||||||
void getCdrsMonitorResultAsync(const Model::GetCdrsMonitorResultRequest& request, const GetCdrsMonitorResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getCdrsMonitorResultAsync(const Model::GetCdrsMonitorResultRequest& request, const GetCdrsMonitorResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetCdrsMonitorResultOutcomeCallable getCdrsMonitorResultCallable(const Model::GetCdrsMonitorResultRequest& request) const;
|
GetCdrsMonitorResultOutcomeCallable getCdrsMonitorResultCallable(const Model::GetCdrsMonitorResultRequest& request) const;
|
||||||
|
GetMonitorListOutcome getMonitorList(const Model::GetMonitorListRequest &request)const;
|
||||||
|
void getMonitorListAsync(const Model::GetMonitorListRequest& request, const GetMonitorListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetMonitorListOutcomeCallable getMonitorListCallable(const Model::GetMonitorListRequest& request) const;
|
||||||
|
GetMonitorResultOutcome getMonitorResult(const Model::GetMonitorResultRequest &request)const;
|
||||||
|
void getMonitorResultAsync(const Model::GetMonitorResultRequest& request, const GetMonitorResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetMonitorResultOutcomeCallable getMonitorResultCallable(const Model::GetMonitorResultRequest& request) const;
|
||||||
|
ListAreaHotSpotMetricsOutcome listAreaHotSpotMetrics(const Model::ListAreaHotSpotMetricsRequest &request)const;
|
||||||
|
void listAreaHotSpotMetricsAsync(const Model::ListAreaHotSpotMetricsRequest& request, const ListAreaHotSpotMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListAreaHotSpotMetricsOutcomeCallable listAreaHotSpotMetricsCallable(const Model::ListAreaHotSpotMetricsRequest& request) const;
|
||||||
ListCityMapAoisOutcome listCityMapAois(const Model::ListCityMapAoisRequest &request)const;
|
ListCityMapAoisOutcome listCityMapAois(const Model::ListCityMapAoisRequest &request)const;
|
||||||
void listCityMapAoisAsync(const Model::ListCityMapAoisRequest& request, const ListCityMapAoisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listCityMapAoisAsync(const Model::ListCityMapAoisRequest& request, const ListCityMapAoisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListCityMapAoisOutcomeCallable listCityMapAoisCallable(const Model::ListCityMapAoisRequest& request) const;
|
ListCityMapAoisOutcomeCallable listCityMapAoisCallable(const Model::ListCityMapAoisRequest& request) const;
|
||||||
@@ -269,9 +326,9 @@ namespace AlibabaCloud
|
|||||||
ListCityMapRangeStatisticOutcome listCityMapRangeStatistic(const Model::ListCityMapRangeStatisticRequest &request)const;
|
ListCityMapRangeStatisticOutcome listCityMapRangeStatistic(const Model::ListCityMapRangeStatisticRequest &request)const;
|
||||||
void listCityMapRangeStatisticAsync(const Model::ListCityMapRangeStatisticRequest& request, const ListCityMapRangeStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listCityMapRangeStatisticAsync(const Model::ListCityMapRangeStatisticRequest& request, const ListCityMapRangeStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListCityMapRangeStatisticOutcomeCallable listCityMapRangeStatisticCallable(const Model::ListCityMapRangeStatisticRequest& request) const;
|
ListCityMapRangeStatisticOutcomeCallable listCityMapRangeStatisticCallable(const Model::ListCityMapRangeStatisticRequest& request) const;
|
||||||
ListCorpMetricsOutcome listCorpMetrics(const Model::ListCorpMetricsRequest &request)const;
|
ListCorpMetricsStatisticOutcome listCorpMetricsStatistic(const Model::ListCorpMetricsStatisticRequest &request)const;
|
||||||
void listCorpMetricsAsync(const Model::ListCorpMetricsRequest& request, const ListCorpMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listCorpMetricsStatisticAsync(const Model::ListCorpMetricsStatisticRequest& request, const ListCorpMetricsStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListCorpMetricsOutcomeCallable listCorpMetricsCallable(const Model::ListCorpMetricsRequest& request) const;
|
ListCorpMetricsStatisticOutcomeCallable listCorpMetricsStatisticCallable(const Model::ListCorpMetricsStatisticRequest& request) const;
|
||||||
ListDataStatisticsOutcome listDataStatistics(const Model::ListDataStatisticsRequest &request)const;
|
ListDataStatisticsOutcome listDataStatistics(const Model::ListDataStatisticsRequest &request)const;
|
||||||
void listDataStatisticsAsync(const Model::ListDataStatisticsRequest& request, const ListDataStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listDataStatisticsAsync(const Model::ListDataStatisticsRequest& request, const ListDataStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListDataStatisticsOutcomeCallable listDataStatisticsCallable(const Model::ListDataStatisticsRequest& request) const;
|
ListDataStatisticsOutcomeCallable listDataStatisticsCallable(const Model::ListDataStatisticsRequest& request) const;
|
||||||
@@ -290,12 +347,12 @@ namespace AlibabaCloud
|
|||||||
ListDevicePersonStatisticsOutcome listDevicePersonStatistics(const Model::ListDevicePersonStatisticsRequest &request)const;
|
ListDevicePersonStatisticsOutcome listDevicePersonStatistics(const Model::ListDevicePersonStatisticsRequest &request)const;
|
||||||
void listDevicePersonStatisticsAsync(const Model::ListDevicePersonStatisticsRequest& request, const ListDevicePersonStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listDevicePersonStatisticsAsync(const Model::ListDevicePersonStatisticsRequest& request, const ListDevicePersonStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListDevicePersonStatisticsOutcomeCallable listDevicePersonStatisticsCallable(const Model::ListDevicePersonStatisticsRequest& request) const;
|
ListDevicePersonStatisticsOutcomeCallable listDevicePersonStatisticsCallable(const Model::ListDevicePersonStatisticsRequest& request) const;
|
||||||
|
ListDeviceRelationOutcome listDeviceRelation(const Model::ListDeviceRelationRequest &request)const;
|
||||||
|
void listDeviceRelationAsync(const Model::ListDeviceRelationRequest& request, const ListDeviceRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListDeviceRelationOutcomeCallable listDeviceRelationCallable(const Model::ListDeviceRelationRequest& request) const;
|
||||||
ListMapRouteDetailsOutcome listMapRouteDetails(const Model::ListMapRouteDetailsRequest &request)const;
|
ListMapRouteDetailsOutcome listMapRouteDetails(const Model::ListMapRouteDetailsRequest &request)const;
|
||||||
void listMapRouteDetailsAsync(const Model::ListMapRouteDetailsRequest& request, const ListMapRouteDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listMapRouteDetailsAsync(const Model::ListMapRouteDetailsRequest& request, const ListMapRouteDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListMapRouteDetailsOutcomeCallable listMapRouteDetailsCallable(const Model::ListMapRouteDetailsRequest& request) const;
|
ListMapRouteDetailsOutcomeCallable listMapRouteDetailsCallable(const Model::ListMapRouteDetailsRequest& request) const;
|
||||||
ListMetricsOutcome listMetrics(const Model::ListMetricsRequest &request)const;
|
|
||||||
void listMetricsAsync(const Model::ListMetricsRequest& request, const ListMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
ListMetricsOutcomeCallable listMetricsCallable(const Model::ListMetricsRequest& request) const;
|
|
||||||
ListPersonDetailsOutcome listPersonDetails(const Model::ListPersonDetailsRequest &request)const;
|
ListPersonDetailsOutcome listPersonDetails(const Model::ListPersonDetailsRequest &request)const;
|
||||||
void listPersonDetailsAsync(const Model::ListPersonDetailsRequest& request, const ListPersonDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listPersonDetailsAsync(const Model::ListPersonDetailsRequest& request, const ListPersonDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListPersonDetailsOutcomeCallable listPersonDetailsCallable(const Model::ListPersonDetailsRequest& request) const;
|
ListPersonDetailsOutcomeCallable listPersonDetailsCallable(const Model::ListPersonDetailsRequest& request) const;
|
||||||
@@ -308,9 +365,6 @@ namespace AlibabaCloud
|
|||||||
ListPersonTopOutcome listPersonTop(const Model::ListPersonTopRequest &request)const;
|
ListPersonTopOutcome listPersonTop(const Model::ListPersonTopRequest &request)const;
|
||||||
void listPersonTopAsync(const Model::ListPersonTopRequest& request, const ListPersonTopAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listPersonTopAsync(const Model::ListPersonTopRequest& request, const ListPersonTopAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListPersonTopOutcomeCallable listPersonTopCallable(const Model::ListPersonTopRequest& request) const;
|
ListPersonTopOutcomeCallable listPersonTopCallable(const Model::ListPersonTopRequest& request) const;
|
||||||
ListPersonTraceOutcome listPersonTrace(const Model::ListPersonTraceRequest &request)const;
|
|
||||||
void listPersonTraceAsync(const Model::ListPersonTraceRequest& request, const ListPersonTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
ListPersonTraceOutcomeCallable listPersonTraceCallable(const Model::ListPersonTraceRequest& request) const;
|
|
||||||
ListPersonTrackOutcome listPersonTrack(const Model::ListPersonTrackRequest &request)const;
|
ListPersonTrackOutcome listPersonTrack(const Model::ListPersonTrackRequest &request)const;
|
||||||
void listPersonTrackAsync(const Model::ListPersonTrackRequest& request, const ListPersonTrackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listPersonTrackAsync(const Model::ListPersonTrackRequest& request, const ListPersonTrackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListPersonTrackOutcomeCallable listPersonTrackCallable(const Model::ListPersonTrackRequest& request) const;
|
ListPersonTrackOutcomeCallable listPersonTrackCallable(const Model::ListPersonTrackRequest& request) const;
|
||||||
@@ -323,6 +377,9 @@ namespace AlibabaCloud
|
|||||||
ListStructureStatisticsOutcome listStructureStatistics(const Model::ListStructureStatisticsRequest &request)const;
|
ListStructureStatisticsOutcome listStructureStatistics(const Model::ListStructureStatisticsRequest &request)const;
|
||||||
void listStructureStatisticsAsync(const Model::ListStructureStatisticsRequest& request, const ListStructureStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listStructureStatisticsAsync(const Model::ListStructureStatisticsRequest& request, const ListStructureStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListStructureStatisticsOutcomeCallable listStructureStatisticsCallable(const Model::ListStructureStatisticsRequest& request) const;
|
ListStructureStatisticsOutcomeCallable listStructureStatisticsCallable(const Model::ListStructureStatisticsRequest& request) const;
|
||||||
|
ListTagMetricsOutcome listTagMetrics(const Model::ListTagMetricsRequest &request)const;
|
||||||
|
void listTagMetricsAsync(const Model::ListTagMetricsRequest& request, const ListTagMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListTagMetricsOutcomeCallable listTagMetricsCallable(const Model::ListTagMetricsRequest& request) const;
|
||||||
ListVehicleDetailsOutcome listVehicleDetails(const Model::ListVehicleDetailsRequest &request)const;
|
ListVehicleDetailsOutcome listVehicleDetails(const Model::ListVehicleDetailsRequest &request)const;
|
||||||
void listVehicleDetailsAsync(const Model::ListVehicleDetailsRequest& request, const ListVehicleDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listVehicleDetailsAsync(const Model::ListVehicleDetailsRequest& request, const ListVehicleDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListVehicleDetailsOutcomeCallable listVehicleDetailsCallable(const Model::ListVehicleDetailsRequest& request) const;
|
ListVehicleDetailsOutcomeCallable listVehicleDetailsCallable(const Model::ListVehicleDetailsRequest& request) const;
|
||||||
@@ -338,21 +395,36 @@ namespace AlibabaCloud
|
|||||||
ListVehicleTrackOutcome listVehicleTrack(const Model::ListVehicleTrackRequest &request)const;
|
ListVehicleTrackOutcome listVehicleTrack(const Model::ListVehicleTrackRequest &request)const;
|
||||||
void listVehicleTrackAsync(const Model::ListVehicleTrackRequest& request, const ListVehicleTrackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listVehicleTrackAsync(const Model::ListVehicleTrackRequest& request, const ListVehicleTrackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListVehicleTrackOutcomeCallable listVehicleTrackCallable(const Model::ListVehicleTrackRequest& request) const;
|
ListVehicleTrackOutcomeCallable listVehicleTrackCallable(const Model::ListVehicleTrackRequest& request) const;
|
||||||
|
PaginateDeviceOutcome paginateDevice(const Model::PaginateDeviceRequest &request)const;
|
||||||
|
void paginateDeviceAsync(const Model::PaginateDeviceRequest& request, const PaginateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
PaginateDeviceOutcomeCallable paginateDeviceCallable(const Model::PaginateDeviceRequest& request) const;
|
||||||
|
PaginateProjectOutcome paginateProject(const Model::PaginateProjectRequest &request)const;
|
||||||
|
void paginateProjectAsync(const Model::PaginateProjectRequest& request, const PaginateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
PaginateProjectOutcomeCallable paginateProjectCallable(const Model::PaginateProjectRequest& request) const;
|
||||||
RecognizeImageOutcome recognizeImage(const Model::RecognizeImageRequest &request)const;
|
RecognizeImageOutcome recognizeImage(const Model::RecognizeImageRequest &request)const;
|
||||||
void recognizeImageAsync(const Model::RecognizeImageRequest& request, const RecognizeImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void recognizeImageAsync(const Model::RecognizeImageRequest& request, const RecognizeImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
RecognizeImageOutcomeCallable recognizeImageCallable(const Model::RecognizeImageRequest& request) const;
|
RecognizeImageOutcomeCallable recognizeImageCallable(const Model::RecognizeImageRequest& request) const;
|
||||||
|
SearchAggregateObjectOutcome searchAggregateObject(const Model::SearchAggregateObjectRequest &request)const;
|
||||||
|
void searchAggregateObjectAsync(const Model::SearchAggregateObjectRequest& request, const SearchAggregateObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SearchAggregateObjectOutcomeCallable searchAggregateObjectCallable(const Model::SearchAggregateObjectRequest& request) const;
|
||||||
SearchObjectOutcome searchObject(const Model::SearchObjectRequest &request)const;
|
SearchObjectOutcome searchObject(const Model::SearchObjectRequest &request)const;
|
||||||
void searchObjectAsync(const Model::SearchObjectRequest& request, const SearchObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void searchObjectAsync(const Model::SearchObjectRequest& request, const SearchObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SearchObjectOutcomeCallable searchObjectCallable(const Model::SearchObjectRequest& request) const;
|
SearchObjectOutcomeCallable searchObjectCallable(const Model::SearchObjectRequest& request) const;
|
||||||
StopCdrsMonitorOutcome stopCdrsMonitor(const Model::StopCdrsMonitorRequest &request)const;
|
StopCdrsMonitorOutcome stopCdrsMonitor(const Model::StopCdrsMonitorRequest &request)const;
|
||||||
void stopCdrsMonitorAsync(const Model::StopCdrsMonitorRequest& request, const StopCdrsMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void stopCdrsMonitorAsync(const Model::StopCdrsMonitorRequest& request, const StopCdrsMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
StopCdrsMonitorOutcomeCallable stopCdrsMonitorCallable(const Model::StopCdrsMonitorRequest& request) const;
|
StopCdrsMonitorOutcomeCallable stopCdrsMonitorCallable(const Model::StopCdrsMonitorRequest& request) const;
|
||||||
|
StopMonitorOutcome stopMonitor(const Model::StopMonitorRequest &request)const;
|
||||||
|
void stopMonitorAsync(const Model::StopMonitorRequest& request, const StopMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
StopMonitorOutcomeCallable stopMonitorCallable(const Model::StopMonitorRequest& request) const;
|
||||||
UnbindDeviceOutcome unbindDevice(const Model::UnbindDeviceRequest &request)const;
|
UnbindDeviceOutcome unbindDevice(const Model::UnbindDeviceRequest &request)const;
|
||||||
void unbindDeviceAsync(const Model::UnbindDeviceRequest& request, const UnbindDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void unbindDeviceAsync(const Model::UnbindDeviceRequest& request, const UnbindDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UnbindDeviceOutcomeCallable unbindDeviceCallable(const Model::UnbindDeviceRequest& request) const;
|
UnbindDeviceOutcomeCallable unbindDeviceCallable(const Model::UnbindDeviceRequest& request) const;
|
||||||
UpdateCdrsMonitorOutcome updateCdrsMonitor(const Model::UpdateCdrsMonitorRequest &request)const;
|
UpdateCdrsMonitorOutcome updateCdrsMonitor(const Model::UpdateCdrsMonitorRequest &request)const;
|
||||||
void updateCdrsMonitorAsync(const Model::UpdateCdrsMonitorRequest& request, const UpdateCdrsMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateCdrsMonitorAsync(const Model::UpdateCdrsMonitorRequest& request, const UpdateCdrsMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateCdrsMonitorOutcomeCallable updateCdrsMonitorCallable(const Model::UpdateCdrsMonitorRequest& request) const;
|
UpdateCdrsMonitorOutcomeCallable updateCdrsMonitorCallable(const Model::UpdateCdrsMonitorRequest& request) const;
|
||||||
|
UpdateMonitorOutcome updateMonitor(const Model::UpdateMonitorRequest &request)const;
|
||||||
|
void updateMonitorAsync(const Model::UpdateMonitorRequest& request, const UpdateMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateMonitorOutcomeCallable updateMonitorCallable(const Model::UpdateMonitorRequest& request) const;
|
||||||
UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const;
|
UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const;
|
||||||
void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const;
|
UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const;
|
||||||
|
|||||||
78
cdrs/include/alibabacloud/cdrs/model/AddMonitorRequest.h
Normal file
78
cdrs/include/alibabacloud/cdrs/model/AddMonitorRequest.h
Normal 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_CDRS_MODEL_ADDMONITORREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CDRS_MODEL_ADDMONITORREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace CDRS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CDRS_EXPORT AddMonitorRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
AddMonitorRequest();
|
||||||
|
~AddMonitorRequest();
|
||||||
|
|
||||||
|
std::string getMonitorType()const;
|
||||||
|
void setMonitorType(const std::string& monitorType);
|
||||||
|
std::string getCorpId()const;
|
||||||
|
void setCorpId(const std::string& corpId);
|
||||||
|
std::string getDescription()const;
|
||||||
|
void setDescription(const std::string& description);
|
||||||
|
std::string getNotifierAppSecret()const;
|
||||||
|
void setNotifierAppSecret(const std::string& notifierAppSecret);
|
||||||
|
std::string getNotifierExtendValues()const;
|
||||||
|
void setNotifierExtendValues(const std::string& notifierExtendValues);
|
||||||
|
std::string getNotifierUrl()const;
|
||||||
|
void setNotifierUrl(const std::string& notifierUrl);
|
||||||
|
std::string getNotifierType()const;
|
||||||
|
void setNotifierType(const std::string& notifierType);
|
||||||
|
int getBatchIndicator()const;
|
||||||
|
void setBatchIndicator(int batchIndicator);
|
||||||
|
std::string getBizId()const;
|
||||||
|
void setBizId(const std::string& bizId);
|
||||||
|
int getNotifierTimeOut()const;
|
||||||
|
void setNotifierTimeOut(int notifierTimeOut);
|
||||||
|
std::string getAlgorithmVendor()const;
|
||||||
|
void setAlgorithmVendor(const std::string& algorithmVendor);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string monitorType_;
|
||||||
|
std::string corpId_;
|
||||||
|
std::string description_;
|
||||||
|
std::string notifierAppSecret_;
|
||||||
|
std::string notifierExtendValues_;
|
||||||
|
std::string notifierUrl_;
|
||||||
|
std::string notifierType_;
|
||||||
|
int batchIndicator_;
|
||||||
|
std::string bizId_;
|
||||||
|
int notifierTimeOut_;
|
||||||
|
std::string algorithmVendor_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CDRS_MODEL_ADDMONITORREQUEST_H_
|
||||||
59
cdrs/include/alibabacloud/cdrs/model/AddMonitorResult.h
Normal file
59
cdrs/include/alibabacloud/cdrs/model/AddMonitorResult.h
Normal 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_CDRS_MODEL_ADDMONITORRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CDRS_MODEL_ADDMONITORRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace CDRS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CDRS_EXPORT AddMonitorResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string taskId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
AddMonitorResult();
|
||||||
|
explicit AddMonitorResult(const std::string &payload);
|
||||||
|
~AddMonitorResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CDRS_MODEL_ADDMONITORRESULT_H_
|
||||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
|||||||
void set_NameSpace(const std::string& _nameSpace);
|
void set_NameSpace(const std::string& _nameSpace);
|
||||||
std::string getName()const;
|
std::string getName()const;
|
||||||
void setName(const std::string& name);
|
void setName(const std::string& name);
|
||||||
|
std::string getAggregateSceneCode()const;
|
||||||
|
void setAggregateSceneCode(const std::string& aggregateSceneCode);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string clientToken_;
|
std::string clientToken_;
|
||||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
|||||||
std::string appName_;
|
std::string appName_;
|
||||||
std::string _nameSpace_;
|
std::string _nameSpace_;
|
||||||
std::string name_;
|
std::string name_;
|
||||||
|
std::string aggregateSceneCode_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,11 +41,14 @@ namespace AlibabaCloud
|
|||||||
void setPageNo(int pageNo);
|
void setPageNo(int pageNo);
|
||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
|
std::string getBizId()const;
|
||||||
|
void setBizId(const std::string& bizId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string corpId_;
|
std::string corpId_;
|
||||||
int pageNo_;
|
int pageNo_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
|
std::string bizId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
|||||||
void setEndTime(long endTime);
|
void setEndTime(long endTime);
|
||||||
long getStartTime()const;
|
long getStartTime()const;
|
||||||
void setStartTime(long startTime);
|
void setStartTime(long startTime);
|
||||||
|
std::string getBizId()const;
|
||||||
|
void setBizId(const std::string& bizId);
|
||||||
std::string getAlgorithmVendor()const;
|
std::string getAlgorithmVendor()const;
|
||||||
void setAlgorithmVendor(const std::string& algorithmVendor);
|
void setAlgorithmVendor(const std::string& algorithmVendor);
|
||||||
std::string getMinRecordId()const;
|
std::string getMinRecordId()const;
|
||||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
|||||||
std::string corpId_;
|
std::string corpId_;
|
||||||
long endTime_;
|
long endTime_;
|
||||||
long startTime_;
|
long startTime_;
|
||||||
|
std::string bizId_;
|
||||||
std::string algorithmVendor_;
|
std::string algorithmVendor_;
|
||||||
std::string minRecordId_;
|
std::string minRecordId_;
|
||||||
std::string taskId_;
|
std::string taskId_;
|
||||||
|
|||||||
@@ -36,9 +36,14 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
struct RecordsItem
|
struct RecordsItem
|
||||||
{
|
{
|
||||||
|
struct ExtendInfo
|
||||||
|
{
|
||||||
|
std::string plateNo;
|
||||||
|
};
|
||||||
std::string leftUpX;
|
std::string leftUpX;
|
||||||
std::string leftUpY;
|
std::string leftUpY;
|
||||||
std::string score;
|
std::string score;
|
||||||
|
std::string taskId;
|
||||||
std::string targetPicUrl;
|
std::string targetPicUrl;
|
||||||
std::string rightBottomX;
|
std::string rightBottomX;
|
||||||
std::string rightBottomY;
|
std::string rightBottomY;
|
||||||
@@ -46,6 +51,7 @@ namespace AlibabaCloud
|
|||||||
std::string monitorPicUrl;
|
std::string monitorPicUrl;
|
||||||
std::string shotTime;
|
std::string shotTime;
|
||||||
std::string picUrl;
|
std::string picUrl;
|
||||||
|
ExtendInfo extendInfo;
|
||||||
};
|
};
|
||||||
std::string maxId;
|
std::string maxId;
|
||||||
std::vector<RecordsItem> records;
|
std::vector<RecordsItem> records;
|
||||||
|
|||||||
57
cdrs/include/alibabacloud/cdrs/model/GetMonitorListRequest.h
Normal file
57
cdrs/include/alibabacloud/cdrs/model/GetMonitorListRequest.h
Normal 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_CDRS_MODEL_GETMONITORLISTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CDRS_MODEL_GETMONITORLISTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace CDRS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CDRS_EXPORT GetMonitorListRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
GetMonitorListRequest();
|
||||||
|
~GetMonitorListRequest();
|
||||||
|
|
||||||
|
std::string getCorpId()const;
|
||||||
|
void setCorpId(const std::string& corpId);
|
||||||
|
int getPageNumber()const;
|
||||||
|
void setPageNumber(int pageNumber);
|
||||||
|
int getPageSize()const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getBizId()const;
|
||||||
|
void setBizId(const std::string& bizId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string corpId_;
|
||||||
|
int pageNumber_;
|
||||||
|
int pageSize_;
|
||||||
|
std::string bizId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CDRS_MODEL_GETMONITORLISTREQUEST_H_
|
||||||
81
cdrs/include/alibabacloud/cdrs/model/GetMonitorListResult.h
Normal file
81
cdrs/include/alibabacloud/cdrs/model/GetMonitorListResult.h
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CDRS_MODEL_GETMONITORLISTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CDRS_MODEL_GETMONITORLISTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace CDRS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CDRS_EXPORT GetMonitorListResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
struct Record
|
||||||
|
{
|
||||||
|
std::string status;
|
||||||
|
std::string taskId;
|
||||||
|
std::string description;
|
||||||
|
std::string monitorType;
|
||||||
|
std::string imageMatch;
|
||||||
|
std::string attributes;
|
||||||
|
std::string deviceList;
|
||||||
|
std::string modifiedDate;
|
||||||
|
std::string createDate;
|
||||||
|
std::string notifierType;
|
||||||
|
std::string ruleExpression;
|
||||||
|
std::string algorithmVendor;
|
||||||
|
std::string expression;
|
||||||
|
std::string ruleName;
|
||||||
|
std::string notifierExtra;
|
||||||
|
};
|
||||||
|
int totalCount;
|
||||||
|
int pageSize;
|
||||||
|
int totalPage;
|
||||||
|
int pageNumber;
|
||||||
|
std::vector<Record> records;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GetMonitorListResult();
|
||||||
|
explicit GetMonitorListResult(const std::string &payload);
|
||||||
|
~GetMonitorListResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CDRS_MODEL_GETMONITORLISTRESULT_H_
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CDRS_MODEL_GETMONITORRESULTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CDRS_MODEL_GETMONITORRESULTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace CDRS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CDRS_EXPORT GetMonitorResultRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
GetMonitorResultRequest();
|
||||||
|
~GetMonitorResultRequest();
|
||||||
|
|
||||||
|
std::string getCorpId()const;
|
||||||
|
void setCorpId(const std::string& corpId);
|
||||||
|
long getEndTime()const;
|
||||||
|
void setEndTime(long endTime);
|
||||||
|
long getStartTime()const;
|
||||||
|
void setStartTime(long startTime);
|
||||||
|
std::string getBizId()const;
|
||||||
|
void setBizId(const std::string& bizId);
|
||||||
|
std::string getAlgorithmVendor()const;
|
||||||
|
void setAlgorithmVendor(const std::string& algorithmVendor);
|
||||||
|
std::string getMinRecordId()const;
|
||||||
|
void setMinRecordId(const std::string& minRecordId);
|
||||||
|
std::string getTaskId()const;
|
||||||
|
void setTaskId(const std::string& taskId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string corpId_;
|
||||||
|
long endTime_;
|
||||||
|
long startTime_;
|
||||||
|
std::string bizId_;
|
||||||
|
std::string algorithmVendor_;
|
||||||
|
std::string minRecordId_;
|
||||||
|
std::string taskId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CDRS_MODEL_GETMONITORRESULTREQUEST_H_
|
||||||
@@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CDRS_MODEL_GETMONITORRESULTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CDRS_MODEL_GETMONITORRESULTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace CDRS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CDRS_EXPORT GetMonitorResultResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
struct RecordsItem
|
||||||
|
{
|
||||||
|
struct ExtendInfo
|
||||||
|
{
|
||||||
|
std::string plateNo;
|
||||||
|
};
|
||||||
|
std::string leftUpX;
|
||||||
|
std::string leftUpY;
|
||||||
|
std::string score;
|
||||||
|
std::string taskId;
|
||||||
|
std::string targetPicUrl;
|
||||||
|
std::string rightBottomX;
|
||||||
|
std::string rightBottomY;
|
||||||
|
std::string gbId;
|
||||||
|
std::string monitorPicUrl;
|
||||||
|
std::string shotTime;
|
||||||
|
std::string picUrl;
|
||||||
|
ExtendInfo extendInfo;
|
||||||
|
};
|
||||||
|
std::string maxId;
|
||||||
|
std::vector<RecordsItem> records;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GetMonitorResultResult();
|
||||||
|
explicit GetMonitorResultResult(const std::string &payload);
|
||||||
|
~GetMonitorResultResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CDRS_MODEL_GETMONITORRESULTRESULT_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTPERSONTRACEREQUEST_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTAREAHOTSPOTMETRICSREQUEST_H_
|
||||||
#define ALIBABACLOUD_CDRS_MODEL_LISTPERSONTRACEREQUEST_H_
|
#define ALIBABACLOUD_CDRS_MODEL_LISTAREAHOTSPOTMETRICSREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,39 +28,42 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonTraceRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CDRS_EXPORT ListAreaHotSpotMetricsRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ListPersonTraceRequest();
|
ListAreaHotSpotMetricsRequest();
|
||||||
~ListPersonTraceRequest();
|
~ListAreaHotSpotMetricsRequest();
|
||||||
|
|
||||||
|
std::string getSchema()const;
|
||||||
|
void setSchema(const std::string& schema);
|
||||||
std::string getCorpId()const;
|
std::string getCorpId()const;
|
||||||
void setCorpId(const std::string& corpId);
|
void setCorpId(const std::string& corpId);
|
||||||
std::string getEndTime()const;
|
std::string getEndTime()const;
|
||||||
void setEndTime(const std::string& endTime);
|
void setEndTime(const std::string& endTime);
|
||||||
std::string getStartTime()const;
|
std::string getStartTime()const;
|
||||||
void setStartTime(const std::string& startTime);
|
void setStartTime(const std::string& startTime);
|
||||||
|
std::string getDeviceId()const;
|
||||||
|
void setDeviceId(const std::string& deviceId);
|
||||||
std::string getPageNumber()const;
|
std::string getPageNumber()const;
|
||||||
void setPageNumber(const std::string& pageNumber);
|
void setPageNumber(const std::string& pageNumber);
|
||||||
std::string getPageSize()const;
|
std::string getPageSize()const;
|
||||||
void setPageSize(const std::string& pageSize);
|
void setPageSize(const std::string& pageSize);
|
||||||
std::string getDataSourceId()const;
|
|
||||||
void setDataSourceId(const std::string& dataSourceId);
|
|
||||||
std::string getPersonId()const;
|
std::string getPersonId()const;
|
||||||
void setPersonId(const std::string& personId);
|
void setPersonId(const std::string& personId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string schema_;
|
||||||
std::string corpId_;
|
std::string corpId_;
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
|
std::string deviceId_;
|
||||||
std::string pageNumber_;
|
std::string pageNumber_;
|
||||||
std::string pageSize_;
|
std::string pageSize_;
|
||||||
std::string dataSourceId_;
|
|
||||||
std::string personId_;
|
std::string personId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTPERSONTRACEREQUEST_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTAREAHOTSPOTMETRICSREQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTPERSONTRACERESULT_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTAREAHOTSPOTMETRICSRESULT_H_
|
||||||
#define ALIBABACLOUD_CDRS_MODEL_LISTPERSONTRACERESULT_H_
|
#define ALIBABACLOUD_CDRS_MODEL_LISTAREAHOTSPOTMETRICSRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,49 +29,41 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonTraceResult : public ServiceResult
|
class ALIBABACLOUD_CDRS_EXPORT ListAreaHotSpotMetricsResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct DataItem
|
struct DataItem
|
||||||
{
|
{
|
||||||
std::string startTargetImage;
|
|
||||||
std::string startSourceImage;
|
|
||||||
std::string corpId;
|
|
||||||
std::string personId;
|
std::string personId;
|
||||||
std::string deviceId;
|
std::string deviceId;
|
||||||
std::string endTargetImage;
|
std::string times;
|
||||||
std::string startTime;
|
std::string coordinates;
|
||||||
std::string endSourceImage;
|
std::string intervalTime;
|
||||||
std::string date;
|
|
||||||
std::string lastTime;
|
|
||||||
std::string groupId;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
ListPersonTraceResult();
|
ListAreaHotSpotMetricsResult();
|
||||||
explicit ListPersonTraceResult(const std::string &payload);
|
explicit ListAreaHotSpotMetricsResult(const std::string &payload);
|
||||||
~ListPersonTraceResult();
|
~ListAreaHotSpotMetricsResult();
|
||||||
int getTotalCount()const;
|
std::string getTotalCount()const;
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
int getPageSize()const;
|
std::string getPageSize()const;
|
||||||
int getPageNumber()const;
|
std::string getPageNumber()const;
|
||||||
std::vector<DataItem> getData()const;
|
std::vector<DataItem> getData()const;
|
||||||
std::string getCode()const;
|
std::string getCode()const;
|
||||||
std::string getSuccess()const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
int totalCount_;
|
std::string totalCount_;
|
||||||
std::string message_;
|
std::string message_;
|
||||||
int pageSize_;
|
std::string pageSize_;
|
||||||
int pageNumber_;
|
std::string pageNumber_;
|
||||||
std::vector<DataItem> data_;
|
std::vector<DataItem> data_;
|
||||||
std::string code_;
|
std::string code_;
|
||||||
std::string success_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTPERSONTRACERESULT_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTAREAHOTSPOTMETRICSRESULT_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSREQUEST_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSSTATISTICREQUEST_H_
|
||||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSREQUEST_H_
|
#define ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSSTATISTICREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,13 +28,15 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CDRS_EXPORT ListCorpMetricsRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CDRS_EXPORT ListCorpMetricsStatisticRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ListCorpMetricsRequest();
|
ListCorpMetricsStatisticRequest();
|
||||||
~ListCorpMetricsRequest();
|
~ListCorpMetricsStatisticRequest();
|
||||||
|
|
||||||
|
std::string getSchema()const;
|
||||||
|
void setSchema(const std::string& schema);
|
||||||
std::string getCorpId()const;
|
std::string getCorpId()const;
|
||||||
void setCorpId(const std::string& corpId);
|
void setCorpId(const std::string& corpId);
|
||||||
std::string getEndTime()const;
|
std::string getEndTime()const;
|
||||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
|||||||
void setDeviceIdList(const std::string& deviceIdList);
|
void setDeviceIdList(const std::string& deviceIdList);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string schema_;
|
||||||
std::string corpId_;
|
std::string corpId_;
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
@@ -69,4 +72,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSREQUEST_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSSTATISTICREQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSRESULT_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSSTATISTICRESULT_H_
|
||||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSRESULT_H_
|
#define ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSSTATISTICRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,7 +29,7 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CDRS_EXPORT ListCorpMetricsResult : public ServiceResult
|
class ALIBABACLOUD_CDRS_EXPORT ListCorpMetricsStatisticResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct DataItem
|
struct DataItem
|
||||||
@@ -46,9 +46,9 @@ namespace AlibabaCloud
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
ListCorpMetricsResult();
|
ListCorpMetricsStatisticResult();
|
||||||
explicit ListCorpMetricsResult(const std::string &payload);
|
explicit ListCorpMetricsStatisticResult(const std::string &payload);
|
||||||
~ListCorpMetricsResult();
|
~ListCorpMetricsStatisticResult();
|
||||||
int getTotalCount()const;
|
int getTotalCount()const;
|
||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
@@ -72,4 +72,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSRESULT_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSSTATISTICRESULT_H_
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTDEVICERELATIONREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CDRS_MODEL_LISTDEVICERELATIONREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace CDRS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CDRS_EXPORT ListDeviceRelationRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
ListDeviceRelationRequest();
|
||||||
|
~ListDeviceRelationRequest();
|
||||||
|
|
||||||
|
std::string getDeviceId()const;
|
||||||
|
void setDeviceId(const std::string& deviceId);
|
||||||
|
std::string getAppName()const;
|
||||||
|
void setAppName(const std::string& appName);
|
||||||
|
std::string get_NameSpace()const;
|
||||||
|
void set_NameSpace(const std::string& _nameSpace);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string deviceId_;
|
||||||
|
std::string appName_;
|
||||||
|
std::string _nameSpace_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDEVICERELATIONREQUEST_H_
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTDEVICERELATIONRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CDRS_MODEL_LISTDEVICERELATIONRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace CDRS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CDRS_EXPORT ListDeviceRelationResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct DataItem
|
||||||
|
{
|
||||||
|
std::string corpId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
ListDeviceRelationResult();
|
||||||
|
explicit ListDeviceRelationResult(const std::string &payload);
|
||||||
|
~ListDeviceRelationResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::vector<DataItem> getData()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::vector<DataItem> data_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDEVICERELATIONRESULT_H_
|
||||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
|||||||
ListPersonDetailsRequest();
|
ListPersonDetailsRequest();
|
||||||
~ListPersonDetailsRequest();
|
~ListPersonDetailsRequest();
|
||||||
|
|
||||||
|
std::string getSchema()const;
|
||||||
|
void setSchema(const std::string& schema);
|
||||||
std::string getCorpId()const;
|
std::string getCorpId()const;
|
||||||
void setCorpId(const std::string& corpId);
|
void setCorpId(const std::string& corpId);
|
||||||
std::string getEndTime()const;
|
std::string getEndTime()const;
|
||||||
@@ -49,6 +51,7 @@ namespace AlibabaCloud
|
|||||||
void setPersonId(const std::string& personId);
|
void setPersonId(const std::string& personId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string schema_;
|
||||||
std::string corpId_;
|
std::string corpId_;
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
|
|||||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
std::string getProfession()const;
|
std::string getProfession()const;
|
||||||
void setProfession(const std::string& profession);
|
void setProfession(const std::string& profession);
|
||||||
|
std::string getSchema()const;
|
||||||
|
void setSchema(const std::string& schema);
|
||||||
std::string getCorpId()const;
|
std::string getCorpId()const;
|
||||||
void setCorpId(const std::string& corpId);
|
void setCorpId(const std::string& corpId);
|
||||||
std::string getGender()const;
|
std::string getGender()const;
|
||||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::string profession_;
|
std::string profession_;
|
||||||
|
std::string schema_;
|
||||||
std::string corpId_;
|
std::string corpId_;
|
||||||
std::string gender_;
|
std::string gender_;
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
|
|||||||
@@ -35,12 +35,14 @@ namespace AlibabaCloud
|
|||||||
struct Datas
|
struct Datas
|
||||||
{
|
{
|
||||||
std::string profession;
|
std::string profession;
|
||||||
|
std::string sourceUrl;
|
||||||
std::string personId;
|
std::string personId;
|
||||||
std::string address;
|
std::string address;
|
||||||
std::string transportation;
|
std::string transportation;
|
||||||
std::string updateTime;
|
std::string updateTime;
|
||||||
std::string personType;
|
std::string personType;
|
||||||
std::string gender;
|
std::string gender;
|
||||||
|
std::string targetUrl;
|
||||||
std::string age;
|
std::string age;
|
||||||
std::string hotSpotAddress;
|
std::string hotSpotAddress;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
|||||||
ListPersonTagRequest();
|
ListPersonTagRequest();
|
||||||
~ListPersonTagRequest();
|
~ListPersonTagRequest();
|
||||||
|
|
||||||
|
std::string getSchema()const;
|
||||||
|
void setSchema(const std::string& schema);
|
||||||
std::string getCorpId()const;
|
std::string getCorpId()const;
|
||||||
void setCorpId(const std::string& corpId);
|
void setCorpId(const std::string& corpId);
|
||||||
long getPageNumber()const;
|
long getPageNumber()const;
|
||||||
@@ -45,6 +47,7 @@ namespace AlibabaCloud
|
|||||||
void setPageSize(long pageSize);
|
void setPageSize(long pageSize);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string schema_;
|
||||||
std::string corpId_;
|
std::string corpId_;
|
||||||
long pageNumber_;
|
long pageNumber_;
|
||||||
std::string tagCode_;
|
std::string tagCode_;
|
||||||
|
|||||||
@@ -35,19 +35,28 @@ namespace AlibabaCloud
|
|||||||
ListPersonTopRequest();
|
ListPersonTopRequest();
|
||||||
~ListPersonTopRequest();
|
~ListPersonTopRequest();
|
||||||
|
|
||||||
|
std::string getSchema()const;
|
||||||
|
void setSchema(const std::string& schema);
|
||||||
std::string getCorpId()const;
|
std::string getCorpId()const;
|
||||||
void setCorpId(const std::string& corpId);
|
void setCorpId(const std::string& corpId);
|
||||||
std::string getEndTime()const;
|
std::string getEndTime()const;
|
||||||
void setEndTime(const std::string& endTime);
|
void setEndTime(const std::string& endTime);
|
||||||
std::string getStartTime()const;
|
std::string getStartTime()const;
|
||||||
void setStartTime(const std::string& startTime);
|
void setStartTime(const std::string& startTime);
|
||||||
|
std::string getPageNumber()const;
|
||||||
|
void setPageNumber(const std::string& pageNumber);
|
||||||
|
std::string getPageSize()const;
|
||||||
|
void setPageSize(const std::string& pageSize);
|
||||||
std::string getPersonId()const;
|
std::string getPersonId()const;
|
||||||
void setPersonId(const std::string& personId);
|
void setPersonId(const std::string& personId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string schema_;
|
||||||
std::string corpId_;
|
std::string corpId_;
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
|
std::string pageNumber_;
|
||||||
|
std::string pageSize_;
|
||||||
std::string personId_;
|
std::string personId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ namespace AlibabaCloud
|
|||||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonTopResult : public ServiceResult
|
class ALIBABACLOUD_CDRS_EXPORT ListPersonTopResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct Datas
|
struct DataItem
|
||||||
{
|
{
|
||||||
std::string corpId;
|
std::string corpId;
|
||||||
std::string personId;
|
std::string personId;
|
||||||
@@ -50,7 +50,7 @@ namespace AlibabaCloud
|
|||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
long getPageSize()const;
|
long getPageSize()const;
|
||||||
long getPageNumber()const;
|
long getPageNumber()const;
|
||||||
std::vector<Datas> getData()const;
|
std::vector<DataItem> getData()const;
|
||||||
std::string getCode()const;
|
std::string getCode()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -60,7 +60,7 @@ namespace AlibabaCloud
|
|||||||
std::string message_;
|
std::string message_;
|
||||||
long pageSize_;
|
long pageSize_;
|
||||||
long pageNumber_;
|
long pageNumber_;
|
||||||
std::vector<Datas> data_;
|
std::vector<DataItem> data_;
|
||||||
std::string code_;
|
std::string code_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -35,8 +35,14 @@ namespace AlibabaCloud
|
|||||||
ListPersonTrackRequest();
|
ListPersonTrackRequest();
|
||||||
~ListPersonTrackRequest();
|
~ListPersonTrackRequest();
|
||||||
|
|
||||||
|
std::string getSchema()const;
|
||||||
|
void setSchema(const std::string& schema);
|
||||||
std::string getCorpId()const;
|
std::string getCorpId()const;
|
||||||
void setCorpId(const std::string& corpId);
|
void setCorpId(const std::string& corpId);
|
||||||
|
std::string getAggregateDimension()const;
|
||||||
|
void setAggregateDimension(const std::string& aggregateDimension);
|
||||||
|
std::string getImageSourceType()const;
|
||||||
|
void setImageSourceType(const std::string& imageSourceType);
|
||||||
std::string getEndTime()const;
|
std::string getEndTime()const;
|
||||||
void setEndTime(const std::string& endTime);
|
void setEndTime(const std::string& endTime);
|
||||||
std::string getStartTime()const;
|
std::string getStartTime()const;
|
||||||
@@ -49,7 +55,10 @@ namespace AlibabaCloud
|
|||||||
void setPersonId(const std::string& personId);
|
void setPersonId(const std::string& personId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string schema_;
|
||||||
std::string corpId_;
|
std::string corpId_;
|
||||||
|
std::string aggregateDimension_;
|
||||||
|
std::string imageSourceType_;
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
long pageNumber_;
|
long pageNumber_;
|
||||||
|
|||||||
@@ -36,11 +36,13 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
std::string order;
|
std::string order;
|
||||||
std::string picUrlPath;
|
std::string picUrlPath;
|
||||||
|
std::string sourceUrl;
|
||||||
std::string corpId;
|
std::string corpId;
|
||||||
std::string rightBottomX;
|
std::string rightBottomX;
|
||||||
std::string targetPicUrlPath;
|
std::string targetPicUrlPath;
|
||||||
std::string rightBottomY;
|
std::string rightBottomY;
|
||||||
std::string latitude;
|
std::string latitude;
|
||||||
|
std::string targetUrl;
|
||||||
std::string leftTopY;
|
std::string leftTopY;
|
||||||
std::string leftTopX;
|
std::string leftTopX;
|
||||||
std::string longitude;
|
std::string longitude;
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTMETRICSREQUEST_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTTAGMETRICSREQUEST_H_
|
||||||
#define ALIBABACLOUD_CDRS_MODEL_LISTMETRICSREQUEST_H_
|
#define ALIBABACLOUD_CDRS_MODEL_LISTTAGMETRICSREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,13 +28,15 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CDRS_EXPORT ListMetricsRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CDRS_EXPORT ListTagMetricsRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ListMetricsRequest();
|
ListTagMetricsRequest();
|
||||||
~ListMetricsRequest();
|
~ListTagMetricsRequest();
|
||||||
|
|
||||||
|
std::string getSchema()const;
|
||||||
|
void setSchema(const std::string& schema);
|
||||||
std::string getCorpId()const;
|
std::string getCorpId()const;
|
||||||
void setCorpId(const std::string& corpId);
|
void setCorpId(const std::string& corpId);
|
||||||
std::string getEndTime()const;
|
std::string getEndTime()const;
|
||||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
|||||||
void setAggregateType(const std::string& aggregateType);
|
void setAggregateType(const std::string& aggregateType);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string schema_;
|
||||||
std::string corpId_;
|
std::string corpId_;
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
@@ -63,4 +66,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTMETRICSREQUEST_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTTAGMETRICSREQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTMETRICSRESULT_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTTAGMETRICSRESULT_H_
|
||||||
#define ALIBABACLOUD_CDRS_MODEL_LISTMETRICSRESULT_H_
|
#define ALIBABACLOUD_CDRS_MODEL_LISTTAGMETRICSRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,21 +29,22 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CDRS_EXPORT ListMetricsResult : public ServiceResult
|
class ALIBABACLOUD_CDRS_EXPORT ListTagMetricsResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct DataItem
|
struct DataItem
|
||||||
{
|
{
|
||||||
|
std::string corpId;
|
||||||
|
std::string tagMetric;
|
||||||
std::string tagCode;
|
std::string tagCode;
|
||||||
std::string dateTime1;
|
|
||||||
std::string tagValue;
|
std::string tagValue;
|
||||||
std::string dateTime;
|
std::string dateTime;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
ListMetricsResult();
|
ListTagMetricsResult();
|
||||||
explicit ListMetricsResult(const std::string &payload);
|
explicit ListTagMetricsResult(const std::string &payload);
|
||||||
~ListMetricsResult();
|
~ListTagMetricsResult();
|
||||||
std::string getTotalCount()const;
|
std::string getTotalCount()const;
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
std::string getPageSize()const;
|
std::string getPageSize()const;
|
||||||
@@ -65,4 +66,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTMETRICSRESULT_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTTAGMETRICSRESULT_H_
|
||||||
@@ -35,11 +35,13 @@ namespace AlibabaCloud
|
|||||||
struct Datas
|
struct Datas
|
||||||
{
|
{
|
||||||
std::string popularPoi;
|
std::string popularPoi;
|
||||||
|
std::string sourceUrl;
|
||||||
std::string sourceImageStoragePath;
|
std::string sourceImageStoragePath;
|
||||||
std::string popularAddress;
|
std::string popularAddress;
|
||||||
std::string vehicleId;
|
std::string vehicleId;
|
||||||
std::string personType;
|
std::string personType;
|
||||||
std::string gender;
|
std::string gender;
|
||||||
|
std::string targetUrl;
|
||||||
std::string vehicleClass;
|
std::string vehicleClass;
|
||||||
std::string vehicleApplication;
|
std::string vehicleApplication;
|
||||||
std::string personId;
|
std::string personId;
|
||||||
|
|||||||
@@ -43,12 +43,18 @@ namespace AlibabaCloud
|
|||||||
void setEndTime(const std::string& endTime);
|
void setEndTime(const std::string& endTime);
|
||||||
std::string getStartTime()const;
|
std::string getStartTime()const;
|
||||||
void setStartTime(const std::string& startTime);
|
void setStartTime(const std::string& startTime);
|
||||||
|
std::string getPageNum()const;
|
||||||
|
void setPageNum(const std::string& pageNum);
|
||||||
|
std::string getPageSize()const;
|
||||||
|
void setPageSize(const std::string& pageSize);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string plateId_;
|
std::string plateId_;
|
||||||
std::string corpId_;
|
std::string corpId_;
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
|
std::string pageNum_;
|
||||||
|
std::string pageSize_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,12 +43,18 @@ namespace AlibabaCloud
|
|||||||
void setEndTime(const std::string& endTime);
|
void setEndTime(const std::string& endTime);
|
||||||
std::string getStartTime()const;
|
std::string getStartTime()const;
|
||||||
void setStartTime(const std::string& startTime);
|
void setStartTime(const std::string& startTime);
|
||||||
|
long getPageNumber()const;
|
||||||
|
void setPageNumber(long pageNumber);
|
||||||
|
long getPageSize()const;
|
||||||
|
void setPageSize(long pageSize);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string plateId_;
|
std::string plateId_;
|
||||||
std::string corpId_;
|
std::string corpId_;
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
|
long pageNumber_;
|
||||||
|
long pageSize_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user